Module Name: src Committed By: roy Date: Tue Mar 14 21:11:12 UTC 2017
Modified Files: src/external/bsd/unbound: Makefile.inc src/external/bsd/unbound/include: config.h Log Message: Build support for libevent. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/unbound/Makefile.inc cvs rdiff -u -r1.1 -r1.2 src/external/bsd/unbound/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/unbound/Makefile.inc diff -u src/external/bsd/unbound/Makefile.inc:1.2 src/external/bsd/unbound/Makefile.inc:1.3 --- src/external/bsd/unbound/Makefile.inc:1.2 Sun Aug 21 17:24:22 2016 +++ src/external/bsd/unbound/Makefile.inc Tue Mar 14 21:11:12 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.2 2016/08/21 17:24:22 christos Exp $ +# $NetBSD: Makefile.inc,v 1.3 2017/03/14 21:11:12 roy Exp $ USE_FORT?= yes # network client/server UNBOUND:=${.PARSEDIR}/dist @@ -12,6 +12,7 @@ DPLIBS+= crypto ${NETBSDSRCDIR}/crypto/e DPLIBS+= crypt ${NETBSDSRCDIR}/lib/libcrypt DPLIBS+= util ${NETBSDSRCDIR}/lib/libutil DPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread +DPLIBS+= event ${NETBSDSRCDIR}/external/bsd/libevent/lib/libevent __subst: .USE ${TOOL_SED} \ Index: src/external/bsd/unbound/include/config.h diff -u src/external/bsd/unbound/include/config.h:1.1 src/external/bsd/unbound/include/config.h:1.2 --- src/external/bsd/unbound/include/config.h:1.1 Sat Aug 20 11:20:31 2016 +++ src/external/bsd/unbound/include/config.h Tue Mar 14 21:11:12 2017 @@ -115,19 +115,19 @@ #define HAVE_ENDSERVENT 1 /* Define to 1 if you have the `event_base_free' function. */ -/* #undef HAVE_EVENT_BASE_FREE */ +#define HAVE_EVENT_BASE_FREE 1 /* Define to 1 if you have the `event_base_get_method' function. */ -/* #undef HAVE_EVENT_BASE_GET_METHOD */ +#define HAVE_EVENT_BASE_GET_METHOD 1 /* Define to 1 if you have the `event_base_new' function. */ -/* #undef HAVE_EVENT_BASE_NEW */ +#define HAVE_EVENT_BASE_NEW 1 /* Define to 1 if you have the `event_base_once' function. */ -/* #undef HAVE_EVENT_BASE_ONCE */ +#define HAVE_EVENT_BASE_ONCE 1 /* Define to 1 if you have the <event.h> header file. */ -/* #undef HAVE_EVENT_H */ +#define HAVE_EVENT_H 1 /* Define to 1 if you have the `EVP_MD_CTX_new' function. */ /* #undef HAVE_EVP_MD_CTX_NEW */ @@ -609,7 +609,7 @@ #define USE_GOST 1 /* Define if you want to use internal select based events */ -#define USE_MINI_EVENT 1 +/* #undef USE_MINI_EVENT */ /* Define this to enable SHA256 and SHA512 support. */ #define USE_SHA2 1