summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-01-07 21:12:04 +0000
committerJames Le Cuirot <chewi@gentoo.org>2017-01-07 21:28:51 +0000
commit5fe0ac4ee220ee0d9effd13d27b913ccbb7d131c (patch)
tree0e8be1a8aa5e34986a12893a2c43af482ea48e7a /www-apps
parentwww-apps/phpBB: Add myself as maintainer (diff)
downloadgentoo-5fe0ac4ee220ee0d9effd13d27b913ccbb7d131c.tar.gz
gentoo-5fe0ac4ee220ee0d9effd13d27b913ccbb7d131c.tar.bz2
gentoo-5fe0ac4ee220ee0d9effd13d27b913ccbb7d131c.zip
www-apps/phpBB: Bump to 3.1.10, add flags and deps
3.1.x does not work with PHP 7. The new USE flags prevent the need to guess which dev-lang/php flags are relevant. Package-Manager: portage-2.3.3
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/phpBB/Manifest1
-rw-r--r--www-apps/phpBB/phpBB-3.1.10.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest
index 9c1de130b0e5..09cedb7f5c4d 100644
--- a/www-apps/phpBB/Manifest
+++ b/www-apps/phpBB/Manifest
@@ -1,3 +1,4 @@
DIST phpBB-3.0.10.tar.bz2 1576431 SHA256 6060dde45558a786dfb8c3787996f8760426b30e3d07a1180c195229ccc6bc96 SHA512 07905dbfed2ca5cd720a96863a15339f5b1a0229b90a5992b434afbf7a7e3e7bc15b2d24d2d1c77bed8049dc901718f0d368e17dd2aea5703f550c01f3735323 WHIRLPOOL d9f42e40cc54e4988d2888d934c8df0f0386e0fc109dd92a71a5f19400b8b42c29934f431d2e0cd17513cfe155ae066c740bf394d9bbb23081bb18fa9147de66
DIST phpBB-3.0.11.tar.bz2 1589870 SHA256 b8c40b8cad58a458442bf04cb2632e350a76e7fb688e2820f8afd92887e751f2 SHA512 54ad6c1f673c522a7e7e651eb878942c0c947f9a9096b9eb82483df00aaf7b65e98d4c441c081c05c99d4bec8f5086bd9807c3f3860e3b0ea727d55d47ed6d4c WHIRLPOOL 801efd14407bf1d58a41fb7bad1da7936d696ec86026440baaf35acf7b7d88a6e7e5fdf23e67a86b2373fc5807d541df3c7702c13e17fff9bb81cd873221dc94
DIST phpBB-3.0.12.tar.bz2 1600626 SHA256 14f216807063017a0110c6b36f1e4c0131e0ba4c42322ec6be77392059a197a8 SHA512 d1992afcd1b107a320c6c1421917d1b25ddd6ec33784749d78ca3ebea38cf786e91e96495cb47f0389d0f6d4c721f146c8e394826e2d01ebc29f0d3534620153 WHIRLPOOL 7a9a78e5b09106da5673f180908b93e331ed9789ef68b7785fcd3b4e23683941c54b7ff6e15f6887a73e931454264c5d70336c8f0cbdf09919eb2adea8ce7e44
+DIST phpBB-3.1.10.tar.bz2 2150999 SHA256 198fda1a0bd833d42e0d4f4fe26a47d656a6e087ed9a561e06b0940de131a22c SHA512 077a529075ea4e0691f9125be521b3fa8d4a078f9234b40bc5495faf00e1389808da40176ab8c8d9c66db259ebbf252d7292919d5c8e96e93c0bbda8d19695e2 WHIRLPOOL a41d9a602563a23fcf644967c374c0af4ae28e6a003e7fe0bbafe7af87c9417a87e0ec96978dba7819e022a46c46383e5ff19214ec7d39171146f689c0054565
diff --git a/www-apps/phpBB/phpBB-3.1.10.ebuild b/www-apps/phpBB/phpBB-3.1.10.ebuild
new file mode 100644
index 000000000000..c5880ae562bf
--- /dev/null
+++ b/www-apps/phpBB/phpBB-3.1.10.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit webapp
+
+DESCRIPTION="An open-source bulletin board package"
+HOMEPAGE="http://www.phpbb.com/"
+SRC_URI="http://download.phpbb.com/pub/release/${PV:0:3}/${PV}/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~sparc ~x86"
+IUSE="ftp gd imagemagick mssql mysqli postgres sqlite xml zlib"
+
+PHPV="5*:*"
+RDEPEND="=virtual/httpd-php-${PHPV}
+ =dev-lang/php-${PHPV}[ftp?,gd?,json,mssql?,mysqli?,postgres?,sqlite?,xml?,zlib?]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )"
+
+need_httpd_cgi
+
+S="${WORKDIR}/${PN}${PV%%.*}"
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/cache
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/images/avatars/upload
+ webapp_serverowned "${MY_HTDOCSDIR}"/store
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ # phpBB needs docs together with the other files.
+ dosym "${MY_HTDOCSDIR}"/docs /usr/share/doc/${PF}
+}