From c80afac8a71e9ab0946cc82b9127847ef3a3010f Mon Sep 17 00:00:00 2001 From: petef Date: Fri, 10 Jan 2003 06:37:02 +0000 Subject: Add p5-Authen-Smb 0.91, perl extension to authenticate against an SMB server. PR: 46740 Submitted by: Mustafa Arif --- security/Makefile | 1 + security/p5-Authen-Smb/Makefile | 31 ++++++++++++++++++++++ security/p5-Authen-Smb/distinfo | 1 + .../p5-Authen-Smb/files/patch-smbval::smbencrypt.c | 12 +++++++++ security/p5-Authen-Smb/pkg-comment | 1 + security/p5-Authen-Smb/pkg-descr | 4 +++ security/p5-Authen-Smb/pkg-plist | 8 ++++++ 7 files changed, 58 insertions(+) create mode 100644 security/p5-Authen-Smb/Makefile create mode 100644 security/p5-Authen-Smb/distinfo create mode 100644 security/p5-Authen-Smb/files/patch-smbval::smbencrypt.c create mode 100644 security/p5-Authen-Smb/pkg-comment create mode 100644 security/p5-Authen-Smb/pkg-descr create mode 100644 security/p5-Authen-Smb/pkg-plist (limited to 'security') diff --git a/security/Makefile b/security/Makefile index 199c0f8..27fa6da 100644 --- a/security/Makefile +++ b/security/Makefile @@ -150,6 +150,7 @@ SUBDIR += p5-Authen-PAM SUBDIR += p5-Authen-Radius SUBDIR += p5-Authen-SASL + SUBDIR += p5-Authen-Smb SUBDIR += p5-Authen-TacacsPlus SUBDIR += p5-Authen-Ticket SUBDIR += p5-Crypt-Blowfish diff --git a/security/p5-Authen-Smb/Makefile b/security/p5-Authen-Smb/Makefile new file mode 100644 index 0000000..b97dcde --- /dev/null +++ b/security/p5-Authen-Smb/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Authen-Smb +# Date created: Fri 03 January 2002 +# Whom: Mustafa Arif +# http://www.doc.ic.ac.uk/~ma499/ +# +# $FreeBSD$ +# + +PORTNAME= Authen-Smb +PORTVERSION= 0.91 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Authen +PKGNAMEPREFIX= p5- + +MAINTAINER= ma499@doc.ic.ac.uk + +USE_REINPLACE= yes +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Authen::Smb.3 + +post-patch: + @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \ + ${WRKSRC}/smbval/rfcnb-util.c \ + ${WRKSRC}/smbval/session.c \ + ${WRKSRC}/smbval/smblib-util.c \ + ${WRKSRC}/smbval/smblib.c + +.include diff --git a/security/p5-Authen-Smb/distinfo b/security/p5-Authen-Smb/distinfo new file mode 100644 index 0000000..4644141 --- /dev/null +++ b/security/p5-Authen-Smb/distinfo @@ -0,0 +1 @@ +MD5 (Authen-Smb-0.91.tar.gz) = 97d8aee872160eeabd0c08a7b0985216 diff --git a/security/p5-Authen-Smb/files/patch-smbval::smbencrypt.c b/security/p5-Authen-Smb/files/patch-smbval::smbencrypt.c new file mode 100644 index 0000000..6b41d46 --- /dev/null +++ b/security/p5-Authen-Smb/files/patch-smbval::smbencrypt.c @@ -0,0 +1,12 @@ +$FreeBSD$ + +--- smbval/smbencrypt.c.orig Fri Jan 10 01:29:40 2003 ++++ smbval/smbencrypt.c Fri Jan 10 01:29:44 2003 +@@ -24,7 +24,6 @@ + #include + #include + #include +-#include + #include + #include + #include "smblib-priv.h" diff --git a/security/p5-Authen-Smb/pkg-comment b/security/p5-Authen-Smb/pkg-comment new file mode 100644 index 0000000..2e40172 --- /dev/null +++ b/security/p5-Authen-Smb/pkg-comment @@ -0,0 +1 @@ +Perl extension to authenticate against an SMB server diff --git a/security/p5-Authen-Smb/pkg-descr b/security/p5-Authen-Smb/pkg-descr new file mode 100644 index 0000000..121e434 --- /dev/null +++ b/security/p5-Authen-Smb/pkg-descr @@ -0,0 +1,4 @@ +Authen::Smb allows you to authenticate users against an NT server. See +Smb.pm POD documentation for details. + +WWW: http://search.cpan.org/author/PMKANE/Authen-Smb-0.91/ diff --git a/security/p5-Authen-Smb/pkg-plist b/security/p5-Authen-Smb/pkg-plist new file mode 100644 index 0000000..fb6d504 --- /dev/null +++ b/security/p5-Authen-Smb/pkg-plist @@ -0,0 +1,8 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen/Smb.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb/Smb.so +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen/Smb +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Authen 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Authen 2>/dev/null || true -- cgit v1.1