ntpd: remove some code which is at best unneeded and at worst wrong
[oweals/busybox.git] / networking / Config.in
index b3d07e63c5b762ebcfd11cd5b9f2ade362c17261..80834c6d4f1063b8f956d8c9893587c8fe18bdff 100644 (file)
@@ -12,8 +12,19 @@ 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 "Preferentially use IPv4 addresses from DNS queries"
+       bool "Prefer IPv4 addresses from DNS queries"
        default y
        depends on FEATURE_IPV6
        help
@@ -93,6 +104,19 @@ config FAKEIDENTD
          fakeidentd listens on the ident port and returns a predefined
          fake value on any query.
 
+config FTPD
+       bool "ftpd"
+       default n
+       help
+         simple FTP daemon. You have to run it via inetd.
+
+config FEATURE_FTP_WRITE
+       bool "Enable upload commands"
+       default y
+       depends on FTPD
+       help
+         Enable all kinds of FTP upload commands (-w option)
+
 config FTPGET
        bool "ftpget"
        default n
@@ -108,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.
 
@@ -141,14 +165,6 @@ config FEATURE_HTTPD_USE_SENDFILE
          When enabled, httpd will use the kernel sendfile() function
          instead of read/write loop.
 
-config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
-       bool "Support reloading of global config file on HUP signal"
-       default n
-       depends on HTTPD
-       help
-         This option enables processing of SIGHUP to reload cached
-         configuration settings.
-
 config FEATURE_HTTPD_SETUID
        bool "Enable -u <user> option"
        default n
@@ -175,14 +191,6 @@ config FEATURE_HTTPD_AUTH_MD5
          Enables basic per URL authentication from /etc/httpd.conf
          using md5 passwords.
 
-config FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
-       bool "Support loading additional MIME types at run-time"
-       default n
-       depends on HTTPD
-       help
-         This option enables support for additional MIME types at
-         run-time to be specified in the configuration file.
-
 config FEATURE_HTTPD_CGI
        bool "Support Common Gateway Interface (CGI)"
        default y
@@ -299,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
@@ -564,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.
 
@@ -647,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
@@ -774,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
@@ -811,34 +860,47 @@ 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"
        default n
        depends on TRACEROUTE
        help
-         Add some verbosity to traceroute. This includes amongst other things
+         Add some verbosity to traceroute. This includes among other things
          hostnames and ICMP response types.
 
 config FEATURE_TRACEROUTE_SOURCE_ROUTE
@@ -854,14 +916,14 @@ config FEATURE_TRACEROUTE_USE_ICMP
        default n
        depends on TRACEROUTE
        help
-         Add feature to allow for ICMP ECHO instead of UDP datagrams.
+         Add option -I to use ICMP ECHO instead of UDP datagrams.
 
 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.
@@ -897,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.