summaryrefslogtreecommitdiffstats
path: root/security/pam_pwdfile/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-03 18:14:44 +0000
committerknu <knu@FreeBSD.org>2001-09-03 18:14:44 +0000
commita0cc7c4ab430a6c6334f077d568c6b75e71650a6 (patch)
tree5eda8729edf4605b26979540b2dbcf9f441df04b /security/pam_pwdfile/files
parent9f54a0b925d13befc222b0838f25731a6b0c46aa (diff)
downloadFreeBSD-ports-a0cc7c4ab430a6c6334f077d568c6b75e71650a6.zip
FreeBSD-ports-a0cc7c4ab430a6c6334f077d568c6b75e71650a6.tar.gz
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/pam_pwdfile/files')
-rw-r--r--security/pam_pwdfile/files/Makefile.bsd14
-rw-r--r--security/pam_pwdfile/files/patch-aa10
2 files changed, 24 insertions, 0 deletions
diff --git a/security/pam_pwdfile/files/Makefile.bsd b/security/pam_pwdfile/files/Makefile.bsd
new file mode 100644
index 0000000..833b69f
--- /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 0000000..edb9b4a
--- /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>
OpenPOWER on IntegriCloud