From ff52b42abd20ee5449d5ddea49c12ae1d5d896e1 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Wed, 18 Apr 2012 23:33:56 +0000 Subject: Version bumps re CVE-2012-0465 and CVE-2012-0466 Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64 --- www-apps/bugzilla/ChangeLog | 11 ++- www-apps/bugzilla/Manifest | 26 +++--- www-apps/bugzilla/bugzilla-3.6.9.ebuild | 106 +++++++++++++++++++++++++ www-apps/bugzilla/bugzilla-4.0.5.ebuild | 132 ------------------------------- www-apps/bugzilla/bugzilla-4.0.6.ebuild | 132 +++++++++++++++++++++++++++++++ www-apps/bugzilla/bugzilla-4.2.1.ebuild | 136 ++++++++++++++++++++++++++++++++ www-apps/bugzilla/bugzilla-4.2.ebuild | 136 -------------------------------- 7 files changed, 398 insertions(+), 281 deletions(-) create mode 100644 www-apps/bugzilla/bugzilla-3.6.9.ebuild delete mode 100644 www-apps/bugzilla/bugzilla-4.0.5.ebuild create mode 100644 www-apps/bugzilla/bugzilla-4.0.6.ebuild create mode 100644 www-apps/bugzilla/bugzilla-4.2.1.ebuild delete mode 100644 www-apps/bugzilla/bugzilla-4.2.ebuild (limited to 'www-apps/bugzilla') diff --git a/www-apps/bugzilla/ChangeLog b/www-apps/bugzilla/ChangeLog index a4b0a711e91c..aee510115ad4 100644 --- a/www-apps/bugzilla/ChangeLog +++ b/www-apps/bugzilla/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for www-apps/bugzilla # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.210 2012/02/28 14:57:36 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.211 2012/04/18 23:33:56 idl0r Exp $ + +*bugzilla-4.2.1 (18 Apr 2012) +*bugzilla-4.0.6 (18 Apr 2012) +*bugzilla-3.6.9 (18 Apr 2012) + + 18 Apr 2012; Christian Ruppert +bugzilla-3.6.9.ebuild, + -bugzilla-4.0.5.ebuild, +bugzilla-4.0.6.ebuild, -bugzilla-4.2.ebuild, + +bugzilla-4.2.1.ebuild: + Version bumps re CVE-2012-0465 and CVE-2012-0466 28 Feb 2012; Christian Ruppert bugzilla-4.0.5.ebuild, bugzilla-4.2.ebuild: diff --git a/www-apps/bugzilla/Manifest b/www-apps/bugzilla/Manifest index c989f5cc9bee..07de14a88e09 100644 --- a/www-apps/bugzilla/Manifest +++ b/www-apps/bugzilla/Manifest @@ -12,21 +12,23 @@ AUX 4.0/bugzilla.cron.tab 49 RMD160 4bf0074418ec9f98a3eb392172ae9b303211943f SHA AUX 4.0/postinstall-en.txt 669 RMD160 9c8ffa9f5171921f100790060548f1b04fb0d87e SHA1 626524ab45110298901c3753c24d9ebc91abe39b SHA256 8785744b482dfbc4f7e7b5620e3a79dc9742ff67ab43f49923e0c9a982cbf409 AUX 4.0/reconfig 349 RMD160 e5658372e9a1b67a39a0090e1a638261e05cf10a SHA1 93651b403924a270f1c693491c3c564999528b03 SHA256 8301aeda585234ed30cc8ffa8fc6e72138ed8e9d50c695dd2455dcc7d175aa50 DIST bugzilla-3.6.8.tar.gz 2509304 RMD160 9c3236dd049c75445b9b545f3228472488a980fa SHA1 b763848e73b6f857b6fe728d2742028a6ed5dc7d SHA256 a07efee28c905d3b0afd10d1efe6fa6ecaaa7e0e89c299f1f20fe21a74ad16bf -DIST bugzilla-4.0.5.tar.gz 2900587 RMD160 c3723a915cb112a88ef5f98d0016145d8f391661 SHA1 23d0f81442d9513ed6cc79796bcd5b837472d9a9 SHA256 7583f2e7d8c74aa29e8583230024970b420f45f230538273b8eac4cd7c36acbe -DIST bugzilla-4.2.tar.gz 2968522 RMD160 c8f4d39979a7622f737171fcbd93096db1c15b8c SHA1 9ecde503712de41f90d84cdb5bf892841ad16840 SHA256 67f603c081cea1063f1c0131d54b2a51965c579ba136fd02e333dbb719a3f8ae +DIST bugzilla-3.6.9.tar.gz 2508965 RMD160 3da185c23f21a22aef17fab02a2ceafa636496e9 SHA1 e16c541663dffd96a489093ee6789f06bdc9e8d7 SHA256 05d1fa9a7f0c9a75b9473959b0c9a0370608371da04e331c062ac8e21366af4b +DIST bugzilla-4.0.6.tar.gz 2964924 RMD160 6d2b8a1b70202f77662803d16e099c7bbff3776c SHA1 d76e7f7c49ebdfbeb4b00ed0bc136bdf5d6388bb SHA256 f1894a2b05556b2074b6b1e3c7230c52d458b9bb22737845c12c8c84e15fe22e +DIST bugzilla-4.2.1.tar.gz 2977293 RMD160 d27ec16cb949f3f91d59ec1dc64512a6f9d33258 SHA1 dbc1d8c0abeed67ced4a54390e0fd8ae3d0b234d SHA256 74b98b91bc4278f6242c62a2d94cc72f0eb029bc17fad5d5f40e187b9112ab4a EBUILD bugzilla-3.6.8.ebuild 2534 RMD160 0d83679c031538b5e3da182492f0fa3bd709beaf SHA1 5c1749e416e393bcdfc128dfdf89dc052e138c86 SHA256 267374910491af4185e578c7e93a742ab0c8091256facbe9e3bdc67f95ce48a1 -EBUILD bugzilla-4.0.5.ebuild 3006 RMD160 a73281b30e4bb218a0e468c41060f2644f1bc3ba SHA1 d3b7ee3c7e03e8d5231ea45c446b3bdfd3e7ffb1 SHA256 72d0ded240b40bce1091908b8a4e47e22591614a91992585def63bd8d9a529a9 -EBUILD bugzilla-4.2.ebuild 3063 RMD160 15c45f1312030a8c2f005628c9dc67336f014a50 SHA1 cb8dda5a86cc5044cbfde5ddf82baa06a8572318 SHA256 17252f5c0d50791b11988ffe13f96759d515a635fecea95419d5ce96d288768e -MISC ChangeLog 35891 RMD160 5a90b24e4c2d798abeada27242b2d0d2ff8df84a SHA1 e5b9930da2e2cc9e7675cb918a5a02d36449eaa3 SHA256 a29ea625a8646903dd5038f09344e316c1060e7fd39232d9362f44c85161cfd4 +EBUILD bugzilla-3.6.9.ebuild 2538 RMD160 88519a7b4f6a76e72013b06f77f61acfd8ef6fa8 SHA1 c3d84800b234f2087aa66e9b7e29e0e5b5c8ed25 SHA256 a83915eb9d5beb9e16f080c454aac0f6e0d6bb59686d4cb21d6c4027676063f4 +EBUILD bugzilla-4.0.6.ebuild 3006 RMD160 e513ade715fb3a554761ab6aafd27bdc02a89632 SHA1 17396675f353813daf12bbade3a6b3d0edada8a4 SHA256 2c1b74e87ed07f34111ea7ec9eaf0036cda20d4c74286c22703911b6172f8b95 +EBUILD bugzilla-4.2.1.ebuild 3065 RMD160 e6b5ed6503f420b9cd515cab49e5b1c7c065642a SHA1 d94b30d14fea7314256bf5223046e9a0692d85d2 SHA256 d67351b29a43adc9a290ea839be8644211aecdf037317c4e7c29f5844f543343 +MISC ChangeLog 36208 RMD160 57057a02e0f815ef0a4dab12e8929a512961760b SHA1 6bb534aee03ae87d1fbde3aa1a96dedb025bfaa7 SHA256 28c377221969a654ae69b1eb07f68c533dd439a1a3e800d8568552d53417df68 MISC metadata.xml 304 RMD160 b5fdc620a69ac920cf242384882b38e9dcd04694 SHA1 f88703f6a8fec95666732939aba680eb635e0978 SHA256 90bc0a03cdc3329de7601f0b8035105a09edd165f5de74e92a46bb695c9072d0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBCAAGBQJPTOtmAAoJEMOx0zmdw4Z16U8H/1m8RNRin94ws/LL1Y65Jlc9 -kd7vhgv8vMGUjkIJKFmP0GAFfWjU4XlARmf5dHXTdxVh0wtIS8A41m0kwNxQOmPM -9Egz56IInRv7iCSMbyCjzsggIJlWG6Jj2aFD1VU8xfgw75266Ag3Bwtn0KlKT6fZ -uuXSJKx0xOpL1M1eGX2054sVYgoCwxzYWCCnqwQDlQArzQWXwh3fn25QbJ8GCBzR -C+e62yG4wyiPOO9wo9PBAtCKFWe28fUG9+YkESXMfA6QeT208dyf7BzFCDbYS6f/ -oHkA6+lSbTD6Hx6Pb2eP7hWGiUgJJfL4cZfhyigL8e/2uHc/F3Ug++a+AgEsg9Q= -=RbiH +iQEcBAEBCAAGBQJPj09qAAoJEMOx0zmdw4Z1GpUH+wczZGWr3LpiQOX/j9Drr5r/ +xwiXHrMIPRZiE2ibwr9extSYmsS/2YQX5Ewit4E7wAt/eGxZ0K7sEXwFtMFpSE0m +V3sqtLWXWxhauxwCARc4Zod04VxdUI+cvK8bvrj/cSVn+o4bStPDCbbA/w28ETDp +mZC0PUGmxoC3QqSsbY+PRO73pbR+brQBn9oyoHcT1RcRfjxQsE/qbpyvG7aReCdW +pkrx6YVG+KU4226pRFBmLwHNR6HLfrS/TNuEZ9CX6eRT7mWb+2xufpYcnFKzzUQ0 +m3FVhEwkmMgN5xJCLMdyCXPYvUGdtIZB5towfcJV0KNkRr8eHv3I6SL51FPPB5k= +=tykq -----END PGP SIGNATURE----- diff --git a/www-apps/bugzilla/bugzilla-3.6.9.ebuild b/www-apps/bugzilla/bugzilla-3.6.9.ebuild new file mode 100644 index 000000000000..dfe29dafbb8d --- /dev/null +++ b/www-apps/bugzilla/bugzilla-3.6.9.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-3.6.9.ebuild,v 1.1 2012/04/18 23:33:56 idl0r Exp $ + +EAPI="3" + +inherit webapp depend.apache versionator eutils + +MY_PB=$(get_version_component_range 1-2) + +DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" +HOMEPAGE="http://www.bugzilla.org" + +LICENSE="MPL-1.1" +KEYWORDS="~amd64 ~x86" + +IUSE="modperl extras graphviz mysql postgres" + +RDEPEND=" + virtual/httpd-cgi + >=dev-lang/perl-5.8.8 + + >=dev-perl/DBI-1.601 + >=dev-perl/DateTime-0.50 + >=dev-perl/DateTime-Locale-0.43 + >=dev-perl/DateTime-TimeZone-0.71 + >=dev-perl/URI-1.38 + >=dev-perl/Email-MIME-1.900 + >=dev-perl/Email-MIME-Encodings-1.313 + >=dev-perl/Email-Send-2.190 + >=dev-perl/MIME-tools-5.427 + >=dev-perl/Template-Toolkit-2.22 + >=dev-perl/TimeDate-1.16 + >=virtual/perl-CGI-3.510 + >=virtual/perl-Digest-SHA-5.46 + >=virtual/perl-File-Spec-3.27.01 + >=virtual/perl-MIME-Base64-3.07 + + mysql? ( >=dev-perl/DBD-mysql-4.00.5 ) + postgres? ( >=dev-perl/DBD-Pg-1.49 ) + graphviz? ( media-gfx/graphviz ) + + modperl? ( + >=dev-perl/Apache-DBI-1.06 + www-apache/mod_perl:1 + ) + + extras? ( + dev-perl/Authen-SASL + >=dev-perl/Chart-2.4.1 + dev-perl/Email-MIME-Attachment-Stripper + dev-perl/Email-Reply + >=dev-perl/GD-2.35 + dev-perl/GDGraph + dev-perl/GDTextUtil + >=dev-perl/HTML-Parser-3.60 + dev-perl/HTML-Scrubber + dev-perl/JSON-RPC + dev-perl/libwww-perl + >=dev-perl/PatchReader-0.9.5 + dev-perl/perl-ldap + dev-perl/SOAP-Lite + dev-perl/Template-GD + dev-perl/Test-Taint + dev-perl/XML-Twig + || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) + dev-perl/TheSchwartz + dev-perl/Daemon-Generic + dev-perl/Math-Random-Secure + ) +" +# from extras we miss: +# (nothing) + +want_apache modperl + +pkg_setup() { + depend.apache_pkg_setup modperl + webapp_pkg_setup +} + +src_prepare() { + ecvs_clean + # Remove bundled perl modules + rm -rf "${S}"/lib || die +} + +src_install () { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . || die + for f in bugzilla.cron.daily bugzilla.cron.tab; do + doins "${FILESDIR}"/${MY_PB}/${f} || die + done + + webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig + webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt + webapp_src_install + + # bug #124282 + chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi + # configuration must be executable + chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl +} diff --git a/www-apps/bugzilla/bugzilla-4.0.5.ebuild b/www-apps/bugzilla/bugzilla-4.0.5.ebuild deleted file mode 100644 index 0d7dc8717dd3..000000000000 --- a/www-apps/bugzilla/bugzilla-4.0.5.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-4.0.5.ebuild,v 1.2 2012/02/28 14:57:36 idl0r Exp $ - -EAPI="3" - -inherit webapp depend.apache versionator eutils - -MY_PB=$(get_version_component_range 1-2) - -DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" -HOMEPAGE="http://www.bugzilla.org" - -LICENSE="MPL-1.1" -KEYWORDS="~amd64 ~x86" - -IUSE="modperl extras graphviz mysql postgres test" - -COMMON_DEPS=" - >=dev-lang/perl-5.8.8 - - >=virtual/perl-CGI-3.510 - virtual/perl-Digest-SHA - >=dev-perl/TimeDate-1.16 - >=dev-perl/DateTime-0.50 - >=dev-perl/DateTime-TimeZone-0.71 - >=dev-perl/DBI-1.601 - >=dev-perl/Template-Toolkit-2.22 - >=dev-perl/Email-Send-2.190 - >=dev-perl/Email-MIME-1.904 - dev-perl/URI - >=dev-perl/List-MoreUtils-0.22 - - virtual/perl-File-Path - virtual/perl-Scalar-List-Utils - - >=virtual/perl-File-Spec-3.27.01 - >=virtual/perl-MIME-Base64-3.07 -" - -DEPEND="test? ( ${COMMON_DEPS} )" -RDEPEND=" - virtual/httpd-cgi - - ${COMMON_DEPS} - - postgres? ( >=dev-perl/DBD-Pg-1.49 ) - mysql? ( >=dev-perl/DBD-mysql-4.00.5 ) - - extras? ( - >=dev-perl/GD-2.35[png,truetype] - >=dev-perl/Chart-2.4.1 - dev-perl/Template-GD - dev-perl/GDTextUtil - dev-perl/GDGraph - dev-perl/XML-Twig - >=dev-perl/MIME-tools-5.427 - dev-perl/libwww-perl - >=dev-perl/PatchReader-0.9.5 - dev-perl/perl-ldap - dev-perl/Authen-SASL - >=dev-perl/SOAP-Lite-0.712 - dev-perl/JSON-RPC - >=dev-perl/JSON-XS-2.0 - dev-perl/Test-Taint - >=dev-perl/HTML-Parser-3.60 - dev-perl/HTML-Scrubber - dev-perl/Email-MIME-Attachment-Stripper - dev-perl/Email-Reply - dev-perl/TheSchwartz - dev-perl/Daemon-Generic - >=dev-perl/Math-Random-Secure-0.50 - - || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) - dev-perl/MIME-tools - ) - - modperl? ( - www-apache/mod_perl:1 - >=dev-perl/Apache-SizeLimit-0.93 - ) - - graphviz? ( media-gfx/graphviz ) -" - -# RadiusPerl for extras? bug 252128 - -want_apache modperl - -pkg_setup() { - depend.apache_pkg_setup modperl - webapp_pkg_setup -} - -src_prepare() { - # Get a rid of the bzr files - rm -rf .bzr* - - # Remove bundled perl modules - rm -rf lib/ -} - -src_test() { - # Shall we remove runtests.pl and t/,xt/ on install? - perl runtests.pl || die -} - -src_install () { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . || die - doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die - - webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig - webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt - webapp_src_install - - if use extras; then - newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die - newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die - fi - - # bug #124282 - chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi - - chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl - - # configuration must be executable - chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl -} diff --git a/www-apps/bugzilla/bugzilla-4.0.6.ebuild b/www-apps/bugzilla/bugzilla-4.0.6.ebuild new file mode 100644 index 000000000000..9ad25efa9b21 --- /dev/null +++ b/www-apps/bugzilla/bugzilla-4.0.6.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-4.0.6.ebuild,v 1.1 2012/04/18 23:33:56 idl0r Exp $ + +EAPI="3" + +inherit webapp depend.apache versionator eutils + +MY_PB=$(get_version_component_range 1-2) + +DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" +HOMEPAGE="http://www.bugzilla.org" + +LICENSE="MPL-1.1" +KEYWORDS="~amd64 ~x86" + +IUSE="modperl extras graphviz mysql postgres test" + +COMMON_DEPS=" + >=dev-lang/perl-5.8.8 + + >=virtual/perl-CGI-3.510 + virtual/perl-Digest-SHA + >=dev-perl/TimeDate-1.16 + >=dev-perl/DateTime-0.50 + >=dev-perl/DateTime-TimeZone-0.71 + >=dev-perl/DBI-1.601 + >=dev-perl/Template-Toolkit-2.22 + >=dev-perl/Email-Send-2.190 + >=dev-perl/Email-MIME-1.904 + dev-perl/URI + >=dev-perl/List-MoreUtils-0.22 + + virtual/perl-File-Path + virtual/perl-Scalar-List-Utils + + >=virtual/perl-File-Spec-3.27.01 + >=virtual/perl-MIME-Base64-3.07 +" + +DEPEND="test? ( ${COMMON_DEPS} )" +RDEPEND=" + virtual/httpd-cgi + + ${COMMON_DEPS} + + postgres? ( >=dev-perl/DBD-Pg-1.49 ) + mysql? ( >=dev-perl/DBD-mysql-4.00.5 ) + + extras? ( + >=dev-perl/GD-2.35[png,truetype] + >=dev-perl/Chart-2.4.1 + dev-perl/Template-GD + dev-perl/GDTextUtil + dev-perl/GDGraph + dev-perl/XML-Twig + >=dev-perl/MIME-tools-5.427 + dev-perl/libwww-perl + >=dev-perl/PatchReader-0.9.5 + dev-perl/perl-ldap + dev-perl/Authen-SASL + >=dev-perl/SOAP-Lite-0.712 + dev-perl/JSON-RPC + >=dev-perl/JSON-XS-2.0 + dev-perl/Test-Taint + >=dev-perl/HTML-Parser-3.60 + dev-perl/HTML-Scrubber + dev-perl/Email-MIME-Attachment-Stripper + dev-perl/Email-Reply + dev-perl/TheSchwartz + dev-perl/Daemon-Generic + >=dev-perl/Math-Random-Secure-0.50 + + || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) + dev-perl/MIME-tools + ) + + modperl? ( + www-apache/mod_perl:1 + >=dev-perl/Apache-SizeLimit-0.93 + ) + + graphviz? ( media-gfx/graphviz ) +" + +# RadiusPerl for extras? bug 252128 + +want_apache modperl + +pkg_setup() { + depend.apache_pkg_setup modperl + webapp_pkg_setup +} + +src_prepare() { + # Get a rid of the bzr files + rm -rf .bzr* + + # Remove bundled perl modules + rm -rf lib/ +} + +src_test() { + # Shall we remove runtests.pl and t/,xt/ on install? + perl runtests.pl || die +} + +src_install () { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . || die + doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die + + webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig + webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt + webapp_src_install + + if use extras; then + newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die + newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die + fi + + # bug #124282 + chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi + + chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl + + # configuration must be executable + chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl +} diff --git a/www-apps/bugzilla/bugzilla-4.2.1.ebuild b/www-apps/bugzilla/bugzilla-4.2.1.ebuild new file mode 100644 index 000000000000..667cbd5c3406 --- /dev/null +++ b/www-apps/bugzilla/bugzilla-4.2.1.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-4.2.1.ebuild,v 1.1 2012/04/18 23:33:56 idl0r Exp $ + +EAPI="4" + +inherit webapp depend.apache versionator eutils + +#MY_PB=$(get_version_component_range 1-2) +MY_PB="4.0" + +DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" +HOMEPAGE="http://www.bugzilla.org" + +LICENSE="MPL-1.1" +KEYWORDS="~amd64 ~x86" + +IUSE="modperl extras graphviz mysql postgres test" + +COMMON_DEPS=" + >=dev-lang/perl-5.8.8 + + >=virtual/perl-CGI-3.510 + virtual/perl-Digest-SHA + >=dev-perl/TimeDate-1.16 + >=dev-perl/DateTime-0.50 + >=dev-perl/DateTime-TimeZone-0.71 + >=dev-perl/DBI-1.601 + >=dev-perl/Template-Toolkit-2.22 + >=dev-perl/Email-Send-2.190 + >=dev-perl/Email-MIME-1.904 + dev-perl/URI + >=dev-perl/List-MoreUtils-0.22 + + virtual/perl-File-Path + virtual/perl-Scalar-List-Utils + + >=virtual/perl-File-Spec-3.27.01 + >=virtual/perl-MIME-Base64-3.07 + + dev-perl/Math-Random-ISAAC +" + +DEPEND="test? ( ${COMMON_DEPS} )" +RDEPEND=" + virtual/httpd-cgi + + ${COMMON_DEPS} + + postgres? ( >=dev-perl/DBD-Pg-1.49 ) + mysql? ( >=dev-perl/DBD-mysql-4.00.5 ) + + extras? ( + >=dev-perl/GD-2.35[png,truetype] + >=dev-perl/Chart-2.4.1 + dev-perl/Template-GD + dev-perl/GDTextUtil + dev-perl/GDGraph + dev-perl/XML-Twig + >=dev-perl/MIME-tools-5.427 + dev-perl/libwww-perl + >=dev-perl/PatchReader-0.9.6 + dev-perl/perl-ldap + dev-perl/Authen-SASL + >=dev-perl/SOAP-Lite-0.712 + dev-perl/JSON-RPC + >=dev-perl/JSON-XS-2.0 + dev-perl/Test-Taint + >=dev-perl/HTML-Parser-3.67 + dev-perl/HTML-Scrubber + >=virtual/perl-Encode-2.21 + dev-perl/Encode-Detect + dev-perl/Email-MIME-Attachment-Stripper + dev-perl/Email-Reply + dev-perl/TheSchwartz + dev-perl/Daemon-Generic + + || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) + dev-perl/MIME-tools + ) + + modperl? ( + www-apache/mod_perl:1 + >=dev-perl/Apache-SizeLimit-0.96 + ) + + graphviz? ( media-gfx/graphviz ) +" + +# RadiusPerl for extras? bug 252128 + +want_apache modperl + +pkg_setup() { + depend.apache_pkg_setup modperl + webapp_pkg_setup +} + +src_prepare() { + # Get a rid of the bzr files + rm -rf .bzr* + + # Remove bundled perl modules + rm -rf lib/ +} + +src_test() { + # Shall we remove runtests.pl and t/,xt/ on install? + perl runtests.pl || die +} + +src_install () { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . || die + doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die + + webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig + webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt + webapp_src_install + + if use extras; then + newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die + newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die + fi + + # bug #124282 + chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi + + chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl + + # configuration must be executable + chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl +} diff --git a/www-apps/bugzilla/bugzilla-4.2.ebuild b/www-apps/bugzilla/bugzilla-4.2.ebuild deleted file mode 100644 index 68964aafcda1..000000000000 --- a/www-apps/bugzilla/bugzilla-4.2.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-4.2.ebuild,v 1.2 2012/02/28 14:57:36 idl0r Exp $ - -EAPI="4" - -inherit webapp depend.apache versionator eutils - -#MY_PB=$(get_version_component_range 1-2) -MY_PB="4.0" - -DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" -HOMEPAGE="http://www.bugzilla.org" - -LICENSE="MPL-1.1" -KEYWORDS="~amd64 ~x86" - -IUSE="modperl extras graphviz mysql postgres test" - -COMMON_DEPS=" - >=dev-lang/perl-5.8.8 - - >=virtual/perl-CGI-3.510 - virtual/perl-Digest-SHA - >=dev-perl/TimeDate-1.16 - >=dev-perl/DateTime-0.50 - >=dev-perl/DateTime-TimeZone-0.71 - >=dev-perl/DBI-1.601 - >=dev-perl/Template-Toolkit-2.22 - >=dev-perl/Email-Send-2.190 - >=dev-perl/Email-MIME-1.904 - dev-perl/URI - >=dev-perl/List-MoreUtils-0.22 - - virtual/perl-File-Path - virtual/perl-Scalar-List-Utils - - >=virtual/perl-File-Spec-3.27.01 - >=virtual/perl-MIME-Base64-3.07 - - dev-perl/Math-Random-ISAAC -" - -DEPEND="test? ( ${COMMON_DEPS} )" -RDEPEND=" - virtual/httpd-cgi - - ${COMMON_DEPS} - - postgres? ( >=dev-perl/DBD-Pg-1.49 ) - mysql? ( >=dev-perl/DBD-mysql-4.00.5 ) - - extras? ( - >=dev-perl/GD-2.35[png,truetype] - >=dev-perl/Chart-2.4.1 - dev-perl/Template-GD - dev-perl/GDTextUtil - dev-perl/GDGraph - dev-perl/XML-Twig - >=dev-perl/MIME-tools-5.427 - dev-perl/libwww-perl - >=dev-perl/PatchReader-0.9.6 - dev-perl/perl-ldap - dev-perl/Authen-SASL - >=dev-perl/SOAP-Lite-0.712 - dev-perl/JSON-RPC - >=dev-perl/JSON-XS-2.0 - dev-perl/Test-Taint - >=dev-perl/HTML-Parser-3.67 - dev-perl/HTML-Scrubber - >=virtual/perl-Encode-2.21 - dev-perl/Encode-Detect - dev-perl/Email-MIME-Attachment-Stripper - dev-perl/Email-Reply - dev-perl/TheSchwartz - dev-perl/Daemon-Generic - - || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) - dev-perl/MIME-tools - ) - - modperl? ( - www-apache/mod_perl:1 - >=dev-perl/Apache-SizeLimit-0.96 - ) - - graphviz? ( media-gfx/graphviz ) -" - -# RadiusPerl for extras? bug 252128 - -want_apache modperl - -pkg_setup() { - depend.apache_pkg_setup modperl - webapp_pkg_setup -} - -src_prepare() { - # Get a rid of the bzr files - rm -rf .bzr* - - # Remove bundled perl modules - rm -rf lib/ -} - -src_test() { - # Shall we remove runtests.pl and t/,xt/ on install? - perl runtests.pl || die -} - -src_install () { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . || die - doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die - - webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig - webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt - webapp_src_install - - if use extras; then - newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die - newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die - fi - - # bug #124282 - chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi - - chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl - - # configuration must be executable - chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl -} -- cgit v1.2.3-65-gdbad