summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-12-26 07:39:51 +0000
committerPeter Volkov <pva@gentoo.org>2008-12-26 07:39:51 +0000
commit8029ee53e9d9f26ebbc5a0d722c49493ba9b9fd0 (patch)
tree976dc95a5dfb2e1e8f148ce45c3b1eacc3ab3280 /www-apps/wordpress
parentVersion bump (diff)
downloadgentoo-2-8029ee53e9d9f26ebbc5a0d722c49493ba9b9fd0.tar.gz
gentoo-2-8029ee53e9d9f26ebbc5a0d722c49493ba9b9fd0.tar.bz2
gentoo-2-8029ee53e9d9f26ebbc5a0d722c49493ba9b9fd0.zip
Version bump, bug #252250 thank Kevin Bowling for report.
(Portage version: 2.1.6.2/cvs/Linux 2.6.26-gentoo-r4 x86_64)
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r--www-apps/wordpress/ChangeLog7
-rw-r--r--www-apps/wordpress/wordpress-2.7.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog
index acd04a4ae07a..39c0071e7715 100644
--- a/www-apps/wordpress/ChangeLog
+++ b/www-apps/wordpress/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/wordpress
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.96 2008/11/25 22:13:49 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.97 2008/12/26 07:39:51 pva Exp $
+
+*wordpress-2.7 (26 Dec 2008)
+
+ 26 Dec 2008; Peter Volkov <pva@gentoo.org> +wordpress-2.7.ebuild:
+ Version bump, bug #252250 thank Kevin Bowling for report.
*wordpress-2.6.5 (25 Nov 2008)
diff --git a/www-apps/wordpress/wordpress-2.7.ebuild b/www-apps/wordpress/wordpress-2.7.ebuild
new file mode 100644
index 000000000000..33cc508d9062
--- /dev/null
+++ b/www-apps/wordpress/wordpress-2.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.7.ebuild,v 1.1 2008/12/26 07:39:51 pva Exp $
+
+inherit webapp depend.php
+
+DESCRIPTION="Wordpress php and mysql based CMS system."
+HOMEPAGE="http://wordpress.org/"
+SRC_URI="http://www.wordpress.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}"/${PN}
+
+need_httpd_cgi
+need_php_httpd
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_php_with_any_use mysql mysqli
+ require_php_with_use pcre
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dohtml readme.html
+ rm -f readme.html license.txt
+
+ 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
+}