diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-10 09:41:52 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-10 09:52:08 +0300 |
commit | 6cdea9d8e524f128dd5b0bd6f7c45826e5757dad (patch) | |
tree | 491c4e8b109b52df31bc390707322cd5da103a16 /www-apps/wordpress | |
parent | app-emulation/xen-tools: drop 4.17.4_pre1 (diff) | |
download | gentoo-6cdea9d8e524f128dd5b0bd6f7c45826e5757dad.tar.gz gentoo-6cdea9d8e524f128dd5b0bd6f7c45826e5757dad.tar.bz2 gentoo-6cdea9d8e524f128dd5b0bd6f7c45826e5757dad.zip |
www-apps/wordpress: add 6.5.2
Security release.
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-6.5.2.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 54ebc779e093..823028ee0a00 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,2 +1,3 @@ DIST wordpress-6.4.3.tar.gz 24482912 BLAKE2B bf48e86884342af021fa6fd01190f10e1a3d83718f818e6d5e4f1b1d67c3cc63c920eea850905ac406f4460e11312feb74b7deaf1b255b75eaa36439ce907a9c SHA512 a3602f1b7c046b6463d03d74a4f091434e5251518a4a11146675a5836f75a532d04e9b0fad9474bd9c53ed3e2adb06a2cfb0121fde017180e120ebb58cb643eb +DIST wordpress-6.5.2.tar.gz 24697732 BLAKE2B f2aff4316d2b049a3a92f30437ff5f1e0e7955abf5ce643d727743463c3782cd6865255c2e3e130778ef1939cf9e48554455dfb088c960c1469683b12cf97482 SHA512 51da72c4a5aeac0ae7ce968a7f05340d4af422226095f7c615dc865bd4fafe855c481df2ca31657c4a705307aaf2b1b941a4246847f1bdb934a49d1e626cb7fb DIST wordpress-6.5.tar.gz 24696382 BLAKE2B f4cea5cf575161ff7d7c1e0c0f2176323374429b899ad64e84059578bb827ccb8a7668c36bbf48238c66b6006c0292cbf5f0866aa97858f78a012845184ebf46 SHA512 39ab557bfd4c2af7a5289f379cc4ee62a6720f2f41cefeb5328cf1a053a3f53d471ce081998debe7f4143ed11dcec6cc8c71da8867a3493c83d1b3742a99a9d4 diff --git a/www-apps/wordpress/wordpress-6.5.2.ebuild b/www-apps/wordpress/wordpress-6.5.2.ebuild new file mode 100644 index 000000000000..aedc91ade73a --- /dev/null +++ b/www-apps/wordpress/wordpress-6.5.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 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 +} |