Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/racoon Enable ldap support in racoon(8). Proposed o...



details:   https://anonhg.NetBSD.org/src/rev/d0f128aa5489
branches:  trunk
changeset: 1016789:d0f128aa5489
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Dec 01 10:10:57 2020 +0000

description:
Enable ldap support in racoon(8). Proposed on tech-userlevel,
"Go for it" from christos@

diffstat:

 usr.sbin/racoon/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c72e2f61fa54 -r d0f128aa5489 usr.sbin/racoon/Makefile
--- a/usr.sbin/racoon/Makefile  Tue Dec 01 08:39:39 2020 +0000
+++ b/usr.sbin/racoon/Makefile  Tue Dec 01 10:10:57 2020 +0000
@@ -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+=-DINET6
 .endif
 
+.if (${USE_LDAP} != "no")
+CPPFLAGS+=-DHAVE_LIBLDAP
+LDADD+=-lldap
+DPADD+= ${LIBLDAP}
+.endif
+
 LDADD+= -lcrypto -lcrypt
 DPADD+= ${LIBIPSEC} ${LIBCRYPT}
 



Home | Main Index | Thread Index | Old Index