From f9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Jan 2025 06:41:31 +0000 Subject: gentoo auto-resync : 10:01:2025 - 06:41:30 --- www-apps/Manifest.gz | Bin 13137 -> 13135 bytes www-apps/gitea/Manifest | 6 +- www-apps/gitea/gitea-1.22.3.ebuild | 150 ------------------------------------- www-apps/gitea/gitea-1.22.6.ebuild | 4 +- www-apps/gitea/gitea-1.23.0.ebuild | 150 +++++++++++++++++++++++++++++++++++++ www-apps/phpBB/Manifest | 4 +- www-apps/phpBB/phpBB-3.3.13.ebuild | 56 -------------- www-apps/phpBB/phpBB-3.3.14.ebuild | 55 ++++++++++++++ 8 files changed, 212 insertions(+), 213 deletions(-) delete mode 100644 www-apps/gitea/gitea-1.22.3.ebuild create mode 100644 www-apps/gitea/gitea-1.23.0.ebuild delete mode 100644 www-apps/phpBB/phpBB-3.3.13.ebuild create mode 100644 www-apps/phpBB/phpBB-3.3.14.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index 0dc8222234b2..ea001f0897f6 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest index 715f287b2efd..4fbd4ffe3224 100644 --- a/www-apps/gitea/Manifest +++ b/www-apps/gitea/Manifest @@ -1,8 +1,8 @@ AUX gitea.confd-r1 243 BLAKE2B 87caa8371f53f52b0a85f720342f9f358dedec9240ab78998655a03df6bf3f301fe077afabdca1b1895dbcab2fa05748735d6f38f9b3ad53534fe8ae6e72db49 SHA512 485dc9d0b86d0a7b3ba958aac9de1129aa0ffbb47219419d38811f2accca2539e49dd93cc4a24b21f1c3802b024aa8449f54e320e8a16197f201532edeca6836 AUX gitea.initd-r3 802 BLAKE2B 2e33e95f7d2762986184d45b0bbb250cc5e04fffc4e4b006233b28e5b57be69eef1d83441adebe2b94681585edaf77f9da4eb97930f91e75c1b1a5cd8d137633 SHA512 5ff2e653180a0601734fcd055dfffdfdc12363736ed2e56c8576c802398b90f4025b44002cbb9a3fd1e0c2d4c169f62d460381c6c549746d3390e55fc1c677d1 AUX gitea.service-r4 730 BLAKE2B 0a1f799bf341f1a067f417aa21c1ce5c3168fe523081ef1711483d469da71699a2c163f1db008f7724329d6b6a819b1cdc76bc16309691522ebfc5dc9dfa7476 SHA512 cdd13299115e632bc474f24af6d4114b36be6489e11dd8c46b22fbd3f122194d4891cd2452f1654ef9256978fa4d0b6c11c08e386138a6cba29ea69945de8797 -DIST gitea-1.22.3.tar.gz 54325752 BLAKE2B e556dab98ea210e6bd6106addd7a019b380ffa624010eb095f5042fbf060febc8769192532a3d3506160e9d447a9e7831dbcb8fed87e6e4ecea169cbc3382c75 SHA512 a659c6eb70c01b8776e4533bca8b55bf3a4f276b43564323946076297f7f12486c0f7f872d835dcbaad62b7f79847c42c922db566f156db23f5c33140e46c39e DIST gitea-1.22.6.tar.gz 54465618 BLAKE2B 221d30c680eddd7e1aad0f906ffff5a7e564d153f8977a99a3a965d725cef0bf601a7b6c3bbd4fcc235f0a0f58ec1eb39635da3bc85d59e6856384123898a193 SHA512 a36522eeaa89dd1352ad2540966f7306416d8bb85a5e5ef8cbb52e489fd274c69b95e87e60a28aaed0adf7c12c07a66572b401f784edfd117f859bf4265961f7 -EBUILD gitea-1.22.3.ebuild 5358 BLAKE2B 12cfe2f5a7e458d2ed3f9fcbf2378d2557db79663a6bfdc015ecd1e64566416ad3b1ca8e15309683d080348a465d26f8ca65f8c6862434f9b516160450e059f2 SHA512 ebbc2570e203adb6be5509c9bd2aaeaeaa5e6af65018f34c0252f21545c5dd1a89238288be7cda744a1caa4dde2b87841e8345819cd162b1e86d4cbdd1220ff3 -EBUILD gitea-1.22.6.ebuild 5359 BLAKE2B ac3065332b96b4ba71b9178264367f77d9b6a6205ff05ce9962abca7ae9047f3e43cbba3c3af23d1893c37122c9cb8977971065f8035144750ccfff8640ee0fe SHA512 4bfc51161608ada0f7a2f9b3960063785a26638dc017a85eec169fa0a72a6fd0bea796b9c1c5a3da5165b5b9376fa80523e130c55cd41081ad951fd2e53cd924 +DIST gitea-1.23.0.tar.gz 55476961 BLAKE2B 1d9f597ae0b29eaa4230355b8a8a30c13460d8021c7067102749295cca3baf78e8f12d09d7706927d60c9c90c8ff0b32b76add06c1c8f69b471a404672765ff3 SHA512 4f82854c429cf90aca42ae96c94dc58719bfc12b504780b383945a320d902d557db44d2a35101ed40b387e8978ef2456b753378c55f680e505c448ebde1b9e43 +EBUILD gitea-1.22.6.ebuild 5358 BLAKE2B 8ff7153cf5a9d97364cb513378164aa62cb014e7787421f648634be32448b09a082303f7354745e7e462a1a9bec2486404401ecfcc516e9c6c67935f3574072a SHA512 6e21f3d4c00da82087621b5c06af6bc5ea510468f27b65e6fc1a4ba7ba4967d8c8638801b473db0b0c6feef9cc1f473202c780fee392508afd5d684dde834f07 +EBUILD gitea-1.23.0.ebuild 5385 BLAKE2B 4a2672d132b1d030d3a42039cd60026d30228689b90b3d344c30acfc39789e3eb66637e00fdff4bf749a6ad109cae91d8948e8f829b7a96e3348c2fd689744b3 SHA512 654bd28ef9ad149f97b58aae757093965f5e6f776c84f3b1db69270cf35c5443d5276faa75269812288187defc4bbebda751a8dd690ae51b35da1d6e9f533a76 MISC metadata.xml 754 BLAKE2B 0880dba11ea8bd584aa4dbebd94fbb5073e2ece2694152d7c1c7b8eaf531fbc0d314d98405c050e31a025e7031fd2476129347fc4a3643ffd0cc38aeebbee676 SHA512 58f218fac259cf5d11f288f079786323f1e76cd5e5e7503b4efe68ae86fb9d8d76773b1a9eed4872dabb9cf20f337509fc52d20bba7c60d7fb83b04adffa0e30 diff --git a/www-apps/gitea/gitea-1.22.3.ebuild b/www-apps/gitea/gitea-1.22.3.ebuild deleted file mode 100644 index 8a70b8201757..000000000000 --- a/www-apps/gitea/gitea-1.22.3.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 2016-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module tmpfiles systemd flag-o-matic user-info - -DESCRIPTION="A painless self-hosted Git service" -HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" - -SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-src-${PV}" -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86" -IUSE="+acct gogit pam sqlite pie" - -DEPEND=" - acct? ( - acct-group/git - acct-user/git[gitea] ) - pam? ( sys-libs/pam )" -RDEPEND="${DEPEND} - !gogit? ( dev-vcs/git )" -BDEPEND=">=dev-lang/go-1.22:=" - -DOCS=( - custom/conf/app.example.ini CHANGELOG.md CONTRIBUTING.md README.md -) -FILECAPS=( - -m 711 cap_net_bind_service+ep usr/bin/gitea -) - -RESTRICT="test" - -src_prepare() { - default - - sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die -} - -src_configure() { - # bug 832756 - PIE build issues - filter-flags -fPIE - filter-ldflags -fPIE -pie -} - -src_compile() { - local gitea_tags - local -a gitea_settings makeenv - - # The space-separated list of the -tags flag is deprecated, please - # always use the comma-separated list in the future. - gitea_tags="bindata" - gitea_tags+="$(usex gogit ',gogit' '')" - gitea_tags+="$(usex pam ',pam' '')" - gitea_tags+="$(usex sqlite ',sqlite,sqlite_unlock_notify' '')" - - gitea_settings=( - "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini" - "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" - "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" - ) - - makeenv=( - LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}" - TAGS="${gitea_tags}" - ) - - if use pie ; then - # Please check the supported platforms when a new keyword request opened, - # refer to file: 'go/src/internal/platform/supported.go'. - # When PIE buildmode is not supported by internal linker, the external - # linker will be used automatically, refer to: - # https://github.com/golang/go/blob/ed817f1c4055a559a94afffecbb91c78e4f39942/src/cmd/link/internal/ld/config.go#L149 - makeenv+=( EXTRA_GOFLAGS="-buildmode=pie" ) - fi - - env "${makeenv[@]}" emake backend -} - -src_install() { - dobin gitea - - einstalldocs - - newconfd "${FILESDIR}/gitea.confd-r1" gitea - newinitd "${FILESDIR}/gitea.initd-r3" gitea - newtmpfiles - gitea.conf <<-EOF - d /run/gitea 0755 git git - EOF - systemd_newunit "${FILESDIR}"/gitea.service-r4 gitea.service - - insinto /etc/gitea - newins custom/conf/app.example.ini app.ini - if use acct; then - fowners root:git /etc/gitea/{,app.ini} - fperms g+w,o-rwx /etc/gitea/{,app.ini} - - diropts -m0750 -o git -g git - keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data - keepdir /var/log/gitea - fi -} - -pkg_postinst() { - fcaps_pkg_postinst - - # It is not guaranteed that the git user and group always exist (due to the acct USE Flag), - # but for convenience, the tmpfile uses the git user and group by default. - # To avoid installation errors, a condition needs to be added here: - # if there is no git user or group, the installation of tmpfile will be skipped - # and the user will be notified to handle it by themselves. - if egetent passwd git &>/dev/null && \ - egetent group git &>/dev/null; then - tmpfiles_process gitea.conf - else - eerror "Unable to install the tmpfile for gitea due to the git user or group is missing," - eerror "please install tmpfile manually or rebuild this package with USE flag 'acct'." - eerror "You can simply copy the default tmpfile from '/usr/lib/tmpfiles.d/gitea.conf'" - eerror "to higher priority path '/etc/tmpfiles.d/gitea.conf', and correct it with" - eerror "the right User and Group value (see tmpfiles.d(5) for details), then execute:" - eerror " # systemd-tmpfiles --create /etc/tmpfiles.d/gitea.conf" - eerror "to install it." - fi - - if [[ -n ${REPLACING_VERSIONS} ]]; then - if ver_test "${REPLACING_VERSIONS}" -lt 1.21; then - ewarn "Since version 1.21.0:" - ewarn " 1. The built-in SSH server will now only accept SSH user" - ewarn " certificates, not server certificates. This behaviour matches OpenSSH." - ewarn " 2. The options of the subcommand must follow the subcommand now." - ewarn " 3. Remove 'CHARSET' config option for MySQL, always use 'utf8mb4'." - ewarn "For other breaking changes, see ." - fi - if ver_test "${REPLACING_VERSIONS}" -lt 1.22; then - ewarn "Since version 1.22.0:" - ewarn " 1. Minimum database requirements updated to MySQL 8.0, PostgreSQL 12, and MSSQL 2012." - ewarn " 2. There are a lot of refactoring changes related to customizing templates." - ewarn " 3. The default duration of the 'Remember login' feature has been" - ewarn " changed from one week to one month." - ewarn " 4. Enhanced auth token/remember me, the obsolete setting" - ewarn " '[security].COOKIE_USERNAME' has been removed." - ewarn " 5. For MinIO storage, adds a prefix path for all MinIO storage" - ewarn " and override base path will override the path." - ewarn " 6. Now use a more restricted sanitizer for the repository description." - ewarn "For more details, see ." - fi - fi -} diff --git a/www-apps/gitea/gitea-1.22.6.ebuild b/www-apps/gitea/gitea-1.22.6.ebuild index dd49814314cb..d3835b109f2b 100644 --- a/www-apps/gitea/gitea-1.22.6.ebuild +++ b/www-apps/gitea/gitea-1.22.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2016-2024 Gentoo Authors +# Copyright 2016-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${ S="${WORKDIR}/${PN}-src-${PV}" LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86" IUSE="+acct gogit pam sqlite pie" DEPEND=" diff --git a/www-apps/gitea/gitea-1.23.0.ebuild b/www-apps/gitea/gitea-1.23.0.ebuild new file mode 100644 index 000000000000..119839659298 --- /dev/null +++ b/www-apps/gitea/gitea-1.23.0.ebuild @@ -0,0 +1,150 @@ +# Copyright 2016-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module tmpfiles systemd flag-o-matic user-info + +DESCRIPTION="A painless self-hosted Git service" +HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" + +SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${PV}/gitea-src-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-src-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +IUSE="+acct gogit pam sqlite pie" + +DEPEND=" + acct? ( + acct-group/git + acct-user/git[gitea] ) + pam? ( sys-libs/pam )" +RDEPEND="${DEPEND} + !gogit? ( dev-vcs/git )" +BDEPEND=">=dev-lang/go-1.23:=" + +DOCS=( + custom/conf/app.example.ini CHANGELOG.md CONTRIBUTING.md README.md +) +FILECAPS=( + -m 711 cap_net_bind_service+ep usr/bin/gitea +) + +RESTRICT="test" + +src_prepare() { + default + + sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini || die +} + +src_configure() { + # bug 832756 - PIE build issues + filter-flags -fPIE + filter-ldflags -fPIE -pie +} + +src_compile() { + local gitea_tags + local -a gitea_settings makeenv + + # The space-separated list of the -tags flag is deprecated, please + # always use the comma-separated list in the future. + gitea_tags="bindata" + gitea_tags+="$(usex gogit ',gogit' '')" + gitea_tags+="$(usex pam ',pam' '')" + gitea_tags+="$(usex sqlite ',sqlite,sqlite_unlock_notify' '')" + + gitea_settings=( + "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini" + "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" + "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" + ) + + makeenv=( + LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}" + TAGS="${gitea_tags}" + ) + + if use pie ; then + # Please check the supported platforms when a new keyword request opened, + # refer to file: 'go/src/internal/platform/supported.go'. + # When PIE buildmode is not supported by internal linker, the external + # linker will be used automatically, refer to: + # https://github.com/golang/go/blob/ed817f1c4055a559a94afffecbb91c78e4f39942/src/cmd/link/internal/ld/config.go#L149 + makeenv+=( EXTRA_GOFLAGS="-buildmode=pie" ) + fi + + env "${makeenv[@]}" emake backend +} + +src_install() { + dobin gitea + + einstalldocs + + newconfd "${FILESDIR}/gitea.confd-r1" gitea + newinitd "${FILESDIR}/gitea.initd-r3" gitea + newtmpfiles - gitea.conf <<-EOF + d /run/gitea 0755 git git + EOF + systemd_newunit "${FILESDIR}"/gitea.service-r4 gitea.service + + insinto /etc/gitea + newins custom/conf/app.example.ini app.ini + if use acct; then + fowners root:git /etc/gitea/{,app.ini} + fperms g+w,o-rwx /etc/gitea/{,app.ini} + + diropts -m0750 -o git -g git + keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data + keepdir /var/log/gitea + fi +} + +pkg_postinst() { + fcaps_pkg_postinst + + # It is not guaranteed that the git user and group always exist (due to the acct USE Flag), + # but for convenience, the tmpfile uses the git user and group by default. + # To avoid installation errors, a condition needs to be added here: + # if there is no git user or group, the installation of tmpfile will be skipped + # and the user will be notified to handle it by themselves. + if egetent passwd git &>/dev/null && \ + egetent group git &>/dev/null; then + tmpfiles_process gitea.conf + else + eerror "Unable to install the tmpfile for gitea due to the git user or group is missing," + eerror "please install tmpfile manually or rebuild this package with USE flag 'acct'." + eerror "You can simply copy the default tmpfile from '/usr/lib/tmpfiles.d/gitea.conf'" + eerror "to higher priority path '/etc/tmpfiles.d/gitea.conf', and correct it with" + eerror "the right User and Group value (see tmpfiles.d(5) for details), then execute:" + eerror " # systemd-tmpfiles --create /etc/tmpfiles.d/gitea.conf" + eerror "to install it." + fi + + if [[ -n ${REPLACING_VERSIONS} ]]; then + if ver_test "${REPLACING_VERSIONS}" -lt 1.22; then + ewarn "Since version 1.22.0:" + ewarn " 1. Minimum database requirements updated to MySQL 8.0, PostgreSQL 12, and MSSQL 2012." + ewarn " 2. There are a lot of refactoring changes related to customizing templates." + ewarn " 3. The default duration of the 'Remember login' feature has been" + ewarn " changed from one week to one month." + ewarn " 4. Enhanced auth token/remember me, the obsolete setting" + ewarn " '[security].COOKIE_USERNAME' has been removed." + ewarn " 5. For MinIO storage, adds a prefix path for all MinIO storage" + ewarn " and override base path will override the path." + ewarn " 6. Now use a more restricted sanitizer for the repository description." + ewarn "For more details, see ." + fi + if ver_test "${REPLACING_VERSIONS}" -lt 1.23; then + ewarn "Since version 1.23.0:" + ewarn " 1. The config option '[camo].Allways' has been renamed to '[camo].Always'." + ewarn " 2. The SHA1 for support for SSH RSA signing has been removed." + ewarn " 3. Use UTC as the default timezone when scheduling Actions cron tasks." + ewarn " 4. Make OIDC introspection authentication strictly require Client ID and secret." + ewarn "For other breaking changes, see ." + fi + fi +} diff --git a/www-apps/phpBB/Manifest b/www-apps/phpBB/Manifest index d20918afaa52..10d8cbcdca24 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.13.tar.bz2 4110534 BLAKE2B 68504b5446b60f19f9e3feb6de08afbd0fa35c0e54782daf7b626917969f71d61af9564495b145191200ed75b41739ab5b526b5e49fecd08effd018f5d1d7fa4 SHA512 2a6725465e6d4f4b42eada17343e0f6fe8fd8e7464d0b444d4dfa80928d6c0127c34a4e0bbcb13a9166ed5cf37772e92d9353092bb0ce9ed6b089f5b6a70dd43 -EBUILD phpBB-3.3.13.ebuild 1612 BLAKE2B f671025f22cef7a25c46eb94ca2ec182914d649e086d439e87212d762d7ca87c03ccc908575d24361b46226fed3d0615b5dd6086190030bd79eb6d8b56a61244 SHA512 50568d1288f69a3ffd2cfb1662ada4d2e921634f6c11a0dea406e3eca3c7b07714d72b4ad2102b8bee8855a96aff5d865b69fd1c20c1df5ef3ba9c2074aa2aab +DIST phpBB-3.3.14.tar.bz2 4110798 BLAKE2B 9131d291ee262f3e4596ead6cf4900db33ed3d99d93b42dd950bfbecc8b30d6892efe22fcf2d377fd11ada73b789a0523d3ec1e6ebc1f8b67f323b5fd488390d SHA512 1eae128e3fec7670fdefb0a1e592a1a77759a201fcc46b6892f4fbda7286c5b13fedd672c8e016d6b06531d1fe6a954366d5b75aa2b13ef30f66f9deddd954dd +EBUILD phpBB-3.3.14.ebuild 1584 BLAKE2B 83e6efe5c9864f4d73d04a15328eae0a9e6c60dcf1ea649c30c8d563f4d049602fa00a2e40bb3fd433eda202ad3431167eb444b28e1e2087daaffa0a7303796b SHA512 07f7590e805bf1c1e3bb4a371a3ceaf38a66f63a9bc72bfe3a88be02ed0bb687a62727e8ef3bdb40f5889ae209a0a51b1b0109f36ee7689f234c97f124f3aa35 MISC metadata.xml 900 BLAKE2B 94b42ae69db2f3ac1be4e25ec23597b44614faf3b122ac7892e9fb3b55c5ef706a13be0521c85251f7f4a3c9434c155fb3a0bcaf6589ae92f84ec9a95e90ad1d SHA512 42dd9eabe9890be0b2b245ca33596ba9804d9023ef1f8e2d9d7261dfee45e41d6f32217f5666916265e9fabf9e21ead6c1d7e53d7a210b620d1c6f8c99a72c9b diff --git a/www-apps/phpBB/phpBB-3.3.13.ebuild b/www-apps/phpBB/phpBB-3.3.13.ebuild deleted file mode 100644 index 9032b4419e00..000000000000 --- a/www-apps/phpBB/phpBB-3.3.13.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 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" -S="${WORKDIR}/${PN}${PV%%.*}" -LICENSE="GPL-2" -KEYWORDS="~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.3} - ${PHP_RDEPEND//@SLOT@/8.2} - ${PHP_RDEPEND//@SLOT@/8.1} -)" - -need_httpd_cgi - -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.14.ebuild b/www-apps/phpBB/phpBB-3.3.14.ebuild new file mode 100644 index 000000000000..08bbfa434096 --- /dev/null +++ b/www-apps/phpBB/phpBB-3.3.14.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 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" +S="${WORKDIR}/${PN}${PV%%.*}" +LICENSE="GPL-2" +KEYWORDS="~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.3} + ${PHP_RDEPEND//@SLOT@/8.2} +)" + +need_httpd_cgi + +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