From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF95A15800A for ; Wed, 26 Jul 2023 08:00:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 102FEE094E; Wed, 26 Jul 2023 08:00:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6816E094E for ; Wed, 26 Jul 2023 08:00:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4E6333BEFE for ; Wed, 26 Jul 2023 08:00:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36862BEF for ; Wed, 26 Jul 2023 08:00:22 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1690358418.7e80f0e6cc8e38862f770f32d03071fad3ddfacf.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/bugzilla/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild X-VCS-Directories: www-apps/bugzilla/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 7e80f0e6cc8e38862f770f32d03071fad3ddfacf X-VCS-Branch: master Date: Wed, 26 Jul 2023 08:00:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 065550f0-5cb7-4455-9072-281d86eb7ec9 X-Archives-Hash: 5638e79bc5e90899d9f95a2b69a9077f commit: 7e80f0e6cc8e38862f770f32d03071fad3ddfacf Author: David Denoncin denoncin fr> AuthorDate: Tue Jul 11 17:42:24 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 26 08:00:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e80f0e6 www-apps/bugzilla: add missing dev-perl/Email-Address dependency Closes: https://bugs.gentoo.org/906133 Signed-off-by: David Denoncin denoncin.fr> Closes: https://github.com/gentoo/gentoo/pull/31841 Signed-off-by: Joonas Niilola gentoo.org> www-apps/bugzilla/bugzilla-5.0.6-r2.ebuild | 119 +++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) 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 +}