OBS User unknown 2009-07-28 22:47:59 +00:00 committed by Git OBS Bridge
parent cacba1b2c3
commit 7bad48cabc
3 changed files with 27 additions and 110 deletions

13
SyncRequestCookie.patch Normal file
View File

@ -0,0 +1,13 @@
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',
};
}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 28 09:52:19 CEST 2009 - richard.bos@xs4all.nl
- Added patch SyncRequestCookie.patch to avoid 'cookie parsing error'
in combination with openldap-2.3
- Added chmod -x to prevent a rpmlint warning
-------------------------------------------------------------------
Mon Feb 23 16:11:13 CET 2009 - anicka@suse.cz

View File

@ -21,17 +21,18 @@
Name: perl-ldap
BuildRequires: perl-Authen-SASL perl-Convert-ASN1 perl-IO-Socket-SSL perl-XML-Parser
Version: 0.39
Release: 1
Release: 2
Provides: perl_ldp perl-Net-LDAP = %{version}
Obsoletes: perl_ldp perl-Net-LDAP < %{version}
Requires: perl-URI perl-XML-Parser perl-Convert-ASN1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
License: Artistic License ..
Url: http://cpan.org/modules/by-module/Net/
Summary: Client Interface for LDAP Servers
Source: perl-ldap-%{version}.tar.bz2
Patch0: SyncRequestCookie.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -44,7 +45,7 @@ Authors:
<gbarr@pobox.com> (Graham Barr)
%package ssl
License: Artistic License
License: Artistic License ..
Summary: SSL Extension to perl-ldap
Group: Development/Libraries/Perl
Requires: %{name} = %{version} perl-IO-Socket-SSL
@ -64,8 +65,11 @@ Authors:
%prep
%setup -q -n perl-ldap-%{version}
%patch0 -p1
%build
# Prevent rpmlint warning script-without-shebang
chmod -x lib/Net/LDAP/DSML.pm
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
perl Makefile.PL
make
@ -103,110 +107,3 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorlib}/Net/LDAPS.pm
%changelog
* Mon Feb 23 2009 anicka@suse.cz
- update to 0.39
* Several fixes to the handling of IntermediateMessage and LDAP
Content synchronisation
* Fix dsmt test to not fail on win32
* Fix Net::LDAP::Util to not cause Undefined subroutine
&Net::LDAP::Util::ldap_error_desc
* Fix bug in Net::LDAP::Extension using wrong field for resultCode
* Fix Net::LDAP::Control::PasswordPolicy decoding bug.
* Net::LDAP::Extension::SetPassword now supports controls
* Wed Sep 10 2008 anicka@suse.cz
- update to 0.37
* Add Modify Increment (RFC 4525) support
* Add Content Synchronization (RFC 4453) support
* Added controls for PreRead & PostRead
* Added vendorName/vendorVersion (RFC 3045) to root_dse()
* add option to support IPv6
* Allow Entry->deleted to be called with a single value is well
as array ref
* Added Net::LDAP::Control::PasswordPolicy to support draft RFC
* bugfixes
* Tue Jul 15 2008 jw@suse.de
- perl-ldap does not conform to our naming conventions for perl packages.
Added a Provides: perl-Net-LDAP to make user's life easier.
(Using version numbers, to allow future package rename)
* Mon Mar 10 2008 anicka@suse.cz
- update to 0.34
* Improve dealing with mixed case attributes in Net::LDAP::Entry
* Documentation fixes & updates
* Don't let Net::LDAP->bind() die on SASL errors
* Fix case-folding in Net::LDAP::Util::ldap_explode_dn()
* Saner default for ldapi socket
* Update test suite to work with recent OpenLDAP versions
* The usual bunch of typo fixes
* Fix escaping on non-ascii characters in Net::LDAP::Filter
* Flexible handling of line ends in Net::LDAP::LDIF when reading
* Improve writing speed in Net::LDAP::LDIF
* Net::LDAP accessor methods for scheme, host, port, URI connected to
* New checkcrl option to Net::LDAP->new() to do CRL checking
* New package Net::LDAP::Filtermatch for client side filtering
* More ASN1 messages handled in Net::LDAP:ASN: IntermediateResponse
* Option 'raw' to return Perl UTF-8 strings from queries (requires Perl 5.8)
* Support Active Directory's extendedAttributeInfo schema information
* Method to find matchingrule for an attribute in Net::LDAP:Schema
* Updated build dependecies: GSSAPI support, ..
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jul 27 2005 mt@suse,de
- update to 0.33
- fixed file list to be more exact
* Sun Jun 20 2004 ro@suse.de
- fix find command in specfile
* Sat Feb 28 2004 ro@suse.de
- fix requires for /usr/local
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 24 2003 mjancar@suse.cz
- update to 0.29
* Fri Jul 18 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 16 2003 mjancar@suse.cz
- update to 0.28
- fix filelist
* Mon May 19 2003 ro@suse.de
- remove perllocal.pod
* Sat Dec 28 2002 prehak@suse.cz
- updated to version 0.26
- added perl-Authen-SASL to neededforbuild
* Wed Sep 11 2002 prehak@suse.cz
- used %%{version} in subpackage's Requires
* Mon Jul 29 2002 mls@suse.de
- Fixed neededforbuild for perl-5.8.0
* Thu Jul 11 2002 prehak@suse.cz
- update to version 0.251
- added more documentation and contrib
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Thu Jan 17 2002 rvasice@suse.cz
- update to version 0.25
* Tue Aug 14 2001 rvasice@suse.cz
- update to version 0.24
* Mon Mar 26 2001 cihlar@suse.cz
- added make test
- fixed neededforbuild
* Tue Nov 14 2000 cihlar@suse.cz
- renamed perl_ldp -> perl-ldap
p_ldaps -> perl-ldap-ssl
- update to version 0.22
- bzipped sources
* Fri Sep 15 2000 choeger@suse.de
- update to version 0.21
* Tue Aug 29 2000 cihlar@suse.cz
- splited to perl_ldp and p_ldaps
- removed p_iossl from neededforbuild
* Wed Aug 23 2000 cihlar@suse.cz
- added p_iossl to Requires and neededforbuild
* Wed Aug 23 2000 cihlar@suse.cz
- update to version 0.20
- added BuildRoot
- bzipped sources
* Fri Mar 24 2000 ug@suse.de
- new version 0.14 -> 0.15
* Thu Mar 23 2000 ug@suse.de
- added to distribution