From 399fa07bfac673a8846466b16c76549e329b55b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 May 2023 10:17:50 +0100 Subject: gentoo auto-resync : 20:05:2023 - 10:17:50 --- www-apps/Manifest.gz | Bin 13122 -> 13112 bytes www-apps/klaus/Manifest | 2 - www-apps/klaus/klaus-1.5.2.ebuild | 35 -------- www-apps/roundup/Manifest | 5 -- .../roundup/files/roundup-2.0.0-test-pyjwt.patch | 91 --------------------- www-apps/roundup/roundup-2.0.0-r1.ebuild | 53 ------------ www-apps/roundup/roundup-2.1.0-r1.ebuild | 48 ----------- www-apps/wordpress/Manifest | 4 +- www-apps/wordpress/wordpress-6.2.1.ebuild | 58 ------------- www-apps/wordpress/wordpress-6.2.2.ebuild | 58 +++++++++++++ 10 files changed, 60 insertions(+), 294 deletions(-) delete mode 100644 www-apps/klaus/klaus-1.5.2.ebuild delete mode 100644 www-apps/roundup/files/roundup-2.0.0-test-pyjwt.patch delete mode 100644 www-apps/roundup/roundup-2.0.0-r1.ebuild delete mode 100644 www-apps/roundup/roundup-2.1.0-r1.ebuild delete mode 100644 www-apps/wordpress/wordpress-6.2.1.ebuild create mode 100644 www-apps/wordpress/wordpress-6.2.2.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index b91192f8e48d..061511880811 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/klaus/Manifest b/www-apps/klaus/Manifest index 829c18bc7caf..92be3210c548 100644 --- a/www-apps/klaus/Manifest +++ b/www-apps/klaus/Manifest @@ -1,5 +1,3 @@ -DIST klaus-1.5.2.tar.gz 38168 BLAKE2B 4bcaf91ce641ca1f937d8b1b46367caf0ac7e9130fe222c820ded7cca8a708d1374142b09ae511da2695a64b3f2b67be69645d05602779c05081081b29494d9d SHA512 6423bfbef83f09b9abe4a1150d096ae72fc058a81c60fac585796918fa7c12b9a81c4d5808cf2e18acda5f6b891eaf93ed72a2e229b5b8d6ab5f060ea3230932 DIST klaus-2.0.2.tar.gz 43030 BLAKE2B ba3a1d07d92ab02e43a31f9e720e26bafc744c2867b8bd6cf300d6e2fdcbcb560a426e8cf55bd6d8c11d23775ae5beddb8fd3ee89c3b0f21302bb463cc2571f3 SHA512 87aa4943d4e918c7ac9c269c095b8381b9e367ed68a50fb70bd75e02ec723c379d0ceaa2da9d5b81484b4c308941283dd2fb58046ba18e0950611c51b2337edd -EBUILD klaus-1.5.2.ebuild 864 BLAKE2B 2806081e6a25fc1c943537a819abf50caf62c33b6cfb9f1fbd47be12647f4906e9facf00b55656717de50dff64b5073b90598b934e01f4ef6b04464d9f051a85 SHA512 0c26770e39f26b9dec97b5067c2d5178c080b8de3a2906668f7c6098ef3ce5dbd44207b72b2b4fe26e1ed7d5822aa0649068a18cc580dd7d64bbcfd2eae5ff91 EBUILD klaus-2.0.2.ebuild 815 BLAKE2B 970bfb85dcf9102c7fb88c24ef7bf1b14e77f906b9dca68a5bc18e07d08499b755d087e2ee14c65720371f62bddd6422ee911d12b55376be72892996b995a61f SHA512 bbb18a74b60df90384fe930429954d0f5b962f3d04b7b2a2cd845e16fc3ef098213c19ec4c86e1564854fa5dfb4f396ffb8eacbd758bcc575d53c712d3c7a9ee MISC metadata.xml 709 BLAKE2B 96118474109d2a20262c53524574b6ee0dc258d0e958f06bee4a1822fc827e8909e841ce9334650b48b10feb8b51a54b5764c5051dbf315510d54d2e366f1547 SHA512 57a0ddfe7c4a29154522d2395e123fdfcf4d7a158faa6a00911edf991c691c48846c52a76ad19444cd349691fe8d62b2f39f8390932d5fb58c2f6e25cb3dd9ad diff --git a/www-apps/klaus/klaus-1.5.2.ebuild b/www-apps/klaus/klaus-1.5.2.ebuild deleted file mode 100644 index d48efd0ea888..000000000000 --- a/www-apps/klaus/klaus-1.5.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 - -DESCRIPTION="A simple, easy-to-set-up Git web viewer" -HOMEPAGE="https://github.com/jonashaag/klaus/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ctags" - -RDEPEND=" - >=dev-python/dulwich-0.19.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/httpauth[${PYTHON_USEDEP}] - dev-python/humanize[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - ctags? ( dev-python/python-ctags[${PYTHON_USEDEP}] ) -" - -# The tests can only be run from a git repository -# so they are not included in the source distributions - -python_install_all() { - distutils-r1_python_install_all - doman ${PN}.1 -} diff --git a/www-apps/roundup/Manifest b/www-apps/roundup/Manifest index 4aa75607f1e7..7cf65a2b5791 100644 --- a/www-apps/roundup/Manifest +++ b/www-apps/roundup/Manifest @@ -1,8 +1,3 @@ -AUX roundup-2.0.0-test-pyjwt.patch 4712 BLAKE2B e1b8dcd070feec087f5d00eb8f71d5eaa389d543d03b671d327a9e3b23458aa97cf5681fc62be128b852a305e71efae27f12277aba61ac8ffc6d4ba2dbd23f8b SHA512 0d8d34f79b55fe48b5df9b6f1894eda22d68e0faf53b1b1ece5d7904ba98a761b4f28d9bed1e28be2342341b144d72182097d0afc9cc9884923e106b06c34e72 -DIST roundup-2.0.0.tar.gz 3495554 BLAKE2B 98b7cbfebe969411282ddf6b4bd7b94ea1efb7b1d929daf44ae5f30dc23c05cb327d0f4653b22a5594f7b198dd16a172c45568a15f8704b187cd4c355455ca9c SHA512 5adb0d96be260e70fe098fd37af27bd0abee38cb8fde4ba2e130d2caac7f64af86a3b0ab09de931a693dca8bfbe15c68444db343ccf718d9d25576d49c6d6cbf -DIST roundup-2.1.0.tar.gz 3586805 BLAKE2B a5ec6cad38e252e2ffd4d3de4def9b8414ee8758503aa29681d80b36ac62a15700e21e762c6833ce6f795f71a7a1c75c4d9ae30c49c5f038317e5d3fdc58b11d SHA512 ebc047d944f1118b30141b873d91e580d415f1e7c9331875d6efb18cf42c9121163c801b1559d02890165bfd2e5a894c5990b587ce7766b2bf4724745ca9e760 DIST roundup-2.2.0.tar.gz 3722236 BLAKE2B f9f36ff2a49c769dcce38dd59fd88825cb3a6560fbfc2a7bbf6d2abf1388bb328da5aa7de2934ae2469163bb4f125b4438b07f1eff9082458768012b4eda7687 SHA512 dbaf7c4a5e7fb75f0e401f39962c8f5a3b088036a0f2c9efb2910f3941df35df6c345c2051c37cbdcc9a2049d82d09bcb4e15b368f8c4c77fa4b4bf80c6dc844 -EBUILD roundup-2.0.0-r1.ebuild 1543 BLAKE2B 541214c2049b34d5780c544039025250410b5a4a6a91e729c6a71bcfd79b8a59db0b32dd5db96638895d499e236d03cf1bdb064d11a4ec172c36170bcb3919c6 SHA512 7bbc7b99040a2a3fc08e7fbe40c8d540eaadcea0c0533b00e70ae817627731c589925bfb9a59a03de893b174f404f25e45bc42433b853105bcfaa39e8a2c9649 -EBUILD roundup-2.1.0-r1.ebuild 1395 BLAKE2B 001b58f7750e3e206b8db46644f413c293ff563520ebdae15dd1e2570791cf3681a629d57a6f60fc3656fcca8ef2c063e18b575c3a5fcdab4a831aaa110ff40f SHA512 8d8e76da71a543d6ac6f640e30b0306f0ac2572ff3603fb542a4d05afb7032748bb313cbe2d48816d05a165d423e634584af1d49f4d1ae50d06c4eec8b0cfd1e EBUILD roundup-2.2.0.ebuild 1700 BLAKE2B ee8d632acfcff7dba1e41d20702299c1d5a5b754e009105c04dec3c895592f80b27b01accbb20b2699acd002f9f54acbd59fde62b9bc1f470c840094af1a3a05 SHA512 9257666d72e1907feb0de3d8109f0a9d35f9c79b38e09339be0b70a7ac0acd3683a0f44974899e0f4c81ef1c6f6723b69ccba8abe698fec47dfef29dd59757ae MISC metadata.xml 859 BLAKE2B 4ed7bcbc75c9efb585273835f8d50f933e79e6d67c982e596aa320fa87b533136eb8040ff3df94ac4ee045bb6dab8aad5c8bfd0c5df764425a2c43b015753f6b SHA512 3ec9884582ea8ad43a9210519c069ef87e1e2ae55b4f2d11c3f97de8add7b3df1ec31b0651aa96163564159febe58b6dc174b94782c6a618d090d67b7530547e diff --git a/www-apps/roundup/files/roundup-2.0.0-test-pyjwt.patch b/www-apps/roundup/files/roundup-2.0.0-test-pyjwt.patch deleted file mode 100644 index 74f71dab57ff..000000000000 --- a/www-apps/roundup/files/roundup-2.0.0-test-pyjwt.patch +++ /dev/null @@ -1,91 +0,0 @@ -# HG changeset patch -# User John Rouillard -# Date 1609557405 18000 -# Fri Jan 01 22:16:45 2021 -0500 -# Node ID a2fbd3592322379f0c54a75446d2a282c6f40075 -# Parent e3edb0b44d94df71f46094cdda9ed4e51e6c1de4 -pyjwt 2.00 changed return type of jwt.encode from byte to str - -Need to change tests to only do b2s conversion if using version before -2.0.0. Note 2.0.0 drops support for python 2. Also it is not -installed for the python 3.4 ci test by pip install. - -diff --git a/test/rest_common.py b/test/rest_common.py ---- a/test/rest_common.py -+++ b/test/rest_common.py -@@ -68,6 +68,8 @@ class TestCase(): - url_pfx = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/' - - def setUp(self): -+ from packaging import version -+ - self.dirname = '_test_rest' - # set up and open a tracker - # Set optimize=True as code under test (Client.main()::determine_user) -@@ -162,50 +164,58 @@ class TestCase(): - 'iat': now_ts, - 'exp': plus1min_ts, - } -+ -+ # in version 2.0.0 and newer jwt.encode returns string -+ # not bytestring. So we have to skip b2s conversion - -+ if version.parse(jwt.__version__) >= version.parse('2.0.0'): -+ tostr = lambda x: x -+ else: -+ tostr = b2s -+ - self.jwt = {} - self.claim = {} - # generate invalid claim with expired timestamp - self.claim['expired'] = copy(claim) - self.claim['expired']['exp'] = expired_ts -- self.jwt['expired'] = b2s(jwt.encode(self.claim['expired'], secret, -+ self.jwt['expired'] = tostr(jwt.encode(self.claim['expired'], secret, - algorithm='HS256')) - - # generate valid claim with user role - self.claim['user'] = copy(claim) - self.claim['user']['exp'] = plus1min_ts -- self.jwt['user'] = b2s(jwt.encode(self.claim['user'], secret, -+ self.jwt['user'] = tostr(jwt.encode(self.claim['user'], secret, - algorithm='HS256')) - # generate invalid claim bad issuer - self.claim['badiss'] = copy(claim) - self.claim['badiss']['iss'] = "http://someissuer/bugs" -- self.jwt['badiss'] = b2s(jwt.encode(self.claim['badiss'], secret, -+ self.jwt['badiss'] = tostr(jwt.encode(self.claim['badiss'], secret, - algorithm='HS256')) - # generate invalid claim bad aud(ience) - self.claim['badaud'] = copy(claim) - self.claim['badaud']['aud'] = "http://someaudience/bugs" -- self.jwt['badaud'] = b2s(jwt.encode(self.claim['badaud'], secret, -+ self.jwt['badaud'] = tostr(jwt.encode(self.claim['badaud'], secret, - algorithm='HS256')) - # generate invalid claim bad sub(ject) - self.claim['badsub'] = copy(claim) - self.claim['badsub']['sub'] = str("99") -- self.jwt['badsub'] = b2s(jwt.encode(self.claim['badsub'], secret, -+ self.jwt['badsub'] = tostr(jwt.encode(self.claim['badsub'], secret, - algorithm='HS256')) - # generate invalid claim bad roles - self.claim['badroles'] = copy(claim) - self.claim['badroles']['roles'] = [ "badrole1", "badrole2" ] -- self.jwt['badroles'] = b2s(jwt.encode(self.claim['badroles'], secret, -+ self.jwt['badroles'] = tostr(jwt.encode(self.claim['badroles'], secret, - algorithm='HS256')) - # generate valid claim with limited user:email role - self.claim['user:email'] = copy(claim) - self.claim['user:email']['roles'] = [ "user:email" ] -- self.jwt['user:email'] = b2s(jwt.encode(self.claim['user:email'], secret, -+ self.jwt['user:email'] = tostr(jwt.encode(self.claim['user:email'], secret, - algorithm='HS256')) - - # generate valid claim with limited user:emailnorest role - self.claim['user:emailnorest'] = copy(claim) - self.claim['user:emailnorest']['roles'] = [ "user:emailnorest" ] -- self.jwt['user:emailnorest'] = b2s(jwt.encode(self.claim['user:emailnorest'], secret, -+ self.jwt['user:emailnorest'] = tostr(jwt.encode(self.claim['user:emailnorest'], secret, - algorithm='HS256')) - - self.db.tx_Source = 'web' diff --git a/www-apps/roundup/roundup-2.0.0-r1.ebuild b/www-apps/roundup/roundup-2.0.0-r1.ebuild deleted file mode 100644 index 99977a136bf5..000000000000 --- a/www-apps/roundup/roundup-2.0.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 -MY_P=${P/_/} - -DESCRIPTION="Issue-tracking system with command-line, web, and e-mail interfaces" -HOMEPAGE="http://roundup.sourceforge.net https://pypi.org/project/roundup/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT ZPL" -SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="+tz sqlite mysql postgres xapian whoosh ssl jinja pyjwt markdown" - -DEPEND="" -RDEPEND="${DEPEND} - tz? ( dev-python/pytz[$PYTHON_USEDEP] ) - sqlite? ( $(python_gen_impl_dep sqlite) ) - mysql? ( dev-python/mysqlclient[$PYTHON_USEDEP] ) - postgres? ( >=dev-python/psycopg-2.8:2[$PYTHON_USEDEP] ) - xapian? ( >=dev-libs/xapian-bindings-1.0.0[python,$PYTHON_USEDEP] ) - whoosh? ( >=dev-python/whoosh-2.5.7[$PYTHON_USEDEP] ) - ssl? ( dev-python/pyopenssl[$PYTHON_USEDEP] ) - jinja? ( dev-python/jinja[$PYTHON_USEDEP] ) - pyjwt? ( dev-python/pyjwt[$PYTHON_USEDEP] ) - markdown? ( - dev-python/markdown[$PYTHON_USEDEP] - dev-python/markdown2[$PYTHON_USEDEP] - dev-python/mistune[$PYTHON_USEDEP] - )" - -DOCS="CHANGES.txt doc/*.txt" -PATCHES=( - "${FILESDIR}/${P}-test-pyjwt.patch" -) - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - rm -r "${ED}"/usr/share/doc/${PN} || die -} - -pkg_postinst() { - ewarn "See installation.txt for initialisation instructions." - ewarn "See upgrading.txt for upgrading instructions." -} diff --git a/www-apps/roundup/roundup-2.1.0-r1.ebuild b/www-apps/roundup/roundup-2.1.0-r1.ebuild deleted file mode 100644 index e891f9603add..000000000000 --- a/www-apps/roundup/roundup-2.1.0-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Issue-tracking system with command-line, web, and e-mail interfaces" -HOMEPAGE="http://roundup.sourceforge.net https://pypi.org/project/roundup/" - -LICENSE="MIT ZPL" -SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="+tz sqlite mysql postgres xapian whoosh ssl jinja pyjwt markdown" - -DEPEND="" -RDEPEND="${DEPEND} - tz? ( dev-python/pytz[$PYTHON_USEDEP] ) - sqlite? ( $(python_gen_impl_dep sqlite) ) - mysql? ( dev-python/mysqlclient[$PYTHON_USEDEP] ) - postgres? ( >=dev-python/psycopg-2.8:2[$PYTHON_USEDEP] ) - xapian? ( >=dev-libs/xapian-bindings-1.0.0[python,$PYTHON_USEDEP] ) - whoosh? ( >=dev-python/whoosh-2.5.7[$PYTHON_USEDEP] ) - ssl? ( dev-python/pyopenssl[$PYTHON_USEDEP] ) - jinja? ( dev-python/jinja[$PYTHON_USEDEP] ) - pyjwt? ( dev-python/pyjwt[$PYTHON_USEDEP] ) - markdown? ( - || ( - dev-python/markdown[$PYTHON_USEDEP] - dev-python/markdown2[$PYTHON_USEDEP] - dev-python/mistune[$PYTHON_USEDEP] - ) - )" - -DOCS="CHANGES.txt doc/*.txt" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - rm -r "${ED}"/usr/share/doc/${PN} || die -} - -pkg_postinst() { - ewarn "See installation.txt for initialisation instructions." - ewarn "See upgrading.txt for upgrading instructions." -} diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index a3bd156c7692..6e6741d0160b 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,5 +1,5 @@ AUX postinstall-en.txt 1285 BLAKE2B 09a372660022bda4064f2b298e6409be4d8f8943fd06d672e15c6126029acf2551b2eb0447f378a7c9287f757a820787ab6e592556e5cf199b0d8c0dd8f98f18 SHA512 8fa41aa39a1dfead723c87e6b16f979839dd5c585b9f9bb14a8a1ef556b69f9dcab113622b56c24890d1414df045b055b6997be02364ab4d5c7c06db2e4c12b2 AUX postupgrade-en.txt 963 BLAKE2B c08e2ecca3d462d544549c80fb11abde670251002257d75fa8dd41d890f1327b08f1796c54125663fd35aca999f63b89035b610bdeedc32396c35d9d9b92ce4d SHA512 dbc86a1cf3b5280137322794a344818be8cfc137153f0e634e7bbd856ccb7ac589199353f2ccd5c28a8aa7d35cc2e041137bfc5d812fc6267efc758a1113c2d4 -DIST wordpress-6.2.1.tar.gz 23019452 BLAKE2B 88412204905f96f3128fa11eee491ea8b8604dc389f2df32437358a0943fd743cfeb4d557b1a53de5575ef91258e9fccc31cbcae7c55b29ecf3cf18baf0473db SHA512 88e97a9c6d05ec18ac761ae247659febd19e60a10d80a09cdc70e284fbd4f91ac72c0f852d5482cc5dd7330eb85370c93fd644317d7a0f1b1156fa64b87f556f -EBUILD wordpress-6.2.1.ebuild 1408 BLAKE2B 3dd29d2988ecee0d5f0a3df7fdb8d01267ab6f33d7cdb633a1ca4428b869abae6ab73169f482a44a1859a09986bd9cee255477cbdf4c56d0efcccfbcc4636c12 SHA512 0a71c2d3889b5281e7c0752e79788376080778803370638c57ce117351a5875c3764ed2e208cb980efb3d658adb8c926fa8f49adf7a52e63c4818a4e461e4a11 +DIST wordpress-6.2.2.tar.gz 23020109 BLAKE2B 36d6a1c5fbc185a33a6ce497d38f2c7a895db28daa35c0440c1797fbb3e24eea7364b334e7d9299f34ec535bd7abfd95a5d043540a7f55f53986dd0789f5d9b8 SHA512 346c8c38e139b4a1de491a767fe34d1ff63b9ce4fbe62d2d5957c5b57704c47bed12c34e753324e018297a95a2e82e9d393e6255b540e22e0cecc74d4f557264 +EBUILD wordpress-6.2.2.ebuild 1408 BLAKE2B 3dd29d2988ecee0d5f0a3df7fdb8d01267ab6f33d7cdb633a1ca4428b869abae6ab73169f482a44a1859a09986bd9cee255477cbdf4c56d0efcccfbcc4636c12 SHA512 0a71c2d3889b5281e7c0752e79788376080778803370638c57ce117351a5875c3764ed2e208cb980efb3d658adb8c926fa8f49adf7a52e63c4818a4e461e4a11 MISC metadata.xml 429 BLAKE2B ece54e1ebae950843d98b414ca862ebcbf410230587eab84031e4afa00a9e6f0305b025a79fd5f8ce3cb70b2528adb8c5eee05e6855f0b2f55aa4680fd9a4b83 SHA512 acc7151db82ee83a7ad9b6eff62918afdc44436cd18aa4f5fe0b562257ed34ac7ca28582cfb5196b1049cb9e0db0a94c51faa8cd7c3bb081a5a0a2333391388c diff --git a/www-apps/wordpress/wordpress-6.2.1.ebuild b/www-apps/wordpress/wordpress-6.2.1.ebuild deleted file mode 100644 index b6c209d75a8c..000000000000 --- a/www-apps/wordpress/wordpress-6.2.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit webapp - -DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" -HOMEPAGE="https://wordpress.org/" -SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" -S=${WORKDIR}/${PN} - -LICENSE="GPL-2+" -if [[ ${PV} != *_rc* ]]; then - KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -RDEPEND="virtual/httpd-php - || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" - -need_httpd_cgi - -IUSE="+akismet examples +themes vhosts" - -src_install() { - webapp_src_preinst - - dodoc readme.html - rm readme.html license.txt || die - - if use !akismet ; then - rm -R wp-content/plugins/akismet/ || die - fi - if use !examples ; then - rm wp-content/plugins/hello.php || die - fi - if use !themes ; then - rm -R wp-content/themes/*/ || die - fi - - [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned "${MY_HTDOCSDIR}"/index.php - webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php - webapp_serverowned "${MY_HTDOCSDIR}" - # allows plugins update if allowed within WP - webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php - - webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt - - webapp_src_install -} diff --git a/www-apps/wordpress/wordpress-6.2.2.ebuild b/www-apps/wordpress/wordpress-6.2.2.ebuild new file mode 100644 index 000000000000..b6c209d75a8c --- /dev/null +++ b/www-apps/wordpress/wordpress-6.2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" +HOMEPAGE="https://wordpress.org/" +SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" +S=${WORKDIR}/${PN} + +LICENSE="GPL-2+" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +RDEPEND="virtual/httpd-php + || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" + +need_httpd_cgi + +IUSE="+akismet examples +themes vhosts" + +src_install() { + webapp_src_preinst + + dodoc readme.html + rm readme.html license.txt || die + + if use !akismet ; then + rm -R wp-content/plugins/akismet/ || die + fi + if use !examples ; then + rm wp-content/plugins/hello.php || die + fi + if use !themes ; then + rm -R wp-content/themes/*/ || die + fi + + [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned "${MY_HTDOCSDIR}"/index.php + webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php + webapp_serverowned "${MY_HTDOCSDIR}" + # allows plugins update if allowed within WP + webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php + + webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt + + webapp_src_install +} -- cgit v1.2.3