bind: detect new interfaces when they come up
authorPhilip Prindeville <redacted>
Tue, 26 Oct 2021 21:59:16 +0000 (15:59 -0600)
committerPhilip Prindeville <redacted>
Thu, 28 Oct 2021 20:00:43 +0000 (14:00 -0600)
Reload the service when interfaces flap; note that libcap support
is required to open new sockets on interfaces coming up during
a reload, otherwise a full restart would be needed.

Signed-off-by: Philip Prindeville <redacted>
net/bind/Makefile

index 796ea6ffe3f368abb5888f720cdd5db27ff8c625..df9ac4fae5e6c1ef2809c04a969a353b20c103d1 100644 (file)
@@ -69,6 +69,7 @@ endef
 define Package/bind-server
   $(call Package/bind/Default)
   TITLE+= DNS server
+  DEPENDS+= libcap
 endef
 
 define Package/bind-server/config
@@ -135,7 +136,6 @@ export BUILD_CC="$(TARGET_CC)"
 TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
 
 CONFIGURE_ARGS += \
-       --disable-linux-caps \
        --with-openssl="$(STAGING_DIR)/usr" \
        --with-libtool \
        --without-lmdb \
git clone https://git.99rst.org/PROJECT