summaryrefslogtreecommitdiff
path: root/www-apps/phpBB
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/phpBB
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/phpBB')
-rw-r--r--www-apps/phpBB/Manifest6
-rw-r--r--www-apps/phpBB/files/postinstall-en.txt22
-rw-r--r--www-apps/phpBB/metadata.xml13
-rw-r--r--www-apps/phpBB/phpBB-3.1.10-r1.ebuild42
4 files changed, 83 insertions, 0 deletions
diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest
new file mode 100644
index 000000000000..003d65ab0dd6
--- /dev/null
+++ b/www-apps/phpBB/Manifest
@@ -0,0 +1,6 @@
+AUX postinstall-en.txt 507 SHA256 75a4c64f7bcfe2594299aac7cb868b2aff740579b9dee076c8b04ff8e2988d0f SHA512 dc54de4de270eacd4ef765ad1537333229a6acbf6495f88f6c6a7f555fcf643177f03f690c426f08eea63a4988d113b39fb519162b26c6200b14ee387f1ebed0 WHIRLPOOL d688107ff8b43e17c7978fc4cbea6ab9a0bb037a16830a384033cb8e5db87ce86f15023499ff0544fdeb76dd3cc089222d2660cd225031d0bfaf898e0e6059dd
+DIST phpBB-3.1.10.tar.bz2 2150999 SHA256 198fda1a0bd833d42e0d4f4fe26a47d656a6e087ed9a561e06b0940de131a22c SHA512 077a529075ea4e0691f9125be521b3fa8d4a078f9234b40bc5495faf00e1389808da40176ab8c8d9c66db259ebbf252d7292919d5c8e96e93c0bbda8d19695e2 WHIRLPOOL a41d9a602563a23fcf644967c374c0af4ae28e6a003e7fe0bbafe7af87c9417a87e0ec96978dba7819e022a46c46383e5ff19214ec7d39171146f689c0054565
+EBUILD phpBB-3.1.10-r1.ebuild 1197 SHA256 ce3be4149c43cfd628e58ba68ce44a631a8b737d21d1b054b4d7dbd6b1084664 SHA512 038a9b1cd4118b9b3892e8abaddeb157a801236e315a7ed971960d97f7e82c04bee1f4ac193d45354c4145eb3b2ace0e12b6649472e5924bc12499819a08907c WHIRLPOOL 70730338066ee94d0078aca32cb2aabe6471312377531fa2276fd35afc7bd1fc815156e2d346a357fc1c71f8793d39c305a64ff6c8e2ae24f4f16ec74444f272
+MISC ChangeLog 2552 SHA256 0f94d06b2cb74f47bbf25a8eac957ef5cb601ea03f3a720b7f06e1d58d42dcee SHA512 cf837e5cb0666fda6e51a5cd0f2adcbda05efb991b22fdf443103167044ae22e0997a0c860a2245cbcd02f40f1de7e461c0f99e200da72ae956d32cfe21a6b1b WHIRLPOOL e05aa4ad0512e0a128a95c5c32afd90cc7d4b049b5b85d1991c115fc85be6aae8b8b37e64ea284f3723a3a4b10c49638e26e1f2f723ac4c5332b0c4dff742dfd
+MISC ChangeLog-2015 9092 SHA256 6274d5bc06d5b6c6a2cc0637933972306a88e7a298c58a5faddf50f5a2c7ddbb SHA512 0e783f8038832216dfc6bb17a9356e0fa785987c6338541aea8c639358b9d73cffe35f13bfc99f6824c0266eaa6d60bb870b6d3c356260774dcc6098901c1d21 WHIRLPOOL 50b63659878245c5e76ce61103badcf755e35906609013c2a57f172db60e3e464d5988ac30e69161e310518486835b05bea49eaf472a44bb0ba4a49f6c88162d
+MISC metadata.xml 398 SHA256 7eddc344f26de94a728895b5ea2d6e1f6fa52efe2f3dc0ae3e9cf6f65183583d SHA512 60e852825bd7bd49fd9607383dd089e27da9a15adf8d4a065c46bbef9eaf87a13112cccb57ee9a5c9c0774a57b3e712d5c0611d8783b442b58c881e102499438 WHIRLPOOL cb9af7fab94461238b0df330d055ccb563b48b62673b5b024e5e932b40ab459204963d1e87bdd2f255a0bff5bbe2af95c1430dc7fa6eb3ef7dd97b614e743103
diff --git a/www-apps/phpBB/files/postinstall-en.txt b/www-apps/phpBB/files/postinstall-en.txt
new file mode 100644
index 000000000000..6787a37ca813
--- /dev/null
+++ b/www-apps/phpBB/files/postinstall-en.txt
@@ -0,0 +1,22 @@
+You are almost done!
+
+ 0. Setup a database (e.g. MySQL: see
+ http://www.gentoo.org/doc/en/mysql-howto.xml)
+
+ 1. Login on
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+ and finish the installation.
+
+ 2. Move into the directory where you installed phpBB and remove
+ the "install" folder:
+
+ # cd ${MY_INSTALLDIR}
+ # rm -rf install
+
+ 3. You can now launch your browser and point it to your phpBB site:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+ Enjoy phpBB!
diff --git a/www-apps/phpBB/metadata.xml b/www-apps/phpBB/metadata.xml
new file mode 100644
index 000000000000..dee8adaf3281
--- /dev/null
+++ b/www-apps/phpBB/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ <description>Maintainer</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/phpBB/phpBB-3.1.10-r1.ebuild b/www-apps/phpBB/phpBB-3.1.10-r1.ebuild
new file mode 100644
index 000000000000..f3dc1e75af3a
--- /dev/null
+++ b/www-apps/phpBB/phpBB-3.1.10-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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? ( virtual/imagemagick-tools )"
+
+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}
+}