diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-10-08 12:55:43 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-10-08 12:55:43 +0000 |
commit | 03891f262dab6575bff02d86e18e0788f7cf1c2d (patch) | |
tree | 481a3e72dcfe89c454bc85f8fbb65cd7581732ef /www-apps/wordpress | |
parent | Let Wordpress 2.3 start with a clean slate (diff) | |
download | gentoo-2-03891f262dab6575bff02d86e18e0788f7cf1c2d.tar.gz gentoo-2-03891f262dab6575bff02d86e18e0788f7cf1c2d.tar.bz2 gentoo-2-03891f262dab6575bff02d86e18e0788f7cf1c2d.zip |
Let's give Wordpress 2.3 a chance.
(Portage version: 2.1.3.12)
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r-- | www-apps/wordpress/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/wordpress/files/digest-wordpress-2.3 | 3 | ||||
-rw-r--r-- | www-apps/wordpress/metadata.xml | 2 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-2.3.ebuild | 83 |
4 files changed, 94 insertions, 2 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog index 239dae02bdda..85f51fb2e845 100644 --- a/www-apps/wordpress/ChangeLog +++ b/www-apps/wordpress/ChangeLog @@ -1,6 +1,12 @@ # 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.85 2007/09/08 17:02:42 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.86 2007/10/08 12:55:42 anant Exp $ + +*wordpress-2.3 (08 Oct 2007) + + 08 Oct 2007; Anant Narayanan <anant@gentoo.org> metadata.xml, + +wordpress-2.3.ebuild: + Let's give Wordpress 2.3 a chance. *wordpress-2.2.3 (08 Sep 2007) diff --git a/www-apps/wordpress/files/digest-wordpress-2.3 b/www-apps/wordpress/files/digest-wordpress-2.3 new file mode 100644 index 000000000000..8b911094b19c --- /dev/null +++ b/www-apps/wordpress/files/digest-wordpress-2.3 @@ -0,0 +1,3 @@ +MD5 36ffea2a049a071342efda985feedf31 wordpress-2.3.tar.gz 870766 +RMD160 fa9d1bdc75aca40a870cddc7e91cee8df5aff559 wordpress-2.3.tar.gz 870766 +SHA256 34c7589b7d40281e3f6f8ac6f4172e69c28b3c93cf394490b73eec55dccc8741 wordpress-2.3.tar.gz 870766 diff --git a/www-apps/wordpress/metadata.xml b/www-apps/wordpress/metadata.xml index 95c06f0095bb..6632069b5aff 100644 --- a/www-apps/wordpress/metadata.xml +++ b/www-apps/wordpress/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>web-apps</herd> + <herd>web-apps</herd> </pkgmetadata> diff --git a/www-apps/wordpress/wordpress-2.3.ebuild b/www-apps/wordpress/wordpress-2.3.ebuild new file mode 100644 index 000000000000..01d0a46c3313 --- /dev/null +++ b/www-apps/wordpress/wordpress-2.3.ebuild @@ -0,0 +1,83 @@ +# 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.ebuild,v 1.1 2007/10/08 12:55:42 anant 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="" + +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 + + einfo "Installing main files" + cp wp-config-sample.php wp-config.php + cp -r * "${D}${MY_HTDOCSDIR}" + einfo "Done" + + ewarn " " + ewarn "Please make sure you have register_globals = off set in your" + ewarn "/etc/apache2/php.ini file " + ewarn "If this is not an option for your web server and you NEED it" + ewarn "set to on, then insert the following in your WordPress " + ewarn ".htaccess file: " + ewarn "php_flag register_globals off " + ewarn " " + + ewarn " " + ewarn "You will need to create a table for your WordPress database." + ewarn "This assumes you have some knowledge of MySQL, and already " + ewarn "have it installed and configured. If not, please refer to " + ewarn "the Gentoo MySQL guide at the following URL: " + ewarn "http://www.gentoo.org/doc/en/mysql-howto.xml " + ewarn "Log in to MySQL, and create a new database called " + ewarn "'wordpress'. From this point, you will need to edit your " + ewarn "wp-config.php file in $DocumentRoot/wordpress/ and point to " + ewarn "your database. Once this is done, you can log in to " + ewarn "WordPress at http://localhost/wordpress " + ewarn " " + + ewarn " " + 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. " + ewarn " " + + # 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}" + done + + # 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-admin/menu.php" + webapp_serverowned "${MY_HTDOCSDIR}" + webapp_configfile "${MY_HTDOCSDIR}/wp-config.php" + + # now strut stuff + webapp_src_install +} |