1 |
commit: 53c0e1078541377380f4a21651e5c4e65b4a0047 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 29 22:18:08 2017 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 29 22:19:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c0e107 |
7 |
|
8 |
www-apps/wordpress: 4.9.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
www-apps/wordpress/Manifest | 5 +-- |
13 |
www-apps/wordpress/wordpress-4.9.1.ebuild | 55 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
17 |
index 747b9d1804d..d755eb188d3 100644 |
18 |
--- a/www-apps/wordpress/Manifest |
19 |
+++ b/www-apps/wordpress/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
-DIST wordpress-4.8.3.tar.gz 8184961 SHA256 166fee52dff183b5bb08a5256aca3c5341a0eeb769fb171ff08023d4f50e2326 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709 WHIRLPOOL 7dd4a356a5627b5705b3f2d7e237c56731b5464b8a9fc5f2c30ee0dfe2c2cb632502e7acfd6c73bb052787877dbe55373fd843c41a90369be04ff7e9fa60c508 |
22 |
-DIST wordpress-4.9.tar.gz 9638753 SHA256 e20dc8d14a62aea05a6eba0a37cabf0b83282746242dab2bd6b9728fc12c28be SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7 WHIRLPOOL d980f581992700fc0be18ffe0f0424572791967fa2d142e33e04f3daa639fec3a3548bec88ff75a407411ba007d445148d4e02342d6abccabc23c3bb0c397dfb |
23 |
+DIST wordpress-4.8.3.tar.gz 8184961 BLAKE2B 47e6195c44dd203cdfeadae0a8427f1d231f3cc3ef4487b4f9e9fb8662169f3b592caca23e1139dcf8bfd8334e451de8eafd4aa27be4b681dc4613f0857bdd05 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709 |
24 |
+DIST wordpress-4.9.1.tar.gz 9638827 BLAKE2B fb80f5b41df3abb9e28ab492c645c368b1f62b46ba78fc255b4eaa77e54d7801c51f85bdded809cce27027592ca0ccda0a88d8ff67afc0ad5183dd510d9f5d96 SHA512 1835d8fd0df9931487489d2e67285e7c73ec1783df39621cfbfe52aa8a0b3cba05fd3b842c7fd67ab2b76009f33337dae650f22dd6a3c4aa71eae100541b8a58 |
25 |
+DIST wordpress-4.9.tar.gz 9638753 BLAKE2B 98df805843f8f48c8678205e7fbdd5fa4d223ce0b772c02ff52d5f5d21559ae56f33023dd3881bdea244c46f8ae6c5ca31a7d6b0da75661d616f67d28253a673 SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7 |
26 |
|
27 |
diff --git a/www-apps/wordpress/wordpress-4.9.1.ebuild b/www-apps/wordpress/wordpress-4.9.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..c7283f88735 |
30 |
--- /dev/null |
31 |
+++ b/www-apps/wordpress/wordpress-4.9.1.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit webapp |
39 |
+ |
40 |
+DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" |
41 |
+HOMEPAGE="https://wordpress.org/" |
42 |
+SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
46 |
+ |
47 |
+RDEPEND="virtual/httpd-php |
48 |
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" |
49 |
+ |
50 |
+S=${WORKDIR}/${PN} |
51 |
+ |
52 |
+need_httpd_cgi |
53 |
+ |
54 |
+IUSE="+akismet examples +themes vhosts" |
55 |
+ |
56 |
+src_install() { |
57 |
+ webapp_src_preinst |
58 |
+ |
59 |
+ dodoc readme.html |
60 |
+ rm readme.html license.txt || die |
61 |
+ |
62 |
+ if ! use akismet ; then |
63 |
+ rm -R wp-content/plugins/akismet/ || die |
64 |
+ fi |
65 |
+ if ! use examples ; then |
66 |
+ rm wp-content/plugins/hello.php || die |
67 |
+ fi |
68 |
+ if ! use themes ; then |
69 |
+ rm -R wp-content/themes/*/ || die |
70 |
+ fi |
71 |
+ |
72 |
+ [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php |
73 |
+ |
74 |
+ insinto "${MY_HTDOCSDIR}" |
75 |
+ doins -r . |
76 |
+ |
77 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/index.php |
78 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php |
79 |
+ webapp_serverowned "${MY_HTDOCSDIR}" |
80 |
+ |
81 |
+ webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php |
82 |
+ |
83 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
84 |
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt |
85 |
+ |
86 |
+ webapp_src_install |
87 |
+} |