Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 15:45:36 -0500 (CDT)
From:      mschout@gkg.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30240: New port: pam_pwdfile 
Message-ID:  <200108312045.f7VKjaZ13107@luke.gkg-com.com>

next in thread | raw e-mail | index | archive | help

>Number:         30240
>Category:       ports
>Synopsis:       New port: pam_pwdfile 
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 31 13:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Schout
>Release:        FreeBSD 4.3-RELEASE-p14 i386
>Organization:
GKG.NET, INC
>Environment:
System: FreeBSD luke.gkg-com.com 4.3-RELEASE-p14 FreeBSD 4.3-RELEASE-p14 #0: Mon Aug 27 15:11:36 CDT 2001 mschout@bu1.gkg.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:

This is a PAM module which allows authentication against alternate
passwd files.

WWW: http://www.cpbotha.net/pam_pwdfile.html

>How-To-Repeat:

>Fix:

unpack in ports/security directory.

# 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:
#
#	pam_pwdfile
#	pam_pwdfile/Makefile
#	pam_pwdfile/pkg-comment
#	pam_pwdfile/pkg-descr
#	pam_pwdfile/pkg-plist
#	pam_pwdfile/distinfo
#	pam_pwdfile/files
#	pam_pwdfile/files/patch-aa
#	pam_pwdfile/files/Makefile.bsd
#
echo c - pam_pwdfile
mkdir -p pam_pwdfile > /dev/null 2>&1
echo x - pam_pwdfile/Makefile
sed 's/^X//' >pam_pwdfile/Makefile << 'END-of-pam_pwdfile/Makefile'
X# New ports collection makefile for:    pam_pwdfile
X# Date created:				Aug 31, 2001
X# Whom:	      				Michael Schout <mschout@gkg.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pam_pwdfile
XPORTVERSION=	0.95
XCATEGORIES=	security
XMASTER_SITES=	ftp://ftp.cpbotha.net/pub/pam_pwdfile/
X
XMAINTAINER=	mschout@gkg.net
X
XMAKEFILE=	${FILESDIR}/Makefile.bsd
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${LOCALBASE}/${DOCDIR}
X	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog \
X		${WRKSRC}/INSTALL  ${LOCALBASE}/${DOCDIR}
XDOCDIR=		share/doc/pam_pwdfile
XPLIST_SUB+=	DOCDIR=${DOCDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-pam_pwdfile/Makefile
echo x - pam_pwdfile/pkg-comment
sed 's/^X//' >pam_pwdfile/pkg-comment << 'END-of-pam_pwdfile/pkg-comment'
XA pam module for authenticating with flat passwd files
END-of-pam_pwdfile/pkg-comment
echo x - pam_pwdfile/pkg-descr
sed 's/^X//' >pam_pwdfile/pkg-descr << 'END-of-pam_pwdfile/pkg-descr'
XThis is a PAM module which allows authentication against alternate
Xpasswd files.
X
XWWW: http://www.cpbotha.net/pam_pwdfile.html
END-of-pam_pwdfile/pkg-descr
echo x - pam_pwdfile/pkg-plist
sed 's/^X//' >pam_pwdfile/pkg-plist << 'END-of-pam_pwdfile/pkg-plist'
X%%PORTDOCS%%%%DOCDIR%%/README
X%%PORTDOCS%%%%DOCDIR%%/INSTALL
X%%PORTDOCS%%%%DOCDIR%%/changelog
X%%PORTDOCS%%@dirrm %%DOCDIR%%
Xlib/pam_pwdfile.so
END-of-pam_pwdfile/pkg-plist
echo x - pam_pwdfile/distinfo
sed 's/^X//' >pam_pwdfile/distinfo << 'END-of-pam_pwdfile/distinfo'
XMD5 (pam_pwdfile-0.95.tar.gz) = 1eb2d29567f54c5b5eb482bb0ed9538f
END-of-pam_pwdfile/distinfo
echo c - pam_pwdfile/files
mkdir -p pam_pwdfile/files > /dev/null 2>&1
echo x - pam_pwdfile/files/patch-aa
sed 's/^X//' >pam_pwdfile/files/patch-aa << 'END-of-pam_pwdfile/files/patch-aa'
X--- pam_pwdfile.c.orig	Fri Aug 31 10:00:10 2001
X+++ pam_pwdfile.c	Thu Aug 30 23:35:58 2001
X@@ -42,7 +42,6 @@
X  * OF THE POSSIBILITY OF SUCH DAMAGE.
X  */
X 
X-#include <features.h>
X #include <syslog.h>
X #include <stdarg.h>
X #include <stdio.h>
END-of-pam_pwdfile/files/patch-aa
echo x - pam_pwdfile/files/Makefile.bsd
sed 's/^X//' >pam_pwdfile/files/Makefile.bsd << 'END-of-pam_pwdfile/files/Makefile.bsd'
X# inspired from pam-pgsql port :-)
X
XSRCS=	pam_pwdfile.c
XLIB=	pam_pwdfile
XSHLIB_NAME=${LIB}.so
X
XLDADD=		-lpam -lcrypt
XCFLAGS+=	-Wall -D_BSD_SOURCE
X
XINTERNALLIB=
X
XLIBDIR=		${LOCALBASE}/lib
X
X.include <bsd.lib.mk>
END-of-pam_pwdfile/files/Makefile.bsd
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108312045.f7VKjaZ13107>