public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/phpBB/
Date: Sun, 24 Nov 2019 23:22:53 +0000 (UTC)	[thread overview]
Message-ID: <1574637699.40693b82a8eb796ca3efdd1a1c77fd37ccb6b5cd.chewi@gentoo> (raw)

commit:     40693b82a8eb796ca3efdd1a1c77fd37ccb6b5cd
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 23:21:39 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 23:21:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40693b82

www-apps/phpBB: Version bump to 3.2.8

PHP 7.3 won't be supported until phpBB 3.3.

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 www-apps/phpBB/Manifest           |  1 +
 www-apps/phpBB/phpBB-3.2.8.ebuild | 56 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest
index 42c23a471f2..19c367b0b6d 100644
--- a/www-apps/phpBB/Manifest
+++ b/www-apps/phpBB/Manifest
@@ -1 +1,2 @@
 DIST phpBB-3.2.7.tar.bz2 4384851 BLAKE2B 68af960efa04a30f81869b205d9c43ace86a4a4411a4cb969cdf5d52c8bf4f87f806fc3b2c71941f15be295afe5faa0d606af72a734356c3a7f0f97fb73d3f01 SHA512 f6cf728c022d803f2b39560037b987e832f4ee4583a377f63e01a1529b58e275db4f13386a0d70b50cfb40621d7573a26e349702f901a549cedda9db7f79d4d2
+DIST phpBB-3.2.8.tar.bz2 4388929 BLAKE2B 8d7b7294a852450400f721cb05d258bb36b88c48133d340292bb2733c4a28da02e3c2038eb269e0549512cc3db286c4e31eb970070edda0493c304185bc303d0 SHA512 467a84917041889eaa7f2e68a0a81d9368f3ee36427883dec7ebd2af72fe21044dbdb08c5a068ab4e67490af2e4b30132db9d3a300382dd5ccc0a54f7ca20a31

diff --git a/www-apps/phpBB/phpBB-3.2.8.ebuild b/www-apps/phpBB/phpBB-3.2.8.ebuild
new file mode 100644
index 00000000000..52b9af6e5eb
--- /dev/null
+++ b/www-apps/phpBB/phpBB-3.2.8.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 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.2}
+	${PHP_RDEPEND//@SLOT@/7.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
+}


             reply	other threads:[~2019-11-24 23:22 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24 23:22 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-09 23:27 [gentoo-commits] repo/gentoo:master commit in: www-apps/phpBB/ James Le Cuirot
2024-10-25 21:19 James Le Cuirot
2024-06-29 18:27 James Le Cuirot
2023-12-08 16:29 Arthur Zamarin
2023-11-04 22:35 James Le Cuirot
2023-09-17 21:33 James Le Cuirot
2023-02-17 23:21 James Le Cuirot
2022-12-11 10:36 James Le Cuirot
2022-07-07 14:52 James Le Cuirot
2022-04-02 13:47 James Le Cuirot
2021-10-16  9:00 James Le Cuirot
2021-05-30  7:56 James Le Cuirot
2021-02-12 17:29 James Le Cuirot
2021-02-12 16:09 James Le Cuirot
2021-01-10 22:27 Sam James
2020-11-22 21:13 James Le Cuirot
2020-08-23 22:00 James Le Cuirot
2020-08-23 22:00 James Le Cuirot
2019-11-24 23:22 James Le Cuirot
2019-06-24 21:54 James Le Cuirot
2019-06-24 21:30 James Le Cuirot
2018-06-03 13:49 Aaron Bauman
2018-02-11 11:36 Michał Górny
2017-02-11 19:47 David Seifert
2017-01-07 21:29 James Le Cuirot
2017-01-07 21:29 James Le Cuirot
2017-01-07 21:29 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574637699.40693b82a8eb796ca3efdd1a1c77fd37ccb6b5cd.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox