From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9418C138334 for ; Tue, 26 Feb 2019 17:00:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD990E0871; Tue, 26 Feb 2019 17:00:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86E73E0871 for ; Tue, 26 Feb 2019 17:00:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13534335CC8 for ; Tue, 26 Feb 2019 17:00:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 648BD546 for ; Tue, 26 Feb 2019 17:00:29 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1551200403.cd83a1c0f34ce6bc01d9f6c6cf5455ea337091c8.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/wordpress/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/wordpress/Manifest www-apps/wordpress/wordpress-5.1.ebuild X-VCS-Directories: www-apps/wordpress/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: cd83a1c0f34ce6bc01d9f6c6cf5455ea337091c8 X-VCS-Branch: master Date: Tue, 26 Feb 2019 17:00:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a34e777f-c13c-4530-83a0-bbcdd87f773b X-Archives-Hash: b1e65a6175d9e605cd679e39a68b6c2f commit: cd83a1c0f34ce6bc01d9f6c6cf5455ea337091c8 Author: Miroslav Šulc gentoo org> AuthorDate: Tue Feb 26 17:00:03 2019 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Feb 26 17:00:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd83a1c0 www-apps/wordpress-5.1: bump Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Miroslav Šulc gentoo.org> www-apps/wordpress/Manifest | 1 + www-apps/wordpress/wordpress-5.1.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index a7041758ebe..64a94b261c2 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -2,3 +2,4 @@ DIST wordpress-4.9.6.tar.gz 8740389 BLAKE2B 827f4cf4e1c664ee04588e189bb744b10ab0 DIST wordpress-4.9.7.tar.gz 8742203 BLAKE2B 3cb3a5379e96bffa11efcb4c51f948332179334f50ee49860618c7ec7cc485af8dd497c9566bc6dbd4a7a3c8c0f38cd333f2b90c57fef1604af946113cd96564 SHA512 0a9a132d48081ef253122bd207dbf859babfd021ef3db90d486c92cde03727a74c5170a9faf80d46e8899472a703cfe91b24c04c1ea21f261dbd156bd691ad12 DIST wordpress-4.9.8.tar.gz 8743850 BLAKE2B 6a0a93857e70d70ae144114a071859ccad2aea598cffba67aef24549c200e02198ac962c8a611f8f02ad67ed4d0aec9ef846795bd2fdb88264a6d30aa8ea8c79 SHA512 052b4436d8b5e5970ff6827b9f08f7f321301d187a9655e82ee1358f0012cc84a007f4ae04fecc4aaeb10a9e7eb9de7bc6643e6f0db57bb5983e7647e4230c41 DIST wordpress-5.0.2.tar.gz 10512407 BLAKE2B 422ebc20071ec04444c908eda5ba2b7505dab763b39e8799c3b823dce9a2c3217624149dbe66c457ddaa4631156287ef9fff78d10266d6b4df0b6d484db55f1f SHA512 38ce459a208f14e54d2010f83a14de595a2aa70099c474da064010ea9a66b9c890758145a5fc987750369b5473fd74a677d9da96b23f924b326011efeb15b668 +DIST wordpress-5.1.tar.gz 10653910 BLAKE2B 26a4f42dd88d4c2616fb240b8b9a1f64a5380496600e3d132dbc162505907cda49e11b9f132d0f436e9426e77d42d6d78ed6b1e16f04d857429515d192761113 SHA512 e8504be918add0533a99f62e967e2c86afce0c28ae474cace5e4c44f66e8a71394eed7bc6f1e3108734e4410849b28d1da6c545c05a24025067a1321a8fa9a99 diff --git a/www-apps/wordpress/wordpress-5.1.ebuild b/www-apps/wordpress/wordpress-5.1.ebuild new file mode 100644 index 00000000000..1d9e09808b2 --- /dev/null +++ b/www-apps/wordpress/wordpress-5.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" +HOMEPAGE="https://wordpress.org/" +SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/httpd-php + || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" + +S=${WORKDIR}/${PN} + +need_httpd_cgi + +IUSE="+akismet examples +themes vhosts" + +src_install() { + webapp_src_preinst + + dodoc readme.html + rm readme.html license.txt || die + + if ! use akismet ; then + rm -R wp-content/plugins/akismet/ || die + fi + if ! use examples ; then + rm wp-content/plugins/hello.php || die + fi + if ! use themes ; then + rm -R wp-content/themes/*/ || die + fi + + [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned "${MY_HTDOCSDIR}"/index.php + webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php + webapp_serverowned "${MY_HTDOCSDIR}" + + webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt + + webapp_src_install +}