aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-10-02 16:39:58 +0800
committerclsung <clsung@FreeBSD.org>2006-10-02 16:39:58 +0800
commit1ad7289e13438a9b10ec5d06ae60a64ed4bff4e8 (patch)
tree97f763bf18d198cec0240158fcc4dc647fc1b988 /net
parent66802b9adfabac8b8f79900dc5ab5aada5079488 (diff)
downloadfreebsd-ports-graphics-1ad7289e13438a9b10ec5d06ae60a64ed4bff4e8.tar.gz
freebsd-ports-graphics-1ad7289e13438a9b10ec5d06ae60a64ed4bff4e8.tar.zst
freebsd-ports-graphics-1ad7289e13438a9b10ec5d06ae60a64ed4bff4e8.zip
Add p5-Samba-LDAP 0.03, manage a Samba PDC with an LDAP Backend.
PR: ports/103338 Submitted by: Gea-Suan Lin <gslin at gslin.org>
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 0c021c94562..c2dd092c84b 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 00000000000..8cac8e1d760
--- /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 00000000000..fe02e52d651
--- /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 00000000000..469f88ec590
--- /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 00000000000..7d6740fc574
--- /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