From f22c381731ef9eb808197caed519e17888d1c4ce Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Thu, 4 Jan 2007 20:17:04 +0000 Subject: [PATCH] Security fix, bug 159229 Package-Manager: portage-2.1.1-r2 --- www-apps/wordpress/Manifest | 36 +++---- .../wordpress/files/digest-wordpress-2.0.5 | 3 - www-apps/wordpress/wordpress-2.0.5.ebuild | 96 ------------------- 3 files changed, 15 insertions(+), 120 deletions(-) delete mode 100644 www-apps/wordpress/files/digest-wordpress-2.0.5 delete mode 100644 www-apps/wordpress/wordpress-2.0.5.ebuild diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 1c35b6d56a84..3b204e1e6a41 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,30 +1,24 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - 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 +AUX wordpress-2.0.5-templates-sec.diff 705 RMD160 dd753b82f9617371f01f1ae6beec7fbaadcde6c9 SHA1 5cbecda9343c7f77d8e21ab8dc56eb3ae0d97182 SHA256 b7999c11c59dd04e489222657b9303457b9eb943978b0368b01a9bc885e4065a +MD5 46c575c0054a037c74283dc74f782789 files/wordpress-2.0.5-templates-sec.diff 705 +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.5.tar.gz 517574 RMD160 dcf6d225c25d74a659717b682827d32ddbfdf939 SHA1 754aed73994043901f40208fd4143cc50a168f34 SHA256 e4bb49dabc68e10e973a23ea86dd5748594f226ddb9298bab823e7dcc3c859cf -EBUILD wordpress-2.0.5.ebuild 3056 RMD160 bda6575732bab6a42fc6b81d33e8e1172b5f460a SHA1 cbd65d403d28e0dfb949ce3a5469a9f7ae79bc36 SHA256 fd2b5b152deb943d0536a1d85f8fd84b8fd590b1bbf78ad2f9913061dea99292 -MD5 f47077e2610a8608016ddcb30cf411fc wordpress-2.0.5.ebuild 3056 -RMD160 bda6575732bab6a42fc6b81d33e8e1172b5f460a wordpress-2.0.5.ebuild 3056 -SHA256 fd2b5b152deb943d0536a1d85f8fd84b8fd590b1bbf78ad2f9913061dea99292 wordpress-2.0.5.ebuild 3056 -MISC ChangeLog 10981 RMD160 b4f3d57e990820a680fe847eebdbfa5f13e90b36 SHA1 7776cddfedde21b582ec609900b3e5aa61c82438 SHA256 94b3e41ef0914f3c1ae231dc338c58a55ccfacbbc4d460ef3e61aa1418c62cd3 -MD5 a0b68d9122ef4f744e4f1c8399562a23 ChangeLog 10981 -RMD160 b4f3d57e990820a680fe847eebdbfa5f13e90b36 ChangeLog 10981 -SHA256 94b3e41ef0914f3c1ae231dc338c58a55ccfacbbc4d460ef3e61aa1418c62cd3 ChangeLog 10981 +EBUILD wordpress-2.0.5-r1.ebuild 3094 RMD160 241c3675f77be9822749f8a8b69f6dd0105ece37 SHA1 a3cdc473eb45d1a7e1cb8029b7c0a408de687d2c SHA256 519cd5d97fc5037ad376baaf8e58fc5b9c88bba2a4f7f5656af2692fc6f0735c +MD5 d75a9ddc633e4fd1a4ed8de56b425107 wordpress-2.0.5-r1.ebuild 3094 +RMD160 241c3675f77be9822749f8a8b69f6dd0105ece37 wordpress-2.0.5-r1.ebuild 3094 +SHA256 519cd5d97fc5037ad376baaf8e58fc5b9c88bba2a4f7f5656af2692fc6f0735c wordpress-2.0.5-r1.ebuild 3094 +MISC ChangeLog 11194 RMD160 0beb0045216f491143f9d9aaac93667f5a9795cb SHA1 675c9c2bab73c0763c009dea11184621dc8cc1f8 SHA256 f37e34471d3aa3ab3158f2399cb6e6b0faf62b755dc1b512f301abb6180de616 +MD5 35178253d00d29ad577c46f7759377e8 ChangeLog 11194 +RMD160 0beb0045216f491143f9d9aaac93667f5a9795cb ChangeLog 11194 +SHA256 f37e34471d3aa3ab3158f2399cb6e6b0faf62b755dc1b512f301abb6180de616 ChangeLog 11194 MISC metadata.xml 250 RMD160 a949fd7db409016df176aa9ad2c3a70e8a30fb74 SHA1 c09e27785e1d60437adc54c13347b28e1dd16530 SHA256 c13737189b14763e281f6f246666eaaa576c6b9c0ff85938f052d75bad6ba4a6 MD5 d2dae098f39db5649196fc948cb7e8fd metadata.xml 250 RMD160 a949fd7db409016df176aa9ad2c3a70e8a30fb74 metadata.xml 250 SHA256 c13737189b14763e281f6f246666eaaa576c6b9c0ff85938f052d75bad6ba4a6 metadata.xml 250 -MD5 bc403ca7b0bc83c1c7f4376c722be93b files/digest-wordpress-2.0.5 247 -RMD160 301f71ef3e5544fce4a09e6ec109a8b838af4f7f files/digest-wordpress-2.0.5 247 -SHA256 b30a6bc96388bc6a7307ce2b69a8d638eb22b55deee2579b6444b32455a37bd2 files/digest-wordpress-2.0.5 247 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFZhqsKolR564NvWYRAi9NAKCD2/s7Di/YPzjweGLiW//SiPfSJgCdGWZ1 -8q2IcHVUV8pu42S2AJRbAos= -=p2oy ------END PGP SIGNATURE----- +MD5 bc403ca7b0bc83c1c7f4376c722be93b files/digest-wordpress-2.0.5-r1 247 +RMD160 301f71ef3e5544fce4a09e6ec109a8b838af4f7f files/digest-wordpress-2.0.5-r1 247 +SHA256 b30a6bc96388bc6a7307ce2b69a8d638eb22b55deee2579b6444b32455a37bd2 files/digest-wordpress-2.0.5-r1 247 diff --git a/www-apps/wordpress/files/digest-wordpress-2.0.5 b/www-apps/wordpress/files/digest-wordpress-2.0.5 deleted file mode 100644 index a64b1f4054c8..000000000000 --- a/www-apps/wordpress/files/digest-wordpress-2.0.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f16ffc47e22ba3540a1e4f32354fae0e wordpress-2.0.5.tar.gz 517574 -RMD160 dcf6d225c25d74a659717b682827d32ddbfdf939 wordpress-2.0.5.tar.gz 517574 -SHA256 e4bb49dabc68e10e973a23ea86dd5748594f226ddb9298bab823e7dcc3c859cf wordpress-2.0.5.tar.gz 517574 diff --git a/www-apps/wordpress/wordpress-2.0.5.ebuild b/www-apps/wordpress/wordpress-2.0.5.ebuild deleted file mode 100644 index f848a8d9042e..000000000000 --- a/www-apps/wordpress/wordpress-2.0.5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.0.5.ebuild,v 1.7 2006/11/23 21:50:54 vivo Exp $ - -inherit webapp eutils - -#Wordpress releases have a release name tagged on the end of the version on the tar.gz files -#MY_EXT="mingus" - -DESCRIPTION="Wordpress php and mysql based CMS system." -HOMEPAGE="http://wordpress.org/" -#Latest version is only available in the format! -#Download is renamed by HTTP Header as wordpress-.tar.gz -SRC_URI=mirror://gentoo/${P}.tar.gz -LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc sparc x86" -IUSE="" -RDEPEND="virtual/httpd-php - virtual/mysql" - -DEPEND="${DEPEND} ${RDEPEND}" - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} -# no patch needed anymore -# epatch ${FILESDIR}/${PV}/login-patch.diff -} - -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