aboutsummaryrefslogtreecommitdiff
path: root/security/pam_pwdfile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-03 18:14:44 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-03 18:14:44 +0000
commit911d0d7484376e731db335ca821100fdad02d97b (patch)
tree0e27b896ecd6b62172605997903c82616888c1e4 /security/pam_pwdfile
parentb640b53603543095d1053f879dfe6b6a0ae1f442 (diff)
downloadports-911d0d7484376e731db335ca821100fdad02d97b.tar.gz
ports-911d0d7484376e731db335ca821100fdad02d97b.zip
Notes
Diffstat (limited to 'security/pam_pwdfile')
-rw-r--r--security/pam_pwdfile/Makefile26
-rw-r--r--security/pam_pwdfile/distinfo1
-rw-r--r--security/pam_pwdfile/files/Makefile.bsd14
-rw-r--r--security/pam_pwdfile/files/patch-aa10
-rw-r--r--security/pam_pwdfile/pkg-comment1
-rw-r--r--security/pam_pwdfile/pkg-descr4
-rw-r--r--security/pam_pwdfile/pkg-plist5
7 files changed, 61 insertions, 0 deletions
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