bind: Enable ECDSA support
authorJanusz Dziemidowicz <rraptorr@nails.eu.org>
Thu, 27 Aug 2015 13:25:06 +0000 (15:25 +0200)
committerJanusz Dziemidowicz <rraptorr@nails.eu.org>
Thu, 27 Aug 2015 14:01:58 +0000 (16:01 +0200)
Enables bind to do ECDSA DNSSEC validation. Depends on OpenSSL support
for ECDSA. Increases size of bind-libs package by about 2kB.

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>
net/bind/Makefile

index 1eec28ca4f67d8851d177f86d0401903ec6e4b09..e51869a008cee0e3f189acf5caeb7a57859c9778 100644 (file)
@@ -27,6 +27,8 @@ PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
 
 PKG_INSTALL:=1
 
+PKG_CONFIG_DEPENDS := CONFIG_OPENSSL_WITH_EC
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/bind/Default
@@ -100,7 +102,7 @@ CONFIGURE_ARGS += \
        --enable-epoll=yes \
        --with-gost=no \
        --with-gssapi=no \
-       --with-ecdsa=no \
+       --with-ecdsa=$(if $(CONFIG_OPENSSL_WITH_EC),yes,no) \
        --with-readline=no
 
 CONFIGURE_VARS += \