Skip Menu |

This queue is for tickets about the Apache-AuthzNetLDAP CPAN distribution.

Report information
The Basics
Id: 37063
Status: new
Priority: 0/
Queue: Apache-AuthzNetLDAP

People
Owner: Nobody in particular
Requestors: agostini [...] univ-metz.fr
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



A patch to build with a recent apache2
Subject: AuthzNetLDAP.patch
12c12,18 < use mod_perl; --- > BEGIN { > eval { > require mod_perl; > import mod_perl ; > }; > if ($@) { require mod_perl2; import mod_perl2; }; > }; 31,36c37,42 < require Apache::Const; < require Apache::Access; < require Apache::Connection; < require Apache::Log; < require Apache::RequestRec; < require Apache::RequestUtil; --- > require Apache2::Const; > require Apache2::Access; > require Apache2::Connection; > require Apache2::Log; > require Apache2::RequestRec; > require Apache2::RequestUtil; 39c45 < Apache::Const->import(-compile => 'HTTP_UNAUTHORIZED','OK', 'DECLINED'); --- > Apache2::Const->import(-compile => 'HTTP_UNAUTHORIZED','OK', 'DECLINED'); 66c72 < return MP2 ? Apache::DECLINED : Apache::Constants::DECLINED unless $requires; --- > return MP2 ? Apache2::Const::DECLINED : Apache::Constants::DECLINED unless $requires; 91c97 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 108c114 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 123c129 < foreach (@rest) {return MP2 ? Apache::OK : Apache::Constants::OK if $username eq $_;} --- > foreach (@rest) {return MP2 ? Apache2::Const::OK : Apache::Constants::OK if $username eq $_;} 132c138 < return MP2 ? Apache::OK : Apache::Constants::OK if $isMember; --- > return MP2 ? Apache2::Const::OK : Apache::Constants::OK if $isMember; 139c145 < return MP2 ? Apache::OK : Apache::Constants::OK if $isMember; --- > return MP2 ? Apache2::Const::OK : Apache::Constants::OK if $isMember; 142c148 < return MP2 ? Apache::OK : Apache::Constants::OK; --- > return MP2 ? Apache2::Const::OK : Apache::Constants::OK; 148c154 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 209c215 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 239c245 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 283c289 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; 315c321 < return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED; --- > return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;