From 251e785412cf7341ad34b91b6ab46e9ef928b572 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 22 Nov 2020 21:12:51 +0000 Subject: www-apps/phpBB: Bump to 3.3.2, drop old 3.3.1 Package-Manager: Portage-3.0.10, Repoman-3.0.1 Signed-off-by: James Le Cuirot --- www-apps/phpBB/Manifest | 2 +- www-apps/phpBB/phpBB-3.3.1.ebuild | 57 --------------------------------------- www-apps/phpBB/phpBB-3.3.2.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 www-apps/phpBB/phpBB-3.3.1.ebuild create mode 100644 www-apps/phpBB/phpBB-3.3.2.ebuild (limited to 'www-apps') diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest index dabe159ea00a..37a4bb1723b9 100644 --- a/www-apps/phpBB/Manifest +++ b/www-apps/phpBB/Manifest @@ -1 +1 @@ -DIST phpBB-3.3.1.tar.bz2 4575916 BLAKE2B 5383da8de81664c99156007eee49d01fe661e74cd6c5970fe07359aa341dc2f54c80d01927b60abf2d48ab830cbe42244bfc5432c758becb4363e334f9298d51 SHA512 b3a24b4f326426c174082362e67d1d6c1b67b3b5daa6a86f3117ef1b458aa70c055bdeaa7caf597f530c2fe4b7f6e569f7f1beacfaf346c83c638dc98d2169cf +DIST phpBB-3.3.2.tar.bz2 4616676 BLAKE2B 3199dac9c3ad95697e24c30d91131a29e05a19783cbc002ef65c87f4834def73de669ce1810b02c960dd47cec1b4e6d51d41a456e5f704e79791b5af5cab980d SHA512 8acdd88232ebfd914c74dd46edafcca66dd67669c2db4bf8008b9ece9f6af300825933a6dc0febe6cf70ffe8d4fd550a24eebedd684dc233c7866463fdba3039 diff --git a/www-apps/phpBB/phpBB-3.3.1.ebuild b/www-apps/phpBB/phpBB-3.3.1.ebuild deleted file mode 100644 index 92e371c9f13e..000000000000 --- a/www-apps/phpBB/phpBB-3.3.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 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@/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.2.ebuild b/www-apps/phpBB/phpBB-3.3.2.ebuild new file mode 100644 index 000000000000..92e371c9f13e --- /dev/null +++ b/www-apps/phpBB/phpBB-3.3.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 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@/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 +} -- cgit v1.2.3-65-gdbad