From 59c46490e3169409b9a56238af7a1380d0f398ff Mon Sep 17 00:00:00 2001 From: schmonz Date: Sat, 15 Feb 2014 16:15:34 +0000 Subject: 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 --- databases/p5-perl-ldap/Makefile | 7 +++---- databases/p5-perl-ldap/distinfo | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'databases') diff --git a/databases/p5-perl-ldap/Makefile b/databases/p5-perl-ldap/Makefile index 95242343c1c..b76d5e787fc 100644 --- a/databases/p5-perl-ldap/Makefile +++ b/databases/p5-perl-ldap/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.45 2013/05/31 12:39:55 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2014/02/15 16:15:34 schmonz Exp $ -DISTNAME= perl-ldap-0.4001 -PKGNAME= p5-${DISTNAME:S/4001/40.01/} -PKGREVISION= 3 +DISTNAME= perl-ldap-0.58 +PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= pldap CATEGORIES= databases net devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/} diff --git a/databases/p5-perl-ldap/distinfo b/databases/p5-perl-ldap/distinfo index a475a37a8be..b182349fa18 100644 --- a/databases/p5-perl-ldap/distinfo +++ b/databases/p5-perl-ldap/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.14 2010/09/09 21:12:07 sno Exp $ +$NetBSD: distinfo,v 1.15 2014/02/15 16:15:34 schmonz Exp $ -SHA1 (perl-ldap-0.4001.tar.gz) = 22caf31ca3eddc4f6fe5793bc8928e1f3bc118ca -RMD160 (perl-ldap-0.4001.tar.gz) = fb57675bcb06c3815fb6318fe51e8e19becb23ff -Size (perl-ldap-0.4001.tar.gz) = 254232 bytes +SHA1 (perl-ldap-0.58.tar.gz) = ccf83dbc3a7cd5c704b932b53f9f313988e86138 +RMD160 (perl-ldap-0.58.tar.gz) = cd0e0dd0181ab0d76648989bace759b30ede86fc +Size (perl-ldap-0.58.tar.gz) = 307111 bytes -- cgit v1.2.3