From 551ca9ad55e3d952fc359206983d30c9cc2f51b4 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Thu, 9 Nov 2023 12:19:50 +0100 Subject: www-apps/wordpress: bump to 6.4.1, dropped 6.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Šulc --- www-apps/wordpress/Manifest | 2 +- www-apps/wordpress/wordpress-6.4.1.ebuild | 58 +++++++++++++++++++++++++++++++ www-apps/wordpress/wordpress-6.4.ebuild | 58 ------------------------------- 3 files changed, 59 insertions(+), 59 deletions(-) create mode 100644 www-apps/wordpress/wordpress-6.4.1.ebuild delete mode 100644 www-apps/wordpress/wordpress-6.4.ebuild (limited to 'www-apps/wordpress') diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index f65ab6b9d2ea..9a00f0ddcac4 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1 @@ -DIST wordpress-6.4.tar.gz 24480560 BLAKE2B eefe141318a2c273d090384cfe4150cdda0545fcf44518e8373c4d4c766fdfc057435fb9e9dda9cfa6d8a99cc63a07200758afa92f1aa8cfec251a49846357f9 SHA512 9b39725b11a22a4937facb88ebee7999ad6dc539196b763f697773becd05ae18d806aef42ba6992c2b63ab1febb634adc2e87b97654b15f2e0bd9400cc163608 +DIST wordpress-6.4.1.tar.gz 24479162 BLAKE2B e9cc7f192ddee135ae903f06f5e478940706b2857e4c5197829ad8b637fbce995e50495a32d8293ec49684ac0f87582cc20c98ebd63721ed335f94a17f415508 SHA512 4b977cc8733f9f99e383f7495d626bee0d5b7c84ebffcb4d2eaad8dd2456a00c06f8f3d0eee741048e86ae38357b0e81928c3b4f76bfcb01f441c911704b4f99 diff --git a/www-apps/wordpress/wordpress-6.4.1.ebuild b/www-apps/wordpress/wordpress-6.4.1.ebuild new file mode 100644 index 000000000000..b6c209d75a8c --- /dev/null +++ b/www-apps/wordpress/wordpress-6.4.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 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 +} diff --git a/www-apps/wordpress/wordpress-6.4.ebuild b/www-apps/wordpress/wordpress-6.4.ebuild deleted file mode 100644 index b6c209d75a8c..000000000000 --- a/www-apps/wordpress/wordpress-6.4.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 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 -} -- cgit v1.2.3-65-gdbad