diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-13 11:59:25 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-13 11:59:25 +0100 |
commit | 5f66afbef9c7d9ee30405c2631a72fbbafc156b9 (patch) | |
tree | 18a33d64333bb971208241d93a6ce81573ad2459 | |
parent | x11-misc/devilspie2: Stabilize 0.45 x86, #943354 (diff) | |
download | gentoo-5f66afbef9c7d9ee30405c2631a72fbbafc156b9.tar.gz gentoo-5f66afbef9c7d9ee30405c2631a72fbbafc156b9.tar.bz2 gentoo-5f66afbef9c7d9ee30405c2631a72fbbafc156b9.zip |
www-apps/wordpress: bump to 6.7
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-6.7.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index fc768ef194ec..56743b28c4d6 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,3 +1,4 @@ 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.2.tar.gz 24640061 BLAKE2B f10a94b0a731bb4a5b22f0e6e634f061bcd6abbb06badb3232cce56cee13c681fe8c00beab1893928c8d224a8f495ee5f2d5caa6ac90b45af39313580b3c3bca SHA512 652d20f2d66a62d1dfa0c0e6edb7b80e32e9a50a6bdbfb995510091ed1e3cfe6c42db2b13cb78b69ff09c7e85a14b5b8881738477fa0ade8998967179df851e7 +DIST wordpress-6.7.tar.gz 26927286 BLAKE2B bbd4bad3e7f0b00f778736c0a09997a9cce546f5021f8c6ef0a751a6da2560c62c998ec092f91f9186fa9c82e928eaa38d3a292fde187de5fa1409da547052db SHA512 2fba512d4ddbe2ec7722ecc5a4a2107b7ebdb8578bf3ef041ddafe65affd08fd8031d9088da576f5675bf4d98e7312d7ed903fd69135e7488f44bc6aff2b07c7 diff --git a/www-apps/wordpress/wordpress-6.7.ebuild b/www-apps/wordpress/wordpress-6.7.ebuild new file mode 100644 index 000000000000..aedc91ade73a --- /dev/null +++ b/www-apps/wordpress/wordpress-6.7.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 +} |