summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-01-08 06:29:52 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-01-08 06:29:52 +0000
commit6f0f7a36a3c7786c33aaca877c333220696dbaaa (patch)
treef07cf5886914478645f717693690b653884d2fdc /www-apps/wordpress
parentocamlopt use flag is still used; added it back (diff)
downloadhistorical-6f0f7a36a3c7786c33aaca877c333220696dbaaa.tar.gz
historical-6f0f7a36a3c7786c33aaca877c333220696dbaaa.tar.bz2
historical-6f0f7a36a3c7786c33aaca877c333220696dbaaa.zip
Added wordpress-2.3.2 to the tree, removed insecure versions (sec issues
#202071 and #202779). Package-Manager: portage-2.1.4_rc7
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r--www-apps/wordpress/ChangeLog12
-rw-r--r--www-apps/wordpress/Manifest62
-rw-r--r--www-apps/wordpress/files/digest-wordpress-2.2.33
-rw-r--r--www-apps/wordpress/files/digest-wordpress-2.33
-rw-r--r--www-apps/wordpress/files/digest-wordpress-2.3.13
-rw-r--r--www-apps/wordpress/files/digest-wordpress-2.3.23
-rw-r--r--www-apps/wordpress/files/postinstall-en.txt16
-rw-r--r--www-apps/wordpress/files/postupgrade-en.txt17
-rw-r--r--www-apps/wordpress/wordpress-2.2.3.ebuild89
-rw-r--r--www-apps/wordpress/wordpress-2.3.2.ebuild (renamed from www-apps/wordpress/wordpress-2.3.1.ebuild)4
-rw-r--r--www-apps/wordpress/wordpress-2.3.ebuild83
11 files changed, 71 insertions, 224 deletions
diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog
index c144f3f30b62..f6a6ad18dbd4 100644
--- a/www-apps/wordpress/ChangeLog
+++ b/www-apps/wordpress/ChangeLog
@@ -1,6 +1,14 @@
# 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.87 2007/10/30 12:19:59 wrobel Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.88 2008/01/08 06:29:52 wrobel Exp $
+
+*wordpress-2.3.2 (08 Jan 2008)
+
+ 08 Jan 2008; Gunnar Wrobel <wrobel@gentoo.org> files/postinstall-en.txt,
+ files/postupgrade-en.txt, -wordpress-2.2.3.ebuild, -wordpress-2.3.ebuild,
+ -wordpress-2.3.1.ebuild, +wordpress-2.3.2.ebuild:
+ Added wordpress-2.3.2 to the tree, removed insecure versions (sec issues
+ #202071 and #202779).
*wordpress-2.3.1 (30 Oct 2007)
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 3c9b606d1986..e11e80dfaecb 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -1,50 +1,34 @@
-----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 14398 RMD160 a82b0aa330ad93f19b37cf4ff6b8e13f350c9871 SHA1 738b119ce4d1e0fbc7f815e75686ecb2839c7c25 SHA256 3e7a8b25009e3840291a93710ace4c698805cd329262d7c2b6cd21c78852cf7a
-MD5 6c62ad8389c850f826f78b228f1614d9 ChangeLog 14398
-RMD160 a82b0aa330ad93f19b37cf4ff6b8e13f350c9871 ChangeLog 14398
-SHA256 3e7a8b25009e3840291a93710ace4c698805cd329262d7c2b6cd21c78852cf7a ChangeLog 14398
+AUX postinstall-en.txt 1745 RMD160 eeaf952a3266685c6e95cfdaa382f8244de2a880 SHA1 f3059944c6a94c5d9a247d001ac483620880da74 SHA256 36f1715fced7bb529d71373b35488c3aa6a7d454bcbf00d52c61b50156d048bc
+MD5 b31c6b5b417f439378df6278f6c336b9 files/postinstall-en.txt 1745
+RMD160 eeaf952a3266685c6e95cfdaa382f8244de2a880 files/postinstall-en.txt 1745
+SHA256 36f1715fced7bb529d71373b35488c3aa6a7d454bcbf00d52c61b50156d048bc files/postinstall-en.txt 1745
+AUX postupgrade-en.txt 1402 RMD160 90be1857d217e623ebdca66026985b9ee30d05e8 SHA1 df660103d07df60fab220ac403d15422a49ef6c9 SHA256 2fe5829a27cac37a4b0996395e2dc25705b07b0e8b5c57f737d04b05bdeac243
+MD5 f102c15e56c4959499902357f2671f6e files/postupgrade-en.txt 1402
+RMD160 90be1857d217e623ebdca66026985b9ee30d05e8 files/postupgrade-en.txt 1402
+SHA256 2fe5829a27cac37a4b0996395e2dc25705b07b0e8b5c57f737d04b05bdeac243 files/postupgrade-en.txt 1402
+DIST wordpress-2.3.2.tar.gz 884822 RMD160 2432bf7a508d93e4d21e5a5d73518931dc9b936d SHA1 35583cdfcc4f046e734848b659cd2b6589d13450 SHA256 fb14e3d41964091be03772941d657dfba49f2598c14672466a39520e95272168
+EBUILD wordpress-2.3.2.ebuild 1517 RMD160 778002496692787397523767777b1207dd17227a SHA1 13baeaaadeba4fed8b63ac987b9184b74dfe91b2 SHA256 82e708d11e1dbdea4f83ef86d1008e1371917adc23b63176a2be4ec06ef8807c
+MD5 b35f1468f3dac13c75f8e975f0897373 wordpress-2.3.2.ebuild 1517
+RMD160 778002496692787397523767777b1207dd17227a wordpress-2.3.2.ebuild 1517
+SHA256 82e708d11e1dbdea4f83ef86d1008e1371917adc23b63176a2be4ec06ef8807c wordpress-2.3.2.ebuild 1517
+MISC ChangeLog 14733 RMD160 291f26454d8635ca85b3c3fbfa50b0861cf624bf SHA1 63b503f38ace08375174958d742e683818f680f3 SHA256 af0865c5622dbbc7c9735e79b6b4a02ae4066d3dd563a4dc41aa278cc3494dea
+MD5 da0c3c519c75a45b4241cdbbee69a4a8 ChangeLog 14733
+RMD160 291f26454d8635ca85b3c3fbfa50b0861cf624bf ChangeLog 14733
+SHA256 af0865c5622dbbc7c9735e79b6b4a02ae4066d3dd563a4dc41aa278cc3494dea ChangeLog 14733
MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0
MD5 7b6e6cf3eaafa0480ab619fadfb37e2e metadata.xml 162
RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 metadata.xml 162
SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0 metadata.xml 162
-MD5 4f02951bc3eda1cbc28da7324b1968b3 files/digest-wordpress-2.2.3 247
-RMD160 2cbd319e31c5a8cce97e49c728d15d15a19d8cbb files/digest-wordpress-2.2.3 247
-SHA256 39ac777901436bb037773a5db5a268e31e12b8e9f9ffa11c98e9ff1b47f87870 files/digest-wordpress-2.2.3 247
-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
+MD5 2593d2fc864f850e43e39bc4c1f074b0 files/digest-wordpress-2.3.2 247
+RMD160 02c7570dd48595d251a520423c8d982549570dfa files/digest-wordpress-2.3.2 247
+SHA256 704bb624ab4a0568f255265653b8cee108189934a8995260ce1d60762ecc21c7 files/digest-wordpress-2.3.2 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFHJyF1EEcxCpcDQ74RAvW4AJ9/TqP4N7U+xRU1HRIQqn/7L53zQwCfTNxu
-kJRFj3YuNdk8En3IGdfcfMc=
-=Vj6S
+iD8DBQFHgxhlEEcxCpcDQ74RAlrvAKCdInUw9s/56IguDUmAvaiY2TtZdACeLlAS
+GX1o01Ndfm+28fWzVw8iNdc=
+=0C5P
-----END PGP SIGNATURE-----
diff --git a/www-apps/wordpress/files/digest-wordpress-2.2.3 b/www-apps/wordpress/files/digest-wordpress-2.2.3
deleted file mode 100644
index d62d4654c54a..000000000000
--- a/www-apps/wordpress/files/digest-wordpress-2.2.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 98c1e611f8533d4fe4e8f995b8d83110 wordpress-2.2.3.tar.gz 824904
-RMD160 40e44c5950ee3072ab2abb0a97fc867c0cf780e6 wordpress-2.2.3.tar.gz 824904
-SHA256 6af35c864417fe3e5d4b2b2485cdedec7879f5f170088de79a71bc8cfb54110f wordpress-2.2.3.tar.gz 824904
diff --git a/www-apps/wordpress/files/digest-wordpress-2.3 b/www-apps/wordpress/files/digest-wordpress-2.3
deleted file mode 100644
index 8b911094b19c..000000000000
--- a/www-apps/wordpress/files/digest-wordpress-2.3
+++ /dev/null
@@ -1,3 +0,0 @@
-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/files/digest-wordpress-2.3.1 b/www-apps/wordpress/files/digest-wordpress-2.3.1
deleted file mode 100644
index 5e4bb9b39578..000000000000
--- a/www-apps/wordpress/files/digest-wordpress-2.3.1
+++ /dev/null
@@ -1,3 +0,0 @@
-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/digest-wordpress-2.3.2 b/www-apps/wordpress/files/digest-wordpress-2.3.2
new file mode 100644
index 000000000000..ea0f7201d527
--- /dev/null
+++ b/www-apps/wordpress/files/digest-wordpress-2.3.2
@@ -0,0 +1,3 @@
+MD5 7489b5f2433f3b2096aa02bbca09b069 wordpress-2.3.2.tar.gz 884822
+RMD160 2432bf7a508d93e4d21e5a5d73518931dc9b936d wordpress-2.3.2.tar.gz 884822
+SHA256 fb14e3d41964091be03772941d657dfba49f2598c14672466a39520e95272168 wordpress-2.3.2.tar.gz 884822
diff --git a/www-apps/wordpress/files/postinstall-en.txt b/www-apps/wordpress/files/postinstall-en.txt
index 695840d5cd17..ef25510f5b7f 100644
--- a/www-apps/wordpress/files/postinstall-en.txt
+++ b/www-apps/wordpress/files/postinstall-en.txt
@@ -31,3 +31,19 @@ Once this is done, you can log in to WordPress at
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
------------------------------------------------------------------------
+!!!!!!!!! SECURITY WARNING !!!!!!!!!!!
+
+Wordpress has had a history of serious security flaws. Any application
+with less widespread use but the same amount of security issues would
+have been removed from the tree.
+
+We decided to keep the application in the unstable portage tree so that
+it get's some level of attention from our security team. Currently
+you can expect us to react within 40 days of a reported security
+problem.
+
+This still means that you might open up your installation to hackers for
+about a month after an issue has been made public. This is a severe
+risk and you should keep a close eye on the common security trackers so
+that you are able to fix problems with your installation yourself if
+required.
diff --git a/www-apps/wordpress/files/postupgrade-en.txt b/www-apps/wordpress/files/postupgrade-en.txt
index bc0e55fc7a35..e205c82a7a42 100644
--- a/www-apps/wordpress/files/postupgrade-en.txt
+++ b/www-apps/wordpress/files/postupgrade-en.txt
@@ -11,3 +11,20 @@ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/wp-admin/upgrade.php
and follow the instructions on the screen.
------------------------------------------------------------------------
+!!!!!!!!! SECURITY WARNING !!!!!!!!!!!
+
+Wordpress has had a history of serious security flaws. Any application
+with less widespread use but the same amount of security issues would
+have been removed from the tree.
+
+We decided to keep the application in the unstable portage tree so that
+it get's some level of attention from our security team. Currently
+you can expect us to react within 40 days of a reported security
+problem.
+
+This still means that you might open up your installation to hackers for
+about a month after an issue has been made public. This is a severe
+risk and you should keep a close eye on the common security trackers so
+that you are able to fix problems with your installation yourself if
+required.
+
diff --git a/www-apps/wordpress/wordpress-2.2.3.ebuild b/www-apps/wordpress/wordpress-2.2.3.ebuild
deleted file mode 100644
index d5bfb42fe9fe..000000000000
--- a/www-apps/wordpress/wordpress-2.2.3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# 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."
-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 /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
-
- ewarn
- 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 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
- 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
-
- 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-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
- webapp_src_install
-}
diff --git a/www-apps/wordpress/wordpress-2.3.1.ebuild b/www-apps/wordpress/wordpress-2.3.2.ebuild
index af17d91a54c7..95efa807024e 100644
--- a/www-apps/wordpress/wordpress-2.3.1.ebuild
+++ b/www-apps/wordpress/wordpress-2.3.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.3.1.ebuild,v 1.1 2007/10/30 12:19:59 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.3.2.ebuild,v 1.1 2008/01/08 06:29:52 wrobel Exp $
inherit webapp eutils depend.php
diff --git a/www-apps/wordpress/wordpress-2.3.ebuild b/www-apps/wordpress/wordpress-2.3.ebuild
deleted file mode 100644
index 01d0a46c3313..000000000000
--- a/www-apps/wordpress/wordpress-2.3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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
-}