From 130a28d446564ce1053ddd977fcd4da9243e24c1 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 14 Nov 2021 12:24:14 +0100 Subject: [PATCH] package/bind: add gssapi support Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/bind/bind.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/bind/bind.mk b/package/bind/bind.mk index ba32d6150a..e329c803a3 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -35,7 +35,6 @@ BIND_CONF_OPTS = \ --with-libjson=no \ --with-randomdev=/dev/urandom \ --enable-epoll \ - --with-gssapi=no \ --enable-filter-aaaa \ --disable-backtrace @@ -53,6 +52,13 @@ else BIND_CONF_OPTS += --disable-linux-caps endif +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +BIND_CONF_OPTS += --with-gssapi=$(STAGING_DIR)/usr/bin/krb5-config +BIND_DEPENDENCIES += libkrb5 +else +BIND_CONF_OPTS += --with-gssapi=no +endif + ifeq ($(BR2_PACKAGE_LIBXML2),y) BIND_CONF_OPTS += --with-libxml2=$(STAGING_DIR)/usr BIND_DEPENDENCIES += libxml2