diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-01-31 07:24:46 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-01-31 07:24:46 +0200 |
commit | e5176ff9c0fdb59ed1a03585dda93485e205e222 (patch) | |
tree | 0499d3b273b8ae6527da7ff61988857c49f01ae4 /www-apps | |
parent | dev-vcs/gitolite: Drop old versions (diff) | |
download | gentoo-e5176ff9c0fdb59ed1a03585dda93485e205e222.tar.gz gentoo-e5176ff9c0fdb59ed1a03585dda93485e205e222.tar.bz2 gentoo-e5176ff9c0fdb59ed1a03585dda93485e205e222.zip |
www-apps/wordpress: add 6.4.3
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-6.4.3.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 127a48693914..d688fe866bb9 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1,2 @@ DIST wordpress-6.4.2.tar.gz 24479697 BLAKE2B 9cc2d3c412f7487ebdf8a91ea9dd60a6079f65d5062eae5b473fe981b8120120ffdd73f5158e75022440f9cea7527aee3814223a101a92f6cbddeb2e81913af2 SHA512 05f23101169d9340000121569b0b1676acc5f144e6e5f1fc320f41e3f57899b39c065049b3cf43fe278248cf51f7102853afa8673ba1be503f5a1016c593db68 +DIST wordpress-6.4.3.tar.gz 24482912 BLAKE2B bf48e86884342af021fa6fd01190f10e1a3d83718f818e6d5e4f1b1d67c3cc63c920eea850905ac406f4460e11312feb74b7deaf1b255b75eaa36439ce907a9c SHA512 a3602f1b7c046b6463d03d74a4f091434e5251518a4a11146675a5836f75a532d04e9b0fad9474bd9c53ed3e2adb06a2cfb0121fde017180e120ebb58cb643eb diff --git a/www-apps/wordpress/wordpress-6.4.3.ebuild b/www-apps/wordpress/wordpress-6.4.3.ebuild new file mode 100644 index 000000000000..aedc91ade73a --- /dev/null +++ b/www-apps/wordpress/wordpress-6.4.3.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 +} |