diff options
-rw-r--r-- | www-apps/wordpress/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/wordpress/Manifest | 38 | ||||
-rw-r--r-- | www-apps/wordpress/files/digest-wordpress-2.3.1 | 3 | ||||
-rw-r--r-- | www-apps/wordpress/files/dummy-templates.php | 7 | ||||
-rw-r--r-- | www-apps/wordpress/files/postinstall-en.txt | 33 | ||||
-rw-r--r-- | www-apps/wordpress/files/postupgrade-en.txt | 13 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-2.3.1.ebuild | 60 |
7 files changed, 147 insertions, 16 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/Manifest b/www-apps/wordpress/Manifest index bc25a07077bf..3c9b606d1986 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,21 +1,33 @@ -AUX dummy-templates.php 269 RMD160 7f1362f12b8c73ac8a371e5b00b7d31e7bc36438 SHA1 6f23ad19859256323f53e287cfb7c441cd1a6826 SHA256 3f7a088aa968469652690f47a2d598bd35e8f87e741f322fcb2d5063c8c88e48 -MD5 f816ff62dcd7cadf0fae9384ab9618e5 files/dummy-templates.php 269 -RMD160 7f1362f12b8c73ac8a371e5b00b7d31e7bc36438 files/dummy-templates.php 269 -SHA256 3f7a088aa968469652690f47a2d598bd35e8f87e741f322fcb2d5063c8c88e48 files/dummy-templates.php 269 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX postinstall-en.txt 990 RMD160 280c0dc44c45d912ba8ffd2330b11350a5ddde60 SHA1 5a2d9aa2bfc1c6ab72d37efb428ed2c844b860dd SHA256 0c015fdf0bf583e4d4e2b3cf686f0e8cc05c9e85ccbe9e99271c0a15b2f5376a +MD5 31f1a5f14ff81bbad33703799011144b files/postinstall-en.txt 990 +RMD160 280c0dc44c45d912ba8ffd2330b11350a5ddde60 files/postinstall-en.txt 990 +SHA256 0c015fdf0bf583e4d4e2b3cf686f0e8cc05c9e85ccbe9e99271c0a15b2f5376a files/postinstall-en.txt 990 +AUX postupgrade-en.txt 433 RMD160 3837780fc3f6461c09da03d32a70fbdd932b86b5 SHA1 00ddca920a34d657681f1f0f34330e073315134d SHA256 c80303055adc99a3becd482478042337a857065001f0b1e93d6b8d336933ee17 +MD5 080a9df345325c439b14a98e1828d3bf files/postupgrade-en.txt 433 +RMD160 3837780fc3f6461c09da03d32a70fbdd932b86b5 files/postupgrade-en.txt 433 +SHA256 c80303055adc99a3becd482478042337a857065001f0b1e93d6b8d336933ee17 files/postupgrade-en.txt 433 DIST wordpress-2.2.3.tar.gz 824904 RMD160 40e44c5950ee3072ab2abb0a97fc867c0cf780e6 SHA1 171ed6bba94301406cb94b725d2f9ecca6cefecc SHA256 6af35c864417fe3e5d4b2b2485cdedec7879f5f170088de79a71bc8cfb54110f +DIST wordpress-2.3.1.tar.gz 883535 RMD160 9136f1425e9ea377501c753749818d463c677713 SHA1 bf1dc2db2f1ae2be5981548cd7c9a686453981cf SHA256 20004580fab20c8801ca7a86c6d57db0bc794f2b59ab583aa6b82457c67f8cf7 DIST wordpress-2.3.tar.gz 870766 RMD160 fa9d1bdc75aca40a870cddc7e91cee8df5aff559 SHA1 11535c4c5f912d7044b5184b45edbed2093c48ea SHA256 34c7589b7d40281e3f6f8ac6f4172e69c28b3c93cf394490b73eec55dccc8741 EBUILD wordpress-2.2.3.ebuild 2795 RMD160 1d8e3cf0ae507caae4744e4c93f94722ebb11bd2 SHA1 0688f813411e94ca11bbd84d7d4dffa0452711ab SHA256 5f372fd4358638ccdea37bfef4eb1b4d24b755e349f57ce317320d4af4e2c18b MD5 ad2355249ab738919415ff732e84de44 wordpress-2.2.3.ebuild 2795 RMD160 1d8e3cf0ae507caae4744e4c93f94722ebb11bd2 wordpress-2.2.3.ebuild 2795 SHA256 5f372fd4358638ccdea37bfef4eb1b4d24b755e349f57ce317320d4af4e2c18b wordpress-2.2.3.ebuild 2795 +EBUILD wordpress-2.3.1.ebuild 1517 RMD160 9d449b8ab30c0408c74616e3b215bf4813068984 SHA1 2243fc27caaa367b8b983a39ae2a8296277496c0 SHA256 488762ccea2d3eca5981aa61a53f0c8cad74968f35d6086862bec3027a6bb96f +MD5 22a665cc61bcb05c1ccaf806fffe6632 wordpress-2.3.1.ebuild 1517 +RMD160 9d449b8ab30c0408c74616e3b215bf4813068984 wordpress-2.3.1.ebuild 1517 +SHA256 488762ccea2d3eca5981aa61a53f0c8cad74968f35d6086862bec3027a6bb96f wordpress-2.3.1.ebuild 1517 EBUILD wordpress-2.3.ebuild 3153 RMD160 28b20997ed21cdab148eb64dd672e39d81bc6aea SHA1 fe205795b6de4072b77112ca9178eb3408eeaaa8 SHA256 fc432e9557a2ef01ead4c1b497a877a648660520aeb36cdfdefa439111fb1487 MD5 a2190e54aa4de56e4dbe7889af2c69fb wordpress-2.3.ebuild 3153 RMD160 28b20997ed21cdab148eb64dd672e39d81bc6aea wordpress-2.3.ebuild 3153 SHA256 fc432e9557a2ef01ead4c1b497a877a648660520aeb36cdfdefa439111fb1487 wordpress-2.3.ebuild 3153 -MISC ChangeLog 14187 RMD160 6dfd0479cacf5776c4b3723744f934df7a8db998 SHA1 91d30d8a519dd6527bbc292080374463b47f09f3 SHA256 7289906563598acd28bbfdccaf6eb25569dfa99151dc8b99f329f33ced2db4bf -MD5 87cc4c4f28f2f6cd1ea0fdd175b281e1 ChangeLog 14187 -RMD160 6dfd0479cacf5776c4b3723744f934df7a8db998 ChangeLog 14187 -SHA256 7289906563598acd28bbfdccaf6eb25569dfa99151dc8b99f329f33ced2db4bf ChangeLog 14187 +MISC ChangeLog 14398 RMD160 a82b0aa330ad93f19b37cf4ff6b8e13f350c9871 SHA1 738b119ce4d1e0fbc7f815e75686ecb2839c7c25 SHA256 3e7a8b25009e3840291a93710ace4c698805cd329262d7c2b6cd21c78852cf7a +MD5 6c62ad8389c850f826f78b228f1614d9 ChangeLog 14398 +RMD160 a82b0aa330ad93f19b37cf4ff6b8e13f350c9871 ChangeLog 14398 +SHA256 3e7a8b25009e3840291a93710ace4c698805cd329262d7c2b6cd21c78852cf7a ChangeLog 14398 MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0 MD5 7b6e6cf3eaafa0480ab619fadfb37e2e metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 metadata.xml 162 @@ -26,3 +38,13 @@ SHA256 39ac777901436bb037773a5db5a268e31e12b8e9f9ffa11c98e9ff1b47f87870 files/di MD5 f14bde881b53288daddee186fe6338dd files/digest-wordpress-2.3 241 RMD160 5590f22185065073e5fa62248fc14e883a3b6e88 files/digest-wordpress-2.3 241 SHA256 938148a0d2facdc4e9038670cac36a186eb5d491bcb4f398903efd4511051e61 files/digest-wordpress-2.3 241 +MD5 286f435347e8a94b0ecd43c062b79c1a files/digest-wordpress-2.3.1 247 +RMD160 d3bb1e7b941c7c2bca8c4ccd8c9dc83551645774 files/digest-wordpress-2.3.1 247 +SHA256 ed4145345e106e9b40dc3ffef5b5ca11be5c26f493a0fa1f84895a252ab2d572 files/digest-wordpress-2.3.1 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFHJyF1EEcxCpcDQ74RAvW4AJ9/TqP4N7U+xRU1HRIQqn/7L53zQwCfTNxu +kJRFj3YuNdk8En3IGdfcfMc= +=Vj6S +-----END PGP SIGNATURE----- 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 +} |