1 |
commit: fa761a9ba322221401d26f901b07995180d172c2 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 10:45:54 2019 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 10:46:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa761a9b |
7 |
|
8 |
web-apps/wordpress-5.3: bump |
9 |
|
10 |
1) style cleanup |
11 |
2) allowing plugins to be updated via wordpress |
12 |
3) updated postinstall-en.txt and postupgrade-en.txt |
13 |
|
14 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
15 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
16 |
|
17 |
www-apps/wordpress/Manifest | 1 + |
18 |
www-apps/wordpress/files/postinstall-en.txt | 7 ---- |
19 |
www-apps/wordpress/files/postupgrade-en.txt | 14 ------- |
20 |
www-apps/wordpress/wordpress-5.3.ebuild | 57 +++++++++++++++++++++++++++++ |
21 |
4 files changed, 58 insertions(+), 21 deletions(-) |
22 |
|
23 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
24 |
index 8d48c9f145f..325160cd122 100644 |
25 |
--- a/www-apps/wordpress/Manifest |
26 |
+++ b/www-apps/wordpress/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST wordpress-5.2.4.tar.gz 11199173 BLAKE2B 879f5de709b56474674aef575ba79fffa57263080a043d51adada12fe9f766f7c0731195d468f0103bca8e5ffa2d9775ec3d328a76fd0fe104044de131c11037 SHA512 eaf6e1555f13e4fe1f1a99691b271e658d9a83ab5fa7de1480987875565aab45d246bf8bb2e9828bd43979b96a0fb0db1ebf61c62c4967d9af08a370bef083e0 |
29 |
+DIST wordpress-5.3.tar.gz 12372564 BLAKE2B a3cb1e76dd62ffe4e3689e9d3fdb1a96b8f787a763610684a0fbb0ae7fe9ad34252d1cb7119f3edf24c771bf50ca4a322e26e9b3894d12250ceb299f6fd3b019 SHA512 90a0df8a2b965c06ac10ba0dd3521b98bbd6040780bd2ccfa14a445bd2cbdb1311277563dd30f5cdc918a4177ec7c49e89260d95309fb08e271173f242fcfc07 |
30 |
|
31 |
diff --git a/www-apps/wordpress/files/postinstall-en.txt b/www-apps/wordpress/files/postinstall-en.txt |
32 |
index 54c97717bc3..aa26202b493 100644 |
33 |
--- a/www-apps/wordpress/files/postinstall-en.txt |
34 |
+++ b/www-apps/wordpress/files/postinstall-en.txt |
35 |
@@ -25,13 +25,6 @@ Wordpress has had a history of serious security flaws. Any application |
36 |
with less widespread use but the same amount of security issues would |
37 |
have been removed from the tree. |
38 |
|
39 |
-After a short period of being in the unstable tree we once again decided |
40 |
-that we hard mask the package. |
41 |
- |
42 |
-THIS MEANS THAT THERE IS NO GUARANTEE WHATSOEVER THAT THE PACKAGE WILL |
43 |
-GET UPGRADED WITHIN A REASONABLE AMOUNT OF TIME EVEN IN THE CASE OF |
44 |
-SEVERE SECURITY ISSUES. |
45 |
- |
46 |
We consider installing this package a severe risk to your system and |
47 |
you should keep a close eye on the common security trackers so |
48 |
that you are able to fix problems with your installation yourself if |
49 |
|
50 |
diff --git a/www-apps/wordpress/files/postupgrade-en.txt b/www-apps/wordpress/files/postupgrade-en.txt |
51 |
index 5c7b3276db9..030326fbf63 100644 |
52 |
--- a/www-apps/wordpress/files/postupgrade-en.txt |
53 |
+++ b/www-apps/wordpress/files/postupgrade-en.txt |
54 |
@@ -10,28 +10,14 @@ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/wp-admin/upgrade.php |
55 |
|
56 |
and follow the instructions on the screen. |
57 |
|
58 |
-Note that the default theme has changed between Wordpress 2.x and 3.x, |
59 |
-so if you were using the default theme, your site will fail to load after |
60 |
-the upgrade. Log in to the admin interface and open the themes section to |
61 |
-reset to the new default theme. If you face other troubles after the |
62 |
-upgrade, you might want to look for broken plugins or themes. |
63 |
- |
64 |
------------------------------------------------------------------------ |
65 |
!!!!!!!!! SECURITY WARNING !!!!!!!!!!! |
66 |
|
67 |
Wordpress has had a history of serious security flaws. Any application |
68 |
with less widespread use but the same amount of security issues would |
69 |
have been removed from the tree. |
70 |
- |
71 |
-After a short period of being in the unstable tree we once again decided |
72 |
-that we hard mask the package. |
73 |
- |
74 |
-THIS MEANS THAT THERE IS NO GUARANTEE WHATSOEVER THAT THE PACKAGE WILL |
75 |
-GET UPGRADED WITHIN A REASONABLE AMOUNT OF TIME EVEN IN THE CASE OF |
76 |
-SEVERE SECURITY ISSUES. |
77 |
|
78 |
We consider installing this package a severe risk to your system and |
79 |
you should keep a close eye on the common security trackers so |
80 |
that you are able to fix problems with your installation yourself if |
81 |
required. |
82 |
- |
83 |
|
84 |
diff --git a/www-apps/wordpress/wordpress-5.3.ebuild b/www-apps/wordpress/wordpress-5.3.ebuild |
85 |
new file mode 100644 |
86 |
index 00000000000..5a8f16d8897 |
87 |
--- /dev/null |
88 |
+++ b/www-apps/wordpress/wordpress-5.3.ebuild |
89 |
@@ -0,0 +1,57 @@ |
90 |
+# Copyright 1999-2019 Gentoo Authors |
91 |
+# Distributed under the terms of the GNU General Public License v2 |
92 |
+ |
93 |
+EAPI=7 |
94 |
+ |
95 |
+inherit webapp |
96 |
+ |
97 |
+DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" |
98 |
+HOMEPAGE="https://wordpress.org/" |
99 |
+SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" |
100 |
+ |
101 |
+LICENSE="GPL-2+" |
102 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
103 |
+ |
104 |
+RDEPEND="virtual/httpd-php |
105 |
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" |
106 |
+ |
107 |
+S=${WORKDIR}/${PN} |
108 |
+ |
109 |
+need_httpd_cgi |
110 |
+ |
111 |
+IUSE="+akismet examples +themes vhosts" |
112 |
+ |
113 |
+src_install() { |
114 |
+ webapp_src_preinst |
115 |
+ |
116 |
+ dodoc readme.html |
117 |
+ rm readme.html license.txt || die |
118 |
+ |
119 |
+ if use !akismet ; then |
120 |
+ rm -R wp-content/plugins/akismet/ || die |
121 |
+ fi |
122 |
+ if use !examples ; then |
123 |
+ rm wp-content/plugins/hello.php || die |
124 |
+ fi |
125 |
+ if use !themes ; then |
126 |
+ rm -R wp-content/themes/*/ || die |
127 |
+ fi |
128 |
+ |
129 |
+ [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php |
130 |
+ |
131 |
+ insinto "${MY_HTDOCSDIR}" |
132 |
+ doins -r . |
133 |
+ |
134 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/index.php |
135 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php |
136 |
+ webapp_serverowned "${MY_HTDOCSDIR}" |
137 |
+ # allows plugins update if allowed within WP |
138 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php |
139 |
+ |
140 |
+ webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php |
141 |
+ |
142 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
143 |
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt |
144 |
+ |
145 |
+ webapp_src_install |
146 |
+} |