[backfire] busybox: merge r28613
[openwrt-10.03/.git] / package / busybox / config / networking / Config.in
index 0a79cdd8f7ecb01d78242faa252eb7b75eddfe32..c5aeaf04db6b70f7259bd5c10bd4212d01c7bcfb 100644 (file)
@@ -12,8 +12,19 @@ config BUSYBOX_CONFIG_FEATURE_IPV6
          Enable IPv6 support in busybox.
          This adds IPv6 support in the networking applets.
 
+config BUSYBOX_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 BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS
-       bool "Preferentially use IPv4 addresses from DNS queries"
+       bool "Prefer IPv4 addresses from DNS queries"
        default y
        depends on BUSYBOX_CONFIG_FEATURE_IPV6
        help
@@ -93,6 +104,19 @@ config BUSYBOX_CONFIG_FAKEIDENTD
          fakeidentd listens on the ident port and returns a predefined
          fake value on any query.
 
+config BUSYBOX_CONFIG_FTPD
+       bool "ftpd"
+       default n
+       help
+         simple FTP daemon. You have to run it via inetd.
+
+config BUSYBOX_CONFIG_FEATURE_FTP_WRITE
+       bool "Enable upload commands"
+       default n
+       depends on BUSYBOX_CONFIG_FTPD
+       help
+         Enable all kinds of FTP upload commands (-w option)
+
 config BUSYBOX_CONFIG_FTPGET
        bool "ftpget"
        default n
@@ -108,7 +132,7 @@ config BUSYBOX_CONFIG_FTPPUT
 config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS
        bool "Enable long options in ftpget/ftpput"
        default n
-       depends on BUSYBOX_CONFIG_GETOPT_LONG && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT)
+       depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT)
        help
          Support long options for the ftpget/ftpput applet.
 
@@ -120,13 +144,13 @@ config BUSYBOX_CONFIG_HOSTNAME
 
 config BUSYBOX_CONFIG_HTTPD
        bool "httpd"
-       default y
+       default n
        help
          Serve web pages via an HTTP server.
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES
        bool "Support 'Ranges:' header"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          Makes httpd emit "Accept-Ranges: bytes" header and understand
@@ -141,14 +165,6 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_USE_SENDFILE
          When enabled, httpd will use the kernel sendfile() function
          instead of read/write loop.
 
-config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
-       bool "Support reloading of global config file on HUP signal"
-       default y
-       depends on BUSYBOX_CONFIG_HTTPD
-       help
-         This option enables processing of SIGHUP to reload cached
-         configuration settings.
-
 config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID
        bool "Enable -u <user> option"
        default n
@@ -161,7 +177,7 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
        bool "Enable Basic http Authentication"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          Utilizes password settings from /etc/httpd.conf for basic
@@ -169,23 +185,15 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5
        bool "Support MD5 crypted passwords for http Authentication"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH
        help
          Enables basic per URL authentication from /etc/httpd.conf
          using md5 passwords.
 
-config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
-       bool "Support loading additional MIME types at run-time"
-       default y
-       depends on BUSYBOX_CONFIG_HTTPD
-       help
-         This option enables support for additional MIME types at
-         run-time to be specified in the configuration file.
-
 config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
        bool "Support Common Gateway Interface (CGI)"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          This option allows scripts and executables to be invoked
@@ -193,7 +201,7 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
        bool "Support for running scripts through an interpreter"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
        help
          This option enables support for running scripts through an
@@ -204,7 +212,7 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
        bool "Set REMOTE_PORT environment variable for CGI"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
        help
          Use of this option can assist scripts in generating
@@ -212,17 +220,17 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR
        bool "Enable -e option (useful for CGIs written as shell scripts)"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          This option allows html encoding of arbitrary strings for display
-         by the browser.  Output goes to stdout.
+         by the browser. Output goes to stdout.
          For example, httpd -e "<Hello World>" produces
          "&#60Hello&#32World&#62".
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES
        bool "Support for custom error pages"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          This option allows you to define custom error pages in
@@ -235,7 +243,7 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES
 
 config BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY
        bool "Support for reverse proxy"
-       default y
+       default n
        depends on BUSYBOX_CONFIG_HTTPD
        help
          This option allows you to define URLs that will be forwarded
@@ -264,7 +272,7 @@ config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP
        default n
        depends on BUSYBOX_CONFIG_IFCONFIG
        help
-         Allow "keepalive" and "outfill" support for SLIP.  If you're not
+         Allow "keepalive" and "outfill" support for SLIP. If you're not
          planning on using serial lines, leave this unchecked.
 
 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
@@ -281,7 +289,7 @@ config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW
        depends on BUSYBOX_CONFIG_IFCONFIG
        help
          Set the hardware address of this interface, if the device driver
-         supports  this  operation.  Currently, we only support the 'ether'
+         supports  this  operation. Currently, we only support the 'ether'
          class.
 
 config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
@@ -299,19 +307,25 @@ config BUSYBOX_CONFIG_IFENSLAVE
          Userspace application to bind several interfaces
          to a logical interface (use with kernel bonding driver).
 
+config BUSYBOX_CONFIG_IFPLUGD
+       bool "ifplugd"
+       default n
+       help
+         Network interface plug detection daemon.
+
 config BUSYBOX_CONFIG_IFUPDOWN
        bool "ifupdown"
        default n
        help
-         Activate or deactivate the specified interfaces.  This applet makes
+         Activate or deactivate the specified interfaces. This applet makes
          use of either "ifconfig" and "route" or the "ip" command to actually
-         configure network interfaces.  Therefore, you will probably also want
+         configure network interfaces. Therefore, you will probably also want
          to enable either IFCONFIG and ROUTE, or enable
-         FEATURE_IFUPDOWN_IP and the various IP options.  Of
+         FEATURE_IFUPDOWN_IP and the various IP options. Of
          course you could use non-busybox versions of these programs, so
          against my better judgement (since this will surely result in plenty
          of support questions on the mailing list), I do not force you to
-         enable these additional options.  It is up to you to supply either
+         enable these additional options. It is up to you to supply either
          "ifconfig", "route" and "run-parts" or the "ip" command, either
          via busybox or via standalone utilities.
 
@@ -458,7 +472,7 @@ config BUSYBOX_CONFIG_IP
        default n
        help
          The "ip" applet is a TCP/IP interface configuration and routing
-         utility.  You generally don't need "ip" to use busybox with
+         utility. You generally don't need "ip" to use busybox with
          TCP/IP.
 
 config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS
@@ -558,12 +572,13 @@ config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY
        default n
        depends on BUSYBOX_CONFIG_IPCALC
        help
-         Adds the options hostname, prefix and silent to the output of "ipcalc".
+         Adds the options hostname, prefix and silent to the output of
+         "ipcalc".
 
 config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the ipcalc applet.
 
@@ -638,12 +653,34 @@ config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE
          Add support for wide columns. Useful when displaying IPv6 addresses
          (-W option).
 
+config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG
+       bool "Enable PID/Program name output"
+       default y
+       depends on BUSYBOX_CONFIG_NETSTAT
+       help
+         Add support for -p flag to print out PID and program name.
+         +700 bytes of code.
+
 config BUSYBOX_CONFIG_NSLOOKUP
        bool "nslookup"
        default y
        help
          nslookup is a tool to query Internet name servers.
 
+config BUSYBOX_CONFIG_NTPD
+       bool "ntpd"
+       default y
+       help
+         The NTP client/server daemon.
+
+config BUSYBOX_CONFIG_FEATURE_NTPD_SERVER
+       bool "Make ntpd usable as a NTP server"
+       default y
+       depends on BUSYBOX_CONFIG_NTPD
+       help
+         Make ntpd usable as a NTP server. If you disable this option
+         ntpd will be usable only as a NTP client.
+
 config BUSYBOX_CONFIG_PING
        bool "ping"
        default y
@@ -678,23 +715,22 @@ config BUSYBOX_CONFIG_ROUTE
        help
          Route displays or manipulates the kernel's IP routing tables.
 
-config BUSYBOX_CONFIG_SENDMAIL
-       bool "sendmail"
-       default n
-       help
-         Barebones sendmail.
-
-config BUSYBOX_CONFIG_FETCHMAIL
-       bool "fetchmail"
-       default n
-       help
-         Barebones fetchmail.
-
 config BUSYBOX_CONFIG_SLATTACH
        bool "slattach"
        default n
        help
-         slattach is a small utility to attach network interfaces to serial lines.
+         slattach is a small utility to attach network interfaces to serial
+         lines.
+
+#config TC
+#      bool "tc"
+#      default n
+#      help
+#        show / manipulate traffic control settings
+#
+#config FEATURE_TC_INGRESS
+#      def_bool n
+#      depends on TC
 
 config BUSYBOX_CONFIG_TELNET
        bool "telnet"
@@ -709,7 +745,7 @@ config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE
        depends on BUSYBOX_CONFIG_TELNET
        help
          Setting this option will forward the TERM environment variable to the
-         remote host you are connecting to.  This is useful to make sure that
+         remote host you are connecting to. This is useful to make sure that
          things like ANSI colors and other control sequences behave.
 
 config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
@@ -728,9 +764,9 @@ config BUSYBOX_CONFIG_TELNETD
        select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          A daemon for the TELNET protocol, allowing you to log onto the host
-         running the daemon.  Please keep in mind that the TELNET protocol
-         sends passwords in plain text.  If you can't afford the space for an
-         SSH daemon and you trust your network, you may say 'y' here.  As a
+         running the daemon. Please keep in mind that the TELNET protocol
+         sends passwords in plain text. If you can't afford the space for an
+         SSH daemon and you trust your network, you may say 'y' here. As a
          more secure alternative, you should seriously consider installing the
          very small Dropbear SSH daemon instead:
                http://matt.ucc.asn.au/dropbear/dropbear.html
@@ -756,7 +792,7 @@ config BUSYBOX_CONFIG_TELNETD
                  mount -t devpts devpts /dev/pts
 
          You need to be sure that Busybox has LOGIN and
-         FEATURE_SUID enabled.  And finally, you should make
+         FEATURE_SUID enabled. And finally, you should make
          certain that Busybox has been installed setuid root:
 
                chown root.root /bin/busybox
@@ -776,7 +812,7 @@ config BUSYBOX_CONFIG_TFTP
        bool "tftp"
        default n
        help
-         This enables the Trivial File Transfer Protocol client program.  TFTP
+         This enables the Trivial File Transfer Protocol client program. TFTP
          is usually used for simple, small transfers such as a root image
          for a network-enabled bootloader.
 
@@ -795,7 +831,7 @@ config BUSYBOX_CONFIG_FEATURE_TFTP_GET
        default n
        depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
        help
-         Add support for the GET command within the TFTP client.  This allows
+         Add support for the GET command within the TFTP client. This allows
          a client to retrieve a file from a TFTP server.
          Also enable upload support in tftpd, if tftpd is selected.
 
@@ -804,7 +840,7 @@ config BUSYBOX_CONFIG_FEATURE_TFTP_PUT
        default n
        depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD
        help
-         Add support for the PUT command within the TFTP client.  This allows
+         Add support for the PUT command within the TFTP client. This allows
          a client to transfer a file to a TFTP server.
          Also enable download support in tftpd, if tftpd is selected.
 
@@ -816,27 +852,26 @@ config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE
          Allow tftp to specify block size, and tftpd to understand
          "blksize" option.
 
-config BUSYBOX_CONFIG_DEBUG_TFTP
+config BUSYBOX_CONFIG_TFTP_DEBUG
        bool "Enable debug"
        default n
-       depends on BUSYBOX_CONFIG_TFTP
+       depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_TRACEROUTE
        bool "traceroute"
        default y
        help
-         Utility to trace the route of IP packets
+         Utility to trace the route of IP packets.
 
 config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
        bool "Enable verbose output"
        default y
        depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
@@ -852,10 +887,19 @@ config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP
        default n
        depends on BUSYBOX_CONFIG_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 package/busybox/config/networking/udhcp/Config.in
 
+config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS
+       string "ifup udhcpc command line options"
+       default "-R -n"
+       depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_APP_UDHCPC
+       help
+         Command line options to pass to udhcpc from ifup.
+         Intended to alter options not available in /etc/network/interfaces.
+         (IE: --syslog --background etc...)
+
 config BUSYBOX_CONFIG_VCONFIG
        bool "vconfig"
        default y
@@ -886,7 +930,7 @@ config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION
 config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS
        bool "Enable long options"
        default y
-       depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the wget applet.
 
@@ -906,12 +950,28 @@ config BUSYBOX_CONFIG_TCPSVD
        bool "tcpsvd"
        default n
        help
-         tcpsvd listens on a TCP port and runs a program for each new connection
+         tcpsvd listens on a TCP port and runs a program for each new
+         connection.
+
+config BUSYBOX_CONFIG_TUNCTL
+       bool "tunctl"
+       default n
+       help
+         tunctl creates or deletes tun devices.
+
+config BUSYBOX_CONFIG_FEATURE_TUNCTL_UG
+       bool "Support owner:group assignment"
+       default n
+       depends on BUSYBOX_CONFIG_TUNCTL
+       help
+         Allow to specify owner and group of newly created interface.
+         340 bytes of pure bloat. Say no here.
 
 config BUSYBOX_CONFIG_UDPSVD
        bool "udpsvd"
        default n
        help
-         udpsvd listens on an UDP port and runs a program for each new connection
+         udpsvd listens on an UDP port and runs a program for each new
+         connection.
 
 endmenu