r22144 - in /trunk/libapache-authznetldap-perl/debian: ./ README.source changelog compat control copyright patches/ patches/makefile-for-apache2.patch patches/new-apache2.patch patches/series rules watch
yvesago-guest at users.alioth.debian.org
yvesago-guest at users.alioth.debian.org
Tue Jun 24 20:49:42 UTC 2008
Author: yvesago-guest
Date: Tue Jun 24 20:49:42 2008
New Revision: 22144
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22144
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libapache-authznetldap-perl/debian/
trunk/libapache-authznetldap-perl/debian/README.source
trunk/libapache-authznetldap-perl/debian/changelog
trunk/libapache-authznetldap-perl/debian/compat
trunk/libapache-authznetldap-perl/debian/control
trunk/libapache-authznetldap-perl/debian/copyright
trunk/libapache-authznetldap-perl/debian/patches/
trunk/libapache-authznetldap-perl/debian/patches/makefile-for-apache2.patch
trunk/libapache-authznetldap-perl/debian/patches/new-apache2.patch
trunk/libapache-authznetldap-perl/debian/patches/series
trunk/libapache-authznetldap-perl/debian/rules (with props)
trunk/libapache-authznetldap-perl/debian/watch
Added: trunk/libapache-authznetldap-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/README.source?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/README.source (added)
+++ trunk/libapache-authznetldap-perl/debian/README.source Tue Jun 24 20:49:42 2008
@@ -1,0 +1,2 @@
+This packages uses quilt; cf. /usr/share/doc/quilt/README.source for further
+information.
Added: trunk/libapache-authznetldap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/changelog?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/changelog (added)
+++ trunk/libapache-authznetldap-perl/debian/changelog Tue Jun 24 20:49:42 2008
@@ -1,0 +1,5 @@
+libapache-authznetldap-perl (0.07-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #481497)
+
+ -- AGOSTINI Yves <agostini at univ-metz.fr> Mon, 24 May 2008 22:17:23 +0200
Added: trunk/libapache-authznetldap-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/compat?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/compat (added)
+++ trunk/libapache-authznetldap-perl/debian/compat Tue Jun 24 20:49:42 2008
@@ -1,0 +1,1 @@
+7
Added: trunk/libapache-authznetldap-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/control?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/control (added)
+++ trunk/libapache-authznetldap-perl/debian/control Tue Jun 24 20:49:42 2008
@@ -1,0 +1,26 @@
+Source: libapache-authznetldap-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
+Build-Depends-Indep: perl (>= 5.6.10-12), libconvert-asn1-perl,
+ libnet-ldap-perl, libmime-base64-urlsafe-perl, liburi-perl,
+ libapache2-mod-perl2, libextutils-autoinstall-perl (>= 0.52)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: AGOSTINI Yves <agostini at univ-metz.fr>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/Apache-AuthzNetLDAP/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libapache-authznetldap-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/
+
+Package: libapache-authznetldap-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libconvert-asn1-perl, libnet-ldap-perl,
+ libmime-base64-urlsafe-perl, liburi-perl, libapache2-mod-perl2
+Description: Apache-Perl module that enables to authorize a user with LDAP attributes
+ After you have authenticated a user (perhaps with Apache::AuthNetLDAP ;)
+ you can use Apache::AuthzNetLDAP to determine whether they are authorized to
+ access the Web resource under this modules control.
+ .
+ You can control authorization via one of four methods. The first two are
+ the pretty standard user and valid-user require, the second two are group or
+ ldap-url which are unique to LDAP.
Added: trunk/libapache-authznetldap-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/copyright?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/copyright (added)
+++ trunk/libapache-authznetldap-perl/debian/copyright Tue Jun 24 20:49:42 2008
@@ -1,0 +1,20 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=102
+Debianized-By: AGOSTINI Yves <agostini at univ-metz.fr>
+Debianized-Date: Sun, 24 Jun 2008 22:12:06 +0200
+Original-Source-Location: http://search.cpan.org/dist/CGI.pm/
+Upstream-Author: Shannon Eric Peevey speeves at erikin.com
+
+Files: *
+Copyright: copyright 2000, 2003, Mark Wilcox and Shannon Eric Peevey
+License: GPL-1+ | Artistic
+ This module is distributed with the same license as Perl's.
+
+Files: debian/*
+Copyright: Copyright 2008 Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+License: GPL-1+ | Artistic
+ The Debian packaging is put under the same terms as the module itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
Added: trunk/libapache-authznetldap-perl/debian/patches/makefile-for-apache2.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/patches/makefile-for-apache2.patch?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/patches/makefile-for-apache2.patch (added)
+++ trunk/libapache-authznetldap-perl/debian/patches/makefile-for-apache2.patch Tue Jun 24 20:49:42 2008
@@ -1,0 +1,13 @@
+Index: Apache-AuthzNetLDAP-0.07/Makefile.PL
+===================================================================
+--- Apache-AuthzNetLDAP-0.07.orig/Makefile.PL 2008-06-24 21:50:30.000000000 +0200
++++ Apache-AuthzNetLDAP-0.07/Makefile.PL 2008-06-24 21:59:34.000000000 +0200
+@@ -44,7 +44,7 @@
+ Net::LDAP => '',
+ MIME::Base64 => '',
+ URI => '',
+- mod_perl => '',
++ mod_perl2 => '',
+ ], # core modules; may also be 'all'
+ );
+
Added: trunk/libapache-authznetldap-perl/debian/patches/new-apache2.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/patches/new-apache2.patch?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/patches/new-apache2.patch (added)
+++ trunk/libapache-authznetldap-perl/debian/patches/new-apache2.patch Tue Jun 24 20:49:42 2008
@@ -1,0 +1,142 @@
+Index: Apache-AuthzNetLDAP-0.07/AuthzNetLDAP.pm
+===================================================================
+--- Apache-AuthzNetLDAP-0.07.orig/AuthzNetLDAP.pm 2008-06-24 21:50:52.000000000 +0200
++++ Apache-AuthzNetLDAP-0.07/AuthzNetLDAP.pm 2008-06-24 21:59:08.000000000 +0200
+@@ -9,7 +9,13 @@
+ require AutoLoader;
+
+ use Net::LDAP;
+-use mod_perl;
++BEGIN {
++ eval {
++ require mod_perl;
++ import mod_perl ;
++ };
++ if ($@) { require mod_perl2; import mod_perl2; };
++};
+
+ @ISA = qw(Exporter DynaLoader);
+ # Items to export into callers namespace by default. Note: do not export
+@@ -28,15 +34,15 @@
+ # test for the version of mod_perl, and use the appropriate libraries
+ BEGIN {
+ if (MP2) {
+- 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;
+ require URI;
+ require URI::ldap;
+- Apache::Const->import(-compile => 'HTTP_UNAUTHORIZED','OK', 'DECLINED');
++ Apache2::Const->import(-compile => 'HTTP_UNAUTHORIZED','OK', 'DECLINED');
+ } else {
+ require Apache::Constants;
+ require URI;
+@@ -63,7 +69,7 @@
+
+ my $requires = $r->requires;
+
+- return MP2 ? Apache::DECLINED : Apache::Constants::DECLINED unless $requires;
++ return MP2 ? Apache2::Const::DECLINED : Apache::Constants::DECLINED unless $requires;
+
+
+ my $username = MP2 ? $r->user : $r->connection->user;
+@@ -88,7 +94,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $username: LDAP Connection Failed: $error",$r->uri) : $r->log_reason("user $username: LDAP Connection Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+
+ #first let's get the user's DN
+@@ -105,7 +111,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $username: LDAP Connection Failed: $error",$r->uri) : $r->log_reason("user $username: LDAP Connection Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+ my $entry = $mesg->shift_entry();
+
+@@ -120,7 +126,7 @@
+ my ($requirement, at rest) = split(/\s+/, $req->{requirement});
+ if (lc $requirement eq 'user')
+ {
+- 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 $_;}
+ }
+ elsif (lc $requirement eq 'group')
+ {
+@@ -129,23 +135,23 @@
+ my ($foo,$group) = split(/"/,$req->{requirement});
+ my $isMember = Apache::AuthzNetLDAP::_getIsMember($ldap,$r,$group,$entry->dn());
+ MP2 ? $r->log_error("user $username: group($group) DEBUG - isMember: $isMember",$r->uri) : $r->log_reason("user $username: group($group) DEBUG - isMember: $isMember",$r->uri);
+- return MP2 ? Apache::OK : Apache::Constants::OK if $isMember;
++ return MP2 ? Apache2::Const::OK : Apache::Constants::OK if $isMember;
+ }
+ elsif (lc $requirement eq 'ldap-url')
+ {
+ my ($foo,$url) = split (/ldap-url/,$req->{requirement});
+ my $isMember = Apache::AuthzNetLDAP::_checkURL($r,$ldap,$entry->dn(),$url);
+ MP2 ? $r->log_error("user $username: group($url) DEBUG - isMember: $isMember",$r->uri) : $r->log_reason("user $username: group($url) DEBUG - isMember: $isMember",$r->uri);
+- return MP2 ? Apache::OK : Apache::Constants::OK if $isMember;
++ return MP2 ? Apache2::Const::OK : Apache::Constants::OK if $isMember;
+ }
+ elsif (lc $requirement eq 'valid-user') {
+- return MP2 ? Apache::OK : Apache::Constants::OK;
++ return MP2 ? Apache2::Const::OK : Apache::Constants::OK;
+ }
+ }
+
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $username: group (test) LDAP membership check failed with ismember: DEBUG REMOVE COMMENT",$r->uri) : $r->log_reason("user $username: group (test) LDAP membership check failed with ismember: DEBUG REMOVE COMMENT",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+
+
+
+@@ -206,7 +212,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri) : $r->log_reason("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+ my $entry = $mesg->pop_entry();
+
+@@ -236,7 +242,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri) : $r->log_reason("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+
+ #if we find an entry it returns true
+@@ -280,7 +286,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri) : $r->log_reason("user $userDN: group ($groupDN) LDAP search Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+
+ #if make it this far then you must be a member
+@@ -312,7 +318,7 @@
+ {
+ $r->note_basic_auth_failure;
+ MP2 ? $r->log_error("user $userDN: group ($urlval) LDAP search Failed: $error",$r->uri) : $r->log_reason("user $userDN: group ($urlval) LDAP search Failed: $error",$r->uri);
+- return MP2 ? Apache::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
++ return MP2 ? Apache2::Const::HTTP_UNAUTHORIZED : Apache::Constants::HTTP_UNAUTHORIZED;
+ }
+
+ #if we find an entry it returns true
Added: trunk/libapache-authznetldap-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/patches/series?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/patches/series (added)
+++ trunk/libapache-authznetldap-perl/debian/patches/series Tue Jun 24 20:49:42 2008
@@ -1,0 +1,2 @@
+makefile-for-apache2.patch
+new-apache2.patch
Added: trunk/libapache-authznetldap-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/rules?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/rules (added)
+++ trunk/libapache-authznetldap-perl/debian/rules Tue Jun 24 20:49:42 2008
@@ -1,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+ dh build
+ touch $@
+
+clean: unpatch
+ dh $@
+
+install: install-stamp
+install-stamp: build-stamp
+ dh install
+ touch $@
+
+binary-arch:
+
+binary-indep: install
+ dh $@
+
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build
Propchange: trunk/libapache-authznetldap-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libapache-authznetldap-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-authznetldap-perl/debian/watch?rev=22144&op=file
==============================================================================
--- trunk/libapache-authznetldap-perl/debian/watch (added)
+++ trunk/libapache-authznetldap-perl/debian/watch Tue Jun 24 20:49:42 2008
@@ -1,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Apache-AuthzNetLDAP/ .*/Apache-AuthzNetLDAP-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
More information about the Pkg-perl-cvs-commits
mailing list