Hello community,

here is the log from the commit of package perl-ldap for openSUSE:Factory 
checked in at 2017-10-02 16:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ldap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ldap"

Mon Oct  2 16:45:40 2017 rev:29 rq:529888 version:0.65

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-ldap/perl-ldap.changes      2015-02-16 
22:12:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-ldap.new/perl-ldap.changes 2017-10-02 
16:45:44.801609968 +0200
@@ -1,0 +2,28 @@
+Fri Sep 29 10:36:07 UTC 2017 - [email protected]
+
+- add perl526.patch to build with perl 5.26
+- remove ssl subpackage without files
+
+-------------------------------------------------------------------
+Fri Sep 29 10:30:22 UTC 2017 - [email protected]
+
+- update to 0.65
+  Enhancements:
+  * t/74matchedvalues.t: more tests
+  * {ASN,Extension}.pm: update ExtendedResponse to RFC 4511
+  * Constant.pm: add LDAP_NOTICE_OF_DISCONNECTION
+  * Control/DontUseCopy.pm: new
+  * Control/ProxyAuth.pm: make sure criticality does not get changed
+  * Control/Relax.pm: make sure value & criticality do not get changed
+  * Control/ManageDsaIT.pm: make sure value never gets set
+  
+  Bug Fixes
+  * LDAP.pm: do not set default sslversion for start_tls() & LDAPS
+    Instead of second-guessing a default sslversion for start_tls() and LDAPS,
+    rely on the - known to be sane - default value used by IO::Socket::SSL.
+  * RT#100151: LDAP.pm: localize $SIG{__DIE__} in IPv6 support check
+    Thanks to Troy Loveday <[email protected]> for the detailed bug report and 
patch.
+  * FAQ.pod: fix error in search() example
+  * RFC.pod: typo fix
+
+-------------------------------------------------------------------

Old:
----
  perl-ldap-0.64.tar.gz

New:
----
  perl-ldap-0.65.tar.gz
  perl526.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-ldap.spec ++++++
--- /var/tmp/diff_new_pack.zLDCGe/_old  2017-10-02 16:45:45.629493568 +0200
+++ /var/tmp/diff_new_pack.zLDCGe/_new  2017-10-02 16:45:45.633493006 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ldap
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
 
 Name:           perl-ldap
 %define cpan_name perl-ldap
-Version:        0.64
+Version:        0.65
 Release:        0
 Summary:        Client Interface for LDAP Servers
 License:        GPL-1.0+ or Artistic-1.0
 Group:          Development/Libraries/Perl
-Url:            http://cpan.org/modules/by-module/Net/
+Url:            http://search.cpan.org/~marschap/perl-ldap/
 Source:         perl-ldap-%{version}.tar.gz
+Patch0:         perl526.patch
 BuildRequires:  perl-Authen-SASL
 BuildRequires:  perl-Convert-ASN1
 BuildRequires:  perl-IO-Socket-SSL
@@ -43,21 +44,9 @@
 %description
 A Client interface for LDAP servers.
 
-%package ssl
-Summary:        SSL Extension to perl-ldap
-License:        Artistic-1.0
-Group:          Development/Libraries/Perl
-Requires:       %{name} = %{version}
-Requires:       perl-IO-Socket-SSL
-Provides:       p_ldaps
-Obsoletes:      p_ldaps
-%{perl_requires}
-
-%description ssl
-A Client interface for LDAP servers.
-
 %prep
 %setup -q -n perl-ldap-%{version}
+%patch0 -p1
 find . -type f -print0 | xargs -0 chmod 644
 # MANUAL
 find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
@@ -76,6 +65,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes CREDITS install-nomake README TODO
+%doc Changes CREDITS README TODO
 
 %changelog

++++++ perl-ldap-0.64.tar.gz -> perl-ldap-0.65.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/Changes new/perl-ldap-0.65/Changes
--- old/perl-ldap-0.64/Changes  2014-06-19 17:48:59.000000000 +0200
+++ new/perl-ldap-0.65/Changes  2015-04-06 19:43:47.000000000 +0200
@@ -1,3 +1,23 @@
+0.65 -- Mon Apr  6 19:43:37 CEST 2015
+
+Enhancements:
+* t/74matchedvalues.t: more tests
+* {ASN,Extension}.pm: update ExtendedResponse to RFC 4511
+* Constant.pm: add LDAP_NOTICE_OF_DISCONNECTION
+* Control/DontUseCopy.pm: new
+* Control/ProxyAuth.pm: make sure criticality does not get changed
+* Control/Relax.pm: make sure value & criticality do not get changed
+* Control/ManageDsaIT.pm: make sure value never gets set
+
+Bug Fixes
+* LDAP.pm: do not set default sslversion for start_tls() & LDAPS
+  Instead of second-guessing a default sslversion for start_tls() and LDAPS,
+  rely on the - known to be sane - default value used by IO::Socket::SSL.
+* RT#100151: LDAP.pm: localize $SIG{__DIE__} in IPv6 support check
+  Thanks to Troy Loveday <[email protected]> for the detailed bug report and patch.
+* FAQ.pod: fix error in search() example
+* RFC.pod: typo fix
+
 0.64 -- Thu Jun 19 17:48:08 CEST 2014
 
 Bug Fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/MANIFEST new/perl-ldap-0.65/MANIFEST
--- old/perl-ldap-0.64/MANIFEST 2014-06-19 17:50:43.000000000 +0200
+++ new/perl-ldap-0.65/MANIFEST 2015-04-06 19:53:30.000000000 +0200
@@ -70,6 +70,7 @@
 lib/Net/LDAP/Constant.pm
 lib/Net/LDAP/Control.pm
 lib/Net/LDAP/Control/Assertion.pm
+lib/Net/LDAP/Control/DontUseCopy.pm
 lib/Net/LDAP/Control/EntryChange.pm
 lib/Net/LDAP/Control/ManageDsaIT.pm
 lib/Net/LDAP/Control/MatchedValues.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/META.json new/perl-ldap-0.65/META.json
--- old/perl-ldap-0.64/META.json        2014-06-19 17:46:46.000000000 +0200
+++ new/perl-ldap-0.65/META.json        2015-04-06 19:41:02.000000000 +0200
@@ -1,6 +1,6 @@
 {
    "name" : "perl-ldap",
-   "version" : "0.64",
+   "version" : "0.65",
    "abstract" : "LDAP client library",
    "author" : [
       "Graham Barr <[email protected]>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/SIGNATURE new/perl-ldap-0.65/SIGNATURE
--- old/perl-ldap-0.64/SIGNATURE        2014-06-19 17:50:51.000000000 +0200
+++ new/perl-ldap-0.65/SIGNATURE        2015-04-06 19:53:42.000000000 +0200
@@ -15,11 +15,11 @@
 Hash: SHA512
 
 SHA1 b3d7b971ea6fc7fbb96cdf4cea3d1cdf68f4d24f CREDITS
-SHA1 36c60ba36b93dc72f4648d86689d2441c57c3935 Changes
+SHA1 81454066efb51d2c2227162b7d5ccc450f0a69e2 Changes
 SHA1 18422f27b2f17b10e9d18b4e482d7bfc95c8df86 INSTALL
-SHA1 d0cf6f1c5a385cf66d2cd9e8d137a841f3ed3541 MANIFEST
+SHA1 30ab54b53979c46349348cb5f7f695a9924a9c80 MANIFEST
 SHA1 b1dde8d68f20d9f0353c7a891f4efbaa20882305 MANIFEST.SKIP
-SHA1 fab71b334cb7eff7074037849b256048e24df8b2 META.json
+SHA1 55bc7feac62300e67f5d1780e7a75c891bdf80da META.json
 SHA1 0f1365258da52746c8ac8c22a7c654841c821700 Makefile.PL
 SHA1 9336db57bbd198e5e91b51d8140f287b6ad75e3c README
 SHA1 45d3c0297db0a7e960a2456ece90ea3e37242919 TODO
@@ -85,23 +85,24 @@
 SHA1 e3ae35cf39741a7fa85f11671b6c12cbcf8ffbd4 lib/LWP/Protocol/ldap.pm
 SHA1 4c0725acda3f08370b63824a62a9cca2dc52b858 lib/LWP/Protocol/ldapi.pm
 SHA1 1cb4c54544fda3f59b11470c3e21c8d2022b40b9 lib/LWP/Protocol/ldaps.pm
-SHA1 d26e8f3069d48045795a6ed1d42355cf4a2cd81b lib/Net/LDAP.pm
-SHA1 0ed492170aaf5f2d690d0212f78bc29e6c119f2b lib/Net/LDAP.pod
-SHA1 4cf74c0f17bd8bd684e1775bbc361f0eba5fd829 lib/Net/LDAP/ASN.pm
+SHA1 a404ac13ef2a00cb863c33eecc60f881035fe508 lib/Net/LDAP.pm
+SHA1 ea3d7accabcd379fcaef9862d20edba929c67b79 lib/Net/LDAP.pod
+SHA1 6714e07935ffa543f501110b66f4c45fe81d42f1 lib/Net/LDAP/ASN.pm
 SHA1 423e93cc380a526311bb91aa500d97d5fa4eb6da lib/Net/LDAP/Bind.pm
-SHA1 72208c59c57b8d687ca5541ed981195795105bb4 lib/Net/LDAP/Constant.pm
-SHA1 c5ea13c5cd7bdd0eaed85928e9aef94b14538973 lib/Net/LDAP/Control.pm
+SHA1 bf3ae5572eb30d48464305784511d0a030798929 lib/Net/LDAP/Constant.pm
+SHA1 ae48b23ae169cb308c8e596def8a7142772d9d87 lib/Net/LDAP/Control.pm
 SHA1 8d9e40e9d0bb94f9b2cdb865b10c4bd7db5b96b0 lib/Net/LDAP/Control/Assertion.pm
+SHA1 c51644ac73f5209fcd1f8d1b389fd7d32f400c1c 
lib/Net/LDAP/Control/DontUseCopy.pm
 SHA1 132de095e47c3937e46e40061f4589780bb913ca 
lib/Net/LDAP/Control/EntryChange.pm
-SHA1 cd635c78479d2d9550147633e81d0a55ced85050 
lib/Net/LDAP/Control/ManageDsaIT.pm
+SHA1 971229ae9bef34d1662eaa79e08bbdd365d30eab 
lib/Net/LDAP/Control/ManageDsaIT.pm
 SHA1 dec36f3e05b369725ba4c10ee41924a5742c68e9 
lib/Net/LDAP/Control/MatchedValues.pm
 SHA1 5b224d684da21e504c3738d7671d7972444d93d2 lib/Net/LDAP/Control/Paged.pm
 SHA1 5def1a80ac4f2d4d54a7e58eeaabc709809ba056 
lib/Net/LDAP/Control/PasswordPolicy.pm
 SHA1 7c35ec08c53f6d91696e96d8a8dad24131f34f23 
lib/Net/LDAP/Control/PersistentSearch.pm
 SHA1 66b21ddd57d5d609510bc1bc1f5e65c1c3ddb6b2 lib/Net/LDAP/Control/PostRead.pm
 SHA1 f4344e69b392a0aed91b77cfe478bc3b58b9ae36 lib/Net/LDAP/Control/PreRead.pm
-SHA1 e914fd0f0d07044c968ec7b3a49fb28fa6b67495 lib/Net/LDAP/Control/ProxyAuth.pm
-SHA1 d192ab5e04c2ca9aa56af0920c9006ee84cb86e9 lib/Net/LDAP/Control/Relax.pm
+SHA1 f0b0499390f0787b1be17b84e2ed633df5c4b0ca lib/Net/LDAP/Control/ProxyAuth.pm
+SHA1 b980653a885e7e0709768910e034334b7ddf03ab lib/Net/LDAP/Control/Relax.pm
 SHA1 1a7e82c52c01348a3b7b6c8e5e573832506e59e3 lib/Net/LDAP/Control/Sort.pm
 SHA1 cfba44f46dfd51d479f63c1c258f90788dd32b6b 
lib/Net/LDAP/Control/SortResult.pm
 SHA1 89f0666fdfbb1ca6a511dcaf7b33bfa91876b81e lib/Net/LDAP/Control/SyncDone.pm
@@ -113,7 +114,7 @@
 SHA1 378acefdb1e1e2bffb3e73ff0e97d59d0b2a2b30 lib/Net/LDAP/Entry.pm
 SHA1 de238a95dd2bd0b8b73c79f1d4b66ac0bc92ff53 lib/Net/LDAP/Entry.pod
 SHA1 2a20c984e7ff49a53a95d2233374ba18a446e5dc lib/Net/LDAP/Examples.pod
-SHA1 0195e6ab43507bceb5fe0797c751e85f9cbf4fbf lib/Net/LDAP/Extension.pm
+SHA1 1bc74ca7f10ab2a08ccfdfb078a547403a62b89d lib/Net/LDAP/Extension.pm
 SHA1 94a97cdb53a2437d8fca5805f679626ea66e9cf6 lib/Net/LDAP/Extension/Cancel.pm
 SHA1 912baab0794cb65538b91fb02cabd6fc95c3fc18 lib/Net/LDAP/Extension/Refresh.pm
 SHA1 a6db215b5ead03fd9981f0cc5402e5cba0a695ce 
lib/Net/LDAP/Extension/SetPassword.pm
@@ -121,7 +122,7 @@
 SHA1 f8a69d8a6c086fdf38c12a72816bcd3d624ac261 lib/Net/LDAP/Extra.pm
 SHA1 21863d25b0bff03ef279e10efe707539c7cd448c lib/Net/LDAP/Extra/AD.pm
 SHA1 e8f760369f662f5b36cb1812282fb657f026bb18 lib/Net/LDAP/Extra/eDirectory.pm
-SHA1 f7377019e5046571e966d491b2981284e03815da lib/Net/LDAP/FAQ.pod
+SHA1 bd3fcc942fd040167be2e2fcb856ddf03ee5c358 lib/Net/LDAP/FAQ.pod
 SHA1 b3be6c23ac12314a7c2c5cedfabf68591303692b lib/Net/LDAP/Filter.pm
 SHA1 0209a4d3c52a6cb2330a15fc9db2a6d686f42c0e lib/Net/LDAP/Filter.pod
 SHA1 5bf16183794a235f2b7929ce350fe9032a8a1636 lib/Net/LDAP/FilterMatch.pm
@@ -131,7 +132,7 @@
 SHA1 a8ecab7277098bb6b2d657b9e16960b0738b0cde lib/Net/LDAP/LDIF.pod
 SHA1 70255d10236d45ee645be63f51257f283af4db67 lib/Net/LDAP/Message.pm
 SHA1 b2023e232032c111473f8addc802f37d40cd0482 lib/Net/LDAP/Message.pod
-SHA1 76961fd1aa4b78c8c7ad6f9638c2cf0a3aefb281 lib/Net/LDAP/RFC.pod
+SHA1 be5dd4a2ebd7b4d16922dbc2f99a5544bbfd9742 lib/Net/LDAP/RFC.pod
 SHA1 4921a9eb85f595aaa4c5c2bf7261feae54440763 lib/Net/LDAP/Reference.pod
 SHA1 f8e82f88b6d0160d57730f7a38845060cdfb9e8a lib/Net/LDAP/RootDSE.pm
 SHA1 04658b75b38c5c90e33c4dbff16d5daa94782cdd lib/Net/LDAP/Schema.pm
@@ -168,17 +169,17 @@
 SHA1 804d275b50505b33bbdd604ac82699ef49358923 t/71preread.t
 SHA1 243db5ee07aac845c98edcd5cfcca9f29c4a9863 t/72postread.t
 SHA1 c18ddb5404354a7da445d65efe85a9129abff6ac t/73assert.t
-SHA1 e0370c941f4e8d54f1dc309256341d70c5952082 t/74matchedvalues.t
+SHA1 aeceb1916e82412b00320fb0866a8ce8fa9fd15b t/74matchedvalues.t
 SHA1 7ada7e0dfb856f0ca2ca53654e7c83d33e751e3c t/common.pl
 SHA1 ceee4437567d85d44529c521391b00e1c751420e test.cfg
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
-iQEcBAEBCgAGBQJTowbWAAoJEEp47DaHHvaSqFUH/0UjNpOa2FXnYq2Ema4hr46d
-e3zsEhWIdOcDROLgemBZLyCNL96JCtZhJsNn9nPKiY6PB8Fyuqv6SLaY1G1cPgUs
-PFllzgBd4RRzR6BZkVJVRhWyF4MVrRqBbLHnvdTsn22bBCR2IiyvimDdOThgck2w
-6KGYc9GO507EQ/5amLN/YkaZMal9AyTbwDz3zPyzv7Cc18ktdSy3II0AWiugOW1Q
-fKMozPeCseKnaT1+wUezcKcmCfpC7UFY0k8vwoQOIEusoblcU4ke+lkWj94nHAXb
-M4km4RX1CS2lxwx/GxrqDEq0r9xwEVaEWTgSqW6B9eCFdR5eCXRX2R6dDNJMq+k=
-=g1AH
+iQEcBAEBCgAGBQJVIsgeAAoJEEp47DaHHvaSdlIIAIywm1ruQ6zFXWi/LjTeDrsV
+6YnTqrx00tOj1dTcz053FlB9c4i0eFFXO20zuLuyBep8Hw1U8gcXaNb95+mPfYj7
+o0IwG5mzPBTn3Sr0VxE8hzaUXN3YrGHC0lkoT7d4FBX58V2W5Kcm1+keykXTwyDq
+oB3AnJQzkHJZYtpQj1hVCFlzwZ2q/uODPl+TNBIuBcIcqLozP0lA7niWY3tz01NJ
+9XYZu1HChf+CE38IISKfBfd9rOMMPMGW+KGnjJLpQZmn9fjcAomgi2Eb0q5SX7Ae
+DlXJ9UUxI7ejMxL6EMzReI4Fb0VtNbj3GKU7h6jHRGNXGfmYJGu0SW5yvWtlJy0=
+=uRrK
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/ASN.pm 
new/perl-ldap-0.65/lib/Net/LDAP/ASN.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/ASN.pm      2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/ASN.pm      2015-04-06 19:39:28.000000000 
+0200
@@ -1,7 +1,7 @@
 
 package Net::LDAP::ASN;
 
-our $VERSION = '0.11';
+our $VERSION = '0.12';
 
 use Convert::ASN1;
 
@@ -281,7 +281,7 @@
     ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
        COMPONENTS OF LDAPResult,
        responseName    [10] LDAPOID OPTIONAL,
-       response        [11] OCTET STRING OPTIONAL }
+       responseValue   [11] OCTET STRING OPTIONAL }
 
     IntermediateResponse ::= [APPLICATION 25] SEQUENCE {
        responseName    [0] LDAPOID OPTIONAL,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Constant.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Constant.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Constant.pm 2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Constant.pm 2015-04-06 19:39:28.000000000 
+0200
@@ -4,7 +4,7 @@
 
 package Net::LDAP::Constant;
 
-our $VERSION = '0.22';
+our $VERSION = '0.23';
 
 use Exporter qw(import);
 
@@ -579,6 +579,10 @@
 
 =over 4
 
+=item LDAP_NOTICE_OF_DISCONNECTION (1.3.6.1.4.1.1466.20036)
+
+Indicates that the server is about to close the connection due to an error 
(RFC 4511)
+
 =item LDAP_EXTENSION_START_TLS (1.3.6.1.4.1.1466.20037)
 
 Indicates if the server supports the Start TLS extension (RFC 4513)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Control/DontUseCopy.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Control/DontUseCopy.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Control/DontUseCopy.pm      1970-01-01 
01:00:00.000000000 +0100
+++ new/perl-ldap-0.65/lib/Net/LDAP/Control/DontUseCopy.pm      2015-04-06 
19:29:41.000000000 +0200
@@ -0,0 +1,106 @@
+# Copyright (c) 2014 Peter Marschall <[email protected]>. All rights reserved.
+# This program is free software; you can redistribute it and/or
+# modify it under the same terms as Perl itself.
+
+package Net::LDAP::Control::DontUseCopy;
+
+use Net::LDAP::Control;
+
+our @ISA = qw(Net::LDAP::Control);
+our $VERSION = '0.01';
+
+use strict;
+
+sub init {
+  my($self) = @_;
+
+  delete $self->{asn};
+  delete $self->{value};
+
+  $self->{critical} = 1;
+
+  $self;
+}
+
+# make sure value does not get set
+sub value {
+  undef;
+}
+
+# make sure criticality remains TRUE
+sub critical {
+  1;
+}
+
+1;
+
+__END__
+
+=head1 NAME
+
+Net::LDAP::Control::DontUseCopy - LDAPv3 Don't Use Copy control object
+
+=head1 SYNOPSIS
+
+ use Net::LDAP;
+ use Net::LDAP::Control::DontUseCopy;
+
+ $ldap = Net::LDAP->new( "ldap.mydomain.eg" );
+
+ $nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );
+
+ $msg = $ldap->search( base => 'o=University of Michigan,c=US',
+                       filter => '(cn=Barbara Jensen)'
+                       control  => [ $nocopy ] );
+
+ die "error: ",$msg->code(),": ",$msg->error()  if ($msg->code());
+
+
+=head1 DESCRIPTION
+
+C<Net::LDAP::Control::DontUseCopy> provides an interface for the creation
+and manipulation of objects that represent the C<DontUseCopy> control as
+described by RFC 6171.
+
+It allows the the client to specify that copied information should not be used
+in providing the service.
+
+The control is appropriate for LDAP search and compare operations [RFC4511]
+and inappropriate for all other oeprations.
+
+Its criticality must be TRUE; it has no value.
+
+There is no corresponding response control.
+
+=head1 CONSTRUCTOR ARGUMENTS
+
+Since the C<DontUseCopy> control does not have any values only the
+constructor arguments described in L<Net::LDAP::Control> are
+supported
+
+=head1 METHODS
+
+As there are no additional values in the control only the
+methods in L<Net::LDAP::Control> are available for
+C<Net::LDAP::Control::DontUseCopy> objects.
+
+=head1 SEE ALSO
+
+L<Net::LDAP>,
+L<Net::LDAP::Control>,
+
+=head1 AUTHOR
+
+Peter Marschall E<lt>[email protected]<gt>.
+
+Please report any bugs, or post any suggestions, to the perl-ldap
+mailing list E<lt>[email protected]<gt>
+
+=head1 COPYRIGHT
+
+Copyright (c) 2014 Peter Marschall. All rights reserved. This program is
+free software; you can redistribute it and/or modify it under the same
+terms as Perl itself.
+
+=cut
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Control/ManageDsaIT.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Control/ManageDsaIT.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Control/ManageDsaIT.pm      2014-06-01 
13:35:49.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Control/ManageDsaIT.pm      2015-04-06 
19:39:28.000000000 +0200
@@ -7,7 +7,7 @@
 use Net::LDAP::Control;
 
 our @ISA = qw(Net::LDAP::Control);
-our $VERSION = '0.03';
+our $VERSION = '0.04';
 
 use strict;
 
@@ -15,13 +15,15 @@
   my($self) = @_;
 
   delete $self->{asn};
-
-  $self->{asn} = {}
-    unless (exists $self->{value});
+  delete $self->{value};
 
   $self;
 }
 
+sub value {
+  undef;
+}
+
 1;
 
 __END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Control/ProxyAuth.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Control/ProxyAuth.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Control/ProxyAuth.pm        2014-06-01 
13:35:49.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Control/ProxyAuth.pm        2015-04-06 
19:39:28.000000000 +0200
@@ -7,7 +7,7 @@
 use Net::LDAP::Control;
 
 our @ISA = qw(Net::LDAP::Control);
-our $VERSION = '1.08';
+our $VERSION = '1.09';
 
 use Net::LDAP::Constant qw(LDAP_CONTROL_PROXYAUTHORIZATION);
 use Net::LDAP::ASN qw(proxyAuthValue);
@@ -92,6 +92,11 @@
   return $self->{value};
 }
 
+# make sure criticality remains TRUE
+sub critical {
+  1;
+}
+
 1;
 
 __END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Control/Relax.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Control/Relax.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Control/Relax.pm    2014-06-01 
13:35:49.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Control/Relax.pm    2015-04-06 
19:39:28.000000000 +0200
@@ -7,7 +7,7 @@
 use Net::LDAP::Control;
 
 our @ISA = qw(Net::LDAP::Control);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 use strict;
 
@@ -15,9 +15,7 @@
   my($self) = @_;
 
   delete $self->{asn};
-
-  $self->{asn} = {}
-    unless (exists $self->{value});
+  delete $self->{value};
 
   # criticality must be set !
   $self->{critical} = 1;
@@ -25,6 +23,15 @@
   $self;
 }
 
+# make sure value does not get set
+sub value {
+  undef;
+}
+
+# make sure criticality remains TRUE
+sub critical {
+  1;
+}
 
 1;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Control.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Control.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Control.pm  2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Control.pm  2015-04-06 19:39:28.000000000 
+0200
@@ -25,9 +25,10 @@
   LDAP_CONTROL_SYNC_DONE
   LDAP_CONTROL_ASSERTION
   LDAP_CONTROL_RELAX
+  LDAP_CONTROL_DONTUSECOPY
 );
 
-our $VERSION = '0.17';
+our $VERSION = '0.18';
 
 my %Pkg2Type = (
 
@@ -59,6 +60,7 @@
   'Net::LDAP::Control::SyncDone'       => LDAP_CONTROL_SYNC_DONE,
   'Net::LDAP::Control::Assertion'      => LDAP_CONTROL_ASSERTION,
   'Net::LDAP::Control::Relax'          => LDAP_CONTROL_RELAX,
+  'Net::LDAP::Control::DontUseCopy'    => LDAP_CONTROL_DONTUSECOPY,
   #
   #LDAP_CONTROL_PWEXPIRED
   #LDAP_CONTROL_PWEXPIRING
@@ -311,6 +313,7 @@
 L<Net::LDAP>,
 L<Net::LDAP::RootDSE>,
 L<Net::LDAP::Control::Assertion>,
+L<Net::LDAP::Control::DontUseCopy>,
 L<Net::LDAP::Control::EntryChange>,
 L<Net::LDAP::Control::ManageDsaIT>,
 L<Net::LDAP::Control::MatchedValues>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/Extension.pm 
new/perl-ldap-0.65/lib/Net/LDAP/Extension.pm
--- old/perl-ldap-0.64/lib/Net/LDAP/Extension.pm        2014-06-01 
13:35:49.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/Extension.pm        2015-04-06 
19:39:28.000000000 +0200
@@ -5,7 +5,7 @@
 package Net::LDAP::Extension;
 
 our @ISA = qw(Net::LDAP::Message);
-our $VERSION = '1.03';
+our $VERSION = '1.04';
 
 #fetch the response name
 sub response_name {
@@ -18,14 +18,14 @@
     : undef;
 }
 
-# fetch the response.
+# fetch the response value
 sub response {
   my $self = shift;
 
   $self->sync  unless exists $self->{resultCode};
 
-  exists $self->{response}
-    ? $self->{response}
+  exists $self->{responseValue}
+    ? $self->{responseValue}
     : undef;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/FAQ.pod 
new/perl-ldap-0.65/lib/Net/LDAP/FAQ.pod
--- old/perl-ldap-0.64/lib/Net/LDAP/FAQ.pod     2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/FAQ.pod     2015-04-06 19:29:41.000000000 
+0200
@@ -1345,7 +1345,7 @@
     $mesg = $ldap->search( base   => 'cn=Testgroup,dc=your,dc=ads,dc=domain',
                            filter => '(objectclass=group)',
                            scope  => 'base',
-                           attrs  => ($index > 0) ? "member;range=$index-*" : 
'member'
+                           attrs  => [ ($index > 0) ? "member;range=$index-*" 
: 'member' ]
                          );
     if ($mesg->code == LDAP_SUCCESS) {
       my $entry = $mesg->entry(0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP/RFC.pod 
new/perl-ldap-0.65/lib/Net/LDAP/RFC.pod
--- old/perl-ldap-0.64/lib/Net/LDAP/RFC.pod     2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/lib/Net/LDAP/RFC.pod     2015-04-06 19:29:41.000000000 
+0200
@@ -688,7 +688,7 @@
 
 =head2 RFC-4529 Requesting Attributes by Object Class in the Lightweight 
Directory Access Protocol (LDAP)
 
-http://www.ietf.org/rfc/rfc4829.txt
+http://www.ietf.org/rfc/rfc4529.txt
 
 The Lightweight Directory Access Protocol (LDAP) search operation
 provides mechanisms for clients to request all user application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP.pm 
new/perl-ldap-0.65/lib/Net/LDAP.pm
--- old/perl-ldap-0.64/lib/Net/LDAP.pm  2014-06-19 17:46:15.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP.pm  2015-04-06 19:41:53.000000000 +0200
@@ -29,13 +29,17 @@
                        );
 
 # check for IPv6 support: prefer IO::Socket::IP 0.20+ over IO::Socket::INET6
-use constant CAN_IPV6 => eval { require IO::Socket::IP; 
IO::Socket::IP->VERSION(0.20); }
-                        ? 'IO::Socket::IP'
-                        : eval { require IO::Socket::INET6; }
-                          ? 'IO::Socket::INET6'
-                          : '';
+use constant CAN_IPV6 => do {
+                           local $SIG{__DIE__};
 
-our $VERSION   = '0.64';
+                           eval { require IO::Socket::IP; 
IO::Socket::IP->VERSION(0.20); }
+                           ? 'IO::Socket::IP'
+                           : eval { require IO::Socket::INET6; }
+                             ? 'IO::Socket::INET6'
+                             : '';
+                         };
+
+our $VERSION   = '0.65';
 our @ISA       = qw(Tie::StdHash Net::LDAP::Extra);
 our $LDAP_VERSION      = 3;      # default LDAP protocol version
 
@@ -253,6 +257,8 @@
   (
     defined $arg->{ciphers} ?
       ( SSL_cipher_list => $arg->{ciphers} ) : (),
+    defined $arg->{sslversion} ?
+      ( SSL_version     => $arg->{sslversion} ) : (),
     SSL_ca_file         => exists  $arg->{cafile}  ? $arg->{cafile}  : '',
     SSL_ca_path         => exists  $arg->{capath}  ? $arg->{capath}  : '',
     SSL_key_file        => $clientcert ? $clientkey : undef,
@@ -261,8 +267,6 @@
     SSL_use_cert        => $clientcert ? 1 : 0,
     SSL_cert_file       => $clientcert,
     SSL_verify_mode     => $verify,
-    SSL_version         => defined $arg->{sslversion} ? $arg->{sslversion} :
-                           'sslv23',
     %verifycn_ctx,
   );
 }
@@ -1100,7 +1104,6 @@
 
   delete $ldap->{net_ldap_root_dse};
 
-  $arg->{sslversion} = 'tlsv1'  unless defined $arg->{sslversion};
   $arg->{sslserver} = $ldap->{net_ldap_host}  unless defined $arg->{sslserver};
 
   my $sock_class = ref($sock);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/lib/Net/LDAP.pod 
new/perl-ldap-0.65/lib/Net/LDAP.pod
--- old/perl-ldap-0.64/lib/Net/LDAP.pod 2014-06-19 17:36:08.000000000 +0200
+++ new/perl-ldap-0.65/lib/Net/LDAP.pod 2015-04-06 19:29:41.000000000 +0200
@@ -184,9 +184,9 @@
   $ldap = Net::LDAP->new( 'remote.host', async => 1 );
 
 LDAPS connections have some extra valid options, see the
-L<start_tls|/start_tls> method for details. Note the default value for
-'sslversion' for LDAPS is 'sslv23', and the default port for LDAPS
-is 636.
+L<start_tls|/start_tls> method for details. Note the default port
+for LDAPS is 636, and the default value for 'sslversion' is the
+value used as default by L<IO::Socket::SSL>.
 
 For LDAPI connections, HOST is actually the location of a UNIX domain
 socket to connect to. The default location is '/var/run/ldapi'.
@@ -783,10 +783,12 @@
 If you set verify to optional or require, you must also set either
 cafile or capath. The most secure option is B<require>.
 
-=item sslversion =E<gt> 'sslv2' | 'sslv3' | 'sslv23' | 'tlsv1'
+=item sslversion =E<gt> 'sslv2' | 'sslv3' | 'sslv23' | 'tlsv1' | 'tlsv1_1' | 
'tlsv1_2'
 
-This defines the version of the SSL/TLS protocol to use. Defaults to
-B<'tlsv1'>.
+This defines the version of the SSL/TLS protocol to use.
+Default is to use the value that L<IO::Socket::SSL> uses as default.
+
+See L<IO::Socket::SSL/SSL_version> for more details.
 
 =item ciphers =E<gt> CIPHERS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-ldap-0.64/t/74matchedvalues.t 
new/perl-ldap-0.65/t/74matchedvalues.t
--- old/perl-ldap-0.64/t/74matchedvalues.t      2014-06-01 13:35:49.000000000 
+0200
+++ new/perl-ldap-0.65/t/74matchedvalues.t      2015-04-06 19:29:41.000000000 
+0200
@@ -87,22 +87,20 @@
 cn: Babs Jensen
 
 # one attribute, wildcards
-match: ((cn=Babs Jensen))
+match: ((cn=Babs*Jensen))
 dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, 
o=University of Michigan, c=US
 filter: ([email protected])
 scope: base
 attrs: cn
 cn: Babs Jensen
 
-# multiple attributes, wildcards
-match: ((cn=* Jensen)(title=*Myth*))
+# one attribute, wildcards, attrs beyond match
+match: ((cn=Babs*Jensen))
 dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, 
o=University of Michigan, c=US
 filter: ([email protected])
 scope: base
-attrs: title
 attrs: cn
-title: Mythical Manager, Research Systems
-cn: Barbara Jensen
+attrs: title
 cn: Babs Jensen
 
 # one attribute, wildcards, no matching value
@@ -112,3 +110,14 @@
 scope: base
 attrs: description
 
+# multiple attributes, wildcards
+match: ((cn=* Jensen)(title=*Myth*))
+dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, 
o=University of Michigan, c=US
+filter: ([email protected])
+scope: base
+attrs: title
+attrs: cn
+title: Mythical Manager, Research Systems
+cn: Barbara Jensen
+cn: Babs Jensen
+

++++++ perl526.patch ++++++
Index: perl-ldap-0.65/Makefile.PL
===================================================================
--- perl-ldap-0.65.orig/Makefile.PL
+++ perl-ldap-0.65/Makefile.PL
@@ -1,5 +1,6 @@
 # -*- perl -*-
 
+use lib '.';
 use inc::Module::Install;
 
 perl_version    5.008001;

Reply via email to