From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DA9A41393F1 for ; Tue, 15 Sep 2015 23:05:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C904E0858; Tue, 15 Sep 2015 23:05:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0B67E0858 for ; Tue, 15 Sep 2015 23:05:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43456340A61 for ; Tue, 15 Sep 2015 23:05:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8A1F18B for ; Tue, 15 Sep 2015 23:05:42 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1442358315.5403457389c3f390b28d91689a8c5a6b043b8b22.sping@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-4.3.1.ebuild X-VCS-Directories: www-apps/wordpress/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 5403457389c3f390b28d91689a8c5a6b043b8b22 X-VCS-Branch: master Date: Tue, 15 Sep 2015 23:05:42 +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-Archives-Salt: bba2bfd7-14e9-4de5-8eb7-fb67ba134e71 X-Archives-Hash: 7aa3c64638f1c4c78847d4d6a555e517 commit: 5403457389c3f390b28d91689a8c5a6b043b8b22 Author: Sebastian Pipping gentoo org> AuthorDate: Tue Sep 15 23:05:11 2015 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Sep 15 23:05:15 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54034573 www-apps/wordpress: 4.3.1 www-apps/wordpress/Manifest | 1 + www-apps/wordpress/wordpress-4.3.1.ebuild | 60 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index d16c4b7..4129816 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,2 +1,3 @@ DIST wordpress-4.2.4.tar.gz 6313249 SHA256 42ca594afc709cbef8528a6096f5a1efe96dcf3164e7ce321e87d57ae015cc82 SHA512 f0f3030d12ac19b0e2ffc5692e02f3e9137b31a0b47fa64a02265ca535f37a12afe816ed728623cab4537e22f8d5e7637f0cb059d3cf875620abd6e797c154ba WHIRLPOOL 865e22ceb71fa8b63401077f2c13bd0f0a6698a1361781f762659804019afe0bee06ba1edb593d25fcb52849156223eae2c248387db4b73bc07bc8410e52673a +DIST wordpress-4.3.1.tar.gz 6526208 SHA256 df5a5bfa28c916e11e8a636297c8eeb68816fff1d1bc2564c1d73c0063f0027c SHA512 d19b9a76b10d4cc3d7f577b8196b3423e72a1847a1cb9c85fa1506c0a97f3e10f65c5b2453aacd4b963327b3209725f44e30186e69d075c093b15177587a974a WHIRLPOOL 9dbfb60e1e081a4981f54f073fa6075799b051bdd3cd64c7a27ab29fef6484299c5c5e3d06d03bd1b926d82004d0955838e1c0e96607f62d120a5b034acae4dd DIST wordpress-4.3.tar.gz 6524201 SHA256 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4 SHA512 d40723efa4aac41ade734d35f985397679e4e72657724ff47a0783205ca51ce7477973e3a7bc73550a4e3d1b523991d6ece09ff652032b746adb96207de6eca1 WHIRLPOOL 474b03255ae381e6b92ae5bf094596bcd3fcd12e11271bd68d091fcce27b80ab922d3c240f2eaa2509ad603edb34a78639145b3fe6bf19a9d367fa334c4beaea diff --git a/www-apps/wordpress/wordpress-4.3.1.ebuild b/www-apps/wordpress/wordpress-4.3.1.ebuild new file mode 100644 index 0000000..ff96790 --- /dev/null +++ b/www-apps/wordpress/wordpress-4.3.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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" + +# Override default of SLOT="${PVR}" +WEBAPP_MANUAL_SLOT=yes +SLOT="${PV}" + +src_install() { + webapp_src_preinst + + dohtml 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 +}