www-apps/bugzilla:
authorCraig Inches <craig.inches@xayto.net>
Sat, 2 Jan 2016 05:24:27 +0000 (13:24 +0800)
committerIan Delaney <idella4@gentoo.org>
Sat, 2 Jan 2016 05:51:51 +0000 (13:51 +0800)
Version bumps 5.0.2, and 4.4.11
Clean up files dir and ebuilds to reflect
Update copyright

Package-Manager: portage-2.2.24

12 files changed:
www-apps/bugzilla/Manifest
www-apps/bugzilla/bugzilla-4.0.15.ebuild
www-apps/bugzilla/bugzilla-4.2.11.ebuild
www-apps/bugzilla/bugzilla-4.4.11.ebuild [new file with mode: 0644]
www-apps/bugzilla/bugzilla-4.4.6.ebuild
www-apps/bugzilla/bugzilla-5.0.2.ebuild [new file with mode: 0644]
www-apps/bugzilla/files/bugzilla-queue.confd [moved from www-apps/bugzilla/files/4.0/bugzilla-queue.confd with 100% similarity]
www-apps/bugzilla/files/bugzilla-queue.initd [moved from www-apps/bugzilla/files/4.0/bugzilla-queue.initd with 100% similarity]
www-apps/bugzilla/files/bugzilla.cron.daily [moved from www-apps/bugzilla/files/4.0/bugzilla.cron.daily with 100% similarity]
www-apps/bugzilla/files/bugzilla.cron.tab [moved from www-apps/bugzilla/files/4.0/bugzilla.cron.tab with 100% similarity]
www-apps/bugzilla/files/postinstall-en.txt [moved from www-apps/bugzilla/files/4.0/postinstall-en.txt with 100% similarity]
www-apps/bugzilla/files/reconfig [moved from www-apps/bugzilla/files/4.0/reconfig with 100% similarity]

index ed04c2ba0ee7b0ae0d31330131830d656d2ee668..bb01b74684b5668a47812c0df432c5631bee6b25 100644 (file)
@@ -1,3 +1,5 @@
 DIST bugzilla-4.0.15.tar.gz 2875815 SHA256 4751da395f1d439505e07b80a36120186cf3d1f02c8505293d76eb66eeb3c779 SHA512 4394268dbf5a82e1693d63661296650155b8b44e39c69d06997c0e07fb71f1421050992b75240e13a9d149f847a38be9c354e95471c98328e3019136f2019a02 WHIRLPOOL dd81e4fa0cad2194d011d1fab15fed0b44d80be5c3f527fcf9925d4bdc93890e2994c703ee1e9fe76b2ce5f71900bbfc45d416b27cbd81f67d2dcc78edb511a8
 DIST bugzilla-4.2.11.tar.gz 2955315 SHA256 b3f94024a405469b62fb1aec47cea25fb4d52c8e6009b2723c43c7d9442c7d17 SHA512 80c400c6887e4dd15201de61651dabcf709a019c3a17323d94a845ae899bcbe43d81ca46f1ae2e41a173e1a06e4d4edc147cfd62dbce08a23df90a6f8c21631c WHIRLPOOL a1445cbd05fd9730ffbe70e2f9740e64ee9b7e5344c4ade77f7237fbefde698bd598f95af5dedabc4ca581465f6be681a700ef329216fbeec107d8c5f29f1a38
+DIST bugzilla-4.4.11.tar.gz 4943814 SHA256 10082b506a822f36098597fce1079494ef50bab91b213c3f448c738257db182a SHA512 6ddee272ee471aeb7790e69c39c1cab0541c1657f9cf54f887242d9150ebe77b8301dcc74d6b69bb398eda880f4139b5d26046ae081bff71bd7c6716f2875bc2 WHIRLPOOL b839254d4e759b4c98a6eab52e6f14ef3e1fcf006f9a288c3ac4af79c3abd8a5adcf7303ae8208d7106c8c51caecd6287950c8f0e0855eca04e4d92c4d9b797d
 DIST bugzilla-4.4.6.tar.gz 2956046 SHA256 ac3547195f2ce156488aac2cc537620775e08a9d888441daab2b40ab66ab01f4 SHA512 af95af117f7d5ada390a94716f1d3ed9b97e06f47c028c57635b2b4a720827e4749bee23842b7ff7d3a2ee8cc6257ccf2dc2b135c821838e78a31ceb63ce1b68 WHIRLPOOL 90daa07e1f9c064f4954d413348af958544091ffa71e27d0fb8ba7e4265a96e8d1d6e5903edd71e90ddd34f9c6a44d1cdab3e7bc2db2c97cb576182692be8743
+DIST bugzilla-5.0.2.tar.gz 4004728 SHA256 82fa7bc8e27cfc9fe42d3fce3bfb6e7536bba245d76c2ee268d56253d16e3de3 SHA512 1ec554538382fd27f1cbb33b240779ec49a20c130e9e0b0fa8b64032a44e0eda5970b528b05d16877f5a75db6259da899ee662607df7bb52889936aec7ed05f4 WHIRLPOOL 6d8357054a3bef9cef4a768671a5b06e0326c738eca148fc696c8291c454510a4a066376cdea17a08a1d411f3bf233585886db077bd5065dd28c3531474999be
index b2bd4033fbc94707a9522c4d76b758503a48c5ca..847ab889fabb4361f1d3ae7c8a7ea27bc74c1668 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,9 +6,6 @@ EAPI=5
 
 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"
@@ -118,15 +115,15 @@ src_install () {
 
        insinto "${MY_HTDOCSDIR}"
        doins -r . || die
-       doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+       doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die
 
-       webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
-       webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+       webapp_hook_script "${FILESDIR}"/reconfig
+       webapp_postinst_txt en "${FILESDIR}"/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
+               newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die
+               newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die
        fi
 
        # bug #124282
index 5a29bfb59a843f50562313f8ceebd6c764649d80..3f3b27f4cf1c364254fb724ceba2f98fe545ed7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,9 +6,6 @@ EAPI=5
 
 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"
@@ -118,15 +115,15 @@ src_install () {
 
        insinto "${MY_HTDOCSDIR}"
        doins -r . || die
-       doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+       doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die
 
-       webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
-       webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+       webapp_hook_script "${FILESDIR}"/reconfig
+       webapp_postinst_txt en "${FILESDIR}"/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
+               newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die
+               newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die
        fi
 
        # bug #124282
diff --git a/www-apps/bugzilla/bugzilla-4.4.11.ebuild b/www-apps/bugzilla/bugzilla-4.4.11.ebuild
new file mode 100644 (file)
index 0000000..aa079fb
--- /dev/null
@@ -0,0 +1,122 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.apache eutils
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="https://www.bugzilla.org"
+
+LICENSE="MPL-2.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="modperl extras graphviz mysql postgres sqlite test"
+REQUIRED_USE=" || ( mysql postgres sqlite )"
+
+COMMON_DEPS="
+       >=dev-lang/perl-5.10.1:*
+       >=dev-perl/CGI-3.510:*
+       virtual/perl-Digest-SHA:*
+       >=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.32:*
+       dev-perl/Math-Random-ISAAC:*
+"
+
+DEPEND="test? ( dev-perl/Pod-Coverage:* ${COMMON_DEPS} )"
+RDEPEND="
+       virtual/httpd-cgi:*
+       ${COMMON_DEPS}
+       postgres? ( >=dev-perl/DBD-Pg-1.49:* )
+       mysql? ( >=dev-perl/DBD-mysql-4.00.5:* )
+       sqlite? ( >=dev-perl/DBD-SQLite-1.29:* )
+       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/RadiusPerl:*
+               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:*
+               dev-perl/File-MimeInfo:*
+               || ( 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:* )
+"
+want_apache modperl
+need_httpd_cgi
+
+pkg_setup() {
+       depend.apache_pkg_setup modperl
+       webapp_pkg_setup
+}
+
+src_prepare() {
+       # Get a rid of the bzr files
+       rm -r .bzr* || die
+
+       # Remove bundled perl modules
+       rm -r lib/ || die
+}
+
+src_test() {
+       perl runtests.pl || die
+}
+
+src_install () {
+       webapp_src_preinst
+
+       insinto "${MY_HTDOCSDIR}"
+       doins -r .
+       doins "${FILESDIR}"/bugzilla.cron.{daily,tab}
+
+       webapp_hook_script "${FILESDIR}"/reconfig
+       webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+       webapp_src_install
+
+       if use extras; then
+               newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue
+               newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue
+       fi
+
+       # bug #124282
+       chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi || die
+
+       chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl || die
+
+       # configuration must be executable
+       chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl || die
+
+       # bug 487476
+       mkdir "${D}${MY_HTDOCSDIR}"/lib || die
+}
index 5a29bfb59a843f50562313f8ceebd6c764649d80..3f3b27f4cf1c364254fb724ceba2f98fe545ed7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,9 +6,6 @@ EAPI=5
 
 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"
@@ -118,15 +115,15 @@ src_install () {
 
        insinto "${MY_HTDOCSDIR}"
        doins -r . || die
-       doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+       doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die
 
-       webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
-       webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+       webapp_hook_script "${FILESDIR}"/reconfig
+       webapp_postinst_txt en "${FILESDIR}"/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
+               newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die
+               newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die
        fi
 
        # bug #124282
diff --git a/www-apps/bugzilla/bugzilla-5.0.2.ebuild b/www-apps/bugzilla/bugzilla-5.0.2.ebuild
new file mode 100644 (file)
index 0000000..89d446f
--- /dev/null
@@ -0,0 +1,130 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.apache eutils
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="https://www.bugzilla.org"
+
+LICENSE="MPL-2.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="modperl extras graphviz mysql postgres sqlite test"
+REQUIRED_USE=" || ( mysql postgres sqlite )"
+
+COMMON_DEPS="
+       >=dev-lang/perl-5.10.1:*
+       >=dev-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-Sender-1.300.11:*
+       >=dev-perl/File-Slurp-9999.190.0-r1:*
+       >=dev-perl/Email-MIME-1.904:*
+       >=dev-perl/JSON-XS-2.340-r1:*
+       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? ( dev-perl/Pod-Coverage:* ${COMMON_DEPS} )"
+RDEPEND="
+       virtual/httpd-cgi:*
+       ${COMMON_DEPS}
+       postgres? ( >=dev-perl/DBD-Pg-1.49:* )
+       mysql? ( >=dev-perl/DBD-mysql-4.00.5:* )
+       sqlite? ( >=dev-perl/DBD-SQLite-1.29:* )
+       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/RadiusPerl:*
+               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:*
+               dev-perl/File-MimeInfo:*
+               || ( 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:* )
+"
+want_apache modperl
+need_httpd_cgi
+
+pkg_setup() {
+       depend.apache_pkg_setup modperl
+       webapp_pkg_setup
+}
+
+src_prepare() {
+       # Get a rid of the bzr files
+       rm -r .bzr* || die
+
+       # Remove bundled perl modules
+       rm -r lib/ || die
+}
+
+src_test() {
+       perl runtests.pl || die
+}
+
+src_install () {
+       webapp_src_preinst
+
+       insinto "${MY_HTDOCSDIR}"
+       doins -r .
+       doins "${FILESDIR}"/bugzilla.cron.{daily,tab}
+
+       webapp_hook_script "${FILESDIR}"/reconfig
+       webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+       webapp_src_install
+
+       if use extras; then
+               newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue
+               newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue
+       fi
+
+       # bug #124282
+       chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi || die
+
+       chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl || die
+
+       # configuration must be executable
+       chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl || die
+
+       # bug 487476
+       mkdir "${D}${MY_HTDOCSDIR}"/lib || die
+}