Compare commits

...
Sign in to create a new pull request.

11 commits

Author SHA1 Message Date
Fedora Release Engineering
69f9c86dc7 dist-git conversion 2010-07-29 15:23:52 +00:00
Bill Nottingham
64c26ca164 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:18:05 +00:00
f5cb3c42f6 - updated to 2.8.6 (Security Release) 2009-11-16 09:44:23 +00:00
8cda8d95c4 - updated to 2.8.5 (Hardening Release) 2009-10-21 14:15:26 +00:00
f874d58531 - updated to 2.8.4 (security fixes were already available with 2.8.3-2) 2009-08-30 19:29:37 +00:00
3a4dfa382b - another security update to fix "Remote admin reset password":
http://lists.grok.org.uk/pipermail/full-disclosure/2009-August/070137.h
    tml
2009-08-11 10:28:10 +00:00
778ca6ce19 - updated to 2.8.3 for security fixes 2009-08-05 09:48:32 +00:00
629797fab9 - updated to 2.8.3 for security fixes 2009-08-05 07:45:37 +00:00
0e3a27248f - updated to 2.8.2 for security fixes - BZ 512900
- fixed "wrong-script-end-of-line-encoding" of license.txt
- correctly disable auto update check
- fixed an error message from 'find' during the build
2009-07-28 08:52:42 +00:00
157e22ad70 - updated to 2.8.1 for security fixes - BZ 510745 2009-07-10 19:44:08 +00:00
Jesse Keating
ec838a5461 Initialize branch F-11 for wordpress 2009-04-15 05:11:15 +00:00
5 changed files with 45 additions and 29 deletions

View file

@ -1 +0,0 @@
wordpress-2.7.1.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wordpress-2.8.6.tar.gz

View file

@ -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)

View file

@ -1 +1 @@
3f1e1607e5ce1328c305e0192ff3352a wordpress-2.7.1.tar.gz
1956f09f2abe74ed85e0de04d511d433 wordpress-2.8.6.tar.gz

View file

@ -1,7 +1,7 @@
Summary: WordPress blogging software
URL: http://www.wordpress.org
Name: wordpress
Version: 2.7.1
Version: 2.8.6
Group: Applications/Publishing
Release: 2%{?dist}
License: GPLv2
@ -18,9 +18,15 @@ 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
# this does not disable the wordpress-plugins-update check
sed -i -e "s,^add_action,#add_action,g" wp-includes/update.php
# disable wp_version_check, updates are always installed via rpm
sed -i -e "s,\(.*\)'wp_version_check'\(.*\),#\1'wp_version_check'\2,g" \
wp-includes/update.php
# disable update_nag() function
sed -i -e "s,\(.*\)'update_nag'\(.*\),#\1'update_nag'\2,g; \
s,\(.*\)\$msg .=\(.*\),\1\$msg .= '';,g;" \
wp-admin/includes/update.php
# fix file encoding
sed -i -e 's/\r//' license.txt
%install
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
@ -28,11 +34,11 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/wordpress
cat wp-config-sample.php | sed -e "s|dirname(__FILE__).'/'|'/usr/share/wordpress/'|g" > \
${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
${RPM_BUILD_ROOT}%{_sysconfdir}/wordpress/wp-config.php
/bin/ln -sf ../../../etc/wordpress/wp-config.php ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-config.php
/bin/cp %{SOURCE2} ./README.fedora
# Remove empty files to make rpmlint happy
find ${RPM_BUILD_ROOT} -empty -exec rm -f {} \;
find ${RPM_BUILD_ROOT} -type f -empty -exec rm -f {} \;
# These are docs, remove them from here, docify them later
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
@ -75,6 +81,37 @@ rm -rf ${RPM_BUILD_ROOT}
%dir %{_sysconfdir}/wordpress
%changelog
* Mon Nov 16 2009 Adrian Reber <adrian@lisas.de> - 2.8.6-2
- updated to 2.8.6 (Security Release)
* Wed Oct 21 2009 Adrian Reber <adrian@lisas.de> - 2.8.5-1
- updated to 2.8.5 (Hardening Release)
* Sun Aug 30 2009 Adrian Reber <adrian@lisas.de> - 2.8.4-1
- updated to 2.8.4 (security fixes were already available with 2.8.3-2)
* Tue Aug 11 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-2
- another security update to fix "Remote admin reset password":
http://lists.grok.org.uk/pipermail/full-disclosure/2009-August/070137.html
* Mon Aug 03 2009 Adrian Reber <adrian@lisas.de> - 2.8.3-1
- updated to 2.8.3 for security fixes
* Tue Jul 28 2009 Adrian Reber <adrian@lisas.de> - 2.8.2-1
- updated to 2.8.2 for security fixes - BZ 512900
- fixed "wrong-script-end-of-line-encoding" of license.txt
- correctly disable auto update check
- fixed an error message from 'find' during the build
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jul 10 2009 Adrian Reber <adrian@lisas.de> - 2.8.1-1
- updated to 2.8.1 for security fixes - BZ 510745
* Mon Jun 22 2009 Adrian Reber <adrian@lisas.de> - 2.8-1
- updated to 2.8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild