mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
bind: add nslookup alternative to busybox nslookup
Add alternative to busybox nslookup. Busybox throws an error when the host does not have an AAAA record. Signed-off-by: Ian Cooper <iancooper@hotmail.com>
This commit is contained in:
+15
-1
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=bind
|
PKG_NAME:=bind
|
||||||
PKG_VERSION:=9.16.3
|
PKG_VERSION:=9.16.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
USERID:=bind=57:bind=57
|
USERID:=bind=57:bind=57
|
||||||
|
|
||||||
PKG_MAINTAINER:=Noah Meyerhans <frodo@morgul.net>
|
PKG_MAINTAINER:=Noah Meyerhans <frodo@morgul.net>
|
||||||
@@ -83,6 +83,7 @@ define Package/bind-tools
|
|||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+bind-check \
|
+bind-check \
|
||||||
+bind-dig \
|
+bind-dig \
|
||||||
|
+bind-nslookup \
|
||||||
+bind-dnssec \
|
+bind-dnssec \
|
||||||
+bind-host \
|
+bind-host \
|
||||||
+bind-rndc
|
+bind-rndc
|
||||||
@@ -113,6 +114,13 @@ define Package/bind-dig
|
|||||||
TITLE+= DNS excavation tool
|
TITLE+= DNS excavation tool
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/bind-nslookup
|
||||||
|
$(call Package/bind/Default)
|
||||||
|
TITLE+= nslookup utility
|
||||||
|
ALTERNATIVES:= \
|
||||||
|
200:/usr/bin/nslookup:/usr/libexec/nslookup-bind
|
||||||
|
endef
|
||||||
|
|
||||||
export BUILD_CC="$(TARGET_CC)"
|
export BUILD_CC="$(TARGET_CC)"
|
||||||
|
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||||
@@ -234,6 +242,11 @@ define Package/bind-dig/install
|
|||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/bind-nslookup/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/libexec
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nslookup $(1)/usr/libexec/nslookup-bind
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,bind-libs))
|
$(eval $(call BuildPackage,bind-libs))
|
||||||
$(eval $(call BuildPackage,bind-server))
|
$(eval $(call BuildPackage,bind-server))
|
||||||
$(eval $(call BuildPackage,bind-server-filter-aaaa))
|
$(eval $(call BuildPackage,bind-server-filter-aaaa))
|
||||||
@@ -244,3 +257,4 @@ $(eval $(call BuildPackage,bind-check))
|
|||||||
$(eval $(call BuildPackage,bind-dnssec))
|
$(eval $(call BuildPackage,bind-dnssec))
|
||||||
$(eval $(call BuildPackage,bind-host))
|
$(eval $(call BuildPackage,bind-host))
|
||||||
$(eval $(call BuildPackage,bind-dig))
|
$(eval $(call BuildPackage,bind-dig))
|
||||||
|
$(eval $(call BuildPackage,bind-nslookup))
|
||||||
|
|||||||
Reference in New Issue
Block a user