summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-10-31 17:31:33 +0100
committerSebastian Pipping <sping@gentoo.org>2017-10-31 17:33:02 +0100
commit83574ded1d091c09829f47236e41876a7d20a4df (patch)
tree84d2474f1aff7595514c2f62da693646174bcb1c /www-apps
parentmedia-plugins/vdr-rssreader: amd64 stable, bug 632301 (diff)
downloadgentoo-83574ded1d091c09829f47236e41876a7d20a4df.tar.gz
gentoo-83574ded1d091c09829f47236e41876a7d20a4df.tar.bz2
gentoo-83574ded1d091c09829f47236e41876a7d20a4df.zip
www-apps/wordpress: 4.8.3
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wordpress/Manifest1
-rw-r--r--www-apps/wordpress/wordpress-4.8.3.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 4010f13e06bc..e7230bb6684c 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1,4 +1,5 @@
DIST wordpress-4.7.5.tar.gz 8037036 SHA256 95af89101db8efea48711b7cc169c2a7440a2fba17eee1a057f442091cdec01b SHA512 7d6e4feaf95c49ec7e68068687a399145613d90b5867616ac7a324c60f9107f2453c9f745a455b94e84ef12b191cb2ac67e6b4dd3b8f669e344ea63afc6988ca WHIRLPOOL 6d07fc57d2bf89d73d2a4b72c2811c4bba1d30fa9a06f3abc65792e12f42899cca573874942eef7433445ca38614bced1f839fba5e67a312e55d764223347ce2
DIST wordpress-4.8.1.tar.gz 8178289 SHA256 785f4c715c87aaef9023b3cf796f62ff4aa25f82dfd5c6d895667da184b60843 SHA512 dfc166a48cd3542e277a74c6b6f551af7043fee45ac62ca764077e1a73fb487da62e57f1a60f60348d8bfe6ee4199c3ce261c042e20cf652f1b0233bd97d6b5c WHIRLPOOL 246a4b888edd53bbb2d64b8aa22393b7f328e5f58c06f39352988b437d3343fe7f5df295996bde568e47024b0b6473491a1b6b95c1cbb34be2466fde5cdb7ce7
DIST wordpress-4.8.2.tar.gz 8183815 SHA256 c2c65d156e1f3f1d81bbb61a4bb7267b108a09130d46d33b9b9c6b2e93e16752 SHA512 e6b9dd7a3f9b510b1c85b0f9963d9303c9111f1d6ad471c5be076c5b9cf44ade5d1c761c336f44276ab88f69d6c842e6f33d637c7d76532ab88f12f49c385ca6 WHIRLPOOL aaca8fd71863ea00cf6b217281f82fae04e9f9518697c48bca200dd1a42e1d9adfcc8adae262640fb6c50a52a1929eac710a63b7aaaf0f0e548bedefc171a1c7
+DIST wordpress-4.8.3.tar.gz 8184961 SHA256 166fee52dff183b5bb08a5256aca3c5341a0eeb769fb171ff08023d4f50e2326 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709 WHIRLPOOL 7dd4a356a5627b5705b3f2d7e237c56731b5464b8a9fc5f2c30ee0dfe2c2cb632502e7acfd6c73bb052787877dbe55373fd843c41a90369be04ff7e9fa60c508
DIST wordpress-4.8.tar.gz 8169865 SHA256 39210d593700dc26c58a53b38172be63ea3da67020d80bb2cf34b396b732dd4d SHA512 20249cf13dbcec198df3ec1feb3a7381c194c7c9f832262e40449f90c5e5b5d3f4b63b6021e78c65cc615e059b1b601881d33ce03e1e4618231329b680511467 WHIRLPOOL 3b92caddcdd48213a887f68afd73cd3c1973e9232e30cc8429886809802d5786f12e3732540a06e91358ab97716df2dab735a2341799d6949929cc1843f29ee9
diff --git a/www-apps/wordpress/wordpress-4.8.3.ebuild b/www-apps/wordpress/wordpress-4.8.3.ebuild
new file mode 100644
index 000000000000..c7283f88735a
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.8.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 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
+}