summaryrefslogtreecommitdiff
path: root/net/bind
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2022-03-23 18:14:33 -0600
committerGitHub <noreply@github.com>2022-03-23 18:14:33 -0600
commitede6c7f020b9fde4d92abaa7a520f0be5afc5216 (patch)
tree53d09a5d82b8d379f0d93ac89893c122a518bf58 /net/bind
parentf8c8348f32a91ce1f60d9fe09d3c9fce607b0fe9 (diff)
parent72d05acff06756ea7c53ac8e6a1c90481b4e2034 (diff)
Merge pull request #18055 from pprindeville/bind-subpackage-ddns-confgen
bind: add subpackaging for ddns-confgen
Diffstat (limited to 'net/bind')
-rw-r--r--net/bind/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/net/bind/Makefile b/net/bind/Makefile
index f6065d49f..2e7b6bc19 100644
--- a/net/bind/Makefile
+++ b/net/bind/Makefile
@@ -97,7 +97,8 @@ define Package/bind-tools
+bind-nslookup \
+bind-dnssec \
+bind-host \
- +bind-rndc
+ +bind-rndc \
+ +bind-ddns-confgen
endef
define Package/bind-rndc
@@ -132,6 +133,11 @@ define Package/bind-nslookup
200:/usr/bin/nslookup:/usr/libexec/nslookup-bind
endef
+define Package/bind-ddns-confgen
+ $(call Package/bind/Default)
+ TITLE+= administration tools (ddns-confgen and tsig-keygen only)
+endef
+
export BUILD_CC="$(TARGET_CC)"
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
@@ -266,6 +272,12 @@ define Package/bind-nslookup/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nslookup $(1)/usr/libexec/nslookup-bind
endef
+define Package/bind-ddns-confgen/install
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ddns-confgen $(1)/usr/sbin/ddns-confgen
+ $(LN) -s ddns-confgen $(1)/usr/sbin/tsig-keygen
+endef
+
$(eval $(call BuildPackage,bind-libs))
$(eval $(call BuildPackage,bind-server))
$(eval $(call BuildPackage,bind-server-filter-aaaa))
@@ -277,3 +289,4 @@ $(eval $(call BuildPackage,bind-dnssec))
$(eval $(call BuildPackage,bind-host))
$(eval $(call BuildPackage,bind-dig))
$(eval $(call BuildPackage,bind-nslookup))
+$(eval $(call BuildPackage,bind-ddns-confgen))