bind: split delv into a separate package

All bind tools have their own package, and bind-tools is a meta-package
depending on all of them - except for delv, which was installed by
bind-tools itself. Getting delv thus required installing all the other
tools as well. Move delv into a separate bind-delv package, like the
other tools, and make bind-tools depend on it.

bind-tools is now a pure meta-package, give it an (empty) install
section so that it is still built.

Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
David Härdeman authored and Noah Meyerhans committed 2026-11-21 10:55:37 -05:00
1 parent 8fdf5d053e
commit 0281d484e3
2 files changed
+18 -5

No files matched your search

+12
View File
@@ -98,6 +98,7 @@ define Package/bind-tools
TITLE+= administration tools (all)
DEPENDS:= \
+bind-check \
+bind-delv \
+bind-dig \
+bind-nslookup \
+bind-dnssec \
@@ -106,6 +107,7 @@ define Package/bind-tools
+bind-ddns-confgen
EXTRA_DEPENDS:= \
bind-check (=$(PKG_VERSION)-r$(PKG_RELEASE)), \
bind-delv (=$(PKG_VERSION)-r$(PKG_RELEASE)), \
bind-dig (=$(PKG_VERSION)-r$(PKG_RELEASE)), \
bind-nslookup (=$(PKG_VERSION)-r$(PKG_RELEASE)), \
bind-dnssec (=$(PKG_VERSION)-r$(PKG_RELEASE)), \
@@ -124,6 +126,11 @@ define Package/bind-check
TITLE+= administration tools (named-checkconf and named-checkzone only)
endef
define Package/bind-delv
$(call Package/bind/Default)
TITLE+= administration tools (delv only)
endef
define Package/bind-dnssec
$(call Package/bind/Default)
TITLE+= administration tools (dnssec-keygen, dnssec-settime and dnssec-signzone only)
@@ -230,6 +237,10 @@ define Package/bind-client/install
endef
define Package/bind-tools/install
true
endef
define Package/bind-delv/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/delv $(1)/usr/bin/
endef
@@ -280,6 +291,7 @@ $(eval $(call BuildPackage,bind-client))
$(eval $(call BuildPackage,bind-tools))
$(eval $(call BuildPackage,bind-rndc))
$(eval $(call BuildPackage,bind-check))
$(eval $(call BuildPackage,bind-delv))
$(eval $(call BuildPackage,bind-dnssec))
$(eval $(call BuildPackage,bind-host))
$(eval $(call BuildPackage,bind-dig))
+6 -5
View File
@@ -12,6 +12,10 @@ bind-client)
nsupdate -V 2>&1 | grep -F "$PKG_VERSION"
;;
bind-delv)
delv -v 2>&1 | grep -F "$PKG_VERSION"
;;
bind-dig)
dig -v 2>&1 | grep -F "$PKG_VERSION"
;;
@@ -38,12 +42,9 @@ bind-server)
named -v 2>&1 | grep -F "$PKG_VERSION"
;;
bind-tools)
delv -v 2>&1 | grep -F "$PKG_VERSION"
;;
bind-ddns-confgen|\
bind-libs)
bind-libs|\
bind-tools)
exit 0
;;