From 2fd8b28d425b190bde4d635b8a2bf6a850f70164 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Thu, 15 Apr 2021 12:33:15 +0200 Subject: www-apps/wordpress: bump to 5.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc --- www-apps/wordpress/Manifest | 2 +- www-apps/wordpress/wordpress-5.7.1.ebuild | 57 +++++++++++++++++++++++++++++++ www-apps/wordpress/wordpress-5.7.ebuild | 57 ------------------------------- 3 files changed, 58 insertions(+), 58 deletions(-) create mode 100644 www-apps/wordpress/wordpress-5.7.1.ebuild delete mode 100644 www-apps/wordpress/wordpress-5.7.ebuild (limited to 'www-apps/wordpress') diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 667cb9be2b17..d8f5eaa4495e 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1 @@ -DIST wordpress-5.7.tar.gz 15747536 BLAKE2B 858c0b89039f0b8a9017cf33426db7b06fb2b8eb342906b88f1b04e448c7e512e4e800a7d282b42a0c0d516641030d0dc42aacace07b5504a3e7b3d96a2b3878 SHA512 84516473add8624cd7e318af98d257f5f113fcc98cd9f5c0a0d7c1a8060f9f5dd5989d995259d3920b89f71f3391fc8b28b520f7d8aae7511cc1e26e90116567 +DIST wordpress-5.7.1.tar.gz 15750352 BLAKE2B 07519b669a8e678fa7b25f532ac7dfa9404a7b5e78ec96be2f53927f38a11b268663493a1ab412cc331ba82cd9e4f88c58b63e1f83192d810683d846b814c809 SHA512 9144a2269efc4ee24a732bacf8f25d7c02136db546c6cf86890b2690f001acfafb9ece1dde7dd7d557b5eb9f3e01a829aab1c7ae80384d4e9389155bdbc3df86 diff --git a/www-apps/wordpress/wordpress-5.7.1.ebuild b/www-apps/wordpress/wordpress-5.7.1.ebuild new file mode 100644 index 000000000000..230beac91636 --- /dev/null +++ b/www-apps/wordpress/wordpress-5.7.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/httpd-php + || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" + +S=${WORKDIR}/${PN} + +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-5.7.ebuild b/www-apps/wordpress/wordpress-5.7.ebuild deleted file mode 100644 index 230beac91636..000000000000 --- a/www-apps/wordpress/wordpress-5.7.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -LICENSE="GPL-2+" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND="virtual/httpd-php - || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" - -S=${WORKDIR}/${PN} - -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