From fa1c68e296be9bc6f523df450ffc35848bac029e Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Wed, 2 Sep 2020 09:35:23 +0200 Subject: www-apps/wordpress: bump to 5.5.1, removed old 5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Miroslav Šulc --- www-apps/wordpress/Manifest | 2 +- www-apps/wordpress/wordpress-5.5.1.ebuild | 57 +++++++++++++++++++++++++++++++ www-apps/wordpress/wordpress-5.5.ebuild | 57 ------------------------------- 3 files changed, 58 insertions(+), 58 deletions(-) create mode 100644 www-apps/wordpress/wordpress-5.5.1.ebuild delete mode 100644 www-apps/wordpress/wordpress-5.5.ebuild (limited to 'www-apps/wordpress') diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index df81ffd995fc..552e1c738ced 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1 @@ -DIST wordpress-5.5.tar.gz 12979571 BLAKE2B 085bc56f5b9141591db599ffdaba5ebc5874fcbe4ce0dc207d94f9d4350c2460f931589220e8d97e20775a68c63b2ec3a2dda8a107e45c12b2692eced07fbcee SHA512 1fe7ba37023aef4dae01318be06672621454fba90ed4d881c7483573abc6e6e6ba1c0bce16dcc2f4a6b33fde2cd7710ac99827a0939a51f75917d78263a03865 +DIST wordpress-5.5.1.tar.gz 12983648 BLAKE2B 4aa371ef3c0fcc2e9e6deef18c5d1c53d6f7a0770ff9be055ef1b86faa8dbbacebd4cb304ad19bb9d3baaddc6fdc06c84163b36979a934c59fe3732accd754da SHA512 11285e6e776756185814cde905986ce01f586d159fb06de5d16463cec544c8b3b85a695af51e9de71cbcd79f039ed8f6da233a8e82f5ee797d5124983b6ff0d3 diff --git a/www-apps/wordpress/wordpress-5.5.1.ebuild b/www-apps/wordpress/wordpress-5.5.1.ebuild new file mode 100644 index 000000000000..6fc0786bf3b1 --- /dev/null +++ b/www-apps/wordpress/wordpress-5.5.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 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.5.ebuild b/www-apps/wordpress/wordpress-5.5.ebuild deleted file mode 100644 index 6fc0786bf3b1..000000000000 --- a/www-apps/wordpress/wordpress-5.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 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-18-g5258