Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/wordpress/
Date: Thu, 25 Jan 2018 21:11:19
Message-Id: 1516914669.aa224e1e0e8eac0f4b180d0a5a937e29c9387c0d.bman@gentoo
1 commit: aa224e1e0e8eac0f4b180d0a5a937e29c9387c0d
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 25 21:07:20 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 25 21:11:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa224e1e
7
8 www-apps/wordpress: cleanup vulnerable wrt bugs #645736, #639682,#636336,#631928
9
10 www-apps/wordpress/Manifest | 3 --
11 www-apps/wordpress/wordpress-4.8.3.ebuild | 55 -------------------------------
12 www-apps/wordpress/wordpress-4.9.1.ebuild | 55 -------------------------------
13 www-apps/wordpress/wordpress-4.9.ebuild | 55 -------------------------------
14 4 files changed, 168 deletions(-)
15
16 diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
17 index 267bb29883a..01c42cdff56 100644
18 --- a/www-apps/wordpress/Manifest
19 +++ b/www-apps/wordpress/Manifest
20 @@ -1,4 +1 @@
21 -DIST wordpress-4.8.3.tar.gz 8184961 BLAKE2B 47e6195c44dd203cdfeadae0a8427f1d231f3cc3ef4487b4f9e9fb8662169f3b592caca23e1139dcf8bfd8334e451de8eafd4aa27be4b681dc4613f0857bdd05 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709
22 -DIST wordpress-4.9.1.tar.gz 9638827 BLAKE2B fb80f5b41df3abb9e28ab492c645c368b1f62b46ba78fc255b4eaa77e54d7801c51f85bdded809cce27027592ca0ccda0a88d8ff67afc0ad5183dd510d9f5d96 SHA512 1835d8fd0df9931487489d2e67285e7c73ec1783df39621cfbfe52aa8a0b3cba05fd3b842c7fd67ab2b76009f33337dae650f22dd6a3c4aa71eae100541b8a58
23 DIST wordpress-4.9.2.tar.gz 8807744 BLAKE2B 88c2c9decde312600548e03a14e3721dc82a3a57e59910f9ad85a323beb4ac8faba7de48f46bbc43c78e6862fb93c181b5b6bb690142f5e897c84dd621c9e58f SHA512 013d49b7a7d478888937e1acb49b6543b820c8d1c5b5a3bd86f9629d44640a4c399e84b2604a359c26986bc0e29836094c8444e152c4aa5bcffe9f7a4620f731
24 -DIST wordpress-4.9.tar.gz 9638753 BLAKE2B 98df805843f8f48c8678205e7fbdd5fa4d223ce0b772c02ff52d5f5d21559ae56f33023dd3881bdea244c46f8ae6c5ca31a7d6b0da75661d616f67d28253a673 SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7
25
26 diff --git a/www-apps/wordpress/wordpress-4.8.3.ebuild b/www-apps/wordpress/wordpress-4.8.3.ebuild
27 deleted file mode 100644
28 index c7283f88735..00000000000
29 --- a/www-apps/wordpress/wordpress-4.8.3.ebuild
30 +++ /dev/null
31 @@ -1,55 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
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 -
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 -}
87
88 diff --git a/www-apps/wordpress/wordpress-4.9.1.ebuild b/www-apps/wordpress/wordpress-4.9.1.ebuild
89 deleted file mode 100644
90 index c7283f88735..00000000000
91 --- a/www-apps/wordpress/wordpress-4.9.1.ebuild
92 +++ /dev/null
93 @@ -1,55 +0,0 @@
94 -# Copyright 1999-2017 Gentoo Foundation
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=6
98 -
99 -inherit webapp
100 -
101 -DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
102 -HOMEPAGE="https://wordpress.org/"
103 -SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
104 -
105 -LICENSE="GPL-2+"
106 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
107 -
108 -RDEPEND="virtual/httpd-php
109 - || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
110 -
111 -S=${WORKDIR}/${PN}
112 -
113 -need_httpd_cgi
114 -
115 -IUSE="+akismet examples +themes vhosts"
116 -
117 -src_install() {
118 - webapp_src_preinst
119 -
120 - dodoc readme.html
121 - rm readme.html license.txt || die
122 -
123 - if ! use akismet ; then
124 - rm -R wp-content/plugins/akismet/ || die
125 - fi
126 - if ! use examples ; then
127 - rm wp-content/plugins/hello.php || die
128 - fi
129 - if ! use themes ; then
130 - rm -R wp-content/themes/*/ || die
131 - fi
132 -
133 - [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
134 -
135 - insinto "${MY_HTDOCSDIR}"
136 - doins -r .
137 -
138 - webapp_serverowned "${MY_HTDOCSDIR}"/index.php
139 - webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
140 - webapp_serverowned "${MY_HTDOCSDIR}"
141 -
142 - webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
143 -
144 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
145 - webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
146 -
147 - webapp_src_install
148 -}
149
150 diff --git a/www-apps/wordpress/wordpress-4.9.ebuild b/www-apps/wordpress/wordpress-4.9.ebuild
151 deleted file mode 100644
152 index c7283f88735..00000000000
153 --- a/www-apps/wordpress/wordpress-4.9.ebuild
154 +++ /dev/null
155 @@ -1,55 +0,0 @@
156 -# Copyright 1999-2017 Gentoo Foundation
157 -# Distributed under the terms of the GNU General Public License v2
158 -
159 -EAPI=6
160 -
161 -inherit webapp
162 -
163 -DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
164 -HOMEPAGE="https://wordpress.org/"
165 -SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
166 -
167 -LICENSE="GPL-2+"
168 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
169 -
170 -RDEPEND="virtual/httpd-php
171 - || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
172 -
173 -S=${WORKDIR}/${PN}
174 -
175 -need_httpd_cgi
176 -
177 -IUSE="+akismet examples +themes vhosts"
178 -
179 -src_install() {
180 - webapp_src_preinst
181 -
182 - dodoc readme.html
183 - rm readme.html license.txt || die
184 -
185 - if ! use akismet ; then
186 - rm -R wp-content/plugins/akismet/ || die
187 - fi
188 - if ! use examples ; then
189 - rm wp-content/plugins/hello.php || die
190 - fi
191 - if ! use themes ; then
192 - rm -R wp-content/themes/*/ || die
193 - fi
194 -
195 - [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
196 -
197 - insinto "${MY_HTDOCSDIR}"
198 - doins -r .
199 -
200 - webapp_serverowned "${MY_HTDOCSDIR}"/index.php
201 - webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
202 - webapp_serverowned "${MY_HTDOCSDIR}"
203 -
204 - webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
205 -
206 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
207 - webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
208 -
209 - webapp_src_install
210 -}