summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-01-10 06:37:02 +0000
committerpetef <petef@FreeBSD.org>2003-01-10 06:37:02 +0000
commitc80afac8a71e9ab0946cc82b9127847ef3a3010f (patch)
tree04aa9724d2cbc367ae0e434ccb963f36ea571ddc /security
parent157f88582132e948f9ee93579eabd1ae58019c7d (diff)
downloadFreeBSD-ports-c80afac8a71e9ab0946cc82b9127847ef3a3010f.zip
FreeBSD-ports-c80afac8a71e9ab0946cc82b9127847ef3a3010f.tar.gz
Add p5-Authen-Smb 0.91, perl extension to authenticate against an
SMB server. PR: 46740 Submitted by: Mustafa Arif <ma499@doc.ic.ac.uk>
Diffstat (limited to 'security')
-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 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 <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 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 <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 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
OpenPOWER on IntegriCloud