Hello community,

here is the log from the commit of package apache2-mod_perl for 
openSUSE:Factory checked in at 2014-09-26 10:52:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_perl (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_perl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_perl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2-mod_perl/apache2-mod_perl.changes        
2014-08-27 07:46:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache2-mod_perl.new/apache2-mod_perl.changes   
2014-09-26 11:21:46.000000000 +0200
@@ -1,0 +2,13 @@
+Wed Sep 17 10:35:26 UTC 2014 - jseg...@suse.com
+
+- Changed access control statements in config file to use 
+  mod_authz_host (bnc#897005)
+
+-------------------------------------------------------------------
+Tue Sep  9 12:48:46 UTC 2014 - vci...@suse.com
+
+- adapt test configuration for apache24 to fix build
+  * use the new access control mechanisms from apache24
+  * added apache24-mod_authz_host.patch
+
+-------------------------------------------------------------------

New:
----
  apache24-mod_authz_host.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache2-mod_perl.spec ++++++
--- /var/tmp/diff_new_pack.0rX3SU/_old  2014-09-26 11:21:47.000000000 +0200
+++ /var/tmp/diff_new_pack.0rX3SU/_new  2014-09-26 11:21:47.000000000 +0200
@@ -60,6 +60,7 @@
 # PATCH-NEEDS-REBASE
 Patch1:         lfs-perl-5.14.patch 
 Patch2:         avoid-broken-provides.diff
+Patch3:         apache24-mod_authz_host.patch
 Icon:         mod_perl.xpm
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -116,6 +117,7 @@
 #%setup -q -n modperl-2.0 -a 1
 %setup -q -n httpd24
 %patch2 -p1
+%patch3 -p1
 #%patch1 -p1
 find -name ".svn" -type d | xargs rm -rfv
 
@@ -237,8 +239,13 @@
 <Directory "%{apache_serverroot}/perl-lib">
     AllowOverride None
     Options None
+    <IfModule !mod_authz_host.c>
     Order allow,deny
     Deny from all
+    </IfModule>
+    <IfModule mod_authz_host.c>
+      Require all granted
+    </IfModule>
 </Directory>
 <IfModule mod_perl.c>
     PerlRequire "/etc/apache2/mod_perl-startup.pl"

++++++ apache24-mod_authz_host.patch ++++++
diff --git a/t/filter/TestFilter/both_str_req_proxy.pm 
b/t/filter/TestFilter/both_str_req_proxy.pm
index 9e2ba81..4d0b72b 100644
--- a/t/filter/TestFilter/both_str_req_proxy.pm
+++ b/t/filter/TestFilter/both_str_req_proxy.pm
@@ -62,9 +62,7 @@ __DATA__
     <IfModule mod_proxy.c>
         <Proxy http://@servername@:@port@/*>
             <IfModule @ACCESS_MODULE@>
-                Order Deny,Allow
-                Deny from all
-                Allow from @servername@
+                Require host @servername@
             </IfModule>
         </Proxy>
 
diff --git a/t/protocol/TestProtocol/pseudo_http.pm 
b/t/protocol/TestProtocol/pseudo_http.pm
index bb49ec8..1b8e93b 100644
--- a/t/protocol/TestProtocol/pseudo_http.pm
+++ b/t/protocol/TestProtocol/pseudo_http.pm
@@ -154,9 +154,9 @@ __END__
 
   <Location TestProtocol::pseudo_http>
 
+      <RequireAny>
       <IfModule @ACCESS_MODULE@>
-          Order Deny,Allow
-          Allow from @servername@
+          Require host @servername@
       </IfModule>
 
       <IfModule @AUTH_MODULE@>
@@ -168,7 +168,7 @@ __END__
       AuthName TestProtocol::pseudo_http
       AuthType Basic
       Require user stas
-      Satisfy any
+      </RequireAny>
 
   </Location>
 
diff --git a/t/response/TestAPI/access2.pm b/t/response/TestAPI/access2.pm
index 718800e..836d54a 100644
--- a/t/response/TestAPI/access2.pm
+++ b/t/response/TestAPI/access2.pm
@@ -101,9 +101,10 @@ PerlAddAuthzProvider my-group 
TestAPI::access2->authz_handler
     PerlResponseHandler Apache::TestHandler::ok1
     SetHandler modperl
 
+       <RequireAll>
     <IfModule @ACCESS_MODULE@>
         # needed to test $r->satisfies
-        Allow from All
+        Require all granted
     </IfModule>
     AuthType Basic
     AuthName "Access"
@@ -112,7 +113,7 @@ PerlAddAuthzProvider my-group 
TestAPI::access2->authz_handler
     <Limit POST>
        Require valid-user
     </Limit>
-    Satisfy All
+       </RequireAll>
     <IfModule @AUTH_MODULE@>
         # htpasswd -mbc auth-users goo foo
         # htpasswd -mb auth-users bar mar
diff --git a/t/response/TestModules/proxy.pm b/t/response/TestModules/proxy.pm
index ab59026..91e251e 100644
--- a/t/response/TestModules/proxy.pm
+++ b/t/response/TestModules/proxy.pm
@@ -47,9 +47,7 @@ __END__
     <IfModule mod_proxy.c>
         <Proxy http://@servername@:@port@/*>
             <IfModule @ACCESS_MODULE@>
-                Order Deny,Allow
-                Deny from all
-                Allow from @servername@
+                Require host @servername@
             </IfModule>
         </Proxy>
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to