Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/bind Fix broken dig and host commands



details:   https://anonhg.NetBSD.org/src/rev/82d074308866
branches:  trunk
changeset: 359538:82d074308866
user:      ryoon <ryoon%NetBSD.org@localhost>
date:      Wed Feb 14 12:47:43 2018 +0000

description:
Fix broken dig and host commands

OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0.

diffstat:

 external/bsd/bind/Makefile.inc |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 82fa47e8ace4 -r 82d074308866 external/bsd/bind/Makefile.inc
--- a/external/bsd/bind/Makefile.inc    Wed Feb 14 10:38:28 2018 +0000
+++ b/external/bsd/bind/Makefile.inc    Wed Feb 14 12:47:43 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.28 2018/02/04 03:19:52 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.29 2018/02/14 12:47:43 ryoon Exp $
 
 .if !defined(BIND9_MAKEFILE_INC)
 BIND9_MAKEFILE_INC=yes
@@ -87,7 +87,10 @@
 .endif
 
 .if ${NAMED_USE_OPENSSL} == "yes"
-CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO -DHAVE_OPENSSL_GOST
+CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO
+.if ${HAVE_OPENSSL} == 10
+CPPFLAGS+=-DHAVE_OPENSSL_GOST
+.endif
 .if ${MKKERBEROS} != "no"
 CPPFLAGS+=-DGSSAPI
 .endif



Home | Main Index | Thread Index | Old Index