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