busybox: add musl compatible nslookup replacement
[openwrt/openwrt.git] / package / utils / busybox / config / networking / Config.in
index 7e5a414a68bbf558c401f5ba1f27731a33efa929..e58746bdd72ebb843ffba46ea6227e782291c848 100644 (file)
@@ -673,7 +673,7 @@ config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
 
 config BUSYBOX_CONFIG_FEATURE_INETD_RPC
        bool "Support RPC services"
-       default BUSYBOX_DEFAULT_FEATURE_INETD_RPC
+       default BUSYBOX_DEFAULT_FEATURE_INETD_RPC  # very rarely used, and needs Sun RPC support in libc
        depends on BUSYBOX_CONFIG_INETD
        select BUSYBOX_CONFIG_FEATURE_HAVE_RPC
        help
@@ -730,6 +730,13 @@ config BUSYBOX_CONFIG_FEATURE_IP_RULE
        help
          Add support for rule commands to "ip".
 
+config BUSYBOX_CONFIG_FEATURE_IP_NEIGH
+       bool "ip neighbor"
+       default BUSYBOX_DEFAULT_FEATURE_IP_NEIGH
+       depends on BUSYBOX_CONFIG_IP
+       help
+         Add support for neighbor commands to "ip".
+
 config BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS
        bool "Support short forms of ip commands"
        default BUSYBOX_DEFAULT_FEATURE_IP_SHORT_FORMS
@@ -741,6 +748,7 @@ config BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS
          ip route  -> iproute
          ip tunnel -> iptunnel
          ip rule   -> iprule
+         ip neigh  -> ipneigh
 
          Say N unless you desparately need the short form of the ip
          object commands.
@@ -780,6 +788,11 @@ config BUSYBOX_CONFIG_IPRULE
        default BUSYBOX_DEFAULT_IPRULE
        depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_RULE
 
+config BUSYBOX_CONFIG_IPNEIGH
+       bool
+       default BUSYBOX_DEFAULT_IPNEIGH
+       depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_NEIGH
+
 config BUSYBOX_CONFIG_IPCALC
        bool "ipcalc"
        default BUSYBOX_DEFAULT_IPCALC
@@ -837,6 +850,20 @@ config BUSYBOX_CONFIG_NSLOOKUP
        help
          nslookup is a tool to query Internet name servers.
 
+config BUSYBOX_CONFIG_NSLOOKUP_LEDE
+       bool "nslookup_lede"
+       depends on !BUSYBOX_CONFIG_NSLOOKUP
+       default BUSYBOX_DEFAULT_NSLOOKUP_LEDE
+       help
+         nslookup is a tool to query Internet name servers (LEDE flavor).
+
+config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_LEDE_LONG_OPTIONS
+       bool "Enable long options"
+       default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_LEDE_LONG_OPTIONS
+       depends on BUSYBOX_CONFIG_NSLOOKUP_LEDE && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Support long options for the nslookup applet.
+
 config BUSYBOX_CONFIG_NTPD
        bool "ntpd"
        default BUSYBOX_DEFAULT_NTPD