commit 8cf0c97424524878341208f814216c83ec78c258 Author: Nathanael d. Noblet <nathanael@xxxxxxxxx> Date: Wed Nov 19 22:01:49 2014 -0700 fix bug #1109575 w3c-markup-validator-apache24.patch | 24 ++++++++++++++++++++++++ w3c-markup-validator.spec | 9 +++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) --- diff --git a/w3c-markup-validator-apache24.patch b/w3c-markup-validator-apache24.patch new file mode 100644 index 0000000..eb2df02 --- /dev/null +++ b/w3c-markup-validator-apache24.patch @@ -0,0 +1,24 @@ +--- validator-1.3.org/httpd/conf/httpd.conf 2012-03-12 09:03:14.000000000 -0600 ++++ validator-1.3/httpd/conf/httpd.conf 2014-11-19 21:56:53.442003796 -0700 +@@ -56,6 +56,8 @@ + #SetEnv ftp_proxy http://proxy:3128 + #SetEnv no_proxy localdomain + #SetEnv FTP_PASSIVE 1 ++ ++ Require all granted + </LocationMatch> + + # This is the directory where you have the validator's *.html, *.css etc files. +@@ -91,6 +93,12 @@ + ExpiresByType application/javascript A2592000 + ExpiresByType application/ecmascript A2592000 + </IfModule> ++ ++ # New Apache 2.4 access controls ++ Require all granted ++ # Needed because the w3c validator files still contain legacy expression. ++ # http://stackoverflow.com/a/17479214/966703 ++ SSILegacyExprParser on + </Directory> + + # Atom news feed diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec index 0acc213..875cf87 100644 --- a/w3c-markup-validator.spec +++ b/w3c-markup-validator.spec @@ -2,7 +2,7 @@ Name: w3c-markup-validator Version: 1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: W3C Markup Validator Group: Applications/Internet @@ -21,6 +21,7 @@ Patch2: %{name}-1.0-valid-icons.patch # Not upstreamable, # https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00020.html Patch3: %{name}-1.3-iso-html.patch +Patch4: %{name}-apache24.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -47,7 +48,6 @@ Requires: xhtml1-dtds >= 1.0-20020801.1 %description libs SGML and XML DTDs for the W3C Markup Validator. - %prep %setup -q -n validator-%{version} @@ -60,6 +60,8 @@ rm htdocs/images/markup_validation_service.psd %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 + find . -type f -name "*.orig" -delete # patch backup files mv htdocs/sgml-lib . @@ -150,6 +152,9 @@ done %changelog +* Wed Nov 19 2014 Nathanael Noblet <nathanael@xxxxxxx> - 1.3-9 +- Fix for bug #1109575 based off submitted patch + * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel