From 9e4ea31415621692063473413d69c1470e5f612d Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Mon, 2 Oct 2006 08:39:58 +0000 Subject: Add p5-Samba-LDAP 0.03, manage a Samba PDC with an LDAP Backend. PR: ports/103338 Submitted by: Gea-Suan Lin --- net/Makefile | 1 + net/p5-Samba-LDAP/Makefile | 46 +++++++++++++++++++++++++++++++++++++++++++++ net/p5-Samba-LDAP/distinfo | 3 +++ net/p5-Samba-LDAP/pkg-descr | 3 +++ net/p5-Samba-LDAP/pkg-plist | 11 +++++++++++ 5 files changed, 64 insertions(+) create mode 100644 net/p5-Samba-LDAP/Makefile create mode 100644 net/p5-Samba-LDAP/distinfo create mode 100644 net/p5-Samba-LDAP/pkg-descr create mode 100644 net/p5-Samba-LDAP/pkg-plist (limited to 'net') 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 +# +# $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 + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again +.endif + +.include 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 -- cgit v1.2.3