aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-17 19:12:05 +0800
committermiwi <miwi@FreeBSD.org>2008-02-17 19:12:05 +0800
commit961d62236619c681be0de07d24d15806c078ce2b (patch)
tree59f5d8ce0c0cd7d129f6c46e2063f75b75c095cd /net
parent385c0d90b1a4cdb88b150c7fdbfb5a58216308a2 (diff)
downloadfreebsd-ports-gnome-961d62236619c681be0de07d24d15806c078ce2b.tar.gz
freebsd-ports-gnome-961d62236619c681be0de07d24d15806c078ce2b.tar.zst
freebsd-ports-gnome-961d62236619c681be0de07d24d15806c078ce2b.zip
This takes from a search and turns it into a hash.
The returned has is in the following format. {DN}{ldap}{attribute}[array of values for this attribute] The reason for the {ldap} is to allow for other values and the like to be tagged onto a hash for a DN that are unrelated to LDAP. This function does not make any attempt to check if the search succedded or not. WWW: http://search.cpan.org/dist/Net-LDAP-LDAPhash/ PR: ports/120589 Submitted by: Zane C, Bowers <vvelox at vvelox.net>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-LDAP-LDAPhash/Makefile21
-rw-r--r--net/p5-Net-LDAP-LDAPhash/distinfo3
-rw-r--r--net/p5-Net-LDAP-LDAPhash/pkg-descr13
-rw-r--r--net/p5-Net-LDAP-LDAPhash/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index cc31e349f1e8..bc3de4ed600c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -498,6 +498,7 @@
SUBDIR += p5-Net-IPTrie
SUBDIR += p5-Net-Ident
SUBDIR += p5-Net-Interface
+ SUBDIR += p5-Net-LDAP-LDAPhash
SUBDIR += p5-Net-Libdnet
SUBDIR += p5-Net-MAC-Vendor
SUBDIR += p5-Net-MovableType
diff --git a/net/p5-Net-LDAP-LDAPhash/Makefile b/net/p5-Net-LDAP-LDAPhash/Makefile
new file mode 100644
index 000000000000..9e38be6c3535
--- /dev/null
+++ b/net/p5-Net-LDAP-LDAPhash/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-Net-LDAP-LDAPhash
+# Date created: 2008-02-13
+# Whom: Zane C, Bowers <vvelox@vvelox.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-LDAP-LDAPhash
+PORTVERSION= 1.0.1
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= vvelox@vvelox.net
+COMMENT= Make a hash out or the return from a search using Net::LDAP::Search
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::LDAP::LDAPhash.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-LDAP-LDAPhash/distinfo b/net/p5-Net-LDAP-LDAPhash/distinfo
new file mode 100644
index 000000000000..224af4d0f3ca
--- /dev/null
+++ b/net/p5-Net-LDAP-LDAPhash/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-LDAP-LDAPhash-1.0.1.tar.gz) = e63c52fe9df4cfdb00b64c84af18a472
+SHA256 (Net-LDAP-LDAPhash-1.0.1.tar.gz) = 17e93b33f0e87635ee7712c3290f73fe086401ee3aba8a6405edb74a19f0283e
+SIZE (Net-LDAP-LDAPhash-1.0.1.tar.gz) = 3333
diff --git a/net/p5-Net-LDAP-LDAPhash/pkg-descr b/net/p5-Net-LDAP-LDAPhash/pkg-descr
new file mode 100644
index 000000000000..3625a2e070f7
--- /dev/null
+++ b/net/p5-Net-LDAP-LDAPhash/pkg-descr
@@ -0,0 +1,13 @@
+This takes from a search and turns it into a hash.
+
+The returned has is in the following format.
+
+{DN}{ldap}{attribute}[array of values for this attribute]
+
+The reason for the {ldap} is to allow for other values and
+the like to be tagged onto a hash for a DN that are unrelated to LDAP.
+
+This function does not make any attempt to check if the search succedded
+or not.
+
+WWW: http://search.cpan.org/dist/Net-LDAP-LDAPhash/
diff --git a/net/p5-Net-LDAP-LDAPhash/pkg-plist b/net/p5-Net-LDAP-LDAPhash/pkg-plist
new file mode 100644
index 000000000000..97dc233e7aae
--- /dev/null
+++ b/net/p5-Net-LDAP-LDAPhash/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Net/LDAP/LDAPhash.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP/LDAPhash/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP/LDAPhash
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/LDAP
+@dirrmtry %%SITE_PERL%%/Net