[libapache2-authcookie-perl] 01/05: Update authcookie-httpd-24.patch to use the new name of the mod_perl define.
gregor herrmann
gregoa at debian.org
Sun Aug 16 19:33:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libapache2-authcookie-perl.
commit 07709bf97371b6b91337f4938f1a681b0ef08050
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Aug 16 21:23:29 2015 +0200
Update authcookie-httpd-24.patch to use the new name of the mod_perl define.
mod_perl now uses APACHE2_4 instead of APACHE24 from an earlier version.
Thanks: Niko Tyni for the fix.
Closes: #789093
---
debian/patches/authcookie-httpd-24.patch | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/debian/patches/authcookie-httpd-24.patch b/debian/patches/authcookie-httpd-24.patch
index 2cfd035..474dc9c 100644
--- a/debian/patches/authcookie-httpd-24.patch
+++ b/debian/patches/authcookie-httpd-24.patch
@@ -72,7 +72,7 @@ index 0000000..48afee9
+- add support for mod_auth_socache if possible
+- figure out how to make a release that supports both Apache 2.2 and earlier
+ and also Apache 2.4+.
-+- currently, Apache::Test does not set any constants for APACHE24 in the config
++- currently, Apache::Test does not set any constants for APACHE2_4 in the config
+ file so there is no way to make t/extra.conf.in. Patch sent in to
+ rt.cpan.org for this.
+
@@ -242,7 +242,7 @@ index b4c5c3e..133cb5d 100644
PerlModule Sample::Apache2::AuthCookieHandler
PerlModule ModPerl::Registry
+
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ PerlAddAuthzProvider user Sample::Apache2::AuthCookieHandler->authz_handler
+ </IfDefine>
</IfDefine>
@@ -252,7 +252,7 @@ index b4c5c3e..133cb5d 100644
AllowOverride All
</Directory>
-+<IfDefine APACHE24>
++<IfDefine APACHE2_4>
+ <Location /docs>
+ AuthzSendForbiddenOnFailure On
+ </Location>
@@ -266,7 +266,7 @@ index b4c5c3e..133cb5d 100644
AuthType Sample::Apache2::AuthCookieHandler
PerlAuthenHandler Sample::Apache2::AuthCookieHandler->authenticate
- PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
-+ <IfDefine !APACHE24>
++ <IfDefine !APACHE2_4>
+ PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
+ </IfDefine>
</IfDefine>
@@ -280,7 +280,7 @@ index b4c5c3e..133cb5d 100644
AuthType Sample::Apache2::AuthCookieHandler
PerlAuthenHandler Sample::Apache2::AuthCookieHandler->authenticate
- PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
-+ <IfDefine !APACHE24>
++ <IfDefine !APACHE2_4>
+ PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
+ </IfDefine>
</IfDefine>
@@ -291,17 +291,17 @@ index b4c5c3e..133cb5d 100644
AuthType Sample::Apache2::AuthCookieHandler
PerlAuthenHandler Sample::Apache2::AuthCookieHandler->authenticate
- PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
-+ <IfDefine !APACHE24>
++ <IfDefine !APACHE2_4>
+ PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
+ </IfDefine>
+ </IfDefine>
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ <RequireAll>
+ Require user some-user
+ Require user programmer
+ </RequireAll>
+ </IfDefine>
-+ <IfDefine !APACHE24>
++ <IfDefine !APACHE2_4>
+ Require user some-user
+ Require user programmer
</IfDefine>
@@ -315,7 +315,7 @@ index b4c5c3e..133cb5d 100644
AuthType Sample::Apache2::AuthCookieHandler
PerlAuthenHandler Sample::Apache2::AuthCookieHandler->authenticate
- PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
-+ <IfDefine !APACHE24>
++ <IfDefine !APACHE2_4>
+ PerlAuthzHandler Sample::Apache2::AuthCookieHandler->authorize
+ </IfDefine>
</IfDefine>
@@ -325,7 +325,7 @@ index b4c5c3e..133cb5d 100644
</IfDefine>
<IfDefine APACHE2>
AuthType Sample::Apache2::AuthCookieHandler
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ Require all granted
+ </IfDefine>
PerlFixupHandler Sample::Apache2::AuthCookieHandler->recognize_user
@@ -335,7 +335,7 @@ index b4c5c3e..133cb5d 100644
<IfDefine APACHE2>
PerlResponseHandler ModPerl::Registry
AuthType Sample::Apache2::AuthCookieHandler
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ Require all granted
+ </IfDefine>
PerlFixupHandler Sample::Apache2::AuthCookieHandler->recognize_user
@@ -345,7 +345,7 @@ index b4c5c3e..133cb5d 100644
</IfDefine>
<IfDefine APACHE2>
AuthType Sample::Apache2::AuthCookieHandler
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ Require all granted
+ </IfDefine>
PerlResponseHandler Sample::Apache2::AuthCookieHandler->login
@@ -355,7 +355,7 @@ index b4c5c3e..133cb5d 100644
</IfDefine>
<IfDefine APACHE2>
AuthType Sample::Apache2::AuthCookieHandler
-+ <IfDefine APACHE24>
++ <IfDefine APACHE2_4>
+ Require all granted
+ </IfDefine>
PerlResponseHandler Sample::Apache2::AuthCookieHandler->login
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-authcookie-perl.git
More information about the Pkg-perl-cvs-commits
mailing list