aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Authen-Smb/Makefile31
-rw-r--r--security/p5-Authen-Smb/distinfo1
-rw-r--r--security/p5-Authen-Smb/files/patch-smbval::smbencrypt.c12
-rw-r--r--security/p5-Authen-Smb/pkg-comment1
-rw-r--r--security/p5-Authen-Smb/pkg-descr4
-rw-r--r--security/p5-Authen-Smb/pkg-plist8
7 files changed, 58 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 199c0f86b76b..27fa6daf51dc 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 000000000000..b97dcdeb40bf
--- /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 <ma499@doc.ic.ac.uk>
+# 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 <bsd.port.mk>
diff --git a/security/p5-Authen-Smb/distinfo b/security/p5-Authen-Smb/distinfo
new file mode 100644
index 000000000000..4644141c6c49
--- /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 000000000000..6b41d46e0406
--- /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 <arpa/inet.h>
+ #include <dirent.h>
+ #include <string.h>
+-#include <sys/vfs.h>
+ #include <netinet/in.h>
+ #include <ctype.h>
+ #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 000000000000..2e4017282007
--- /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 000000000000..121e43469e46
--- /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 000000000000..fb6d5048c40d
--- /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