[PATCH] busybox: enable whois by default

Josef Schlehofer pepe.schlehofer at gmail.com
Mon Nov 16 20:07:09 EST 2020


Some users of OpenWrt would like to use whois on their routers without
re-compiling whole busybox. It means that they need to know how to
cross-compile things for OpenWrt, enable it, compile busybox and flash
it on the router. That's can be difficult as force reinstall of busybox
can leads to some serious issues if you don't update package indexes first.

Whois can identify who owns a domain and how to get reach owner.
Providing this tool in OpenWrt someone does not need to use websites for
everything. According to config/networking/Config.in, it should take 6.3
kb.

Signed-off-by: Josef Schlehofer <pepe.schlehofer at gmail.com>
---
 package/utils/busybox/Config-defaults.in | 2 +-
 package/utils/busybox/Makefile           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in
index 29724041f4..c2e9337478 100644
--- a/package/utils/busybox/Config-defaults.in
+++ b/package/utils/busybox/Config-defaults.in
@@ -2582,7 +2582,7 @@ config BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL
 	default n
 config BUSYBOX_DEFAULT_WHOIS
 	bool
-	default n
+	default y
 config BUSYBOX_DEFAULT_ZCIP
 	bool
 	default n
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index 71bd888c71..38ef4d33bd 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=busybox
 PKG_VERSION:=1.31.1
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 PKG_FLAGS:=essential
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-- 
2.25.1




More information about the openwrt-devel mailing list