summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-10-30 12:20:00 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-10-30 12:20:00 +0000
commitdcc5fd63e7638d8b77669e525027e7fbf96c19af (patch)
treed4a06fd2cb10ca6fec73c85d2492ddcad12699e5 /www-apps/wordpress
parentSparc stable --- Security Bug #197313 (diff)
downloadgentoo-2-dcc5fd63e7638d8b77669e525027e7fbf96c19af.tar.gz
gentoo-2-dcc5fd63e7638d8b77669e525027e7fbf96c19af.tar.bz2
gentoo-2-dcc5fd63e7638d8b77669e525027e7fbf96c19af.zip
Add wordpress-2.3.1 (#197356).
(Portage version: 2.1.3.14)
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r--www-apps/wordpress/ChangeLog9
-rw-r--r--www-apps/wordpress/files/digest-wordpress-2.3.13
-rw-r--r--www-apps/wordpress/files/dummy-templates.php7
-rw-r--r--www-apps/wordpress/files/postinstall-en.txt33
-rw-r--r--www-apps/wordpress/files/postupgrade-en.txt13
-rw-r--r--www-apps/wordpress/wordpress-2.3.1.ebuild60
6 files changed, 117 insertions, 8 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog
index 85f51fb2e845..c144f3f30b62 100644
--- a/www-apps/wordpress/ChangeLog
+++ b/www-apps/wordpress/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-apps/wordpress
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.86 2007/10/08 12:55:42 anant Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.87 2007/10/30 12:19:59 wrobel Exp $
+
+*wordpress-2.3.1 (30 Oct 2007)
+
+ 30 Oct 2007; wrobel@gentoo.org -files/dummy-templates.php,
+ +files/postinstall-en.txt, +files/postupgrade-en.txt,
+ +wordpress-2.3.1.ebuild:
+ Add wordpress-2.3.1 (#197356).
*wordpress-2.3 (08 Oct 2007)
diff --git a/www-apps/wordpress/files/digest-wordpress-2.3.1 b/www-apps/wordpress/files/digest-wordpress-2.3.1
new file mode 100644
index 000000000000..5e4bb9b39578
--- /dev/null
+++ b/www-apps/wordpress/files/digest-wordpress-2.3.1
@@ -0,0 +1,3 @@
+MD5 bd53264cbe80e470c5a9bc2cf7aa85e4 wordpress-2.3.1.tar.gz 883535
+RMD160 9136f1425e9ea377501c753749818d463c677713 wordpress-2.3.1.tar.gz 883535
+SHA256 20004580fab20c8801ca7a86c6d57db0bc794f2b59ab583aa6b82457c67f8cf7 wordpress-2.3.1.tar.gz 883535
diff --git a/www-apps/wordpress/files/dummy-templates.php b/www-apps/wordpress/files/dummy-templates.php
deleted file mode 100644
index c40c287c6784..000000000000
--- a/www-apps/wordpress/files/dummy-templates.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-die("The wp-admin/templates.php file has been removed due to XSS vulnerabilites that have not \n".
- "yet been fixed upstream. For more information, see \n".
- "<a href=\"http://bugs.gentoo.org/show_bug.cgi?id=88926\">bug 88926</a> at Gentoo's bugzilla.");
-
-?>
diff --git a/www-apps/wordpress/files/postinstall-en.txt b/www-apps/wordpress/files/postinstall-en.txt
new file mode 100644
index 000000000000..695840d5cd17
--- /dev/null
+++ b/www-apps/wordpress/files/postinstall-en.txt
@@ -0,0 +1,33 @@
+------------------------------------------------------------------------
+INSTALLATION
+
+Please make sure you have register_globals = off set in your
+
+/etc/apache2/php.ini
+
+file.
+
+If this is not an option for your web server and you NEED it set to
+on, then insert the following in your WordPress .htaccess file:
+
+php_flag register_globals off
+
+You will need to create a table for your WordPress database. This
+assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Log in to MySQL, and create a new database called 'wordpress'. From
+this point, you will need to edit your
+
+${MY_INSTALLDIR}/wp-config.php
+
+file.
+
+Once this is done, you can log in to WordPress at
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+------------------------------------------------------------------------
diff --git a/www-apps/wordpress/files/postupgrade-en.txt b/www-apps/wordpress/files/postupgrade-en.txt
new file mode 100644
index 000000000000..bc0e55fc7a35
--- /dev/null
+++ b/www-apps/wordpress/files/postupgrade-en.txt
@@ -0,0 +1,13 @@
+------------------------------------------------------------------------
+UPGRADE
+
+
+If you are upgrading from a previous version BACK UP your database.
+
+Once you are done with that, browse to
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/wp-admin/upgrade.php
+
+and follow the instructions on the screen.
+
+------------------------------------------------------------------------
diff --git a/www-apps/wordpress/wordpress-2.3.1.ebuild b/www-apps/wordpress/wordpress-2.3.1.ebuild
new file mode 100644
index 000000000000..af17d91a54c7
--- /dev/null
+++ b/www-apps/wordpress/wordpress-2.3.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.3.1.ebuild,v 1.1 2007/10/30 12:19:59 wrobel Exp $
+
+inherit webapp eutils 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="virtual/httpd-cgi"
+
+S="${WORKDIR}/${PN}"
+
+need_php
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ require_php_with_any_use mysql mysqli
+ require_php_with_use pcre
+}
+
+src_install() {
+ local docs="license.txt readme.html"
+
+ webapp_src_preinst
+
+ cp wp-config-sample.php wp-config.php
+ cp -r * "${D}${MY_HTDOCSDIR}"
+
+ # handle documentation files
+ #
+ # NOTE that doc files go into /usr/share/doc as normal; they do NOT
+ # get installed per vhost!
+
+ dodoc ${docs}
+ for doc in ${docs} INSTALL; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ # Identify files/directory that should be writeable to
+ # the web server
+ webapp_serverowned "${MY_HTDOCSDIR}"/index.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
+ webapp_serverowned "${MY_HTDOCSDIR}"
+
+ # Identify the configuration files that this app uses
+ # User may want to make changes to these!
+ 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
+}