summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-07-17 07:26:32 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-07-17 07:26:39 +0300
commitba009dd41264c0b321544e714bdb4df263ac061b (patch)
treef298cecb5d38d8a37f30ef829f4b7b13c801290b /www-apps
parentsys-devel/gcc: Stabilize 13.3.1_p20240614 sparc, #935822 (diff)
downloadgentoo-ba009dd41264c0b321544e714bdb4df263ac061b.tar.gz
gentoo-ba009dd41264c0b321544e714bdb4df263ac061b.tar.bz2
gentoo-ba009dd41264c0b321544e714bdb4df263ac061b.zip
www-apps/wordpress: add 6.6
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wordpress/Manifest1
-rw-r--r--www-apps/wordpress/wordpress-6.6.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 69856d8eb6b5..a4256c90761b 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1,2 +1,3 @@
DIST wordpress-6.4.4.tar.gz 24480617 BLAKE2B 60856beddbbb2ba25e56eb9aaa5af0b857b4f318309d87ff5ffecee909ceec6fee0a6df0e10d2c8580af670c8b7132d4e64d6756083ecd2d16736dcf3afc01be SHA512 c369567ecdde465e063127b21de55136d37f35d959944708b2fdf05ac9fa876bbf30395783ce0435ecb68f0662bedfb83900463ebe0b442c57ac02491b5e87a4
DIST wordpress-6.5.5.tar.gz 24696391 BLAKE2B e3edceb605c22b15de39459ec3e83e416324b8194974a069a026bd18e70eda5072ef47dab2c8a1a8a4e7fd81d783843d55f72f1ac9079aa8088ce72104fc6f8e SHA512 34b401f6abf08d654188906117c54e962e22fb1e8abcfec2a191d761d5719b4cfe7c33d33f6da786b3e6a04e50622429d5d7c9f9b8baec0bd08430b1f4435ff7
+DIST wordpress-6.6.tar.gz 24634929 BLAKE2B 15ee3787067b62b28fc558b8fe5bdd95aee5693f6f0e67584051fd5dd2fdf88b461c7ef9911efe273d11070bab6e68caf37c563e2e744568f92217c06c0f53d2 SHA512 dd0ca8eb1737ca50dacdbb832a2fa5bedcc83fab3ed55aafb210d6fde4af14dec662cf3c0d9974316ad12c0848bdb14222cc43044472bdbd1b302e7bcf72b454
diff --git a/www-apps/wordpress/wordpress-6.6.ebuild b/www-apps/wordpress/wordpress-6.6.ebuild
new file mode 100644
index 000000000000..aedc91ade73a
--- /dev/null
+++ b/www-apps/wordpress/wordpress-6.6.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
+}