Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pam-u2f Add build glue



details:   https://anonhg.NetBSD.org/src/rev/1994e20fb03c
branches:  trunk
changeset: 1007872:1994e20fb03c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:28:50 2020 +0000

description:
Add build glue

diffstat:

 external/bsd/pam-u2f/Makefile                      |   7 +++++++
 external/bsd/pam-u2f/bin/Makefile                  |   7 +++++++
 external/bsd/pam-u2f/lib/Makefile                  |   7 +++++++
 external/bsd/pam-u2f/lib/security/Makefile         |   7 +++++++
 external/bsd/pam-u2f/lib/security/pam-u2f/Makefile |  21 +++++++++++++++++++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r eed7de63bdac -r 1994e20fb03c external/bsd/pam-u2f/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/pam-u2f/Makefile     Tue Mar 03 00:28:50 2020 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR= bin .WAIT lib
+
+.include <bsd.subdir.mk>
diff -r eed7de63bdac -r 1994e20fb03c external/bsd/pam-u2f/bin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/pam-u2f/bin/Makefile Tue Mar 03 00:28:50 2020 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR= pamu2fcfg
+
+.include <bsd.subdir.mk>
diff -r eed7de63bdac -r 1994e20fb03c external/bsd/pam-u2f/lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/pam-u2f/lib/Makefile Tue Mar 03 00:28:50 2020 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR= security
+
+.include <bsd.subdir.mk>
diff -r eed7de63bdac -r 1994e20fb03c external/bsd/pam-u2f/lib/security/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/pam-u2f/lib/security/Makefile        Tue Mar 03 00:28:50 2020 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:51 christos Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR= pam-u2f
+
+.include <bsd.subdir.mk>
diff -r eed7de63bdac -r 1994e20fb03c external/bsd/pam-u2f/lib/security/pam-u2f/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/pam-u2f/lib/security/pam-u2f/Makefile        Tue Mar 03 00:28:50 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:51 christos Exp $
+
+NOMAN=
+.include <bsd.own.mk>
+.PATH: ${NETBSDSRCDIR}/external/bsd/pam-u2f/dist
+
+CPPFLAGS+= -DHAVE_SECURITY_PAM_APPL_H #-DHAVE_SECURITY_PAM_MODULES_H
+CPPFLAGS+= -DPAM_DEBUG -DDEBUG_PAM
+
+LIB=   pam_u2f
+SRCS=  pam-u2f.c drop_privs.c util.c b64.c explicit_bzero.c
+#MAN=  pam_u2f.8
+
+COPTS.util.c += -Wno-error=stack-protector
+
+LIBDPLIBS+= \
+       fido2   ${NETBSDSRCDIR}/external/bsd/libfido2/lib \
+       cbor    ${NETBSDSRCDIR}/external/mit/libcbor/lib \
+       crypto  ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
+
+.include "${NETBSDSRCDIR}/lib/libpam/modules/mod.mk"



Home | Main Index | Thread Index | Old Index