1 |
commit: 5ae63c5b2089e630a36e29ef94b6e9308824947d |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 13:34:18 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 13:34:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae63c5b |
7 |
|
8 |
www-apps/wordpress: bump to version 4.7 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
www-apps/wordpress/Manifest | 1 + |
13 |
www-apps/wordpress/wordpress-4.7.ebuild | 56 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
17 |
index 5acd2cc..6d0bab6 100644 |
18 |
--- a/www-apps/wordpress/Manifest |
19 |
+++ b/www-apps/wordpress/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST wordpress-4.4.2.tar.gz 7099520 SHA256 c8a74c0f7cfc0d19989d235759e70cebd90f4 |
21 |
DIST wordpress-4.5.3.tar.gz 7773389 SHA256 fd94288cd6fc657b2d8061737fcb121fc6acbe18acfcff80661e49fd2d3ee17c SHA512 e6add76d61cc8f43947c6626d48ff8dcda38738138b576c0b7974c2d01a601fd9a99d6fb7cfc50a0ea50ac3165624fda46656f8bed0fd2540006b9fa069d64ae WHIRLPOOL e00939f2759ee7ce4280b0ca2a205dbc43b71ebf90afd0b047004c47580a497284e3047f53fecb7f20fbcda680b8828f17e119154ba7fe21fe103b45512c1c2a |
22 |
DIST wordpress-4.6.1.tar.gz 7961036 SHA256 873f562cdea14d6305b9ad2f41f18a557d99cd8694b4a0056a33970e127abfee SHA512 303c8fe8ec877baf7380677dc22505062613dfc33c03f8858f7c6b9ce7a5825ba00a13395730fa554da9d2b3ccab8c3441e40fbc29fee45f7da44f46aa400981 WHIRLPOOL 7c00560e064c475bf35aa8bd39c24bca59e11111e83176b2b4780e6c45374c28aca47ee3e5fd70f9bab6d5aac113599eb84bd5d9c180b6adaf6d19c15e2226c0 |
23 |
DIST wordpress-4.6.tar.gz 7961192 SHA256 c1856cf969b1e73025ba2c681491908c3a4a6c5a2333f4531bf9bfb90f634380 SHA512 b07a3ee677b68337342ef9e42aa03a4602acd6b1c53df5f6d517db740ea62344eed03a2a8d1931953de2a99e405b688d2e49bbb654e6ccb3568ff8d8caf30038 WHIRLPOOL fad2ac357aeaa1bd3b9829ce5aec4b1e01aaa6c7009df90856419b95147c909f20f97aa30e15d8ab44ae7d3b6e6293ca828b9bca47e47ae0352f498cd45c0d51 |
24 |
+DIST wordpress-4.7.tar.gz 7993186 SHA256 7eae27ff70716dae2d2ba58280f2832fd70a208c9cdaf29ab36ac789c14d6977 SHA512 5bbdce5215dc5debc57e00376a94c9035f63d64d20aeb947e973a4dbe1803d262aa85ce27118ddbb3fadaf956ec90974bc76654149102a88c4b1e867740db4ca WHIRLPOOL f536e908e30050fd0ec86ee98c4ba333ea1539de901083e28a36a723c91b64ffcf53d1375d3005bbfc52736668c2bd7178d7a7797760ad4807271564573d9248 |
25 |
|
26 |
diff --git a/www-apps/wordpress/wordpress-4.7.ebuild b/www-apps/wordpress/wordpress-4.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..322d9a4 |
29 |
--- /dev/null |
30 |
+++ b/www-apps/wordpress/wordpress-4.7.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
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 |
+} |