summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-11-29 23:18:08 +0100
committerSebastian Pipping <sping@gentoo.org>2017-11-29 23:19:52 +0100
commit53c0e1078541377380f4a21651e5c4e65b4a0047 (patch)
treeeb1342182fb32ae4b24f814f1369a4f51f496120 /www-apps
parentmedia-libs/mesa: Restrict 17.3.0_rc* to LLVM 5 (diff)
downloadgentoo-53c0e1078541377380f4a21651e5c4e65b4a0047.tar.gz
gentoo-53c0e1078541377380f4a21651e5c4e65b4a0047.tar.bz2
gentoo-53c0e1078541377380f4a21651e5c4e65b4a0047.zip
www-apps/wordpress: 4.9.1
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wordpress/Manifest5
-rw-r--r--www-apps/wordpress/wordpress-4.9.1.ebuild55
2 files changed, 58 insertions, 2 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 747b9d1804dc..d755eb188d31 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1,2 +1,3 @@
-DIST wordpress-4.8.3.tar.gz 8184961 SHA256 166fee52dff183b5bb08a5256aca3c5341a0eeb769fb171ff08023d4f50e2326 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709 WHIRLPOOL 7dd4a356a5627b5705b3f2d7e237c56731b5464b8a9fc5f2c30ee0dfe2c2cb632502e7acfd6c73bb052787877dbe55373fd843c41a90369be04ff7e9fa60c508
-DIST wordpress-4.9.tar.gz 9638753 SHA256 e20dc8d14a62aea05a6eba0a37cabf0b83282746242dab2bd6b9728fc12c28be SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7 WHIRLPOOL d980f581992700fc0be18ffe0f0424572791967fa2d142e33e04f3daa639fec3a3548bec88ff75a407411ba007d445148d4e02342d6abccabc23c3bb0c397dfb
+DIST wordpress-4.8.3.tar.gz 8184961 BLAKE2B 47e6195c44dd203cdfeadae0a8427f1d231f3cc3ef4487b4f9e9fb8662169f3b592caca23e1139dcf8bfd8334e451de8eafd4aa27be4b681dc4613f0857bdd05 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709
+DIST wordpress-4.9.1.tar.gz 9638827 BLAKE2B fb80f5b41df3abb9e28ab492c645c368b1f62b46ba78fc255b4eaa77e54d7801c51f85bdded809cce27027592ca0ccda0a88d8ff67afc0ad5183dd510d9f5d96 SHA512 1835d8fd0df9931487489d2e67285e7c73ec1783df39621cfbfe52aa8a0b3cba05fd3b842c7fd67ab2b76009f33337dae650f22dd6a3c4aa71eae100541b8a58
+DIST wordpress-4.9.tar.gz 9638753 BLAKE2B 98df805843f8f48c8678205e7fbdd5fa4d223ce0b772c02ff52d5f5d21559ae56f33023dd3881bdea244c46f8ae6c5ca31a7d6b0da75661d616f67d28253a673 SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7
diff --git a/www-apps/wordpress/wordpress-4.9.1.ebuild b/www-apps/wordpress/wordpress-4.9.1.ebuild
new file mode 100644
index 000000000000..c7283f88735a
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.9.1.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
+}