summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-04-10 09:48:58 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-04-10 09:52:08 +0300
commit214ce5e32be53d3080d72cb6d032dcefa69acf6e (patch)
tree8df65be58ff0f0fac78c6855028fa9ddbe75c01a /www-apps/wordpress
parentwww-apps/wordpress: drop 6.5 (diff)
downloadgentoo-214ce5e32be53d3080d72cb6d032dcefa69acf6e.tar.gz
gentoo-214ce5e32be53d3080d72cb6d032dcefa69acf6e.tar.bz2
gentoo-214ce5e32be53d3080d72cb6d032dcefa69acf6e.zip
www-apps/wordpress: add 6.4.4
Security release. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r--www-apps/wordpress/Manifest1
-rw-r--r--www-apps/wordpress/wordpress-6.4.4.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index cfeba6142f67..13af46e51be7 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.4.4.tar.gz 24480617 BLAKE2B 60856beddbbb2ba25e56eb9aaa5af0b857b4f318309d87ff5ffecee909ceec6fee0a6df0e10d2c8580af670c8b7132d4e64d6756083ecd2d16736dcf3afc01be SHA512 c369567ecdde465e063127b21de55136d37f35d959944708b2fdf05ac9fa876bbf30395783ce0435ecb68f0662bedfb83900463ebe0b442c57ac02491b5e87a4
DIST wordpress-6.5.2.tar.gz 24697732 BLAKE2B f2aff4316d2b049a3a92f30437ff5f1e0e7955abf5ce643d727743463c3782cd6865255c2e3e130778ef1939cf9e48554455dfb088c960c1469683b12cf97482 SHA512 51da72c4a5aeac0ae7ce968a7f05340d4af422226095f7c615dc865bd4fafe855c481df2ca31657c4a705307aaf2b1b941a4246847f1bdb934a49d1e626cb7fb
diff --git a/www-apps/wordpress/wordpress-6.4.4.ebuild b/www-apps/wordpress/wordpress-6.4.4.ebuild
new file mode 100644
index 000000000000..aedc91ade73a
--- /dev/null
+++ b/www-apps/wordpress/wordpress-6.4.4.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
+}