From cc248a348063e136a2d9fe62b7d93101ea45dc14 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Wed, 14 Feb 2007 14:14:29 +0000 Subject: [PATCH] Version bump, fix php deps bug 144585, security bug 163817 Package-Manager: portage-2.1.2-r9 --- www-apps/wordpress/ChangeLog | 7 +- www-apps/wordpress/Manifest | 16 +++- .../wordpress/files/digest-wordpress-2.0.8 | 3 + www-apps/wordpress/wordpress-2.0.8.ebuild | 89 +++++++++++++++++++ 4 files changed, 110 insertions(+), 5 deletions(-) create mode 100644 www-apps/wordpress/files/digest-wordpress-2.0.8 create mode 100644 www-apps/wordpress/wordpress-2.0.8.ebuild diff --git a/www-apps/wordpress/ChangeLog b/www-apps/wordpress/ChangeLog index 229187aa3ef0..1251894be5ad 100644 --- a/www-apps/wordpress/ChangeLog +++ b/www-apps/wordpress/ChangeLog @@ -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.69 2007/01/17 03:53:27 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.70 2007/02/14 14:14:28 beandog Exp $ + +*wordpress-2.0.8 (14 Feb 2007) + + 14 Feb 2007; Steve Dibb +wordpress-2.0.8.ebuild: + Version bump, fix php deps bug 144585, security bug 163817 *wordpress-2.0.7 (17 Jan 2007) diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 103beea3eef4..3115734d733f 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -7,14 +7,19 @@ MD5 46c575c0054a037c74283dc74f782789 files/wordpress-2.0.5-templates-sec.diff 70 RMD160 dd753b82f9617371f01f1ae6beec7fbaadcde6c9 files/wordpress-2.0.5-templates-sec.diff 705 SHA256 b7999c11c59dd04e489222657b9303457b9eb943978b0368b01a9bc885e4065a files/wordpress-2.0.5-templates-sec.diff 705 DIST wordpress-2.0.7.tar.gz 519033 RMD160 33eef00c3bd7ccc486402ae1678acbf9531a8b26 SHA1 0543362177ad39d89954fbedfe8a9b88d1b43cec SHA256 ae5521a3597f76e01c084a28bdbb70cd8fc7c7a40e91983f70887bff58aead0a +DIST wordpress-2.0.8.tar.gz 519755 RMD160 f776b0dfffa6734558cced294db821e39151fd52 SHA1 ade7f1cf6a93d5507a4381970551f2df3bf94319 SHA256 86a181e9bd0f5563592d7a64a20772346e39b719fbed052eb648a0b714a72144 EBUILD wordpress-2.0.7.ebuild 2960 RMD160 8ea417e8aa14f3d4e77c1478b4a3a5a999c0df81 SHA1 0a3003af9677f1a54c1f220fcb9b59909d0d64c3 SHA256 72d4b48e09454a8ddf4775691d2e7fd0f99b93f8940680c4116aee0e4f11bd22 MD5 dcf865a09729befbe14e7a76ac629533 wordpress-2.0.7.ebuild 2960 RMD160 8ea417e8aa14f3d4e77c1478b4a3a5a999c0df81 wordpress-2.0.7.ebuild 2960 SHA256 72d4b48e09454a8ddf4775691d2e7fd0f99b93f8940680c4116aee0e4f11bd22 wordpress-2.0.7.ebuild 2960 -MISC ChangeLog 11559 RMD160 fd9bc74aaffd5b68021249dc27fdae889c67dce7 SHA1 715e8234f924868cccf62214fa3ce9ad5b6ca234 SHA256 3e5a4d230a69f647c2fed8e12519d93dfb22f9098074b74657a4d2d904b8ab8e -MD5 60a1dc1e046518f15fe67b5cf9f49ca2 ChangeLog 11559 -RMD160 fd9bc74aaffd5b68021249dc27fdae889c67dce7 ChangeLog 11559 -SHA256 3e5a4d230a69f647c2fed8e12519d93dfb22f9098074b74657a4d2d904b8ab8e ChangeLog 11559 +EBUILD wordpress-2.0.8.ebuild 2788 RMD160 daedaf03536612f15334f40692c9cc0b3d4c4af4 SHA1 d7985aefe27b2cbe7c3ce06d7802852deb29f8b5 SHA256 3ed1bcfc184bad7123bd2da20b1b02883e6d79f09c1147152303c87c4bcda8dc +MD5 cea94abefa1363d494e2b91b2c450647 wordpress-2.0.8.ebuild 2788 +RMD160 daedaf03536612f15334f40692c9cc0b3d4c4af4 wordpress-2.0.8.ebuild 2788 +SHA256 3ed1bcfc184bad7123bd2da20b1b02883e6d79f09c1147152303c87c4bcda8dc wordpress-2.0.8.ebuild 2788 +MISC ChangeLog 11725 RMD160 35fa6ab401316d67f148f14d94cd9436c7cc67c0 SHA1 55139f7283dd14731403484d0ffad208557d987b SHA256 6cf65c012c0abd5935e2e6f550583eba920d69f93962ea292d758b2f2532059c +MD5 61445abbc06cb6998e9fc7b4db84a608 ChangeLog 11725 +RMD160 35fa6ab401316d67f148f14d94cd9436c7cc67c0 ChangeLog 11725 +SHA256 6cf65c012c0abd5935e2e6f550583eba920d69f93962ea292d758b2f2532059c ChangeLog 11725 MISC metadata.xml 250 RMD160 a949fd7db409016df176aa9ad2c3a70e8a30fb74 SHA1 c09e27785e1d60437adc54c13347b28e1dd16530 SHA256 c13737189b14763e281f6f246666eaaa576c6b9c0ff85938f052d75bad6ba4a6 MD5 d2dae098f39db5649196fc948cb7e8fd metadata.xml 250 RMD160 a949fd7db409016df176aa9ad2c3a70e8a30fb74 metadata.xml 250 @@ -22,3 +27,6 @@ SHA256 c13737189b14763e281f6f246666eaaa576c6b9c0ff85938f052d75bad6ba4a6 metadata MD5 9328e0d70896e4067686c235e0aae435 files/digest-wordpress-2.0.7 247 RMD160 68edd3e83697e60fc095f19698e4205573dab54a files/digest-wordpress-2.0.7 247 SHA256 42918fa491225384b442d943bdd1c4e7a28fc3bc3409ece39fac6bf9c38e7570 files/digest-wordpress-2.0.7 247 +MD5 bdc4f8eca63b4ff453c2a524004be574 files/digest-wordpress-2.0.8 247 +RMD160 bb5f46e8c11fbbc657d262e2dd9bf731e272d1f1 files/digest-wordpress-2.0.8 247 +SHA256 0b3507a9b255809a8c90c499623f98a6316ffe8e3e456f43183816f7599f850f files/digest-wordpress-2.0.8 247 diff --git a/www-apps/wordpress/files/digest-wordpress-2.0.8 b/www-apps/wordpress/files/digest-wordpress-2.0.8 new file mode 100644 index 000000000000..31f09b37a925 --- /dev/null +++ b/www-apps/wordpress/files/digest-wordpress-2.0.8 @@ -0,0 +1,3 @@ +MD5 b2f3503fee081233a81f5f4903ec3928 wordpress-2.0.8.tar.gz 519755 +RMD160 f776b0dfffa6734558cced294db821e39151fd52 wordpress-2.0.8.tar.gz 519755 +SHA256 86a181e9bd0f5563592d7a64a20772346e39b719fbed052eb648a0b714a72144 wordpress-2.0.8.tar.gz 519755 diff --git a/www-apps/wordpress/wordpress-2.0.8.ebuild b/www-apps/wordpress/wordpress-2.0.8.ebuild new file mode 100644 index 000000000000..692b49bc18eb --- /dev/null +++ b/www-apps/wordpress/wordpress-2.0.8.ebuild @@ -0,0 +1,89 @@ +# 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.0.8.ebuild,v 1.1 2007/02/14 14:14:28 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 ~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 +} -- 2.26.2