Hi, Little diff to update p5-ldap to the latest version. Tested on @amd64 with OpenLdap 2.0.27 and 2.4.11.
Changelog here: http://cpansearch.perl.org/src/GBARR/perl-ldap-0.4001/Changes Regards, -- Pierre-Emmanuel André <pea at raveland.org> GPG key: 0x7AE329DC
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/p5-ldap/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile 28 Mar 2009 17:41:53 -0000 1.24 +++ Makefile 29 Apr 2010 14:24:57 -0000 @@ -2,9 +2,9 @@ COMMENT= client interface to LDAP servers -VERSION= 0.39 +VERSION= 0.4001 DISTNAME= perl-ldap-${VERSION} -PKGNAME= p5-ldap-${VERSION}p0 +PKGNAME= p5-ldap-${VERSION} CATEGORIES= databases MODULES= cpan Index: distinfo =================================================================== RCS file: /cvs/ports/databases/p5-ldap/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo 28 Oct 2008 12:27:17 -0000 1.12 +++ distinfo 29 Apr 2010 14:24:57 -0000 @@ -1,5 +1,5 @@ -MD5 (perl-ldap-0.39.tar.gz) = DDEJeqImcqKDGnVCJQ0bVQ== -RMD160 (perl-ldap-0.39.tar.gz) = 9tP2oHyRC/NgnWqkmb51qa1iC1g= -SHA1 (perl-ldap-0.39.tar.gz) = jSMql3slDrNir2308OJEQlOBnVY= -SHA256 (perl-ldap-0.39.tar.gz) = GMlpEVYIBfd7k43pRHkAs9HyFJSUrrXevUC+2uOMvo8= -SIZE (perl-ldap-0.39.tar.gz) = 259143 +MD5 (perl-ldap-0.4001.tar.gz) = 8wrykEsJP6gaQqtoLKRApg== +RMD160 (perl-ldap-0.4001.tar.gz) = +1dnW8sGw4FftjGP5R6OGb7LI/8= +SHA1 (perl-ldap-0.4001.tar.gz) = IsrzHKPt3E9v5Xk7yJKOHzvBGMo= +SHA256 (perl-ldap-0.4001.tar.gz) = +uLPGDtrIU7pBO6oVOqEulSxPOKNjqbWL3B2D06L/Go= +SIZE (perl-ldap-0.4001.tar.gz) = 254232 Index: patches/patch-lib_Net_LDAP_LDIF_pm =================================================================== RCS file: patches/patch-lib_Net_LDAP_LDIF_pm diff -N patches/patch-lib_Net_LDAP_LDIF_pm --- patches/patch-lib_Net_LDAP_LDIF_pm 28 Mar 2009 17:41:53 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ -$OpenBSD: patch-lib_Net_LDAP_LDIF_pm,v 1.1 2009/03/28 17:41:53 pea Exp $ ---- lib/Net/LDAP/LDIF.pm.orig Fri Mar 27 17:35:12 2009 -+++ lib/Net/LDAP/LDIF.pm Fri Mar 27 17:36:19 2009 -@@ -126,6 +126,7 @@ sub _read_lines { - } - } - $self->eof(1) if (!defined($ln)); -+ $self->{_current_lines} = $entry; - $entry =~ s/\r?\n //sgo; # un-wrap wrapped lines - $entry =~ s/\r?\n\t/ /sgo; # OpenLDAP extension !!! - @ldif = split(/^/, $entry); Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/databases/p5-ldap/pkg/PLIST,v retrieving revision 1.12 diff -u -p -r1.12 PLIST --- pkg/PLIST 18 Sep 2008 12:19:32 -0000 1.12 +++ pkg/PLIST 29 Apr 2010 14:24:57 -0000 @@ -5,6 +5,7 @@ ${P5SITE}/Bundle/Net/LDAP.pm ${P5SITE}/LWP/ ${P5SITE}/LWP/Protocol/ ${P5SITE}/LWP/Protocol/ldap.pm +${P5SITE}/LWP/Protocol/ldaps.pm ${P5SITE}/Net/ ${P5SITE}/Net/LDAP/ ${P5SITE}/Net/LDAP.pm @@ -35,6 +36,7 @@ ${P5SITE}/Net/LDAP/Entry.pod ${P5SITE}/Net/LDAP/Examples.pod ${P5SITE}/Net/LDAP/Extension/ ${P5SITE}/Net/LDAP/Extension.pm +${P5SITE}/Net/LDAP/Extension/Refresh.pm ${P5SITE}/Net/LDAP/Extension/SetPassword.pm ${P5SITE}/Net/LDAP/Extension/WhoAmI.pm ${P5SITE}/Net/LDAP/Extra.pm @@ -82,6 +84,7 @@ ${P5SITE}/Net/LDAPS.pm @man man/man3p/Net::LDAP::DSML.3p @man man/man3p/Net::LDAP::Entry.3p @man man/man3p/Net::LDAP::Examples.3p +...@man man/man3p/Net::LDAP::Extension::Refresh.3p @man man/man3p/Net::LDAP::Extension::SetPassword.3p @man man/man3p/Net::LDAP::Extension::WhoAmI.3p @man man/man3p/Net::LDAP::Extra.3p