summaryrefslogtreecommitdiffstats
path: root/security/pamtester
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-05-29 09:48:19 +0000
committerthierry <thierry@FreeBSD.org>2005-05-29 09:48:19 +0000
commit93121ae0652231a4b7524a9c180f49d1fdfcda57 (patch)
treedd238c6a49b4b16017cf35382f89cf69068ba306 /security/pamtester
parentfe924efe1b8ac92097f721a6d8616606cea9200e (diff)
downloadFreeBSD-ports-93121ae0652231a4b7524a9c180f49d1fdfcda57.zip
FreeBSD-ports-93121ae0652231a4b7524a9c180f49d1fdfcda57.tar.gz
Add pamtester 0.1.0, a command line pam authentication tester.
PR: 81427 Submitted by: andy (at) fud.org.nz
Diffstat (limited to 'security/pamtester')
-rw-r--r--security/pamtester/Makefile25
-rw-r--r--security/pamtester/distinfo2
-rw-r--r--security/pamtester/files/patch-src_app.c12
-rw-r--r--security/pamtester/pkg-descr11
4 files changed, 50 insertions, 0 deletions
diff --git a/security/pamtester/Makefile b/security/pamtester/Makefile
new file mode 100644
index 0000000..f794bf4
--- /dev/null
+++ b/security/pamtester/Makefile
@@ -0,0 +1,25 @@
+# Ports collection Makefile for: pamtester
+# Date created: 24/05/2005
+# Whom: andy@fud.org.nz
+#
+# $FreeBSD$
+#
+
+PORTNAME= pamtester
+PORTVERSION= 0.1.0
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= andy@fud.org.nz
+COMMENT= A command line pam authentication tester
+
+MAN1= pamtester.1
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_GMAKE= yes
+
+PLIST_FILES= bin/pamtester
+
+.include <bsd.port.mk>
diff --git a/security/pamtester/distinfo b/security/pamtester/distinfo
new file mode 100644
index 0000000..7d5a701
--- /dev/null
+++ b/security/pamtester/distinfo
@@ -0,0 +1,2 @@
+MD5 (pamtester-0.1.0.tar.gz) = 7f94faa913a0da5a179f3f1fa11e5acf
+SIZE (pamtester-0.1.0.tar.gz) = 280052
diff --git a/security/pamtester/files/patch-src_app.c b/security/pamtester/files/patch-src_app.c
new file mode 100644
index 0000000..54f3699
--- /dev/null
+++ b/security/pamtester/files/patch-src_app.c
@@ -0,0 +1,12 @@
+--- src/app.c.orig Tue May 24 20:19:17 2005
++++ src/app.c Tue May 24 20:20:30 2005
+@@ -60,6 +60,9 @@
+
+ #ifdef HAVE_SECURITY_PAM_MISC_H
+ #include <security/pam_misc.h>
++#else
++#include <security/openpam.h>
++#define misc_conv openpam_ttyconv
+ #endif
+
+ #ifdef HAVE_PAM_PAM_MISC_H
diff --git a/security/pamtester/pkg-descr b/security/pamtester/pkg-descr
new file mode 100644
index 0000000..30f2792
--- /dev/null
+++ b/security/pamtester/pkg-descr
@@ -0,0 +1,11 @@
+pamtester is a tiny utility program to test the pluggable authentication
+modules (PAM) facility, which is a de facto standard of unified authentication
+management mechanism in many unices and similar OSes including Solaris, HP-UX,
+*BSD, MacOSX and Linux.
+
+While specifically designed to help PAM module authors to test their modules,
+that might also be handy for system administrators interested in building a
+centralised authentication system using common standards such as NIS, SASL and
+LDAP.
+
+WWW: http://pamtester.sourceforge.net/
OpenPOWER on IntegriCloud