Subject: CVS commit: pkgsrc/databases/p5-perl-ldap
From: Amitai Schlair
Date: 2014-02-15 17:15:34
Message id: 20140215161534.DC8A796@cvs.netbsd.org

Log Message:
Update to 0.58. From the changelog:

COMPATIBILITY WARNING:
The bug fix "LDAP.pm: new parameter bind(sasl_host => SASLHOST)"
is an incompatible change that may break some corner-case configurations

* that use SASL for authentication and
* where the SASL host name differs from the host name connecting to.

The incompatible change was necessary as it was not possible to fix
the issue which was introduced in perl-ldap 0.37 in a compatible way.

See Net::LDAP's manual page for the details on "sasl_host".

Bug Fixes:
* RT#91210: Paged.pm: fix example code
* RT#90459: LDAP.pm: make LDAPS work after LDAP+start_tls
* RT#91177: AD.pm: fix change_ADpassword()
* RT#88792: Constant.pm: add LDAP_CONTROL_SORTRESPONSE
* LDAP.pm: new parameter bind(sasl_host => SASLHOST)
* Entry.pm: ignore options when update()ing LDIF
* Entry.pm: let update() fail correctly on illegal target
* RT#86053: FAQ.pod: fix spelling error
* *.{pm,pod}: lots of more grammar & spelling fixes / harmonizations
* RT#85941: LDAP.pm: new method data_ready()
* RT#84886: Control/Relax.pm: fix typo in documentation
* RT#84410: PersistentSearch.pm: use $message->pop_entry() in example
* RT#84774: Constant.pm: unbreak Novell eDirectory constants
* RT#73202: LDIF.pm: Base64-encode values ending in spaces
* RT#83815: fix typo/bug in example for root_dse
* various clarification & fixes in documentation
* t/7{1pre,2post}read.t: don't use deprecated methods
* fix PreRead & PostRead controls
* AD.pm: fix typo in documentation
* RT#81380: in Filter.pm unescape hexpairs and ( ) \ * only
* tests: compare files in "text mode"
* Makefile.PL: mention all requirements for tests
* t/07filtermatch.t: use core module Text::Soundex instead of String::Approx
* Message.pm: fix regression w.r.t. Net::LDAP::Message::Dummy
* RT#80482 fix display of =item inet6 in LDAP.pod
* RT#66753: new key & cert for SSL server tests
* RT#79763 Net::LDAP::Util's $VERSION increased
* t/06constant.t: numbering glitch in t/06constant.t
* FilterMatch.pm: fix mapping of greaterOrEqual
* FAQ.pod: small fixes
* RT#79763 extend ldap_explode_dn() for RFC 4514
* RT#77291 canonicalize host name with ldapi://
* LDAP.pm: don't try to set errors on undefined objects
* Util.pm: fix bug in escape_dn_value()
* t/55ssl.t: fix typos in output text
* LDIF.pm: with encode => 'canonical', do mbcescape DNs
* the usual typo fixes in docs
* contrib/ldifdiff.pl: fix POD
* Intermediate/SyncInfo.pm: fix newcookie() method
* LWP/Protocol/ldap.pm: complete overhaul
* LDAP.pm: unbreak - make done a real sub
* Message.pm: fix typo, i.e. add forgotten ';'
* RT#72108 fix non-blocking IO with SSL
* RT#74572 fix $entry->update($ldif)
* RT#74759 fix POD spelling/grammar errors
* RT#77180 use "sslv23" instead of "sslv2/3" for sslversion
* work around a warning in Authen::SASL::Perl <= 2.1.5
* various typo fixes in documentation
* un-break certificate verification
* fixes for the ProxyAuthorization control
* fix typos & spelling errors in POD

Enhancements:
* Filter.pod: remove misleading text
* typo fixes
* RT#91156: add META.json
* DSML.pm, Protocol/ldap.pm: use MIME::Base64::decode()
* make MIME::Base64 mandatory
* README: update optional modules, slight reorganization
* Entry.pod: update documentation of N:L:E->update
* Makefile.PL: require Text::Soundex for tests
* LDAP.pm: use data_ready() in process()
* Util.pm: simplify return on error
* Constant.pm: add constant LDAP_CONTROL_NOOP
* Schema.pm: call isa() as recommented in UNIVERSAL.pm
* FAQ.pod: add more directory servers
* t/07filtermatch.t: skip some tests unless Text::Soundex is installed
* t/74matchedvalues.t: new, tests for MatchedValues control
* t/73assert.t: new, tests for Assertion control
* LDIF.pm: overhaul
  - flexibilize mode handling, accept PerlIO layers
  - get rid of dependency on Symbol & SelectSaver
  - convert _write_... to object methods
  - use indirect file handles for URLs
* LWP/Protocol/ldap.pm: use regex as 1st arg to split()
* Control/ManageDsaIT.pm: update documentation & simplify a bit
* Control/Relax.pm: new
* Constant.pm: add LDAP_CONTROL_RELAX
* LDAP.pod: omit space from filter in synopsis
* FAQ.pod: don't talk of "2 lines" when there's only one
* Extra/eDirectory.pm: fix typo, space police
* FAQ.pod: mention Dancer::Plugin::LDAP, update example
* Extra/eDirectory.pm: new; extensions for eDirectory
* Constant.pm: add constants for Novell eDirectory
* LDIF.pm: clean up handling of mode parameter
* LDIF.pm: partially support controls when reading
* Util.pm: add time conversion functions
* Makefile.PL: update recommends, add comments on core modules
* FAQ.pod: update info on required/optional modules
* LDAP.pod,FAQ.pod: harmonize documentation of scope values
* Filter.pm: new method negate()
* Util.pm: new function ldap_url_parse()
* RT#77716: LDAP.pm: new option keepalive for new()
* LDAP.pm: convert scheme to lowercase in new()
* FAQ.pod: how to search all members of a large AD group
* FAQ.pod: how to do nested group searches in AD
* add tests for PreRead & PostRead controls
* FAQ.pm: example for certificateExactMatch
* coding style overhaul:
  * use single-quoted strings where possible
  * 2 SPACEs before postfix if,unless,or,and
  * SPACE after comma
  * SPACE between if,elsif,unless,while,for and (
  * make private lexical variables more private
  * unquote identifiers before =>
  * unquote identifiers used as hash keys
* Schema.pod: document attribute_syntax()
* contrib/schema2ad.pl: new, convert schema file to something AD can digest
* Makefile.PL: make dependencies reflect reality better
* LDAP.pm: avoid warning in new() that might have occurred in corner cases
* add constant LDAP_PROXY_AUTHZ_FAILURE
* FilterMatch.pm: complete overhaul
  - update matching rules known in OpenLDAP
  - support matching rules for extensibleMatch
  - avoid warning if no matching rule is found
  - add specific implementations for a lot of rules
* global overhaul towards Perl 5.8 features
  - declare @ISA and $VERSION as package-local
  - replace 'use vars' by 'our'.
* Makefile.PL: overhaul
* tests: cleanup & extensions
  - convert to Test::More
  - t/common.pl: allow client() to take options for Net::LDAP
  - t/common.pl: get rid of local compare function
  - t/03schema.t: overhaul, update data/schema.in
  - t/07filtermatch.t: new, tests for Net::LDAP::FilterMatch
  - t/40connect.t: new, test for IPv4 / IPv6 connections
  - reorganize servers tests: rename t/5X*.t -> t/4(X+1)*.t
  - t/47ipc.t: add TLS tests
  - t/60cancel.t: new, tests for Net::LDAP::Extension::Cancel
  - t/70sortctrl.t: make it a server test & add multi-attribute testcase
* ASN.pm: adapt to RFC 4511
* Extension/{SetPassword,Refresh}.pm: polish ASN.1 definition
* LWP/Protocol/ldap.pm: respond with requested MIME type
* LWP/Protocol/ldap.pm: document 'x-format' URI extension
* LWP/Protocol/ldap.pm: add DSMLv1 as output format
* test routines updated to work with recent OpenLDAP
* removed trailing spaces
* support OpenLDAP extension: scope => "children"
* more feature constants in Net/LDAP/Constant.pm
* new features & documentation for LWP/Protocol/ldap.pm
* LWP/Protocol/ldapi.pm: support ldapi:// URIs with LWP
* contrib/LWPsearch.pl: demo program for LWP::Protocol::ldap*
* update link list in the FAQ
* update references to RFCs
* FAQ.pod: update URLs a bit more
* RT#77458 re-work IPv6 support
* Don't accumulate intermediate messages passed to a callback.
* slightly extend Net::LDAP::Entry->update() and document it
* convenience alias done() for Net::LDAP->unbind()
* various updates to the FAQ
* MANIFEST.SKIP: sync with Perl 5.14.2's ExtUtils version
* Makefile.PL: update resource info on repository
* new extended operation Net::LDAP::Extension::Cancel
* new control Net::LDAP::Control::MatchedValues
* new control Net::LDAP::Control::Assertion
* update reference documents in POD
* extend documentation for Pre-Read & Post-Read controls
* add error string for LDAP_VLV_ERROR
* add result codes for VLV and cancel
* add constant for DontUseCopy control
* add constant for PermissiveModify control
* Fix copy & paste errors in Net::LDAP::Message
* Check whether LDAP socket object has a peerhost() method defined
  before calling it. This fixes SASL authentication over UNIX domain
  (ldapi://) sockets. [Chris Mikkelson]
* use of non-localised $_ in Net::LDAP::Constant causes prolems in lemonldap-ng \ 
[Damyan Ivanov]
* Added cn,o,ou to the default set of case-insensitive attributes [Kartik Subbarao]
* Entry.pod: fix typos [Peter Marschall]
* extend Net::LDAP::Entry->update() to take LDIF objects [Peter Marschall]
* Specify that we want to use the 'ldap' scheme to verify certificates. [Kevan \ 
Carstensen]
* Net/LDAP/Extra/AD.pm:  convenience functions for AD
* various documentation updates

Files:
RevisionActionfile
1.46modifypkgsrc/databases/p5-perl-ldap/Makefile
1.15modifypkgsrc/databases/p5-perl-ldap/distinfo