Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/wordpress/
Date: Wed, 12 Sep 2018 11:44:20
Message-Id: 1536752637.e5263327fcdb52efec55c10924b1b056b31706d4.alexxy@gentoo
1 commit: e5263327fcdb52efec55c10924b1b056b31706d4
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 12 11:43:57 2018 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 12 11:43:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5263327
7
8 www-apps/wordpress: Version bump
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11
12 www-apps/wordpress/Manifest | 1 +
13 www-apps/wordpress/wordpress-4.9.8.ebuild | 55 +++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
17 index c000fbd7160..e99fee509fa 100644
18 --- a/www-apps/wordpress/Manifest
19 +++ b/www-apps/wordpress/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wordpress-4.9.6.tar.gz 8740389 BLAKE2B 827f4cf4e1c664ee04588e189bb744b10ab0abbee0434d64c2ed65cb0ec289869b26f5ef6ae067a67f308e8f3a5b139c2d905897c0ed5be40eb2166ec3939a61 SHA512 93b5c6373968925f4773b79990ee73508c4994dc5ef4387c8d88dc7d39ae3688d4e066887870731e0b4e1d84a1c027cdc62239b3e042c133eb32a03229d48335
22 DIST wordpress-4.9.7.tar.gz 8742203 BLAKE2B 3cb3a5379e96bffa11efcb4c51f948332179334f50ee49860618c7ec7cc485af8dd497c9566bc6dbd4a7a3c8c0f38cd333f2b90c57fef1604af946113cd96564 SHA512 0a9a132d48081ef253122bd207dbf859babfd021ef3db90d486c92cde03727a74c5170a9faf80d46e8899472a703cfe91b24c04c1ea21f261dbd156bd691ad12
23 +DIST wordpress-4.9.8.tar.gz 8743850 BLAKE2B 6a0a93857e70d70ae144114a071859ccad2aea598cffba67aef24549c200e02198ac962c8a611f8f02ad67ed4d0aec9ef846795bd2fdb88264a6d30aa8ea8c79 SHA512 052b4436d8b5e5970ff6827b9f08f7f321301d187a9655e82ee1358f0012cc84a007f4ae04fecc4aaeb10a9e7eb9de7bc6643e6f0db57bb5983e7647e4230c41
24
25 diff --git a/www-apps/wordpress/wordpress-4.9.8.ebuild b/www-apps/wordpress/wordpress-4.9.8.ebuild
26 new file mode 100644
27 index 00000000000..19231ee76d1
28 --- /dev/null
29 +++ b/www-apps/wordpress/wordpress-4.9.8.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit webapp
37 +
38 +DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
39 +HOMEPAGE="https://wordpress.org/"
40 +SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
41 +
42 +LICENSE="GPL-2+"
43 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
44 +
45 +RDEPEND="virtual/httpd-php
46 + || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
47 +
48 +S=${WORKDIR}/${PN}
49 +
50 +need_httpd_cgi
51 +
52 +IUSE="+akismet examples +themes vhosts"
53 +
54 +src_install() {
55 + webapp_src_preinst
56 +
57 + dodoc readme.html
58 + rm readme.html license.txt || die
59 +
60 + if ! use akismet ; then
61 + rm -R wp-content/plugins/akismet/ || die
62 + fi
63 + if ! use examples ; then
64 + rm wp-content/plugins/hello.php || die
65 + fi
66 + if ! use themes ; then
67 + rm -R wp-content/themes/*/ || die
68 + fi
69 +
70 + [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
71 +
72 + insinto "${MY_HTDOCSDIR}"
73 + doins -r .
74 +
75 + webapp_serverowned "${MY_HTDOCSDIR}"/index.php
76 + webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
77 + webapp_serverowned "${MY_HTDOCSDIR}"
78 +
79 + webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
80 +
81 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
82 + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
83 +
84 + webapp_src_install
85 +}