1 |
commit: 78c23b439d8904e3a3aad2418fff246956de87a3 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 23:18:47 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 23:18:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c23b43 |
7 |
|
8 |
www-apps/wordpress: version bump to 5.0.2 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
www-apps/wordpress/Manifest | 1 + |
14 |
www-apps/wordpress/wordpress-5.0.2.ebuild | 55 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
18 |
index e99fee509fa..a7041758ebe 100644 |
19 |
--- a/www-apps/wordpress/Manifest |
20 |
+++ b/www-apps/wordpress/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST wordpress-4.9.6.tar.gz 8740389 BLAKE2B 827f4cf4e1c664ee04588e189bb744b10ab0abbee0434d64c2ed65cb0ec289869b26f5ef6ae067a67f308e8f3a5b139c2d905897c0ed5be40eb2166ec3939a61 SHA512 93b5c6373968925f4773b79990ee73508c4994dc5ef4387c8d88dc7d39ae3688d4e066887870731e0b4e1d84a1c027cdc62239b3e042c133eb32a03229d48335 |
23 |
DIST wordpress-4.9.7.tar.gz 8742203 BLAKE2B 3cb3a5379e96bffa11efcb4c51f948332179334f50ee49860618c7ec7cc485af8dd497c9566bc6dbd4a7a3c8c0f38cd333f2b90c57fef1604af946113cd96564 SHA512 0a9a132d48081ef253122bd207dbf859babfd021ef3db90d486c92cde03727a74c5170a9faf80d46e8899472a703cfe91b24c04c1ea21f261dbd156bd691ad12 |
24 |
DIST wordpress-4.9.8.tar.gz 8743850 BLAKE2B 6a0a93857e70d70ae144114a071859ccad2aea598cffba67aef24549c200e02198ac962c8a611f8f02ad67ed4d0aec9ef846795bd2fdb88264a6d30aa8ea8c79 SHA512 052b4436d8b5e5970ff6827b9f08f7f321301d187a9655e82ee1358f0012cc84a007f4ae04fecc4aaeb10a9e7eb9de7bc6643e6f0db57bb5983e7647e4230c41 |
25 |
+DIST wordpress-5.0.2.tar.gz 10512407 BLAKE2B 422ebc20071ec04444c908eda5ba2b7505dab763b39e8799c3b823dce9a2c3217624149dbe66c457ddaa4631156287ef9fff78d10266d6b4df0b6d484db55f1f SHA512 38ce459a208f14e54d2010f83a14de595a2aa70099c474da064010ea9a66b9c890758145a5fc987750369b5473fd74a677d9da96b23f924b326011efeb15b668 |
26 |
|
27 |
diff --git a/www-apps/wordpress/wordpress-5.0.2.ebuild b/www-apps/wordpress/wordpress-5.0.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..aeb8f18753a |
30 |
--- /dev/null |
31 |
+++ b/www-apps/wordpress/wordpress-5.0.2.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
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 |
+} |