summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-04-30 09:59:20 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-04-30 09:59:20 -0400
commit3d62db41dfff1e9455022230590ea7f6b0367b55 (patch)
treedaf92972e7ca1c04515085849af84f1e27eabf86 /www-apps/wordpress
parentsys-kernel/hardened-sources: version bump to 4.5.2-r1, remove 4.5.2 (diff)
downloadgentoo-3d62db41dfff1e9455022230590ea7f6b0367b55.tar.gz
gentoo-3d62db41dfff1e9455022230590ea7f6b0367b55.tar.bz2
gentoo-3d62db41dfff1e9455022230590ea7f6b0367b55.zip
www-apps/wordpress: bump to version 4.5.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r--www-apps/wordpress/Manifest1
-rw-r--r--www-apps/wordpress/wordpress-4.5.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index d3a8925bcfa4..4704d617400e 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1,2 +1,3 @@
DIST wordpress-4.4.2.tar.gz 7099520 SHA256 c8a74c0f7cfc0d19989d235759e70cebd90f42aa0513bd9bc344230b0f79e08b SHA512 dfced463ece13f266c15e1b45d8e7882e58ce9cd3b7146c81a4671bc51c58998ae318bd6e45b1f7bc657e2d49d7d39f971d814998e074375129c8dff7cfcac63 WHIRLPOOL c74b1b6d303bbdb3c66c432838e12528f06c124475c3258ccbc6472143e4a9cf56bda4293d7556564eb878d0f701f0853f46f3be7a37b9a2eb035bc08815e6d4
+DIST wordpress-4.5.1.tar.gz 7772980 SHA256 7bf2912bc23633fd69c80494d7ab83f69d3d222a4ca8300c7e8348e394264bb7 SHA512 5570ffce5d5da53b43ac864e000174c62a4d3e870832cce3d25337e5036171a6fec1577f5db1dcee01fd0869aa895d4bafd032a3bce9734d1cd625eaa604c00e WHIRLPOOL 7f2f943c94f7ea873247c4be2ed3926a7da8a1a228fefb5825e7654ccc3d7b9c8f7c32e3169e98a7309b98e5f4aca25601a142cf5a7e27e941b45f0cb8a68589
DIST wordpress-4.5.tar.gz 7762865 SHA256 d99c9599d982c3e42e917e03628c2ced6b6b87b2a6fd05b38ebb724b4057faf0 SHA512 2d3b5f0629be434e5e0785e373ca4e8d53171ecdde8720e26d70df661afcf0e2475087a54c3b3629a4d6101e11c1840ab90db38608eca4470436b34908d4c5a7 WHIRLPOOL fa0ea4833c2237d343ebec510f966c57d5cb960bdd93abd746b25b2954adb7b103971112c7f101821fa74bb727e15ec5c1452c6a066cff6f8f9fd9f2aec71eca
diff --git a/www-apps/wordpress/wordpress-4.5.1.ebuild b/www-apps/wordpress/wordpress-4.5.1.ebuild
new file mode 100644
index 000000000000..3f425a51116b
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.5.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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
+
+ dohtml 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
+}