ntpd: remove some code which is at best unneeded and at worst wrong
[oweals/busybox.git] / networking / Config.in
index 392afcf8917d5dade1fe893ecf2d52c4ba386085..80834c6d4f1063b8f956d8c9893587c8fe18bdff 100644 (file)
@@ -12,6 +12,17 @@ config FEATURE_IPV6
          Enable IPv6 support in busybox.
          This adds IPv6 support in the networking applets.
 
+config FEATURE_UNIX_LOCAL
+       bool "Enable Unix domain socket support (usually not needed)"
+       default n
+       help
+         Enable Unix domain socket support in all busybox networking
+         applets.  Address of the form local:/path/to/unix/socket
+         will be recognized.
+
+         This extension is almost never used in real world usage.
+         You most likely want to say N.
+
 config FEATURE_PREFER_IPV4_ADDRESS
        bool "Prefer IPv4 addresses from DNS queries"
        default y
@@ -121,7 +132,7 @@ config FTPPUT
 config FEATURE_FTPGETPUT_LONG_OPTIONS
        bool "Enable long options in ftpget/ftpput"
        default n
-       depends on GETOPT_LONG && (FTPGET || FTPPUT)
+       depends on LONG_OPTS && (FTPGET || FTPPUT)
        help
          Support long options for the ftpget/ftpput applet.
 
@@ -296,6 +307,12 @@ config IFENSLAVE
          Userspace application to bind several interfaces
          to a logical interface (use with kernel bonding driver).
 
+config IFPLUGD
+       bool "ifplugd"
+       default n
+       help
+         Network interface plug detection daemon.
+
 config IFUPDOWN
        bool "ifupdown"
        default n
@@ -561,7 +578,7 @@ config FEATURE_IPCALC_FANCY
 config FEATURE_IPCALC_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on IPCALC && GETOPT_LONG
+       depends on IPCALC && LONG_OPTS
        help
          Support long options for the ipcalc applet.
 
@@ -644,6 +661,20 @@ config NSLOOKUP
        help
          nslookup is a tool to query Internet name servers.
 
+config NTPD
+       bool "ntpd"
+       default n
+       help
+         The NTP client/server daemon.
+
+config FEATURE_NTPD_SERVER
+        bool "Make ntpd usable as a NTP server"
+        default y
+        depends on NTPD
+        help
+         Make ntpd usable as a NTP server. If you disable this option
+         ntpd will be usable only as a NTP client.
+
 config PING
        bool "ping"
        default n
@@ -771,6 +802,27 @@ config FEATURE_TELNETD_STANDALONE
        help
          Selecting this will make telnetd able to run standalone.
 
+config FEATURE_TELNETD_INETD_WAIT
+       bool "Support -w SEC option (inetd wait mode)"
+       default n
+       depends on FEATURE_TELNETD_STANDALONE
+       help
+         This option allows you to run telnetd in "inet wait" mode.
+         Example inetd.conf line (note "wait", not usual "nowait"):
+
+         telnet stream tcp wait root /bin/telnetd telnetd -w10
+
+         In this example, inetd passes _listening_ socket_ as fd 0
+         to telnetd when connection appears.
+         telnetd will wait for connections until all existing
+         connections are closed, and no new connections
+         appear during 10 seconds. Then it exits, and inetd continues
+         to listen for new connections.
+
+         This option is rarely used. "tcp nowait" is much more usual
+         way of running tcp services, including telnetd.
+         You most probably want to say N here.
+
 config TFTP
        bool "tftp"
        default n
@@ -808,27 +860,40 @@ config FEATURE_TFTP_PUT
          Also enable download support in tftpd, if tftpd is selected.
 
 config FEATURE_TFTP_BLOCKSIZE
-       bool "Enable \"blksize\" protocol option"
+       bool "Enable 'blksize' and 'tsize' protocol options"
        default n
        depends on TFTP || TFTPD
        help
          Allow tftp to specify block size, and tftpd to understand
-         "blksize" option.
+         "blksize" and "tsize" options.
+
+config FEATURE_TFTP_PROGRESS_BAR
+       bool "Enable tftp progress meter"
+       default n
+       depends on TFTP && FEATURE_TFTP_BLOCKSIZE
+       help
+         Show progress bar.
 
 config TFTP_DEBUG
        bool "Enable debug"
        default n
        depends on TFTP || TFTPD
        help
-         Enable debug settings for tftp. This is useful if you're running
-         into problems with tftp as the protocol doesn't help you much when
-         you run into problems.
+         Make tftp[d] print debugging messages on stderr.
+         This is useful if you are diagnosing a bug in tftp[d].
 
 config TRACEROUTE
        bool "traceroute"
        default n
        help
-         Utility to trace the route of IP packets
+         Utility to trace the route of IP packets.
+
+config TRACEROUTE6
+       bool "traceroute6"
+       default n
+       depends on FEATURE_IPV6 && TRACEROUTE
+       help
+         Utility to trace the route of IPv6 packets.
 
 config FEATURE_TRACEROUTE_VERBOSE
        bool "Enable verbose output"
@@ -858,7 +923,7 @@ source networking/udhcp/Config.in
 config IFUPDOWN_UDHCPC_CMD_OPTIONS
        string "ifup udhcpc command line options"
        default "-R -n"
-       depends on IFUPDOWN && APP_UDHCPC
+       depends on IFUPDOWN && UDHCPC
        help
          Command line options to pass to udhcpc from ifup.
          Intended to alter options not available in /etc/network/interfaces.
@@ -894,7 +959,7 @@ config FEATURE_WGET_AUTHENTICATION
 config FEATURE_WGET_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on WGET && GETOPT_LONG
+       depends on WGET && LONG_OPTS
        help
          Support long options for the wget applet.