Compare commits

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

6 commits

Author SHA1 Message Date
Till Maas
96f067aa89 Deprecated by upstream as of wordpress 3.0.x. Obsoleted by wordpress
package, which now includes a README on migrating from -mu.
2014-09-16 21:47:48 +02:00
Fedora Release Engineering
7733146cb5 dist-git conversion 2010-07-29 15:24:01 +00:00
Dennis Gilmore
57457bfc7b Initialize branch EL-6 for wordpress-mu 2010-05-08 02:28:38 +00:00
Bret Richard McMillan
b3244d9d88 update to 2.9.1.1 2010-01-29 18:52:15 +00:00
Bret Richard McMillan
6ab28a864b update to 2.8.6 2009-11-30 22:12:42 +00:00
Bill Nottingham
479d07cf70 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:18:11 +00:00
8 changed files with 2 additions and 215 deletions

View file

@ -1,3 +0,0 @@
wordpress-mu-2.7.tar.gz
wordpress-mu-2.8.2.tar.gz
wordpress-mu-2.8.4a.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wordpress-mu
# $Id$
NAME := wordpress-mu
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,20 +0,0 @@
Alias /wordpress-mu /usr/share/wordpress-mu
<Directory /usr/share/wordpress-mu>
AllowOverride Options
RewriteEngine On
RewriteBase /wordpress-mu/
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</Directory>

2
dead.package Normal file
View file

@ -0,0 +1,2 @@
Deprecated by upstream as of wordpress 3.0.x. Obsoleted by wordpress
package, which now includes a README on migrating from -mu.

View file

@ -1 +0,0 @@
wordpress-mu-2_6_1-1_fc8:HEAD:wordpress-mu-2.6.1-1.fc8.src.rpm:1220452323

View file

@ -1,3 +0,0 @@
b7d119c663833a3fe00d30224530447e wordpress-mu-2.7.tar.gz
5b412d16fdcc590698af565aa50d046c wordpress-mu-2.8.2.tar.gz
72dcdfaa60ede87d320b479579028d5e wordpress-mu-2.8.4a.tar.gz

View file

@ -1,25 +0,0 @@
Alias /wordpress-mu /usr/share/wordpress-mu
<Directory /usr/share/wordpress-mu>
AllowOverride Options
RewriteEngine On
RewriteBase /wordpress-mu/
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</Directory>

View file

@ -1,142 +0,0 @@
Summary: WordPress-MU multi-user blogging software
URL: http://mu.wordpress.org/latest.tar.gz
Name: wordpress-mu
Version: 2.8.4a
Release: 1%{?dist}
Group: Applications/Publishing
License: GPLv2
Source0: %{name}-%{version}.tar.gz
Source1: wordpress-mu-httpd-conf
Source2: README.fedora.wordpress-mu
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php >= 4.1.0, httpd, php-mysql
BuildArch: noarch
%description
WordPress-MU is a derivative of the WordPress blogging codebase, to allow
one instance to serve multiple users.
%prep
%setup -q -n wordpress-mu
# disable-wordpress-core-update, updates are always installed via rpm
#
# the sed script from wordpress.spec doesn't work due to if/else statement in upstream wordpress-mu's update.php
# sed -i -e "s,add_action,#add_action,g" wp-includes/update.php
echo "<?php // update script removed, updates via RPMs for Fedora ?>" > wp-includes/update.php
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/wordpress-mu
mkdir -p %{buildroot}%{_sysconfdir}/wordpress-mu
install -m 0644 -D -p %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/wordpress-mu.conf
install -m 0644 -D -p %{SOURCE2} %{buildroot}%{_docdir}/%{name}-%{version}/README.fedora
cp -pr * %{buildroot}%{_datadir}/wordpress-mu
# fix weird upstream perms...
chmod 0644 %{buildroot}%{_datadir}/wordpress-mu/wp-includes/js/tinymce/plugins/spellchecker/css/content.css
chmod 0664 %{buildroot}%{_datadir}/wordpress-mu/wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js
chmod 0664 %{buildroot}%{_datadir}/wordpress-mu/wp-includes/js/tinymce/plugins/spellchecker/config.php
# since we're using /etc/httpd/conf.d, don't do the funky .htaccess stuff
# that the installer wants
echo "# please see /etc/httpd/conf.d/wordpress-mu.conf" > %{buildroot}%{_datadir}/wordpress-mu/htaccess.dist
# Remove empty files to make rpmlint happy
find %{buildroot} -empty -exec rm -f {} \;
# These are docs, remove them from here, docify them later
rm -f %{buildroot}%{_datadir}/wordpress-mu/{license.txt,README.txt}
# remove these as well, detritus
rm -f %{buildroot}%{_datadir}/wordpress-mu/{wordpress-mu-httpd-conf,README.fedora}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wordpress-mu.conf
%dir %{_datadir}/wordpress-mu
%{_datadir}/wordpress-mu/htaccess.dist
%{_datadir}/wordpress-mu/wp-admin
%{_datadir}/wordpress-mu/wp-content
%{_datadir}/wordpress-mu/wp-includes
%{_datadir}/wordpress-mu/index.php
%doc license.txt
%doc README.txt
%{_datadir}/wordpress-mu/index-install.php
%{_datadir}/wordpress-mu/wp-activate.php
%{_datadir}/wordpress-mu/wp-atom.php
%{_datadir}/wordpress-mu/wp-app.php
%{_datadir}/wordpress-mu/wp-blog-header.php
%{_datadir}/wordpress-mu/wp-comments-post.php
%{_datadir}/wordpress-mu/wp-commentsrss2.php
%{_datadir}/wordpress-mu/wp-config-sample.php
%{_datadir}/wordpress-mu/wp-cron.php
%{_datadir}/wordpress-mu/wp-feed.php
%{_datadir}/wordpress-mu/wp-load.php
%{_datadir}/wordpress-mu/wp-links-opml.php
%{_datadir}/wordpress-mu/wp-login.php
%{_datadir}/wordpress-mu/wp-mail.php
%{_datadir}/wordpress-mu/wp-pass.php
%{_datadir}/wordpress-mu/wp-rdf.php
%{_datadir}/wordpress-mu/wp-register.php
%{_datadir}/wordpress-mu/wp-rss.php
%{_datadir}/wordpress-mu/wp-rss2.php
%{_datadir}/wordpress-mu/wp-settings.php
%{_datadir}/wordpress-mu/wpmu-settings.php
%{_datadir}/wordpress-mu/wp-signup.php
%{_datadir}/wordpress-mu/wp-trackback.php
%{_datadir}/wordpress-mu/xmlrpc.php
%dir %{_sysconfdir}/wordpress-mu
%changelog
* Wed Aug 12 2009 Bret McMillan <bretm@redhat.com> - 2.8.4a-1
- Update to WordPress MU 2.8.4a; several security fixes included
* Fri Jul 31 2009 Bret McMillan <bretm@redhat.com> - 2.8.2-1
- Update to WordPress MU 2.8.2
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Feb 12 2009 Bret McMillan <bretm@redhat.com> - 2.7-4
- Update to version 2.7
- Alter source prep so I can still use upstream's tarball
- favicon.ico removed from manifest
* Mon Dec 1 2008 Bret McMillan <bretm@redhat.com> - 2.6.5-1
- Update to 2.6.5
- http://wordpress.org/development/2008/11/wordpress-265/
- http://ocaoimh.ie/2008/11/25/wordpress-mu-265/
- Fixes 1 XSS security issue, 3 bugs
* Wed Sep 3 2008 Bret McMillan <bretm@redhat.com> - 2.6.1-1
- update to 2.6.1
* Tue Jul 29 2008 Bret McMillan <bretm@redhat.com> - 2.6-7
- added build section to the spec file
* Wed Jul 29 2008 Bret McMillan <bretm@redhat.com> - 2.6-6
- rebasing to wpmu 2.6
* Fri May 30 2008 Bret McMillan <bretm@redhat.com> - 1.5.1-2
- trying to clean up how we're dealing with htaccess.dist
* Mon May 26 2008 Bret McMillan <bretm@redhat.com> - 1.5.1-1
- update to 1.5.1; getting ready for Fedora submission
* Fri Apr 25 2008 Bret McMillan <bretm@redhat.com> - 1.3.3-1
- initial version; copying heuristics from the base fedora wordpress pkg