pkgsrc/databases/p5-perl-ldap/Makefile

47 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.50 2015/02/13 13:24:53 mef Exp $
Update to 0.63. From the changelog: 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
2014-06-09 20:33:18 +02:00
DISTNAME= perl-ldap-0.63
PKGREVISION= 1
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
2014-02-15 17:15:34 +01:00
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases net devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ldap.perl.org/
COMMENT= Perl class to access LDAP servers
Updating databases/p5-perl-ldap from 0.39nb1 to 0.40.01 pkgsrc changes: - mark dependencies satisfied by Perl5 Core - add license definition Upstream changes: 0.4001 -- Wed Mar 24 14:54:35 CDT 2010 * Update Module::Install and generate META.yml 0.40 -- Thu Mar 11 20:56:28 CST 2010 * Avoid 'cookie parsing error' on OpenLDAP 2.3 [Mathieu Parent] * Added e-syncRefreshRequired constant [Mathieu Parent] * Minor typo fix in documentation [Quanah Gibson-Mount] * Update CREDITS for Mathieu Parent * Remove runtime dependency on DATA handle for constants * Clarify documentation for gen_password * Allow caller to pass Authen::SASL client_new object * fix typo [Peter Marschall] * use current IO::Socket::SSL's method start_SSL instead of deprecated function socketToSSL; raise required IO::Socket:SSL version appropriately [Peter Marschall] * FilterMatch.pm: fix regex treatment in _{cis,exact}_substrings(). [Peter Marschall] * FilterMatch.pm: correct # of args in function declarations/definitions [Peter Marschall] * Don't duplicate documentation [Mathieu Parent] * Added numcmp option to compare attributes numerically. [Kartik Subbarao] * Avoid infinite loop when authenticating with EXTERNAL mechanism * Add Net::LDAP::Extension::Refresh as described in RFC2589 [Etienne Bagnoud] * RT#40068 Fix tests to work with 2.4.11 * Add ldif method to Net::LDAP::Entry * RT#46111 Make LWP::Protocol::ldap return ldif when requested * RT#51165 Compact multiple consecutive spaces in Net::LDAP::Util::canonical_dn * RT#46125 Add LWP::Protocol::ldaps to support ldaps: urls * RT#44110 Fix Net::LDAP::LDIF->current_lines
2010-09-09 23:12:07 +02:00
LICENSE= ${PERL5_LICENSE}
Update to version 0.38 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
2008-10-12 22:54:44 +02:00
BUILD_DEFS+= IPV6_READY
Update to 0.29, closing PR pkg/21907. OK'd by wiz@ and seb@. 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.
2003-09-18 23:24:36 +02:00
DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
DEPENDS+= p5-IO-Socket-SSL>=0.81:../../security/p5-IO-Socket-SSL
DEPENDS+= p5-Text-Soundex-[0-9]*:../../textproc/p5-Text-Soundex
Updating databases/p5-perl-ldap from 0.39nb1 to 0.40.01 pkgsrc changes: - mark dependencies satisfied by Perl5 Core - add license definition Upstream changes: 0.4001 -- Wed Mar 24 14:54:35 CDT 2010 * Update Module::Install and generate META.yml 0.40 -- Thu Mar 11 20:56:28 CST 2010 * Avoid 'cookie parsing error' on OpenLDAP 2.3 [Mathieu Parent] * Added e-syncRefreshRequired constant [Mathieu Parent] * Minor typo fix in documentation [Quanah Gibson-Mount] * Update CREDITS for Mathieu Parent * Remove runtime dependency on DATA handle for constants * Clarify documentation for gen_password * Allow caller to pass Authen::SASL client_new object * fix typo [Peter Marschall] * use current IO::Socket::SSL's method start_SSL instead of deprecated function socketToSSL; raise required IO::Socket:SSL version appropriately [Peter Marschall] * FilterMatch.pm: fix regex treatment in _{cis,exact}_substrings(). [Peter Marschall] * FilterMatch.pm: correct # of args in function declarations/definitions [Peter Marschall] * Don't duplicate documentation [Mathieu Parent] * Added numcmp option to compare attributes numerically. [Kartik Subbarao] * Avoid infinite loop when authenticating with EXTERNAL mechanism * Add Net::LDAP::Extension::Refresh as described in RFC2589 [Etienne Bagnoud] * RT#40068 Fix tests to work with 2.4.11 * Add ldif method to Net::LDAP::Entry * RT#46111 Make LWP::Protocol::ldap return ldif when requested * RT#51165 Compact multiple consecutive spaces in Net::LDAP::Util::canonical_dn * RT#46125 Add LWP::Protocol::ldaps to support ldaps: urls * RT#44110 Fix Net::LDAP::LDIF->current_lines
2010-09-09 23:12:07 +02:00
DEPENDS+= {perl>=5.8.0,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
DEPENDS+= p5-URI>=1.10:../../www/p5-URI
Update to version 0.38 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
2008-10-12 22:54:44 +02:00
DEPENDS+= p5-XML-SAX-Writer-[0-9]*:../../textproc/p5-XML-SAX-Writer
Update to 0.29, closing PR pkg/21907. OK'd by wiz@ and seb@. 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.
2003-09-18 23:24:36 +02:00
Update to version 0.3202 as package version 0.32.02. 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
2005-05-15 19:12:09 +02:00
MAKE_PARAMS+= --skip # skip CPAN auto installation of modules
Update to 0.29, closing PR pkg/21907. OK'd by wiz@ and seb@. 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.
2003-09-18 23:24:36 +02:00
Update to version 0.3202 as package version 0.32.02. 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
2005-05-15 19:12:09 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-perl-ldap
PKG_SUPPORTED_OPTIONS= sasl inet6
PKG_SUGGESTED_OPTIONS= inet6
Update to version 0.3202 as package version 0.32.02. 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
2005-05-15 19:12:09 +02:00
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Msasl)
Update to 0.29, closing PR pkg/21907. OK'd by wiz@ and seb@. 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.
2003-09-18 23:24:36 +02:00
DEPENDS+= p5-Authen-SASL>=2.00:../../security/p5-Authen-SASL
Updating databases/p5-perl-ldap from 0.39nb1 to 0.40.01 pkgsrc changes: - mark dependencies satisfied by Perl5 Core - add license definition Upstream changes: 0.4001 -- Wed Mar 24 14:54:35 CDT 2010 * Update Module::Install and generate META.yml 0.40 -- Thu Mar 11 20:56:28 CST 2010 * Avoid 'cookie parsing error' on OpenLDAP 2.3 [Mathieu Parent] * Added e-syncRefreshRequired constant [Mathieu Parent] * Minor typo fix in documentation [Quanah Gibson-Mount] * Update CREDITS for Mathieu Parent * Remove runtime dependency on DATA handle for constants * Clarify documentation for gen_password * Allow caller to pass Authen::SASL client_new object * fix typo [Peter Marschall] * use current IO::Socket::SSL's method start_SSL instead of deprecated function socketToSSL; raise required IO::Socket:SSL version appropriately [Peter Marschall] * FilterMatch.pm: fix regex treatment in _{cis,exact}_substrings(). [Peter Marschall] * FilterMatch.pm: correct # of args in function declarations/definitions [Peter Marschall] * Don't duplicate documentation [Mathieu Parent] * Added numcmp option to compare attributes numerically. [Kartik Subbarao] * Avoid infinite loop when authenticating with EXTERNAL mechanism * Add Net::LDAP::Extension::Refresh as described in RFC2589 [Etienne Bagnoud] * RT#40068 Fix tests to work with 2.4.11 * Add ldif method to Net::LDAP::Entry * RT#46111 Make LWP::Protocol::ldap return ldif when requested * RT#51165 Compact multiple consecutive spaces in Net::LDAP::Util::canonical_dn * RT#46125 Add LWP::Protocol::ldaps to support ldaps: urls * RT#44110 Fix Net::LDAP::LDIF->current_lines
2010-09-09 23:12:07 +02:00
DEPENDS+= {perl>=5.8.0,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5
Update to 0.29, closing PR pkg/21907. OK'd by wiz@ and seb@. 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.
2003-09-18 23:24:36 +02:00
.endif
Update to version 0.38 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
2008-10-12 22:54:44 +02:00
.if !empty(PKG_OPTIONS:Minet6)
DEPENDS+= p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
Update to version 0.38 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
2008-10-12 22:54:44 +02:00
.endif
PERL5_PACKLIST= auto/Net/LDAP/.packlist
Update to 0.63. From the changelog: 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
2014-06-09 20:33:18 +02:00
post-extract:
chmod -x ${WRKSRC}/lib/Net/LDAP/DSML.pm
2002-10-27 21:48:55 +01:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"