aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Authen-Smb
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-01-10 06:37:02 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-01-10 06:37:02 +0000
commit93120bd418af5fa06d33364f9624a96075c43409 (patch)
treea72227a9ece34bbaa32deb7d31f2a308a5c5d8fa /security/p5-Authen-Smb
parent5e46fcd003e00bbec43a7615258b5f5623b0dca7 (diff)
downloadports-93120bd418af5fa06d33364f9624a96075c43409.tar.gz
ports-93120bd418af5fa06d33364f9624a96075c43409.zip
Notes
Diffstat (limited to 'security/p5-Authen-Smb')
-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
6 files changed, 57 insertions, 0 deletions
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