From 89553b6b47f66268074b385593005eacd7b65ccf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Sep 2023 23:04:25 +0100 Subject: gentoo auto-resync : 17:09:2023 - 23:04:24 --- www-apps/phpBB/Manifest | 2 +- www-apps/phpBB/phpBB-3.3.10-r1.ebuild | 56 ++++++++++++++++++++++++++++++++++ www-apps/phpBB/phpBB-3.3.10.ebuild | 57 ----------------------------------- 3 files changed, 57 insertions(+), 58 deletions(-) create mode 100644 www-apps/phpBB/phpBB-3.3.10-r1.ebuild delete mode 100644 www-apps/phpBB/phpBB-3.3.10.ebuild (limited to 'www-apps/phpBB') diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest index ac31d2e7c705..9150e2e286a1 100644 --- a/www-apps/phpBB/Manifest +++ b/www-apps/phpBB/Manifest @@ -1,5 +1,5 @@ AUX permissions 600 BLAKE2B ae5ced85bf5ce72bc6bca533e68ae55499ace30590de37be55c4267efacf03fe752c9c3d96ff1f6ba54beda0df238fa663281195a7c874eb3cea422fb16b5a82 SHA512 ea8f2796a43c825fbe160606dc4a3cdabd6ed8fd6692c841cadb87b06803f448df48446a83366a3af3cfba65a50bb9ed3361c0495bb5058c542b6cac9c7b2a1b AUX postinstall-en.txt 554 BLAKE2B 6560cb0c3a95cbbba91932af13790eae010193e6bcca4d46c640eb05b18bcae23645d5962a6be08f28aa721a10668bd128d19f505b9d463119d1a7aff845e732 SHA512 d1d61b525b2746d558f9fa1bd56e92e182d44bb406302f1646a40b0b1f06fc900ae46c3e600e27495edce1fa4188915dcf8f96b4762938ec0f324bdbb8d91759 DIST phpBB-3.3.10.tar.bz2 4097933 BLAKE2B 338749ec483c0a402df7ec2912ed0141928d246f4f7def1aee7211392d612758e14e2fe0d02a808ae6b64ecdfb3f25f061644edbaf5cfdf8270a4bf67011b085 SHA512 fe1434dced4a701921bdd6a10e792a6236737eeacb8daa8f27ae988f736ea6276b013a18e25840f9f8a281f04d4ac0aa25db9f3643069ba52a8c92fd3d6f6bd5 -EBUILD phpBB-3.3.10.ebuild 1620 BLAKE2B 76360d3ef7e399094648a0c20130275311b3c6e4fa988d2a70ebe83df6f709d947c166358ec568e853de44aa1665984557cc090d1f9c8f05e1e9c1a57a5de51e SHA512 c71697a4b475b0131018e499bc2efce3845b12927ef1cf259d93d81f626bd7b388f72e00d3c91239553a84cdd6fa0ccabc6e5ed6395213c82c566abc33925d7b +EBUILD phpBB-3.3.10-r1.ebuild 1592 BLAKE2B e40692b56a1e2cb9198e0f7d5aa0f0590ee808f08de49eb3a12cbbbbbb22d1717270568bfdbc10db956ecdaf4e1c8985e1d9f4cbe161c575106ea95df7fb4826 SHA512 58539791446f38c2d31c335ad5ed0140f3efafd13dcfc13b154ae9758800c2169d518a5464a8e1d3e204686ddab9183f29391583b32d7933ef84c7cf6cd5edb0 MISC metadata.xml 900 BLAKE2B 94b42ae69db2f3ac1be4e25ec23597b44614faf3b122ac7892e9fb3b55c5ef706a13be0521c85251f7f4a3c9434c155fb3a0bcaf6589ae92f84ec9a95e90ad1d SHA512 42dd9eabe9890be0b2b245ca33596ba9804d9023ef1f8e2d9d7261dfee45e41d6f32217f5666916265e9fabf9e21ead6c1d7e53d7a210b620d1c6f8c99a72c9b diff --git a/www-apps/phpBB/phpBB-3.3.10-r1.ebuild b/www-apps/phpBB/phpBB-3.3.10-r1.ebuild new file mode 100644 index 000000000000..93c405ca422c --- /dev/null +++ b/www-apps/phpBB/phpBB-3.3.10-r1.ebuild @@ -0,0 +1,56 @@ +# 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.2} + ${PHP_RDEPEND//@SLOT@/8.1} +)" + +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.10.ebuild b/www-apps/phpBB/phpBB-3.3.10.ebuild deleted file mode 100644 index 451206a6e93b..000000000000 --- a/www-apps/phpBB/phpBB-3.3.10.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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 -} -- cgit v1.2.3