Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/wordpress/
Date: Fri, 01 May 2020 03:19:33
Message-Id: 1588303140.6f24a81cb520d980ba42f0a637585caeb72312eb.fordfrog@gentoo
1 commit: 6f24a81cb520d980ba42f0a637585caeb72312eb
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 1 03:19:00 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 03:19:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f24a81c
7
8 www-apps/wordpress: removed vulnerable 5.4
9
10 Bug: https://bugs.gentoo.org/720220
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 www-apps/wordpress/Manifest | 1 -
15 www-apps/wordpress/wordpress-5.4.ebuild | 57 ---------------------------------
16 2 files changed, 58 deletions(-)
17
18 diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
19 index f279a7f954c..38955bf108c 100644
20 --- a/www-apps/wordpress/Manifest
21 +++ b/www-apps/wordpress/Manifest
22 @@ -1,2 +1 @@
23 DIST wordpress-5.4.1.tar.gz 12234700 BLAKE2B 0df1f1b1da22c5ad429ef59861dbcb80b5bd6c8720bc96b450d2b6599b903dda813e16f28fc2ee2afe1654b4047556a06bb409f6d0a3be3671b37e54fac52cf3 SHA512 5ed4f3bd593febdf2aec4c582c2ed850d3bf52122273b4306c1fba87939a675228df84092a709052f13e0096b2545cd6f078ab89b232ee4b4dce467d834de0cd
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 deleted file mode 100644
28 index 6fc0786bf3b..00000000000
29 --- a/www-apps/wordpress/wordpress-5.4.ebuild
30 +++ /dev/null
31 @@ -1,57 +0,0 @@
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 -}