1 |
commit: 9b85776f977ff0f80ee1f73e0e63707bf8af72d5 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 00:29:07 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 00:29:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b85776f |
7 |
|
8 |
www-apps/wordpress: bump to version 4.6, bump to EAPI=6 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
www-apps/wordpress/Manifest | 1 + |
13 |
www-apps/wordpress/wordpress-4.6.ebuild | 56 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
17 |
index 3138781..8d22545 100644 |
18 |
--- a/www-apps/wordpress/Manifest |
19 |
+++ b/www-apps/wordpress/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST wordpress-4.4.2.tar.gz 7099520 SHA256 c8a74c0f7cfc0d19989d235759e70cebd90f42aa0513bd9bc344230b0f79e08b SHA512 dfced463ece13f266c15e1b45d8e7882e58ce9cd3b7146c81a4671bc51c58998ae318bd6e45b1f7bc657e2d49d7d39f971d814998e074375129c8dff7cfcac63 WHIRLPOOL c74b1b6d303bbdb3c66c432838e12528f06c124475c3258ccbc6472143e4a9cf56bda4293d7556564eb878d0f701f0853f46f3be7a37b9a2eb035bc08815e6d4 |
22 |
DIST wordpress-4.5.3.tar.gz 7773389 SHA256 fd94288cd6fc657b2d8061737fcb121fc6acbe18acfcff80661e49fd2d3ee17c SHA512 e6add76d61cc8f43947c6626d48ff8dcda38738138b576c0b7974c2d01a601fd9a99d6fb7cfc50a0ea50ac3165624fda46656f8bed0fd2540006b9fa069d64ae WHIRLPOOL e00939f2759ee7ce4280b0ca2a205dbc43b71ebf90afd0b047004c47580a497284e3047f53fecb7f20fbcda680b8828f17e119154ba7fe21fe103b45512c1c2a |
23 |
+DIST wordpress-4.6.tar.gz 7961192 SHA256 c1856cf969b1e73025ba2c681491908c3a4a6c5a2333f4531bf9bfb90f634380 SHA512 b07a3ee677b68337342ef9e42aa03a4602acd6b1c53df5f6d517db740ea62344eed03a2a8d1931953de2a99e405b688d2e49bbb654e6ccb3568ff8d8caf30038 WHIRLPOOL fad2ac357aeaa1bd3b9829ce5aec4b1e01aaa6c7009df90856419b95147c909f20f97aa30e15d8ab44ae7d3b6e6293ca828b9bca47e47ae0352f498cd45c0d51 |
24 |
|
25 |
diff --git a/www-apps/wordpress/wordpress-4.6.ebuild b/www-apps/wordpress/wordpress-4.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..72870d6 |
28 |
--- /dev/null |
29 |
+++ b/www-apps/wordpress/wordpress-4.6.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
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 |
+} |