Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/wordpress: ChangeLog wordpress-2.2.3.ebuild
Date: Sat, 08 Sep 2007 17:25:17
beandog     07/09/08 17:02:43

  Modified:             ChangeLog
  Added:                wordpress-2.2.3.ebuild
  Yet another security version bump
  (Portage version:

Revision  Changes    Path
1.85                 www-apps/wordpress/ChangeLog

file :
diff :

Index: ChangeLog
RCS file: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ChangeLog	11 Aug 2007 22:17:01 -0000	1.84
+++ ChangeLog	8 Sep 2007 17:02:42 -0000	1.85
@@ -1,6 +1,11 @@
 # 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.84 2007/08/11 22:17:01 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.85 2007/09/08 17:02:42 beandog Exp $
+*wordpress-2.2.3 (08 Sep 2007)
+  08 Sep 2007; Steve Dibb <beandog@g.o> +wordpress-2.2.3.ebuild:
+  Yet another security version bump
 *wordpress-2.2.2 (11 Aug 2007)
 *wordpress-2.0.11 (11 Aug 2007)

1.1                  www-apps/wordpress/wordpress-2.2.3.ebuild

file :

Index: wordpress-2.2.3.ebuild
# 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.2.3.ebuild,v 1.1 2007/09/08 17:02:42 beandog Exp $

inherit webapp eutils depend.php

DESCRIPTION="Wordpress php and mysql based CMS system."
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"



pkg_setup() {

	require_php_with_any_use mysql mysqli
	require_php_with_use pcre

src_install() {
	local docs="license.txt readme.html"


	einfo "Installing main files"
	cp wp-config-sample.php wp-config.php
	cp -r * ${D}${MY_HTDOCSDIR}
	einfo "Done"

	ewarn Please make sure you have register_globals = off set in your /etc/apache2/php.ini file
	ewarn 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:
	ewarn php_flag register_globals off

	ewarn You will need to create a table for your WordPress database.  This
	ewarn assumes you have some knowledge of MySQL, and already have it
	ewarn installed and configured.  If not, please refer to
	ewarn the Gentoo MySQL guide at the following URL:
	ewarn Log in to MySQL, and create a new database called
	ewarn "wordpress". From this point, you will need to edit
	ewarn your wp-config.php file in $DocumentRoot/wordpress/
	ewarn and point to your database. Once this is done, you can log in to
	ewarn WordPress at http://localhost/wordpress

	ewarn If you are upgrading from a previous version BACK UP your
	ewarn database.  Once you are done with that, browse to
	ewarn http://localhost/wordpress/wp-admin/upgrade.php and follow
	ewarn the instructions on the screen.

	# 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 ${doc}

	# Identify the configuration files that this app uses
	# User can want to make changes to these!
	webapp_serverowned ${MY_HTDOCSDIR}/index.php
	#webapp_serverowned ${MY_HTDOCSDIR}/wp-layout.css
	webapp_serverowned ${MY_HTDOCSDIR}/wp-admin/menu.php
	webapp_serverowned ${MY_HTDOCSDIR}
	webapp_configfile  ${MY_HTDOCSDIR}/wp-config.php
	# Identify any script files that need #! headers adding to run under
	# a CGI script (such as PHP/CGI)
	# for wordpress, we *assume* that all .php files need to have CGI/BIN
	# support added

	# post-install instructions
	#webapp_postinst_txt en ${FILESDIR}/1.2/postinstall-en.txt

	# now strut stuff

gentoo-commits@g.o mailing list