diff options
-rw-r--r-- | www-apps/bugzilla/Manifest | 2 | ||||
-rw-r--r-- | www-apps/bugzilla/bugzilla-4.4.12.ebuild | 122 | ||||
-rw-r--r-- | www-apps/bugzilla/bugzilla-5.0.3.ebuild | 130 |
3 files changed, 254 insertions, 0 deletions
diff --git a/www-apps/bugzilla/Manifest b/www-apps/bugzilla/Manifest index 46405af4f14f..7e10ef1fcc8e 100644 --- a/www-apps/bugzilla/Manifest +++ b/www-apps/bugzilla/Manifest @@ -1,2 +1,4 @@ DIST bugzilla-4.4.11.tar.gz 4943814 SHA256 10082b506a822f36098597fce1079494ef50bab91b213c3f448c738257db182a SHA512 6ddee272ee471aeb7790e69c39c1cab0541c1657f9cf54f887242d9150ebe77b8301dcc74d6b69bb398eda880f4139b5d26046ae081bff71bd7c6716f2875bc2 WHIRLPOOL b839254d4e759b4c98a6eab52e6f14ef3e1fcf006f9a288c3ac4af79c3abd8a5adcf7303ae8208d7106c8c51caecd6287950c8f0e0855eca04e4d92c4d9b797d +DIST bugzilla-4.4.12.tar.gz 4931062 SHA256 c90049f05df653c694603642a52bc41b4fb439c592547159db0a209064d9f2f2 SHA512 51520cc55ae0fb30f8a8efb98e9b5a5a35ca74e9ec3667528fae6520fa7f12137e01948009b152481d0b8e02d435b42c3cacb5449fb42fe709964db68a386548 WHIRLPOOL bbf0c4ccf0ae22918d69a67b67d5b2d60004b26e73e2bd83d8cbaf07d16fbc092d6630beabadcb1e559b18e2ecbb8e2df30808b6908271856e5f3ad13c3c6945 DIST bugzilla-5.0.2.tar.gz 4004728 SHA256 82fa7bc8e27cfc9fe42d3fce3bfb6e7536bba245d76c2ee268d56253d16e3de3 SHA512 1ec554538382fd27f1cbb33b240779ec49a20c130e9e0b0fa8b64032a44e0eda5970b528b05d16877f5a75db6259da899ee662607df7bb52889936aec7ed05f4 WHIRLPOOL 6d8357054a3bef9cef4a768671a5b06e0326c738eca148fc696c8291c454510a4a066376cdea17a08a1d411f3bf233585886db077bd5065dd28c3531474999be +DIST bugzilla-5.0.3.tar.gz 4069689 SHA256 594d1d6813f4731b71fbbf3809d4d7e3511f1cd73e12fcad9f498319ff2fcadc SHA512 82334533bd75a4a5eee5213826da916175ecf39cbfd1c4d820519f015257b02998a3acd881f8f52c1650d1140158c8aa839e374574a1fa862a6a4a1351748c46 WHIRLPOOL 6e7f57cad6bc3ff76f19624f0b288577054f7c4b9bcbee38aa1d3b802650d07fa9d8de95d63244b34076796b9970ee989b6cdcd191aab9deb38927bf757d864d diff --git a/www-apps/bugzilla/bugzilla-4.4.12.ebuild b/www-apps/bugzilla/bugzilla-4.4.12.ebuild new file mode 100644 index 000000000000..aa079fb4eea7 --- /dev/null +++ b/www-apps/bugzilla/bugzilla-4.4.12.ebuild @@ -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 +} diff --git a/www-apps/bugzilla/bugzilla-5.0.3.ebuild b/www-apps/bugzilla/bugzilla-5.0.3.ebuild new file mode 100644 index 000000000000..89d446f58148 --- /dev/null +++ b/www-apps/bugzilla/bugzilla-5.0.3.ebuild @@ -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 +} |