ports/81427: [new-port] add pamtester, a cli util to test pam(3) auth
Andrew Thompson
andy at fud.org.nz
Tue May 24 08:10:03 UTC 2005
>Number: 81427
>Category: ports
>Synopsis: [new-port] add pamtester, a cli util to test pam(3) auth
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 24 08:10:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrew Thompson
>Release: FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD heff.fud.org.nz 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sat Mar 26 14:48:52 NZST 2005 root at heff.fud.org.nz:/usr/obj/usr/src/sys/HEFF i386
>Description:
Add pamtester, a very handy util for testing pam login. This was very useful
for me when setting up pam_krb5 and I am sure others will enjoy it too.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# security/pamtester
# security/pamtester/files
# security/pamtester/files/patch-src_app.c
# security/pamtester/Makefile
# security/pamtester/pkg-descr
# security/pamtester/distinfo
#
echo c - security/pamtester
mkdir -p security/pamtester > /dev/null 2>&1
echo c - security/pamtester/files
mkdir -p security/pamtester/files > /dev/null 2>&1
echo x - security/pamtester/files/patch-src_app.c
sed 's/^X//' >security/pamtester/files/patch-src_app.c << 'END-of-security/pamtester/files/patch-src_app.c'
X--- src/app.c.orig Tue May 24 20:19:17 2005
X+++ src/app.c Tue May 24 20:20:30 2005
X@@ -60,6 +60,9 @@
X
X #ifdef HAVE_SECURITY_PAM_MISC_H
X #include <security/pam_misc.h>
X+#else
X+#include <security/openpam.h>
X+#define misc_conv openpam_ttyconv
X #endif
X
X #ifdef HAVE_PAM_PAM_MISC_H
END-of-security/pamtester/files/patch-src_app.c
echo x - security/pamtester/Makefile
sed 's/^X//' >security/pamtester/Makefile << 'END-of-security/pamtester/Makefile'
X# Ports collection Makefile for: pamtester
X# Date created: 24/05/2005
X# Whom: andy at fud.org.nz
X#
X# $FreeBSD$
X#
X
XPORTNAME= pamtester
XPORTVERSION= 0.1.0
XCATEGORIES= security
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= andy at fud.org.nz
XCOMMENT= A command line pam authentication tester
X
XMAN1= pamtester.1
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
X
XPLIST_FILES= bin/pamtester
X
X.include <bsd.port.mk>
END-of-security/pamtester/Makefile
echo x - security/pamtester/pkg-descr
sed 's/^X//' >security/pamtester/pkg-descr << 'END-of-security/pamtester/pkg-descr'
Xpamtester is a tiny utility program to test the pluggable authentication
Xmodules (PAM) facility, which is a de facto standard of unified authentication
Xmanagement mechanism in many unices and similar OSes including Solaris, HP-UX,
X*BSD, MacOSX and Linux.
X
XWhile specifically designed to help PAM module authors to test their modules,
Xthat might also be handy for system administrators interested in building a
Xcentralised authentication system using common standards such as NIS, SASL and
XLDAP.
X
XWWW: http://pamtester.sourceforge.net/
END-of-security/pamtester/pkg-descr
echo x - security/pamtester/distinfo
sed 's/^X//' >security/pamtester/distinfo << 'END-of-security/pamtester/distinfo'
XMD5 (pamtester-0.1.0.tar.gz) = 7f94faa913a0da5a179f3f1fa11e5acf
XSIZE (pamtester-0.1.0.tar.gz) = 280052
END-of-security/pamtester/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list