- update to 3.9.2 Security Release #1127547

- config file only readable by apache user (httpd or php-fpm) #1124582

(cherry picked from commit cde8ef0645)
This commit is contained in:
Remi Collet 2014-08-07 16:46:49 +02:00
commit 3853663a94
3 changed files with 13 additions and 5 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ clog
/wordpress-3.8.3.tar.gz
/wordpress-3.9.tar.gz
/wordpress-3.9.1.tar.gz
/wordpress-3.9.2.tar.gz

View file

@ -1 +1 @@
46e303b587ba3d1f951b348d2c477c3c wordpress-3.9.1.tar.gz
c942a75d659b801195e53bcbd4770f31 wordpress-3.9.2.tar.gz

View file

@ -10,9 +10,9 @@
Summary: Blog tool and publishing platform
URL: http://www.wordpress.org
Name: wordpress
Version: 3.9.1
Version: 3.9.2
Group: Applications/Publishing
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Source0: http://wordpress.org/%{name}-%{version}.tar.gz
@ -85,7 +85,7 @@ Requires: php-zip
Requires: php-zlib
# Unbundled libraries
Requires: php-PHPMailer
Requires: webserver
Requires: httpd
%if %{with_cacert}
Requires: ca-certificates
%endif
@ -124,6 +124,9 @@ rm wp-includes/js/plupload/plupload.flash.swf
# swfupload can just die in its entirety
rm -rf wp-includes/js/swfupload
# remove .htaccess, protected by httpd config file
rm wp-content/plugins/akismet/.htaccess
%patch0 -p1 -b .dolly
#patch1 -p1 -b .rhbz522897
%patch2 -p1
@ -248,11 +251,15 @@ rm -rf ${RPM_BUILD_ROOT}
%doc README.fedora
%doc README.fedora-multiuser
%{_datadir}/wordpress/wp-*.php
%config(noreplace) %{_sysconfdir}/wordpress/wp-config.php
%attr(640,root,apache) %config(noreplace) %{_sysconfdir}/wordpress/wp-config.php
%{_datadir}/wordpress/xmlrpc.php
%dir %{_sysconfdir}/wordpress
%changelog
* Thu Aug 7 2014 Remi Collet <remi@fedoraproject.org> - 3.9.2-1
- update to 3.9.2 Security Release #1127547
- config file only readable by apache user (httpd or php-fpm) #1124582
* Fri May 9 2014 Remi Collet <remi@fedoraproject.org> - 3.9.1-1
- update to 3.9.1 Maintenance Release