1 |
commit: 3d62db41dfff1e9455022230590ea7f6b0367b55 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 30 13:59:20 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 30 13:59:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d62db41 |
7 |
|
8 |
www-apps/wordpress: bump to version 4.5.1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
www-apps/wordpress/Manifest | 1 + |
13 |
www-apps/wordpress/wordpress-4.5.1.ebuild | 56 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
17 |
index d3a8925..4704d61 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.1.tar.gz 7772980 SHA256 7bf2912bc23633fd69c80494d7ab83f69d3d222a4ca8300c7e8348e394264bb7 SHA512 5570ffce5d5da53b43ac864e000174c62a4d3e870832cce3d25337e5036171a6fec1577f5db1dcee01fd0869aa895d4bafd032a3bce9734d1cd625eaa604c00e WHIRLPOOL 7f2f943c94f7ea873247c4be2ed3926a7da8a1a228fefb5825e7654ccc3d7b9c8f7c32e3169e98a7309b98e5f4aca25601a142cf5a7e27e941b45f0cb8a68589 |
23 |
DIST wordpress-4.5.tar.gz 7762865 SHA256 d99c9599d982c3e42e917e03628c2ced6b6b87b2a6fd05b38ebb724b4057faf0 SHA512 2d3b5f0629be434e5e0785e373ca4e8d53171ecdde8720e26d70df661afcf0e2475087a54c3b3629a4d6101e11c1840ab90db38608eca4470436b34908d4c5a7 WHIRLPOOL fa0ea4833c2237d343ebec510f966c57d5cb960bdd93abd746b25b2954adb7b103971112c7f101821fa74bb727e15ec5c1452c6a066cff6f8f9fd9f2aec71eca |
24 |
|
25 |
diff --git a/www-apps/wordpress/wordpress-4.5.1.ebuild b/www-apps/wordpress/wordpress-4.5.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..3f425a5 |
28 |
--- /dev/null |
29 |
+++ b/www-apps/wordpress/wordpress-4.5.1.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=5 |
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 |
+ dohtml 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 |
+} |