commit:     c8c48722e98cc0759583fbe0a18f27f88beeda44
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 11 18:28:34 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 18:28:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c48722

www-apps/wordpress: version bump to 4.9.7

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 www-apps/wordpress/Manifest               |  1 +
 www-apps/wordpress/wordpress-4.9.7.ebuild | 55 +++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 880bbd1282a..c000fbd7160 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1 +1,2 @@
 DIST wordpress-4.9.6.tar.gz 8740389 BLAKE2B 
827f4cf4e1c664ee04588e189bb744b10ab0abbee0434d64c2ed65cb0ec289869b26f5ef6ae067a67f308e8f3a5b139c2d905897c0ed5be40eb2166ec3939a61
 SHA512 
93b5c6373968925f4773b79990ee73508c4994dc5ef4387c8d88dc7d39ae3688d4e066887870731e0b4e1d84a1c027cdc62239b3e042c133eb32a03229d48335
+DIST wordpress-4.9.7.tar.gz 8742203 BLAKE2B 
3cb3a5379e96bffa11efcb4c51f948332179334f50ee49860618c7ec7cc485af8dd497c9566bc6dbd4a7a3c8c0f38cd333f2b90c57fef1604af946113cd96564
 SHA512 
0a9a132d48081ef253122bd207dbf859babfd021ef3db90d486c92cde03727a74c5170a9faf80d46e8899472a703cfe91b24c04c1ea21f261dbd156bd691ad12

diff --git a/www-apps/wordpress/wordpress-4.9.7.ebuild 
b/www-apps/wordpress/wordpress-4.9.7.ebuild
new file mode 100644
index 00000000000..19231ee76d1
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.9.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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}"
+
+       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
+}

Reply via email to