From f12c99c0e44be0587faa2371af386c7f2d9e72f7 Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Tue, 28 Apr 2009 14:41:16 +1000 Subject: Config.in: comment out programs/features that will not get supported anytime soon --- archival/Config.in | 2 ++ coreutils/Config.in | 19 ++++++++++++++++++- debianutils/Config.in | 2 ++ networking/Config.in | 14 ++++++++++++++ shell/Config.in | 10 ++++++++-- 5 files changed, 44 insertions(+), 3 deletions(-) diff --git a/archival/Config.in b/archival/Config.in index 2741982c0..f21509271 100644 --- a/archival/Config.in +++ b/archival/Config.in @@ -71,6 +71,7 @@ config CPIO config DPKG bool "dpkg" default n + depends on !MINGW32 help dpkg is a medium-level tool to install, build, remove and manage Debian packages. @@ -130,6 +131,7 @@ config RPM2CPIO config RPM bool "rpm" default n + depends on !MINGW32 help Mini RPM applet - queries and extracts RPM packages. diff --git a/coreutils/Config.in b/coreutils/Config.in index be5e9527b..ad06abb32 100644 --- a/coreutils/Config.in +++ b/coreutils/Config.in @@ -36,18 +36,21 @@ config CATV config CHGRP bool "chgrp" default n + depends on !MINGW32 help chgrp is used to change the group ownership of files. config CHMOD bool "chmod" default n + depends on !MINGW32 help chmod is used to change the access permission of files. config CHOWN bool "chown" default n + depends on !MINGW32 help chown is used to change the user and/or group ownership of files. @@ -55,6 +58,7 @@ config CHOWN config CHROOT bool "chroot" default n + depends on !MINGW32 help chroot is used to change the root directory and run a command. The default command is `/bin/sh'. @@ -138,6 +142,7 @@ config FEATURE_DD_IBS_OBS config DF bool "df" default n + depends on !MINGW32 help df reports the amount of disk space used and available on filesystems. @@ -284,6 +289,7 @@ config FEATURE_FANCY_HEAD config HOSTID bool "hostid" default n + depends on !MINGW32 help hostid prints the numeric identifier (in hexadecimal) for the current host. @@ -291,6 +297,7 @@ config HOSTID config ID bool "id" default n + depends on !MINGW32 help id displays the current user and group ID names. @@ -322,6 +329,7 @@ config LN config LOGNAME bool "logname" default n + depends on !MINGW32 help logname is used to print the current user's login name. @@ -413,6 +421,7 @@ config FEATURE_MKDIR_LONG_OPTIONS config MKFIFO bool "mkfifo" default n + depends on !MINGW32 help mkfifo is used to create FIFOs (named pipes). The `mknod' program can also create FIFOs. @@ -420,6 +429,7 @@ config MKFIFO config MKNOD bool "mknod" default n + depends on !MINGW32 help mknod is used to create FIFOs or block/character special files with the specified names. @@ -440,12 +450,14 @@ config FEATURE_MV_LONG_OPTIONS config NICE bool "nice" default n + depends on !MINGW32 help nice runs a program with modified scheduling priority. config NOHUP bool "nohup" default n + depends on !MINGW32 help run a command immune to hangups, with output to a non-tty. @@ -569,6 +581,7 @@ config FEATURE_STAT_FORMAT config STTY bool "stty" default n + depends on !MINGW32 help stty is used to change and print terminal line settings. @@ -581,6 +594,7 @@ config SUM config SYNC bool "sync" default n + depends on !MINGW32 help sync is used to flush filesystem buffers. @@ -670,6 +684,7 @@ config TRUE config TTY bool "tty" default n + depends on !MINGW32 help tty is used to print the name of the current terminal to standard output. @@ -729,6 +744,7 @@ config FEATURE_WC_LARGE config WHO bool "who" default n + depends on !MINGW32 select FEATURE_UTMP help who is used to show who is logged on. @@ -736,6 +752,7 @@ config WHO config WHOAMI bool "whoami" default n + depends on !MINGW32 help whoami is used to print the username of the current user id (same as id -un). @@ -753,7 +770,7 @@ comment "Common options for cp and mv" config FEATURE_PRESERVE_HARDLINKS bool "Preserve hard links" default n - depends on CP || MV + depends on (CP || MV) && !MINGW32 help Allow cp and mv to preserve hard links. diff --git a/debianutils/Config.in b/debianutils/Config.in index c49197666..0e8a4c790 100644 --- a/debianutils/Config.in +++ b/debianutils/Config.in @@ -34,6 +34,7 @@ config FEATURE_READLINK_FOLLOW config RUN_PARTS bool "run-parts" default n + depends on !MINGW32 help run-parts is a utility designed to run all the scripts in a directory. @@ -65,6 +66,7 @@ config FEATURE_RUN_PARTS_FANCY config START_STOP_DAEMON bool "start-stop-daemon" default y + depends on !MINGW32 help start-stop-daemon is used to control the creation and termination of system-level processes, usually the ones diff --git a/networking/Config.in b/networking/Config.in index 5ccc4836a..c92bf91fa 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -8,6 +8,7 @@ menu "Networking Utilities" config FEATURE_IPV6 bool "Enable IPv6 support" default n + depends on !MINGW32 help Enable IPv6 support in busybox. This adds IPv6 support in the networking applets. @@ -23,12 +24,14 @@ config VERBOSE_RESOLUTION_ERRORS config ARP bool "arp" default n + depends on !MINGW32 help Manipulate the system ARP cache. config ARPING bool "arping" default n + depends on !MINGW32 help Ping hosts by ARP packets. @@ -41,6 +44,7 @@ config DNSD config ETHER_WAKE bool "ether-wake" default n + depends on !MINGW32 help Send a magic packet to wake up sleeping machines. @@ -165,6 +169,7 @@ config FEATURE_HTTPD_ENCODE_URL_STR config IFCONFIG bool "ifconfig" default n + depends on !MINGW32 help Ifconfig is used to configure the kernel-resident network interfaces. @@ -212,6 +217,7 @@ config FEATURE_IFCONFIG_BROADCAST_PLUS config IFUPDOWN bool "ifupdown" default n + depends on !MINGW32 help Activate or deactivate the specified interfaces. This applet makes use of either "ifconfig" and "route" or the "ip" command to actually @@ -354,6 +360,7 @@ config FEATURE_INETD_RPC config IP bool "ip" default n + depends on !MINGW32 help The "ip" applet is a TCP/IP interface configuration and routing utility. You generally don't need "ip" to use busybox with @@ -458,6 +465,7 @@ config FEATURE_IPCALC_LONG_OPTIONS config NAMEIF bool "nameif" default n + depends on !MINGW32 select FEATURE_SYSLOG help nameif is used to rename network interface by its MAC address. @@ -496,6 +504,7 @@ config NC_EXTRA config NETSTAT bool "netstat" default n + depends on !MINGW32 help netstat prints information about the Linux networking subsystem. @@ -516,6 +525,7 @@ config NSLOOKUP config PING bool "ping" default n + depends on !MINGW32 help ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. @@ -538,6 +548,7 @@ config FEATURE_FANCY_PING config ROUTE bool "route" default n + depends on !MINGW32 help Route displays or manipulates the kernel's IP routing tables. @@ -660,6 +671,7 @@ config DEBUG_TFTP config TRACEROUTE bool "traceroute" default n + depends on !MINGW32 help Utility to trace the route of IP packets @@ -691,6 +703,7 @@ source networking/udhcp/Config.in config VCONFIG bool "vconfig" default n + depends on !MINGW32 help Creates, removes, and configures VLAN interfaces @@ -725,6 +738,7 @@ config FEATURE_WGET_LONG_OPTIONS config ZCIP bool "zcip" default n + depends on !MINGW32 select FEATURE_SYSLOG help ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. diff --git a/shell/Config.in b/shell/Config.in index 0689b4ec2..beae69256 100644 --- a/shell/Config.in +++ b/shell/Config.in @@ -16,6 +16,7 @@ config FEATURE_SH_IS_ASH select ASH bool "ash" +if !MINGW32 config FEATURE_SH_IS_HUSH select HUSH bool "hush" @@ -27,6 +28,7 @@ config FEATURE_SH_IS_LASH config FEATURE_SH_IS_MSH select MSH bool "msh" +endif config FEATURE_SH_IS_NONE bool "none" @@ -50,7 +52,7 @@ comment "Ash Shell Options" config ASH_JOB_CONTROL bool "Job control" default y - depends on ASH + depends on ASH && !MINGW32 help Enable job control in the ash shell. @@ -129,7 +131,7 @@ config ASH_CMDCMD config ASH_MAIL bool "Check for new mail on interactive shells" default y - depends on ASH + depends on ASH && !MINGW32 help Enable "check for new mail" in the ash shell. @@ -163,6 +165,7 @@ config ASH_EXPAND_PRMT config HUSH bool "hush" default n + depends on !MINGW32 select TRUE select FALSE select TEST @@ -228,6 +231,7 @@ config HUSH_LOOPS config LASH bool "lash" default n + depends on !MINGW32 select TRUE select FALSE select TEST @@ -243,6 +247,7 @@ config LASH config MSH bool "msh" default n + depends on !MINGW32 select TRUE select FALSE select TEST @@ -300,6 +305,7 @@ config FEATURE_SH_STANDALONE config CTTYHACK bool "cttyhack" default n + depends on !MINGW32 help One common problem reported on the mailing list is "can't access tty; job control turned off" error message which typically appears when -- cgit v1.2.3-55-g6feb