From: Otto Date: Wed, 10 Nov 2021 08:14:04 +0000 (+0100) Subject: We need libcurl dev lib for the zone-to-cache function. X-Git-Tag: dnsdist-1.7.0-beta1~13^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf9356d3ed3376f1cc84efcce963ed79a2fb758;p=thirdparty%2Fpdns.git We need libcurl dev lib for the zone-to-cache function. Also fix config summary line and print curl feature on --version --- diff --git a/builder-support/debian/recursor/debian-buster/control b/builder-support/debian/recursor/debian-buster/control index f7dfb30e7a..dcc305e440 100644 --- a/builder-support/debian/recursor/debian-buster/control +++ b/builder-support/debian/recursor/debian-buster/control @@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 10), dh-autoreconf, libboost-all-dev, libcap-dev, + libcurl4-openssl-dev, libluajit-5.1-dev [!arm64 !s390x], liblua5.3-dev [arm64 s390x], libfstrm-dev, diff --git a/builder-support/specs/pdns-recursor.spec b/builder-support/specs/pdns-recursor.spec index 812cb5329d..db73951d30 100644 --- a/builder-support/specs/pdns-recursor.spec +++ b/builder-support/specs/pdns-recursor.spec @@ -17,6 +17,7 @@ BuildRequires: openssl-devel BuildRequires: net-snmp-devel BuildRequires: libsodium-devel BuildRequires: fstrm-devel +BuildRequires: libcurl-devel %ifarch aarch64 BuildRequires: lua-devel diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index d54177cdee..e092533fc0 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -96,7 +96,8 @@ PDNS_ENABLE_DNS_OVER_TLS AS_IF([test "x$enable_dns_over_tls" != "xno"], [ PDNS_WITH_LIBSSL - PDNS_WITH_GNUTLS + # not runtime selectable at the moment + # PDNS_WITH_GNUTLS AS_IF([test "x$HAVE_GNUTLS" != "x1" -a "x$HAVE_LIBSSL" != "x1"], [ AC_MSG_ERROR([DNS over TLS support requested but neither GnuTLS nor OpenSSL are available]) @@ -255,7 +256,7 @@ AS_IF([test "x$enable_dns_over_tls" != "xno"], [ [AC_MSG_NOTICE([OpenSSL: no])] )] ) -AS_IF([test "x$HAVE_LIBCURL" != "x"], +AS_IF([test "x$HAVE_LIBCURL" != "xn"], [AC_MSG_NOTICE([libcurl: yes])], [AC_MSG_NOTICE([libcurl: no])] ) diff --git a/pdns/version.cc b/pdns/version.cc index 7b6d154753..6440d88887 100644 --- a/pdns/version.cc +++ b/pdns/version.cc @@ -135,6 +135,9 @@ void showBuildConfiguration() #ifdef HAVE_LIBSODIUM "sodium " << #endif +#ifdef HAVE_LIBCURL + "curl " << +#endif #ifdef VERBOSELOG "verboselog" << #endif