diff options
author | knu <knu@FreeBSD.org> | 2001-09-04 02:14:44 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-09-04 02:14:44 +0800 |
commit | a0cc7c4ab430a6c6334f077d568c6b75e71650a6 (patch) | |
tree | 5eda8729edf4605b26979540b2dbcf9f441df04b /security | |
parent | 9f54a0b925d13befc222b0838f25731a6b0c46aa (diff) | |
download | freebsd-ports-gnome-a0cc7c4ab430a6c6334f077d568c6b75e71650a6.tar.gz freebsd-ports-gnome-a0cc7c4ab430a6c6334f077d568c6b75e71650a6.tar.zst freebsd-ports-gnome-a0cc7c4ab430a6c6334f077d568c6b75e71650a6.zip |
Add pam_pwdfile, a PAM module which allows authentication against
alternate passwd files.
PR: 30240
Submitted by: Michael Schout <mschout@gkg.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pam_pwdfile/Makefile | 26 | ||||
-rw-r--r-- | security/pam_pwdfile/distinfo | 1 | ||||
-rw-r--r-- | security/pam_pwdfile/files/Makefile.bsd | 14 | ||||
-rw-r--r-- | security/pam_pwdfile/files/patch-aa | 10 | ||||
-rw-r--r-- | security/pam_pwdfile/pkg-comment | 1 | ||||
-rw-r--r-- | security/pam_pwdfile/pkg-descr | 4 | ||||
-rw-r--r-- | security/pam_pwdfile/pkg-plist | 5 |
8 files changed, 62 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 0436f4139cdf..1f80cd291cce 100644 --- a/security/Makefile +++ b/security/Makefile @@ -133,6 +133,7 @@ SUBDIR += pam-pgsql SUBDIR += pam_krb5 SUBDIR += pam_ldap + SUBDIR += pam_pwdfile SUBDIR += pam_smb SUBDIR += pam_ssh SUBDIR += pgp diff --git a/security/pam_pwdfile/Makefile b/security/pam_pwdfile/Makefile new file mode 100644 index 000000000000..a70510e90629 --- /dev/null +++ b/security/pam_pwdfile/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: pam_pwdfile +# Date created: Aug 31, 2001 +# Whom: Michael Schout <mschout@gkg.net> +# +# $FreeBSD$ +# + +PORTNAME= pam_pwdfile +PORTVERSION= 0.95 +CATEGORIES= security +MASTER_SITES= ftp://ftp.cpbotha.net/pub/pam_pwdfile/ + +MAINTAINER= mschout@gkg.net + +MAKEFILE= ${FILESDIR}/Makefile.bsd + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${LOCALBASE}/${DOCDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog \ + ${WRKSRC}/INSTALL ${LOCALBASE}/${DOCDIR} +DOCDIR= share/doc/pam_pwdfile +PLIST_SUB+= DOCDIR=${DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/pam_pwdfile/distinfo b/security/pam_pwdfile/distinfo new file mode 100644 index 000000000000..f0f1d4687508 --- /dev/null +++ b/security/pam_pwdfile/distinfo @@ -0,0 +1 @@ +MD5 (pam_pwdfile-0.95.tar.gz) = 1eb2d29567f54c5b5eb482bb0ed9538f diff --git a/security/pam_pwdfile/files/Makefile.bsd b/security/pam_pwdfile/files/Makefile.bsd new file mode 100644 index 000000000000..833b69f5e1cf --- /dev/null +++ b/security/pam_pwdfile/files/Makefile.bsd @@ -0,0 +1,14 @@ +# inspired from pam-pgsql port :-) + +SRCS= pam_pwdfile.c +LIB= pam_pwdfile +SHLIB_NAME=${LIB}.so + +LDADD= -lpam -lcrypt +CFLAGS+= -Wall -D_BSD_SOURCE + +INTERNALLIB= + +LIBDIR= ${LOCALBASE}/lib + +.include <bsd.lib.mk> diff --git a/security/pam_pwdfile/files/patch-aa b/security/pam_pwdfile/files/patch-aa new file mode 100644 index 000000000000..edb9b4a0a520 --- /dev/null +++ b/security/pam_pwdfile/files/patch-aa @@ -0,0 +1,10 @@ +--- pam_pwdfile.c.orig Fri Aug 31 10:00:10 2001 ++++ pam_pwdfile.c Thu Aug 30 23:35:58 2001 +@@ -42,7 +42,6 @@ + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +-#include <features.h> + #include <syslog.h> + #include <stdarg.h> + #include <stdio.h> diff --git a/security/pam_pwdfile/pkg-comment b/security/pam_pwdfile/pkg-comment new file mode 100644 index 000000000000..239065561987 --- /dev/null +++ b/security/pam_pwdfile/pkg-comment @@ -0,0 +1 @@ +A pam module for authenticating with flat passwd files diff --git a/security/pam_pwdfile/pkg-descr b/security/pam_pwdfile/pkg-descr new file mode 100644 index 000000000000..987b00845720 --- /dev/null +++ b/security/pam_pwdfile/pkg-descr @@ -0,0 +1,4 @@ +This is a PAM module which allows authentication against alternate +passwd files. + +WWW: http://www.cpbotha.net/pam_pwdfile.html diff --git a/security/pam_pwdfile/pkg-plist b/security/pam_pwdfile/pkg-plist new file mode 100644 index 000000000000..974e036ffd61 --- /dev/null +++ b/security/pam_pwdfile/pkg-plist @@ -0,0 +1,5 @@ +%%PORTDOCS%%%%DOCDIR%%/README +%%PORTDOCS%%%%DOCDIR%%/INSTALL +%%PORTDOCS%%%%DOCDIR%%/changelog +%%PORTDOCS%%@dirrm %%DOCDIR%% +lib/pam_pwdfile.so |