diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 9a61071..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -wordpress-2.1.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24e6943 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wordpress-2.5.1.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 8a4518d..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 @@ -43,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 4a2a426..bc725d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d480bcaff18c4751eda572be878ef7bc wordpress-2.1.3.tar.gz +b1a40387006e54dcbd963d0cb5da0df4 wordpress-2.5.1.tar.gz diff --git a/wordpress.spec b/wordpress.spec index e05b496..16e3aeb 100644 --- a/wordpress.spec +++ b/wordpress.spec @@ -1,13 +1,10 @@ Summary: WordPress blogging software URL: http://www.wordpress.org Name: wordpress -Version: 2.1.3 +Version: 2.5.1 Group: Applications/Publishing Release: 1%{?dist} -License: GPL -# 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 +License: GPLv2 Source0: http://wordpress.org/%{name}-%{version}.tar.gz Source1: wordpress-httpd-conf Source2: README.fedora.wordpress @@ -21,6 +18,8 @@ almost trivial, to get information out to people on the web. %prep %setup -q -n wordpress +# disable-wordpress-core-update, updates are always installed via rpm +sed -i -e "s,add_action,#add_action,g" wp-includes/update.php %install mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress @@ -51,6 +50,7 @@ rm -rf ${RPM_BUILD_ROOT} %doc readme.html %doc README.fedora %{_datadir}/wordpress/wp-atom.php +%{_datadir}/wordpress/wp-app.php %{_datadir}/wordpress/wp-blog-header.php %{_datadir}/wordpress/wp-comments-post.php %{_datadir}/wordpress/wp-commentsrss2.php @@ -73,6 +73,29 @@ rm -rf ${RPM_BUILD_ROOT} %dir %{_sysconfdir}/wordpress %changelog +* Sat Apr 26 2008 Adrian Reber - 2.5.1-1 +- updated to 2.5.1 for security fixes + +* Fri Feb 8 2008 John Berninger - 2.3.3-0 +- update to 2.3.3 for security fixes - BZ 431547 + +* Sun Dec 30 2007 Adrian Reber - 2.3.2-1 +- updated to 2.3.2 (bz 426431, Draft Information Disclosure) + +* Tue Oct 30 2007 Adrian Reber - 2.3.1-1 +- updated to 2.3.1 (bz 357731, wordpress XSS issue) + +* Mon Oct 15 2007 Adrian Reber - 2.3-1 +- updated to 2.3 +- disabled wordpress-core-update + +* 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 + * Mon Apr 16 2007 john Berninger - 2.1.3-1 - update to 2.1.3 final - bz235912 @@ -109,7 +132,7 @@ rm -rf ${RPM_BUILD_ROOT} * Tue Jun 20 2006 John Berninger - 2.0.3-2 - Remove use of installprefix macro -- %{_datadir}/wordpress/wp-config.php is not a config file +- %%{_datadir}/wordpress/wp-config.php is not a config file - Symlink is relative * Mon Jun 19 2006 John Berninger - 2.0.3-1