1 |
commit: 93d85e2208a9e77e5f2d93af680e6018c334aa76 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 1 12:06:39 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 12:08:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d85e22 |
7 |
|
8 |
www-apps/wordpress: bump to 5.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
www-apps/wordpress/Manifest | 1 + |
14 |
www-apps/wordpress/wordpress-5.4.ebuild | 57 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
18 |
index 3dc199ef6e7..0894b41af40 100644 |
19 |
--- a/www-apps/wordpress/Manifest |
20 |
+++ b/www-apps/wordpress/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST wordpress-5.3.1.tar.gz 12388850 BLAKE2B bc1158f5573fb601361eec27dfde9239b2387b6faaba307e33b13f93c08b81768ebed0f6a4a59f503f5c959cc14c689ecb528f79cf2ae4b31c92f4e7b6104d88 SHA512 97a3297305ae23bf0d1d295a3df1516dcafc1486a63974357bfc46963cecf0bfd982edc68efd60a0ceb4014fdcdde9fc71e7257a5f5d011922d8dfce280e1a9a |
23 |
DIST wordpress-5.3.2.tar.gz 12389281 BLAKE2B 54222e9bfd5e5ee874845bab5a7e2a9d0677bbc97c70bd3b72bf2109683933116cbce2b5323f51236df68137be6987f9937b41a004feaaa5da13007b114135d6 SHA512 d766d485d9a6a6efb2b92ffaec2ba1f773e55a6e018759bb6b196469b73db2857c34a3dfca1ac406e2b7066072a35c070c99f24b285a47b050e3d21317785198 |
24 |
+DIST wordpress-5.4.tar.gz 12230487 BLAKE2B bced3e3eec1179b4c52190b24626632b3d0899f3dc33112374f316421ec6287b58d6c8684c85e743f5c92c2278e3e1408091dede6bacbc9b9be093350ed061c8 SHA512 0d2ae85bd0d0d1aeda6bc371d6357660233b604e46d764f2955abc88ccecd8bfb76f9b8d7fac788a3f8d9abb2a10b8ae60cee74ddcbe483136f0fd7ba0b842d8 |
25 |
|
26 |
diff --git a/www-apps/wordpress/wordpress-5.4.ebuild b/www-apps/wordpress/wordpress-5.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6fc0786bf3b |
29 |
--- /dev/null |
30 |
+++ b/www-apps/wordpress/wordpress-5.4.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
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 |
+ # allows plugins update if allowed within WP |
80 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php |
81 |
+ |
82 |
+ webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php |
83 |
+ |
84 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
85 |
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt |
86 |
+ |
87 |
+ webapp_src_install |
88 |
+} |