diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 9a585ee..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -wordpress-2.0.4.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba1cbea --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +wordpress-2.2.2.tar.gz +wordpress-2.2.3.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index b7ae9bc..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wordpress -# $Id$ -NAME := wordpress -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/README.fedora.wordpress b/README.fedora.wordpress index 060e2c1..469b6e0 100644 --- a/README.fedora.wordpress +++ b/README.fedora.wordpress @@ -1,6 +1,9 @@ Wordpress is a database driven blogging program designed to make it exceedingly easy to publish an online blog, sometimes also called a weblog or journal. + +CONFIGURING WORDPRESS FOR THE FIRST TIME +---------------------------------------- Once this package is installed, there are a few configuration items which need to be performed before the blog is usable. First, you need to establish a username and password to connect to your MySQL database as, and make both @@ -21,6 +24,12 @@ username / password inside MySQL first: Bye # +Under certain curcumstances, you may need to run variations of the "grant" +command: +mysql> grant all privileges on wordpress.* to wordpress@localhost identified by 'wordpress'; + OR +mysql> grant all privileges on wordpress.* to wordpress@'%' identified by 'wordpress'; + This has created an empty database called 'wordpress', created a user named 'wordpress' with a password of 'wordpress', and given the 'wordpress' user total permission over the 'wordpress' database. Obviously, you'll want to select a @@ -37,3 +46,28 @@ Once that's done and the database server and web server have been started, open a web browser to http://localhost/wordpress/wp-admin/install.php and follow the instructions given to you on the pages you see to set up the database tables and begin publishing your blog. + + +UPGRADING WORDPRESS +------------------- +In order to upgrade from a 2.1 series package, there are several steps you +will need to take. If you've already performed the 'yum update', all is not +lost, and you more than likely still be able to complete the upgrade +painlessly. + +First, you will want to back up your entire database. This is simply common +sense, but it is also mentioned explicitly in Wordpress's upgrade instructions. + +You should have disabled all your plugins. Having old plugins still active +could cause problems, as the old plugins may not be compatible with the new +version of Wordpress. + +Once all the plugins are disabled, run the actual yum update. Once this +completes, you should point a browser at +http:///wordpress/wp-admin/upgrade.php and follow the +instructions that appear in the browser window. Once this is completed, you +can begin reactivating plugins one at a time. + +If you need a more detailed upgrade document, or you run into problems, please +see the Wordpress upgrade documentation at +http://codex.wordpress.org/Upgrading_WordPress#Detailed_Instructions diff --git a/sources b/sources index acfe7d1..667782e 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -0de8e4b2051ce9313a23d7726210d5e3 wordpress-2.0.4.tar.gz +a87666c6fe6cb4db94e2ae0531e5b633 wordpress-2.2.2.tar.gz +98c1e611f8533d4fe4e8f995b8d83110 wordpress-2.2.3.tar.gz diff --git a/wordpress.spec b/wordpress.spec index 2695aa0..09221a1 100644 --- a/wordpress.spec +++ b/wordpress.spec @@ -1,10 +1,10 @@ Summary: WordPress blogging software URL: http://www.wordpress.org Name: wordpress -Version: 2.0.4 +Version: 2.2.3 Group: Applications/Publishing Release: 0%{?dist} -License: GPL +License: GPLv2 # Source0 with name-version does not work for web retrieval, # latest.tar.gz does not work for build # Source0: http://wordpress.org/latest.tar.gz @@ -12,7 +12,7 @@ Source0: http://wordpress.org/%{name}-%{version}.tar.gz Source1: wordpress-httpd-conf Source2: README.fedora.wordpress BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: php >= 4.1.0, httpd, mysql-server, php-mysql +Requires: php >= 4.2.0, httpd, php-mysql BuildArch: noarch %description @@ -50,6 +50,7 @@ rm -rf ${RPM_BUILD_ROOT} %doc license.txt %doc readme.html %doc README.fedora +%{_datadir}/wordpress/wp-app.php %{_datadir}/wordpress/wp-atom.php %{_datadir}/wordpress/wp-blog-header.php %{_datadir}/wordpress/wp-comments-post.php @@ -57,6 +58,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/wordpress/wp-config-sample.php %{_datadir}/wordpress/wp-config.php %config(noreplace) %{_sysconfdir}/wordpress/wp-config.php +%{_datadir}/wordpress/wp-cron.php %{_datadir}/wordpress/wp-feed.php %{_datadir}/wordpress/wp-links-opml.php %{_datadir}/wordpress/wp-login.php @@ -72,6 +74,46 @@ rm -rf ${RPM_BUILD_ROOT} %dir %{_sysconfdir}/wordpress %changelog +* Tue Sep 11 2007 Adrian Reber - 2.2.3-0 +- updated to 2.2.3 (security release) + +* Wed Aug 29 2007 John Berninger - 2.2.2-0 +- update to upstream 2.2.2 +- license tag update + +* Wed Jul 4 2007 John Berninger - 2.2.1-1 +- update to upstream 2.2.1 to fix various vulnerabilities + +* Mon Apr 16 2007 John Berninger - 2.1.3-1 +- update to 2.1.3 final - bz235912 + +* Mon Mar 26 2007 John Berninger - 2.1.3-rc2 +- update to 2.1.3rc2 for bz 233703 + +* Sat Mar 3 2007 John Berninger - 2.1.2-0 +- update to 2.1.2 - backdoor exploit introduced upstream in 2.1.1 - bz 230825 + +* Tue Feb 27 2007 John Berninger - 2.1.1-0 +- update to 2.1.1 for vuln fix - bz 229991 + +* Wed Jan 31 2007 John Berninger - 2.1-0 +- update to v 2.1 to fix multiple bz/vuln's + +* Wed Dec 27 2006 John Berninger - 2.0.5-1 +- ver 2.0.5 to fix bz 220818 + +* Sun Dec 3 2006 John Berninger - 2.0.4-4 +- Remove mysql-server dependency for real this time. + +* Sun Dec 3 2006 John Berninger - 2.0.4-3 +- Remove mysql-server dependency + +* Sun Dec 3 2006 John Berninger - 2.0.4-2 +- Fix wp-db-backup.php vuln in BZ 213985 + +* Thu Oct 26 2006 John Berninger - 2.0.4-1 +- Doc fix for BZ 207822 + * Sat Aug 12 2006 John Berninger - 2.0.4-0 - Upstream security vulns - bz 201989