From bd47c93031f8221b1ffb05597f8237aa39967681 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 16 Feb 2023 22:56:16 +0000 Subject: www-apps/phpBB: Bump to 3.3.10, drop old 3.3.9 Signed-off-by: James Le Cuirot --- www-apps/phpBB/Manifest | 2 +- www-apps/phpBB/phpBB-3.3.10.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ www-apps/phpBB/phpBB-3.3.9.ebuild | 57 -------------------------------------- 3 files changed, 58 insertions(+), 58 deletions(-) create mode 100644 www-apps/phpBB/phpBB-3.3.10.ebuild delete mode 100644 www-apps/phpBB/phpBB-3.3.9.ebuild (limited to 'www-apps/phpBB') diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest index 5fe0a59dd99f..72932316eb82 100644 --- a/www-apps/phpBB/Manifest +++ b/www-apps/phpBB/Manifest @@ -1 +1 @@ -DIST phpBB-3.3.9.tar.bz2 4061405 BLAKE2B 52d725d6c89fd817b4518610d15af00d83ddc6c804a07835cc27b27d2ba02e14866d9a308de430a14451f51cfae42aef0b75ae1300c83dd5453f4634cd97b5c2 SHA512 03f0c501f3e975efad18c84f434948e04ee63a6a782c0352d801b7c40d5b7f1364973b37824f640516843d2f2fda80e3abc632b47e40066754047a9c791f9c2b +DIST phpBB-3.3.10.tar.bz2 4097933 BLAKE2B 338749ec483c0a402df7ec2912ed0141928d246f4f7def1aee7211392d612758e14e2fe0d02a808ae6b64ecdfb3f25f061644edbaf5cfdf8270a4bf67011b085 SHA512 fe1434dced4a701921bdd6a10e792a6236737eeacb8daa8f27ae988f736ea6276b013a18e25840f9f8a281f04d4ac0aa25db9f3643069ba52a8c92fd3d6f6bd5 diff --git a/www-apps/phpBB/phpBB-3.3.10.ebuild b/www-apps/phpBB/phpBB-3.3.10.ebuild new file mode 100644 index 000000000000..451206a6e93b --- /dev/null +++ b/www-apps/phpBB/phpBB-3.3.10.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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.1} + ${PHP_RDEPEND//@SLOT@/8.0} + ${PHP_RDEPEND//@SLOT@/7.4} +)" + +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.9.ebuild b/www-apps/phpBB/phpBB-3.3.9.ebuild deleted file mode 100644 index ee5a4ce1904d..000000000000 --- a/www-apps/phpBB/phpBB-3.3.9.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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.1} - ${PHP_RDEPEND//@SLOT@/8.0} - ${PHP_RDEPEND//@SLOT@/7.4} -)" - -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