1 |
commit: f4707283ba45d842622d10a82bad9ebba0fe4783 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 25 14:29:15 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 25 14:29:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4707283 |
7 |
|
8 |
www-apps/wordpress: version bump to 5.2.1 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
www-apps/wordpress/Manifest | 1 + |
14 |
www-apps/wordpress/wordpress-5.2.1.ebuild | 55 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
18 |
index 93a9ef69c3e..12fc57e41e0 100644 |
19 |
--- a/www-apps/wordpress/Manifest |
20 |
+++ b/www-apps/wordpress/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST wordpress-5.1.1.tar.gz 10654780 BLAKE2B c5105315ed07941811016244737d2a697864521a4cf0fedc9ba260629cedbe77cef642f71ea485813eb89cbef1a1bb60fdca3229611f7d2de435f0c28462a3f1 SHA512 0b06630c894c535b24787cda0ee9c8bc8eab54fe6f6523fd78da55cb00ea9b9404454d51a3b9b77c72fb5ebc94d36719be50785fd82ff3311ca1df9b8fd980c9 |
23 |
DIST wordpress-5.1.tar.gz 10653910 BLAKE2B 26a4f42dd88d4c2616fb240b8b9a1f64a5380496600e3d132dbc162505907cda49e11b9f132d0f436e9426e77d42d6d78ed6b1e16f04d857429515d192761113 SHA512 e8504be918add0533a99f62e967e2c86afce0c28ae474cace5e4c44f66e8a71394eed7bc6f1e3108734e4410849b28d1da6c545c05a24025067a1321a8fa9a99 |
24 |
+DIST wordpress-5.2.1.tar.gz 11199196 BLAKE2B 284358e40e380f5467f92ced37cee57dd1c6b9400a80f01a5a7a5ae973f9c5af88345ebf46505ae392512a88d0c64dfd4f321edd825fd2d38e1160c3ca352d21 SHA512 b49368ba7a3f0cf101b2ad2c78d609050f371a4c7f6dca7d5966cc167ae20ca78df9a3144e1b91c4044d0a9a12163911d66c8faedc9c4a1e2978d2b54ef54855 |
25 |
DIST wordpress-5.2.tar.gz 11195223 BLAKE2B 35bc5190751749f12d88a13314f021a9cefb6dd78aee9ec32e439031cd19af0929c1a84741b7965cc30638fc3f568289e75e25e9b63a1696e4c427ef29aa1f85 SHA512 741699a26b956b9d80505954f38e95b9f6328f892efb957d584ba6b669ae28d9a9e63249b72cc7a677cb4ae1008e0545f846492636e7e10442593be2054be824 |
26 |
|
27 |
diff --git a/www-apps/wordpress/wordpress-5.2.1.ebuild b/www-apps/wordpress/wordpress-5.2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9d6f0eaa173 |
30 |
--- /dev/null |
31 |
+++ b/www-apps/wordpress/wordpress-5.2.1.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
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 |
+} |