Hello,
Here is an update for p5-ldap to version 0.57. I have tested it lightly
and it works for my use case.
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/p5-ldap/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile 11 Mar 2013 02:52:07 -0000 1.33
+++ Makefile 9 Oct 2013 13:06:09 -0000
@@ -2,19 +2,19 @@
COMMENT= client interface to LDAP servers
-VERSION= 0.4001
+VERSION= 0.57
DISTNAME= perl-ldap-${VERSION}
PKGNAME= p5-ldap-${VERSION}
-REVISION= 1
CATEGORIES= databases
MODULES= cpan
USE_GROFF = Yes
-CPAN_AUTHOR= GBARR
+CPAN_AUTHOR= MARSCHAP
HOMEPAGE= http://ldap.perl.org/
RUN_DEPENDS= converters/p5-Convert-ASN1 \
+ net/p5-IO-Socket-INET6 \
security/p5-Authen-SASL \
security/p5-IO-Socket-SSL \
textproc/p5-XML-Parser \
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/p5-ldap/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo 21 Sep 2010 13:14:01 -0000 1.13
+++ distinfo 9 Oct 2013 13:06:09 -0000
@@ -1,5 +1,2 @@
-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
+SHA256 (perl-ldap-0.57.tar.gz) =
MpRproAzEH/sR/ntjJaeo6+eMimowIH4yntrIjrv7CM=
+SIZE (perl-ldap-0.57.tar.gz) = 302611
Index: patches/patch-test_cfg
===================================================================
RCS file: /cvs/ports/databases/p5-ldap/patches/patch-test_cfg,v
retrieving revision 1.2
diff -u -p -r1.2 patch-test_cfg
--- patches/patch-test_cfg 17 Mar 2011 16:00:28 -0000 1.2
+++ patches/patch-test_cfg 9 Oct 2013 13:06:09 -0000
@@ -1,32 +1,26 @@
-$OpenBSD: patch-test_cfg,v 1.2 2011/03/17 16:00:28 pea Exp $
---- test.cfg.orig Fri Mar 12 04:09:47 2010
-+++ test.cfg Thu Mar 17 15:19:54 2011
-@@ -3,23 +3,23 @@
- # can find the executable and know what type of server it is
-
- # Set this to the path to where you have slapd
--$SERVER_EXE = "<path to ldap server executable>";
-+$SERVER_EXE = "${LOCALBASE}/libexec/slapd";
+$OpenBSD$
+--- test.cfg.orig Wed Oct 9 12:39:13 2013
++++ test.cfg Wed Oct 9 12:43:23 2013
+@@ -4,19 +4,19 @@
+
+ # Set this to the full path of your LDAP server executable
+ # (e.g '/usr/sbin/slapd')
+-$SERVER_EXE = '<path to ldap server executable>';
++$SERVER_EXE = '${LOCALBASE}/libexec/slapd'
# This should be one of
- # openldap1
- # openldap2
- # openldap2[+ssl][+ipc][+sasl]
--$SERVER_TYPE = "openldap2";
-+$SERVER_TYPE = "openldap2+ssl+ipc";
-
- # $HOST = "localhost";
-
- # If you are using openldap 2.1 then you will need to change this to point
- # to your installation schema dir (eg /usr/local/etc/openldap/schema)
--$SCHEMA_DIR = "";
-+$SCHEMA_DIR = "${SYSCONFDIR}/openldap/schema";
-
- # for OpenLDAP 2.4.11
--# $SLAPD_DB = 'bdb'; # default is ldbm
--# $SCHEMA_CHECK = 0; # default is to check but 2.4.11 does not like it
-+ $SLAPD_DB = 'bdb'; # default is ldbm
-+ $SCHEMA_CHECK = 0; # default is to check but 2.4.11 does not like it
-
- $EXTERNAL_TESTS = 0;
+ # * openldap[+ssl][+ipc][+sasl]
+ # options are appended with '+' signs
+-$SERVER_TYPE = 'openldap';
++$SERVER_TYPE = 'openldap+ssl+ipc';
+
+ # Change this if your host cannot be contacted as localhost
+ # Some tests may fail if the name does not resolve to an IPv4 and an
IPv6 address
+ #$HOST = 'localhost';
+
+ # Set this to the directory where your OpenLDAP schema files are located
+-$SLAPD_SCHEMA_DIR = '';
++$SLAPD_SCHEMA_DIR = '${SYSCONFDIR}/openldap/schema';
+ # OpenLDAP DB type: default is bdb, alternatives: hdb, mdb, ...
+ #$SLAPD_DB = 'bdb';
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/p5-ldap/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- pkg/PLIST 21 Sep 2010 13:14:01 -0000 1.13
+++ pkg/PLIST 9 Oct 2013 13:06:09 -0000
@@ -1,10 +1,11 @@
-@comment $OpenBSD: PLIST,v 1.13 2010/09/21 13:14:01 pea Exp $
+@comment $OpenBSD$
${P5SITE}/Bundle/
${P5SITE}/Bundle/Net/
${P5SITE}/Bundle/Net/LDAP.pm
${P5SITE}/LWP/
${P5SITE}/LWP/Protocol/
${P5SITE}/LWP/Protocol/ldap.pm
+${P5SITE}/LWP/Protocol/ldapi.pm
${P5SITE}/LWP/Protocol/ldaps.pm
${P5SITE}/Net/
${P5SITE}/Net/LDAP/
@@ -15,14 +16,17 @@ ${P5SITE}/Net/LDAP/Bind.pm
${P5SITE}/Net/LDAP/Constant.pm
${P5SITE}/Net/LDAP/Control/
${P5SITE}/Net/LDAP/Control.pm
+${P5SITE}/Net/LDAP/Control/Assertion.pm
${P5SITE}/Net/LDAP/Control/EntryChange.pm
${P5SITE}/Net/LDAP/Control/ManageDsaIT.pm
+${P5SITE}/Net/LDAP/Control/MatchedValues.pm
${P5SITE}/Net/LDAP/Control/Paged.pm
${P5SITE}/Net/LDAP/Control/PasswordPolicy.pm
${P5SITE}/Net/LDAP/Control/PersistentSearch.pm
${P5SITE}/Net/LDAP/Control/PostRead.pm
${P5SITE}/Net/LDAP/Control/PreRead.pm
${P5SITE}/Net/LDAP/Control/ProxyAuth.pm
+${P5SITE}/Net/LDAP/Control/Relax.pm
${P5SITE}/Net/LDAP/Control/Sort.pm
${P5SITE}/Net/LDAP/Control/SortResult.pm
${P5SITE}/Net/LDAP/Control/SyncDone.pm
@@ -36,10 +40,14 @@ ${P5SITE}/Net/LDAP/Entry.pod
${P5SITE}/Net/LDAP/Examples.pod
${P5SITE}/Net/LDAP/Extension/
${P5SITE}/Net/LDAP/Extension.pm
+${P5SITE}/Net/LDAP/Extension/Cancel.pm
${P5SITE}/Net/LDAP/Extension/Refresh.pm
${P5SITE}/Net/LDAP/Extension/SetPassword.pm
${P5SITE}/Net/LDAP/Extension/WhoAmI.pm
+${P5SITE}/Net/LDAP/Extra/
${P5SITE}/Net/LDAP/Extra.pm
+${P5SITE}/Net/LDAP/Extra/AD.pm
+${P5SITE}/Net/LDAP/Extra/eDirectory.pm
${P5SITE}/Net/LDAP/FAQ.pod
${P5SITE}/Net/LDAP/Filter.pm
${P5SITE}/Net/LDAP/Filter.pod
@@ -63,17 +71,23 @@ ${P5SITE}/Net/LDAP/Util.pm
${P5SITE}/Net/LDAPI.pm
${P5SITE}/Net/LDAPS.pm
@man man/man3p/Bundle::Net::LDAP.3p
+@man man/man3p/LWP::Protocol::ldap.3p
+@man man/man3p/LWP::Protocol::ldapi.3p
+@man man/man3p/LWP::Protocol::ldaps.3p
@man man/man3p/Net::LDAP.3p
@man man/man3p/Net::LDAP::Constant.3p
@man man/man3p/Net::LDAP::Control.3p
+@man man/man3p/Net::LDAP::Control::Assertion.3p
@man man/man3p/Net::LDAP::Control::EntryChange.3p
@man man/man3p/Net::LDAP::Control::ManageDsaIT.3p
+@man man/man3p/Net::LDAP::Control::MatchedValues.3p
@man man/man3p/Net::LDAP::Control::Paged.3p
@man man/man3p/Net::LDAP::Control::PasswordPolicy.3p
@man man/man3p/Net::LDAP::Control::PersistentSearch.3p
@man man/man3p/Net::LDAP::Control::PostRead.3p
@man man/man3p/Net::LDAP::Control::PreRead.3p
@man man/man3p/Net::LDAP::Control::ProxyAuth.3p
+@man man/man3p/Net::LDAP::Control::Relax.3p
@man man/man3p/Net::LDAP::Control::Sort.3p
@man man/man3p/Net::LDAP::Control::SortResult.3p
@man man/man3p/Net::LDAP::Control::SyncDone.3p
@@ -84,10 +98,13 @@ ${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::Cancel.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
+@man man/man3p/Net::LDAP::Extra::AD.3p
+@man man/man3p/Net::LDAP::Extra::eDirectory.3p
@man man/man3p/Net::LDAP::FAQ.3p
@man man/man3p/Net::LDAP::Filter.3p
@man man/man3p/Net::LDAP::FilterMatch.3p