thomas: server/perl-ldap Makefile, 1.2, 1.3 cookie_parsing_error.patch, NONE, 1.1 sync_refresh_required.patch, NONE, 1.1 perl-ldap.spec, 1.5, 1.6

cvs at kolab.org cvs at kolab.org
Wed Feb 18 18:09:39 CET 2009


Author: thomas

Update of /kolabrepository/server/perl-ldap
In directory doto:/tmp/cvs-serv4376/perl-ldap

Modified Files:
	perl-ldap.spec 
Added Files:
	Makefile cookie_parsing_error.patch 
	sync_refresh_required.patch 
Log Message:
New upstream version (perl-ldap 0.39) and two patches for syncrepl support,
see kolab/issue1755 (syncrepl support (for OpenLDAP >=2.4.6))



--- NEW FILE: cookie_parsing_error.patch ---
From: Mathieu Parent <math.parent at gmail.com>
Date: Fri, 17 Oct 2008 18:11:40 +0000 (+0200)
Subject: Avoid 'cookie parsing error' on OpenLDAP 2.3
X-Git-Url: http://git.goingon.net/?p=perl-ldap.git;a=commitdiff_plain;h=3c5a803879e213ef146fad42f194e6f3568c6358

Avoid 'cookie parsing error' on OpenLDAP 2.3

Thanks to Richard Boss for spotting this.
---

diff --git a/lib/Net/LDAP/Control/SyncRequest.pm b/lib/Net/LDAP/Control/SyncRequest.pm
index 95cd716..d905d7b 100644
--- a/lib/Net/LDAP/Control/SyncRequest.pm
+++ b/lib/Net/LDAP/Control/SyncRequest.pm
@@ -21,7 +21,7 @@ sub init {
   unless (exists $self->{value}) {
     $self->{asn} = {
       mode => $self->{mode} || '1',
-      cookie => $self->{cookie} || '',
+      cookie => $self->{cookie} || undef,
       reloadHint   => $self->{reloadHint} || '0',
     };
   }

--- NEW FILE: sync_refresh_required.patch ---
From: Mathieu Parent <math.parent at gmail.com>
Date: Fri, 17 Oct 2008 18:12:50 +0000 (+0200)
Subject: Added e-syncRefreshRequired constant
X-Git-Url: http://git.goingon.net/?p=perl-ldap.git;a=commitdiff_plain;h=48dcbf74cc69f3cff11b099b72d1d6e2c161adbb

Added e-syncRefreshRequired constant

Part of RFC 4533.
---

diff --git a/lib/Net/LDAP/Constant.pm b/lib/Net/LDAP/Constant.pm
index a9bebe9..7098d8c 100644
--- a/lib/Net/LDAP/Constant.pm
+++ b/lib/Net/LDAP/Constant.pm
@@ -437,6 +437,10 @@ A loop has been detected. For example when following referals.
 
 The referral hop limit has been exceeded.
 
+=item LDAP_SYNC_REFRESH_REQUIRED (4096)
+
+Refresh Required.
+
 =back
 
 =head2 Control OIDs

Index: perl-ldap.spec
===================================================================
RCS file: /kolabrepository/server/perl-ldap/perl-ldap.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- perl-ldap.spec	18 Feb 2009 16:46:07 -0000	1.5
+++ perl-ldap.spec	18 Feb 2009 17:09:37 -0000	1.6
@@ -30,16 +30,17 @@
 Summary:      Perl Modules for use with LDAP
 URL:          http://www.cpan.org/
 Vendor:       Perl Community
-Packager:     OpenPKG Foundation e.V.
-Distribution: OpenPKG Community
+Packager:     Intevation GmbH
 Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20081028
+Release:      20081028_kolab1
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Net/perl-ldap-%{V_perl_ldap}.tar.gz
+Patch0:       cookie_parsing_error.patch
+Patch1:       sync_refresh_required.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -64,6 +65,10 @@
 
 %prep
     %setup -q -c
+    cd perl-ldap-%{V_perl_ldap}
+    %patch -p1 -P 0
+    %patch -p1 -P 1
+    cd ..
 
 %build
 





More information about the commits mailing list