diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13466 -> 13461 bytes | |||
-rw-r--r-- | www-apps/bugzilla/Manifest | 1 | ||||
-rw-r--r-- | www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild | 119 |
3 files changed, 120 insertions, 0 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex e599aa1a7665..230c01dc4bea 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/bugzilla/Manifest b/www-apps/bugzilla/Manifest index 9fcad010253b..2f34828908ff 100644 --- a/www-apps/bugzilla/Manifest +++ b/www-apps/bugzilla/Manifest @@ -6,4 +6,5 @@ AUX postinstall-5.0.6-en.txt 1292 BLAKE2B deaa9f4c11ffff9f34e0beedbf83b47a568aca AUX postupgrade-5.0.6-en.txt 544 BLAKE2B 43b2aa5673de0994ebf33b7e2167e7e91a77cfb7f5b0dea5c04590bd5f97027cb733eaf1ec8b1f209fd2aec690719e383de460b4dbf42f5e18fa5f880010cfd4 SHA512 7f9a0aeda0c665c8027fd71b0a317863dfd1c0a705371de34bf77c31ae0da562a39b101379313a227d1883e5df74c99f16f8b91b69e050c749fc30c9499a0a33 DIST bugzilla-5.0.6.tar.gz 3970724 BLAKE2B 9fab818a4d93bcd8092ddd2707f5a479b5535ba7621cccb84ce6b8785812e0e46f6d8883b76d3358a60ea5f0b6068008b9b2bfcc745b760f6fec5372216cc1af SHA512 8ca47ea1be2b433a6ce68e1a595d72f3d0f0fede44d1194dc6bc9a116dbde3ab7285212c71995e200d31544876e4c3c57b63da1f877a0cb22747ab87a5d598de EBUILD bugzilla-5.0.6-r1.ebuild 3623 BLAKE2B e6dc36b16522509fdb4b07a5241625148ff731fb55378d7898177f954740836702efba161e9c075f4468123052c08e4ad436e350c1f6d3a9239a05f47ef63563 SHA512 f2e8b3538b81f5d9a73b93e0f18dd0ea8026f4acb703e30fd36cf1cc7bb221cf596b4bc6e2e4c19523ca76ba31816238e8755e9a37c67168f021fcfa6a90dc6b +EBUILD bugzilla-5.0.6-r2.ebuild 3659 BLAKE2B bab9b6c05f3aa6db9f963346d2c67abe850795d6d6d626261e64ac08765076fb5e2f7581495952ea5d154d1603e78328106f344a3915f5d2f03d38c0c0744f7c SHA512 6cf706e325c30689786dcd2e890bec8d40a66c5831707724b9aaffa291171a0201de48485bf44d800a97f33928958d04160172026edda928441928ab1fdb6d1a MISC metadata.xml 589 BLAKE2B 0b4162420cca70f35404e59f5b4e154ceb11bd146dbde9024741487c18f04443132c5ed1b29c6a8af287a8423fd83300936665d81b7e59fca5205fe335e54af2 SHA512 6da6c308f5b031fe1b1ee7f1c021591389e65cc64ab53671d02cdaedd51fbbbf4e81fb6b34b958a3d9c237f7ee9048b43c0924323760342aab4f029924a00ca3 diff --git a/www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild b/www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild new file mode 100644 index 000000000000..9a6cfac2b3f6 --- /dev/null +++ b/www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit optfeature webapp + +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 ~riscv ~x86" + +IUSE="apache2 doc mysql postgres +sqlite test" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +# sorting is identical to upstream MYMETA.json, please don't change +# These are mandatory for checksetup.pl to configure bugzilla +BASIC_DEPS=" + dev-lang/perl + >=dev-perl/CGI-3.510.0 + >=dev-perl/DBI-1.614.0 + >=dev-perl/TimeDate-2.230.0 + >=dev-perl/DateTime-0.750.0 + >=dev-perl/DateTime-TimeZone-1.640.0 + virtual/perl-Digest-SHA + >=dev-perl/Email-Address-1.913.0 + >=dev-perl/Email-Sender-1.300.11 + >=dev-perl/Email-MIME-1.904.0 + >=dev-perl/JSON-XS-2.10.0 + >=dev-perl/List-MoreUtils-0.320.0 + >=dev-perl/Math-Random-ISAAC-1.0.1 + >=dev-perl/Template-Toolkit-2.240.0 + >=dev-perl/URI-1.550.0 +" + +RDEPEND=" + ${BASIC_DEPS} + apache2? ( www-servers/apache[apache2_modules_access_compat] ) + !apache2? ( virtual/httpd-cgi ) + postgres? ( >=dev-perl/DBD-Pg-1.49 ) + mysql? ( >=dev-perl/DBD-mysql-4.0.5 ) + sqlite? ( >=dev-perl/DBD-SQLite-1.290.0 ) +" + +BDEPEND=" + test? ( ${BASIC_DEPS} ) + doc? ( + dev-python/sphinx + dev-perl/File-Copy-Recursive + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0.6-leftbrace.patch" + "${FILESDIR}/${PN}-5.0.6-perl.patch" + "${FILESDIR}/${PN}-5.0.6-template.patch" +) + +src_prepare() { + default + + # Get rid of the bzr files + rm -r .bzr* || die + + # unconditionnally remove pod-coverage tests + rm t/011pod.t || die +} + +src_test() { + TZ=UTC perl -I. runtests.pl || die +} + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_postinst_txt en "${FILESDIR}/postinstall-${PV}-en.txt" + webapp_postupgrade_txt en "${FILESDIR}/postupgrade-${PV}-en.txt" + webapp_src_install + + if use doc; then + docs/makedocs.pl + dodoc -r docs/en/html + dodoc -r docs/en/txt + fi + + # openrc service file to enable mail queuing as a service + newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue + + # must be executable and stay that way upon upgrading + fperms u+x "${MY_HTDOCSDIR}"/checksetup.pl +} + +pkg_postinst() { + optfeature "graphical reports, new charts, old charts" "dev-perl/GD dev-perl/Chart dev-perl/Template-GD dev-perl/GDTextUtil dev-perl/GDGraph" + optfeature "moving bugs between installations, automatic update notifications" "dev-perl/MIME-tools dev-perl/libwww-perl dev-perl/XML-Twig" + optfeature "patch viewer" "dev-perl/PatchReader" + optfeature "LDAP authentication" "dev-perl/perl-ldap" + optfeature "SMTP authentication" "dev-perl/Authen-SASL" + optfeature "XML-RPC Interface" "dev-perl/SOAP-Lite dev-perl/XMLRPC-Lite dev-perl/Test-Taint" + optfeature "JSON-RPC interface, REST interface" "dev-perl/JSON-RPC dev-perl/Test-Taint" + optfeature "more HTML in Product/Group description" "dev-perl/HTML-Scrubber" + optfeature "automatic charset detection for text attachments" "dev-perl/Encode-Detect" + optfeature "inbound email" "dev-perl/Email-Reply dev-perl/HTML-FormatText-WithLinks" + optfeature "mail queueing" "dev-perl/TheSchwarz dev-perl/Daemon-Generic" + optfeature "MIME type sniffing of attachments" "dev-perl/File-MimeInfo dev-perl/IO-stringy" + optfeature "Memcached support" "dev-perl/Cache-Memcached" + optfeature "SSL support for SMTP" "dev-perl/IO-Socket-SSL" + + ewarn "If Apache is the chosen webserver, please consider turning the apache2 use flag on" + ewarn "Not doing so may result in unexpected runtime errors" + + webapp_pkg_postinst +} |