diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2023-01-29 00:35:52 +0200 |
---|---|---|
committer | Noah Meyerhans <frodo@morgul.net> | 2023-02-05 09:46:31 -0800 |
commit | ca52ebd5bfe6f44f0757906d7f0641f4b73c8e7d (patch) | |
tree | 3f4c56468fd0f143a7c7bcd4ff05cd97344f65b8 /net/bind | |
parent | 6cf293dc2ee0ff36c48da813258c993c8d65efba (diff) |
bind: add option to enable GSSAPI support
Samba4 running as Active Directory Domain Controller with the internal
DNS backend requires the nsupdate binary with GSSAPI support.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'net/bind')
-rw-r--r-- | net/bind/Config.in | 8 | ||||
-rw-r--r-- | net/bind/Makefile | 14 |
2 files changed, 20 insertions, 2 deletions
diff --git a/net/bind/Config.in b/net/bind/Config.in index 07bcc1c63..f1b83c746 100644 --- a/net/bind/Config.in +++ b/net/bind/Config.in @@ -33,4 +33,12 @@ config BIND_ENABLE_DOH You can disable DoHTTPS if you do not need it or need to avoid the additional library dependency. +config BIND_ENABLE_GSSAPI + bool + default n + prompt "Include GSSPAI support in bind" + help + BIND 9 supports GSSAPI. This depends on libcomerr and krb5-libs. + Disable it by default as krb5-libs is rather large. + endif diff --git a/net/bind/Makefile b/net/bind/Makefile index 5f753ddc8..9f49d7ee5 100644 --- a/net/bind/Makefile +++ b/net/bind/Makefile @@ -34,7 +34,8 @@ PKG_BUILD_PARALLEL:=1 PKG_CONFIG_DEPENDS := \ CONFIG_BIND_LIBJSON \ CONFIG_BIND_LIBXML2 \ - CONFIG_BIND_ENABLE_DOH + CONFIG_BIND_ENABLE_DOH \ + CONFIG_BIND_ENABLE_GSSAPI PKG_BUILD_DEPENDS += BIND_LIBXML2:libxml2 BIND_LIBJSON:libjson-c @@ -61,6 +62,8 @@ define Package/bind-libs +libatomic \ +libuv \ +BIND_ENABLE_DOH:libnghttp2 \ + +BIND_ENABLE_GSSAPI:krb5-libs \ + +BIND_ENABLE_GSSAPI:libcomerr \ +BIND_LIBXML2:libxml2 \ +BIND_LIBJSON:libjson-c TITLE:=bind shared libraries @@ -147,7 +150,6 @@ CONFIGURE_ARGS += \ --with-openssl="$(STAGING_DIR)/usr" \ --without-lmdb \ --enable-epoll \ - --without-gssapi \ --without-readline \ --sysconfdir=/etc/bind @@ -176,6 +178,14 @@ else --disable-doh endif +ifdef CONFIG_BIND_ENABLE_GSSAPI + CONFIGURE_ARGS += \ + --with-gssapi +else + CONFIGURE_ARGS += \ + --without-gssapi +endif + CONFIGURE_VARS += \ BUILD_CC="$(TARGET_CC)" \ |