1 |
commit: 40693b82a8eb796ca3efdd1a1c77fd37ccb6b5cd |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 24 23:21:39 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 24 23:21:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40693b82 |
7 |
|
8 |
www-apps/phpBB: Version bump to 3.2.8 |
9 |
|
10 |
PHP 7.3 won't be supported until phpBB 3.3. |
11 |
|
12 |
Package-Manager: Portage-2.3.79, Repoman-2.3.17 |
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
|
15 |
www-apps/phpBB/Manifest | 1 + |
16 |
www-apps/phpBB/phpBB-3.2.8.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest |
20 |
index 42c23a471f2..19c367b0b6d 100644 |
21 |
--- a/www-apps/phpBB/Manifest |
22 |
+++ b/www-apps/phpBB/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST phpBB-3.2.7.tar.bz2 4384851 BLAKE2B 68af960efa04a30f81869b205d9c43ace86a4a4411a4cb969cdf5d52c8bf4f87f806fc3b2c71941f15be295afe5faa0d606af72a734356c3a7f0f97fb73d3f01 SHA512 f6cf728c022d803f2b39560037b987e832f4ee4583a377f63e01a1529b58e275db4f13386a0d70b50cfb40621d7573a26e349702f901a549cedda9db7f79d4d2 |
25 |
+DIST phpBB-3.2.8.tar.bz2 4388929 BLAKE2B 8d7b7294a852450400f721cb05d258bb36b88c48133d340292bb2733c4a28da02e3c2038eb269e0549512cc3db286c4e31eb970070edda0493c304185bc303d0 SHA512 467a84917041889eaa7f2e68a0a81d9368f3ee36427883dec7ebd2af72fe21044dbdb08c5a068ab4e67490af2e4b30132db9d3a300382dd5ccc0a54f7ca20a31 |
26 |
|
27 |
diff --git a/www-apps/phpBB/phpBB-3.2.8.ebuild b/www-apps/phpBB/phpBB-3.2.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..52b9af6e5eb |
30 |
--- /dev/null |
31 |
+++ b/www-apps/phpBB/phpBB-3.2.8.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit webapp |
39 |
+ |
40 |
+DESCRIPTION="An open-source PHP-based bulletin board package" |
41 |
+HOMEPAGE="https://www.phpbb.com/" |
42 |
+SRC_URI="https://download.phpbb.com/pub/release/$(ver_cut 1-2)/${PV}/${P}.tar.bz2" |
43 |
+LICENSE="GPL-2" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" |
45 |
+IUSE="ftp gd mssql mysqli postgres sqlite zlib" |
46 |
+REQUIRED_USE="|| ( mssql mysqli postgres sqlite )" |
47 |
+ |
48 |
+PHP_RDEPEND="( |
49 |
+ virtual/httpd-php:@SLOT@ |
50 |
+ dev-lang/php:@SLOT@[ftp?,gd?,json,mssql?,mysqli?,postgres?,sqlite?,xml,zlib?] |
51 |
+)" |
52 |
+ |
53 |
+RDEPEND="|| ( |
54 |
+ ${PHP_RDEPEND//@SLOT@/7.2} |
55 |
+ ${PHP_RDEPEND//@SLOT@/7.1} |
56 |
+)" |
57 |
+ |
58 |
+need_httpd_cgi |
59 |
+ |
60 |
+S="${WORKDIR}/${PN}${PV%%.*}" |
61 |
+ |
62 |
+src_install() { |
63 |
+ webapp_src_preinst |
64 |
+ |
65 |
+ insinto "${MY_HTDOCSDIR}" |
66 |
+ doins -r . |
67 |
+ |
68 |
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php |
69 |
+ webapp_hook_script "${FILESDIR}"/permissions |
70 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
71 |
+ webapp_src_install |
72 |
+ |
73 |
+ # phpBB needs docs together with the other files. |
74 |
+ dosym ../webapps/${PN}/${SLOT}/htdocs/docs /usr/share/doc/${PF} |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ einfo "phpBB needs a specific web server configuration. For Apache httpd, an" |
79 |
+ einfo "example configuration is provided via .htaccess files. For lighttpd and" |
80 |
+ einfo "NGINX, example configuration files can be found in the documentation." |
81 |
+ |
82 |
+ if use vhosts; then |
83 |
+ echo |
84 |
+ ewarn "When installing with webapp-config, specify a group that includes your" |
85 |
+ ewarn "PHP user with the -g option. It will default to the web server group" |
86 |
+ ewarn "when running webapp-config as root." |
87 |
+ fi |
88 |
+} |