aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-10-02 08:39:58 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-10-02 08:39:58 +0000
commit9e4ea31415621692063473413d69c1470e5f612d (patch)
treeff6c859aa526e6c0b211465673aea433d1feaf08 /net
parentc9d6fc2511193993173f0460998d73222c207d6d (diff)
downloadports-9e4ea31415621692063473413d69c1470e5f612d.tar.gz
ports-9e4ea31415621692063473413d69c1470e5f612d.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Samba-LDAP/Makefile46
-rw-r--r--net/p5-Samba-LDAP/distinfo3
-rw-r--r--net/p5-Samba-LDAP/pkg-descr3
-rw-r--r--net/p5-Samba-LDAP/pkg-plist11
5 files changed, 64 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 0c021c945620..c2dd092c84bd 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -527,6 +527,7 @@
SUBDIR += p5-SOAP
SUBDIR += p5-SOAP-Data-Builder
SUBDIR += p5-SOAP-Lite
+ SUBDIR += p5-Samba-LDAP
SUBDIR += p5-Socket6
SUBDIR += p5-Socks
SUBDIR += p5-Spread
diff --git a/net/p5-Samba-LDAP/Makefile b/net/p5-Samba-LDAP/Makefile
new file mode 100644
index 000000000000..8cac8e1d760d
--- /dev/null
+++ b/net/p5-Samba-LDAP/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: p5-Samba-LDAP
+# Date created: 2006-09-18
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Samba-LDAP
+PORTVERSION= 0.03
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Samba
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Manage a Samba PDC with an LDAP Backend
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
+ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
+ ${SITE_PERL}/${PERL_ARCH}/Readonly.pm:${PORTSDIR}/devel/p5-Readonly \
+ ${SITE_PERL}/Class/Base.pm:${PORTSDIR}/devel/p5-Class-Base \
+ ${SITE_PERL}/Config/Tiny.pm:${PORTSDIR}/devel/p5-Config-Tiny \
+ ${SITE_PERL}/Crypt/SmbHash.pm:${PORTSDIR}/security/p5-Crypt-SmbHash \
+ ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
+ ${SITE_PERL}/Regexp/DefaultFlags.pm:${PORTSDIR}/textproc/p5-Regexp-DefaultFlags \
+ ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
+ ${SITE_PERL}/Unicode/MapUTF8.pm:${PORTSDIR}/converters/p5-Unicode-MapUTF8
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Samba::LDAP.3 Samba::LDAP::Base.3 Samba::LDAP::Config.3 \
+ Samba::LDAP::Group.3 Samba::LDAP::User.3
+
+post-patch:
+ ${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Samba-LDAP/distinfo b/net/p5-Samba-LDAP/distinfo
new file mode 100644
index 000000000000..fe02e52d6511
--- /dev/null
+++ b/net/p5-Samba-LDAP/distinfo
@@ -0,0 +1,3 @@
+MD5 (Samba-LDAP-0.03.tar.gz) = dd33dbf3aaa4f349e037165fd71e77f9
+SHA256 (Samba-LDAP-0.03.tar.gz) = b5f119d65837065ab4ffde82d69ff9e9573e91c34452484728af261415001710
+SIZE (Samba-LDAP-0.03.tar.gz) = 81474
diff --git a/net/p5-Samba-LDAP/pkg-descr b/net/p5-Samba-LDAP/pkg-descr
new file mode 100644
index 000000000000..469f88ec590a
--- /dev/null
+++ b/net/p5-Samba-LDAP/pkg-descr
@@ -0,0 +1,3 @@
+Manage a Samba PDC with an LDAP Backend.
+
+WWW: http://search.cpan.org/dist/Samba-LDAP/
diff --git a/net/p5-Samba-LDAP/pkg-plist b/net/p5-Samba-LDAP/pkg-plist
new file mode 100644
index 000000000000..7d6740fc5745
--- /dev/null
+++ b/net/p5-Samba-LDAP/pkg-plist
@@ -0,0 +1,11 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Samba/LDAP/.packlist
+%%SITE_PERL%%/Samba/LDAP.pm
+%%SITE_PERL%%/Samba/LDAP/Base.pm
+%%SITE_PERL%%/Samba/LDAP/Config.pm
+%%SITE_PERL%%/Samba/LDAP/Group.pm
+%%SITE_PERL%%/Samba/LDAP/User.pm
+@dirrmtry %%SITE_PERL%%/Samba/LDAP
+@dirrmtry %%SITE_PERL%%/Samba
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Samba/LDAP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Samba