summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-04-27 19:11:59 +0000
committerSebastian Pipping <sping@gentoo.org>2015-04-27 19:11:59 +0000
commit0ff132fee4f20748bbfb5dfc9cf541ac193cb5f8 (patch)
treeb9b8c73fd52345e40976cc76960c725377dc5c94 /www-apps
parentdev-libs/uriparser: 0.8.2 (diff)
downloadgentoo-2-0ff132fee4f20748bbfb5dfc9cf541ac193cb5f8.tar.gz
gentoo-2-0ff132fee4f20748bbfb5dfc9cf541ac193cb5f8.tar.bz2
gentoo-2-0ff132fee4f20748bbfb5dfc9cf541ac193cb5f8.zip
www-apps/wordpress: 4.2.1
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wordpress/ChangeLog7
-rw-r--r--www-apps/wordpress/wordpress-4.2.1.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog
index 65e2455abb80..7f2a31e12346 100644
--- a/www-apps/wordpress/ChangeLog
+++ b/www-apps/wordpress/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/wordpress
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.172 2015/04/26 00:12:37 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.173 2015/04/27 19:11:59 sping Exp $
+
+*wordpress-4.2.1 (27 Apr 2015)
+
+ 27 Apr 2015; Sebastian Pipping <sping@gentoo.org> +wordpress-4.2.1.ebuild:
+ Bump to 4.2.1 (security)
26 Apr 2015; Patrick Lauer <patrick@gentoo.org> wordpress-4.1.2-r2.ebuild,
wordpress-4.2.ebuild:
diff --git a/www-apps/wordpress/wordpress-4.2.1.ebuild b/www-apps/wordpress/wordpress-4.2.1.ebuild
new file mode 100644
index 000000000000..1623f5fc0667
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-4.2.1.ebuild,v 1.1 2015/04/27 19:11:59 sping Exp $
+
+EAPI=5
+
+inherit webapp
+
+DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
+HOMEPAGE="http://wordpress.org/"
+SRC_URI="http://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
+}