Module Name: src
Committed By: bouyer
Date: Tue Dec 1 10:10:57 UTC 2020
Modified Files:
src/usr.sbin/racoon: Makefile
Log Message:
Enable ldap support in racoon(8). Proposed on tech-userlevel,
"Go for it" from christos@
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/racoon/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/racoon/Makefile
diff -u src/usr.sbin/racoon/Makefile:1.36 src/usr.sbin/racoon/Makefile:1.37
--- src/usr.sbin/racoon/Makefile:1.36 Sun Sep 6 07:20:32 2020
+++ src/usr.sbin/racoon/Makefile Tue Dec 1 10:10:57 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2020/09/06 07:20:32 mrg Exp $
+# $NetBSD: Makefile,v 1.37 2020/12/01 10:10:57 bouyer Exp $
WARNS?= 0 # XXX third-party program, many issues
NOCLANGERROR= # defined
@@ -58,6 +58,12 @@ CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H
CPPFLAGS+=-DINET6
.endif
+.if (${USE_LDAP} != "no")
+CPPFLAGS+=-DHAVE_LIBLDAP
+LDADD+=-lldap
+DPADD+= ${LIBLDAP}
+.endif
+
LDADD+= -lcrypto -lcrypt
DPADD+= ${LIBIPSEC} ${LIBCRYPT}