From 950a904e95792d115e2cd755882016c55393f2e2 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 30 May 2021 08:55:02 +0100 Subject: www-apps/phpBB: Bump to 3.3.4, drop old 3.3.3 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot --- www-apps/phpBB/Manifest | 2 +- www-apps/phpBB/phpBB-3.3.3.ebuild | 58 --------------------------------------- www-apps/phpBB/phpBB-3.3.4.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 59 deletions(-) delete mode 100644 www-apps/phpBB/phpBB-3.3.3.ebuild create mode 100644 www-apps/phpBB/phpBB-3.3.4.ebuild (limited to 'www-apps') diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest index c8f14dfd36c1..a5ec3fb50956 100644 --- a/www-apps/phpBB/Manifest +++ b/www-apps/phpBB/Manifest @@ -1 +1 @@ -DIST phpBB-3.3.3.tar.bz2 4703855 BLAKE2B 28eb4ad42c80adad372858e899ac33ae2da80044aed1d43edd94de4698d9bf91a5a9571daf7d9be52204c4c8262902f725a40564f921ddf9d89c31f73661bc8c SHA512 a43ff244a4cf3917dfac6e24c21bd52e70ae3391313fd6a3dcaba08907485359c42200bd767137061258b125134f4798b26ecd82bbf8ba360755a63d875ae5d5 +DIST phpBB-3.3.4.tar.bz2 4707921 BLAKE2B d70797c88514b1b0409194784e510401e1af910e4577e5b679d5b18b0664fe8eb011567fd9a2894f18ce4f78bf5e694305def7dc7d0c3000b23753dc9ca6a67d SHA512 d021530a2e89eb3fea818c5c13cc1e66dc5b5bb3f9db838243be0fb167d21f0d1f1311c2a2fe4f9ac2b81621a949c1c1db139bd32fc3007d6deade4e9f7386d8 diff --git a/www-apps/phpBB/phpBB-3.3.3.ebuild b/www-apps/phpBB/phpBB-3.3.3.ebuild deleted file mode 100644 index 186d7c2f037f..000000000000 --- a/www-apps/phpBB/phpBB-3.3.3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit webapp - -DESCRIPTION="An open-source PHP-based bulletin board package" -HOMEPAGE="https://www.phpbb.com/" -SRC_URI="https://download.phpbb.com/pub/release/$(ver_cut 1-2)/${PV}/${P}.tar.bz2" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" -IUSE="ftp gd mssql mysqli postgres sqlite zlib" -REQUIRED_USE="|| ( mssql mysqli postgres sqlite )" - -PHP_RDEPEND="( - virtual/httpd-php:@SLOT@ - dev-lang/php:@SLOT@[ftp?,gd?,json(+),mssql?,mysqli?,postgres?,sqlite?,xml,zlib?] -)" - -RDEPEND="|| ( - ${PHP_RDEPEND//@SLOT@/8.0} - ${PHP_RDEPEND//@SLOT@/7.4} - ${PHP_RDEPEND//@SLOT@/7.3} - ${PHP_RDEPEND//@SLOT@/7.2} -)" - -need_httpd_cgi - -S="${WORKDIR}/${PN}${PV%%.*}" - -src_install() { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_configfile "${MY_HTDOCSDIR}"/config.php - webapp_hook_script "${FILESDIR}"/permissions - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_src_install - - # phpBB needs docs together with the other files. - dosym ../webapps/${PN}/${SLOT}/htdocs/docs /usr/share/doc/${PF} -} - -pkg_postinst() { - einfo "phpBB needs a specific web server configuration. For Apache httpd, an" - einfo "example configuration is provided via .htaccess files. For lighttpd and" - einfo "NGINX, example configuration files can be found in the documentation." - - if use vhosts; then - echo - ewarn "When installing with webapp-config, specify a group that includes your" - ewarn "PHP user with the -g option. It will default to the web server group" - ewarn "when running webapp-config as root." - fi -} diff --git a/www-apps/phpBB/phpBB-3.3.4.ebuild b/www-apps/phpBB/phpBB-3.3.4.ebuild new file mode 100644 index 000000000000..70b57df522aa --- /dev/null +++ b/www-apps/phpBB/phpBB-3.3.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit webapp + +DESCRIPTION="An open-source PHP-based bulletin board package" +HOMEPAGE="https://www.phpbb.com/" +SRC_URI="https://download.phpbb.com/pub/release/$(ver_cut 1-2)/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +IUSE="ftp gd mssql mysqli postgres sqlite zlib" +REQUIRED_USE="|| ( mssql mysqli postgres sqlite )" + +PHP_RDEPEND="( + virtual/httpd-php:@SLOT@ + dev-lang/php:@SLOT@[ftp?,gd?,json(+),mssql?,mysqli?,postgres?,sqlite?,xml,zlib?] +)" + +RDEPEND="|| ( + ${PHP_RDEPEND//@SLOT@/8.0} + ${PHP_RDEPEND//@SLOT@/7.4} + ${PHP_RDEPEND//@SLOT@/7.3} +)" + +need_httpd_cgi + +S="${WORKDIR}/${PN}${PV%%.*}" + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR}"/config.php + webapp_hook_script "${FILESDIR}"/permissions + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install + + # phpBB needs docs together with the other files. + dosym ../webapps/${PN}/${SLOT}/htdocs/docs /usr/share/doc/${PF} +} + +pkg_postinst() { + einfo "phpBB needs a specific web server configuration. For Apache httpd, an" + einfo "example configuration is provided via .htaccess files. For lighttpd and" + einfo "NGINX, example configuration files can be found in the documentation." + + if use vhosts; then + echo + ewarn "When installing with webapp-config, specify a group that includes your" + ewarn "PHP user with the -g option. It will default to the web server group" + ewarn "when running webapp-config as root." + fi +} -- cgit v1.2.3-65-gdbad