Upstream changes:
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 <troyl@ti.com> 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:
* LDAP.pm: set SSL_cipher_list correctly
* RT#96203: LDAP.pm: use correct length for syswrite
* LDIF.pm: fix next outside loop in _write_one_entry
* Entry.pod: fix typo
Problems found with existing distfiles:
distfiles/D6.data.ros.gz
distfiles/cstore0.2.tar.gz
distfiles/data4.tar.gz
distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.
No effective change for the above reason.
Ok joerg
Enhancements:
* Entry.pm: accept options for update() in the LDIF case
* LDIF.pm:
- implement writing controls
- refactor _write_entry
- check for decoding errors in LWP-based URLs
* Util.pm: remove superfluous space from POD
* FAQ.pm: update perl-ldap & Perl version numbers
* {LDAP,LDIF}.pod: update documentation of raw => REGEX
* support LWP-supproted URLs when reading LDIFs (incl. tests)
* add test for Net::LDAP::Util's time functions
* tests: set default OpenLDAP DB type to mdb
* IO::Socket::IP support
- if installed in version 0.20 or higher, prefer it over IO::Socket::INET*
- use IO::Socket::INET* as fallback if it isn't installed
- this solves RT#93122, which IMHO is not really a bug of perl-ldap
* remove trailing whitespace in contrib/*
* t/60cancel.t: add explanation about potential cause of failure
* LDAP.pm: accessor method sasl for Authen::SASL object
* LDAP.pm: adapt socket() to support SASL layers
* Message.pod: consolidate dcwocumentation of control()
* Control.pm: documentation update
* LDAP.pod: add note about IO::Socket::IP and Timeout
* LDIF.pm: overhaul
- set error when write fails
- simplify _read_entry
- simplify _write_entry
- coding style harmonization
- error checks when reading changetype: delete
- make _error() return undef/empty list, adapt callers
- refactor handling DNs when reading
- new method _read_attribute_value()
Bug Fixes:
* RT#95001: Do not set SSL_ciphers to ALL by default
* Entry.pm: delete(): return $self if called w/o args
* RT#94357: t/08time.t: skip tests on too old Perl versions
* RT#94341: FAQ.pm: fix incorrect instruction
* jpegDisplay.pl: overhaul to make it work again
* RT#94047: Control.pm: add missing word in POD
* RT#93945: Util.pm: make sure $dec is defined
* LDIF.pm: when reading LDIFs, allow control values to be absent
* Control/ProxyAuth.pm: fix initialization using value => ...
* Util.pm: fix corner cases in time conversion functions
* Handle SASL security layers correctly on rebind
Thanks Ben Morrow <ben@morrow.me.uk>
* Control/Paged.pm: fix typo in POD sample code
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
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
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Pkgsrc changes:
- Depend on net/p5-IO-Socket-INET6 instead of the identical and soon
to be removed net/p5-INET6
Upstream changes:
perl-ldap 0.39 -- Mon Oct 27 15:02:37 CDT 2008
==============================================
Bug Fixes
* 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
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes: fix dependency, this Perl module requires XML::SAX::Writer,
not XML::SAX; handle IPv6 support.
Changes since last packaged version (0.34):
perl-ldap 0.38 -- Sun Sep 21 09:17:25 CDT 2008
==============================================
Bug Fixes
* Fix bug in Net::LDAP::Extension using wrong field for resultCode
* Fix Net::LDAP::Control::PasswordPolicy decoding bug.
Enhancements
* Net::LDAP::Extension::SetPassword now supports controls
perl-ldap 0.37 -- Thu Aug 28 07:48:13 CDT 2008
==============================================
Bug Fixes
* Pass correct hostname to SASL when connecting to a round-robin
* Return the SASL error message when sasl client_start fails
Enhancements
* Add Modify Increment (RFC 4525) support
* Add Content Synchronization (RFC 4453) support
perl-ldap 0.36 -- Mon Apr 21 10:00:09 CDT 2008
==============================================
Bug Fixes
* Fixed Net::LDAP::constant to return correct names for values 0 - 9
* Fixed DSML test to be more tolerant of whitespace
Enhancements
* Added controls for PreRead & PostRead
perl-ldap 0.35 -- Sun Mar 30 13:35:04 CDT 2008
==============================================
Bug Fixes
* Fix wrapping in Net::LDAP::LDIF
* Patch from Gergely Santa to allow entries with no attributes in LDIF
* Fix modr?dn to fetch values in sclar context
* send packets in sizes that IO::Socket::SSL can chew
* Avoid attept to use undef as hash reference in ->sync
* Ensure Bind.pm presents final server response to SASL object
Enhancements
* 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
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Bug Fixes
* Removed superfluous "print" in Net::LDAP::LDIF before _write_attr on writing
* Base64 encode any value starting with < in Net::LDAP::LDIF
* Documentation updates
* Fix case insensitivity issues in contrib/ldifdiff.pl
Enhancements
* Added Net::LDAP::Extension::WhoAmI
* Added write_version() and handle() methods to Net::LDAP::LDIF
* Updated Net::LDAP::Control::ProxyAuth to support new OID from latest rfc-draft
* Added contrib/recursive-ldap-delete.pl
* Added ability to do case in comparisons to contrib/ldifsort.pl
Package change: convert to the options framework.
Changes since last packaged version (0.30):
perl-ldap 0.3202 -- Mon Jul 19 11:44:08 BST 2004
Bug Fixes
* Fixed case typo in Makefile.PL
perl-ldap 0.3201 -- Wed Jul 14 21:52:59 BST 2004
Bug Fixes
* Fixed dependancies in Makefile.PL
perl-ldap 0.32 --
Bug Fixes
* Documentation updates
* Fixed LDIF output from ldapsearch command
* Return an error if no filter is passed to Net::LDAP::filter->parse
* Fixed bug handling comments in LDIF parser
* Fix to ldapsearch for passing scope with -s
* Do not send a fake userid in SASL binds
* Net::LDAP::Schema->parse() now returns undef on errors
Enhancements
* Added supportedFeatures to the default list of attributes
fetched by ->root_dse
* Added option to sort attributes in LDIF output, with objectclass
being first floowed by all other attributes in alphabetical order
* Add escape/unescape filters/DN utility functions
* Added support for reading LDIF URL attributes using file://
* The socket created by new can now be bound to a local address & port
* Any controls returned by the server with each entry as a result from a
search are now available in the callback function
* Added classes for EntryChange, PersistentSearch and ManageDsaIT controls
* Allow options passed to Net::LDAP::Entry-.update to be passed to the
Net::LDAP method that is finally called
perl-ldap 0.31 1 Jan 2004
==========================
* Fixed bug that could cause methods to return an integer instead of an object
* Fixed bug causing Schema.pm to ignore superior classes that had no attributes
* Documentation updates
* Updates to LDIF module
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
* Documentation updates
* Fixed bug checking return value of client_step in bind()
* Fixed bug in Entry.pm causing method calls on unblessed references
Add optional dependencies for SASL Authentification mechanisms.
Full ChangeLog at the top of the tarball, here's an extract:
Release 0.29
Work-a-round a bug in IO::Socket::SSL where it leaves the socket
blessed into IO::Socket::SSL when socket_to_SSL fails
Fix reference loop problem by hiding the real object behind a tied
hash and only using the inner hash internally and the outer hash
externally
Extended ldap_error_name, ldap_error_text and ldap_error_desc to take Message args
Added error_name, error_text and error_desc methods
Release 0.28
Fix url host extraction
Fix bug in URL parsing when the host contains a port.
Change root_dse to return a RootDSE object instead of an Entry
Add support for URIs to be passed to ->new. ldap: ldaps: and ldapi:
are supported.
Change Net::LDAPS and Net::LDAPI to be very thin wrappers over new URI code
Support "Notice of Disconnection"
Added LDAP Extensions section
Call the callback, if any, for a message when its
error is explicitly set
Check result of client_step is defined or cause SASL auth to terminate
Check client_start return value
changes now returns an empty array if there were no changes.
Added ->disconnect to do explicit disconnects from the server
Better handling on IO errors
Return schema parse errors
Fix VLV response extraction. Patch from Paul Connolly
Added information about perl-ldap installation in ActiveState Perl.
Changed Messaging Direct to Isode.
Added some information about the ResourcePool perl module.
Replaced XML::Parse with XML::SAX.
Change XML::Parser to XML::SAX::Base
Changed decryptkey to keydecrypt for consistency
Fixed clone(): update $clone->{changetype} and $clone->{changes}.
Added the ablitiy to modify entry information by reading a ldif file. This
requires the patch that I submitted for LDAP.pm.
Added clone() function to copy an Entry object.
Changes :
* contrib/tklkup:
- Corrected default numbers for gui height and width.
- Corrected error in gui height and width geometry initialization.
* contrib/dot.tklkup:
- Corrected default numbers for width and height.
* contrib/tklkup:
- Corrected an error in the rootDse subroutine.
* contrib/tklkup:
- Removed one of the mainwindow update commands in the schema display
section, it was interfering with the automatic window sizing on
window creation.
* contrib/tklkup:
- Replaced width and height test values with correct values.
* contrib/tklkup:
- Moved position of process message window.
- Added main window height and width options.
- Added busy indicator.
Please see ChangeLog for more.