diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 08:12:33 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 08:12:33 +0000 |
| commit | cc5e090f12fb4e3834fb1a55bc91d7618af8ce78 (patch) | |
| tree | 34813e8836287c21cb893ab7d3aee666db415d62 | |
| parent | aa198dd39cad6cb41fbf6c8b64301b581a9ba206 (diff) | |
| download | busybox-w32-cc5e090f12fb4e3834fb1a55bc91d7618af8ce78.tar.gz busybox-w32-cc5e090f12fb4e3834fb1a55bc91d7618af8ce78.tar.bz2 busybox-w32-cc5e090f12fb4e3834fb1a55bc91d7618af8ce78.zip | |
move several applets to more correct ex-project. No code changes.
| -rw-r--r-- | coreutils/Config.in | 61 | ||||
| -rw-r--r-- | coreutils/Kbuild | 4 | ||||
| -rw-r--r-- | coreutils/readlink.c (renamed from debianutils/readlink.c) | 0 | ||||
| -rw-r--r-- | debianutils/Config.in | 14 | ||||
| -rw-r--r-- | debianutils/Kbuild | 11 | ||||
| -rw-r--r-- | editors/Config.in | 39 | ||||
| -rw-r--r-- | editors/Kbuild | 2 | ||||
| -rw-r--r-- | editors/cmp.c (renamed from coreutils/cmp.c) | 0 | ||||
| -rw-r--r-- | editors/diff.c (renamed from coreutils/diff.c) | 0 | ||||
| -rw-r--r-- | miscutils/Config.in | 6 | ||||
| -rw-r--r-- | miscutils/Kbuild | 1 | ||||
| -rw-r--r-- | procps/Config.in | 14 | ||||
| -rw-r--r-- | procps/Kbuild | 4 | ||||
| -rw-r--r-- | procps/nmeter.c (renamed from miscutils/nmeter.c) | 0 | ||||
| -rw-r--r-- | procps/watch.c (renamed from coreutils/watch.c) | 0 |
15 files changed, 78 insertions, 78 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in index be5e9527b..cb5241ef6 100644 --- a/coreutils/Config.in +++ b/coreutils/Config.in | |||
| @@ -65,13 +65,6 @@ config CKSUM | |||
| 65 | help | 65 | help |
| 66 | cksum is used to calculate the CRC32 checksum of a file. | 66 | cksum is used to calculate the CRC32 checksum of a file. |
| 67 | 67 | ||
| 68 | config CMP | ||
| 69 | bool "cmp" | ||
| 70 | default n | ||
| 71 | help | ||
| 72 | cmp is used to compare two files and returns the result | ||
| 73 | to standard output. | ||
| 74 | |||
| 75 | config COMM | 68 | config COMM |
| 76 | bool "comm" | 69 | bool "comm" |
| 77 | default n | 70 | default n |
| @@ -142,38 +135,6 @@ config DF | |||
| 142 | df reports the amount of disk space used and available | 135 | df reports the amount of disk space used and available |
| 143 | on filesystems. | 136 | on filesystems. |
| 144 | 137 | ||
| 145 | config DIFF | ||
| 146 | bool "diff" | ||
| 147 | default n | ||
| 148 | help | ||
| 149 | diff compares two files or directories and outputs the | ||
| 150 | differences between them in a form that can be given to | ||
| 151 | the patch command. | ||
| 152 | |||
| 153 | config FEATURE_DIFF_BINARY | ||
| 154 | bool "Enable checks for binary files" | ||
| 155 | default y | ||
| 156 | depends on DIFF | ||
| 157 | help | ||
| 158 | This option enables support for checking for binary files | ||
| 159 | before a comparison is carried out. | ||
| 160 | |||
| 161 | config FEATURE_DIFF_DIR | ||
| 162 | bool "Enable directory support" | ||
| 163 | default y | ||
| 164 | depends on DIFF | ||
| 165 | help | ||
| 166 | This option enables support for directory and subdirectory | ||
| 167 | comparison. | ||
| 168 | |||
| 169 | config FEATURE_DIFF_MINIMAL | ||
| 170 | bool "Enable -d option to find smaller sets of changes" | ||
| 171 | default n | ||
| 172 | depends on DIFF | ||
| 173 | help | ||
| 174 | Enabling this option allows the use of -d to make diff | ||
| 175 | try hard to find the smallest possible set of changes. | ||
| 176 | |||
| 177 | config DIRNAME | 138 | config DIRNAME |
| 178 | bool "dirname" | 139 | bool "dirname" |
| 179 | default n | 140 | default n |
| @@ -474,6 +435,20 @@ config PWD | |||
| 474 | help | 435 | help |
| 475 | pwd is used to print the current directory. | 436 | pwd is used to print the current directory. |
| 476 | 437 | ||
| 438 | config READLINK | ||
| 439 | bool "readlink" | ||
| 440 | default n | ||
| 441 | help | ||
| 442 | This program reads a symbolic link and returns the name | ||
| 443 | of the file it points to | ||
| 444 | |||
| 445 | config FEATURE_READLINK_FOLLOW | ||
| 446 | bool "Enable canonicalization by following all symlinks (-f)" | ||
| 447 | default n | ||
| 448 | depends on READLINK | ||
| 449 | help | ||
| 450 | Enable the readlink option (-f). | ||
| 451 | |||
| 477 | config REALPATH | 452 | config REALPATH |
| 478 | bool "realpath" | 453 | bool "realpath" |
| 479 | default n | 454 | default n |
| @@ -704,14 +679,6 @@ config UUENCODE | |||
| 704 | help | 679 | help |
| 705 | uuencode is used to uuencode a file. | 680 | uuencode is used to uuencode a file. |
| 706 | 681 | ||
| 707 | config WATCH | ||
| 708 | bool "watch" | ||
| 709 | default n | ||
| 710 | select DATE | ||
| 711 | help | ||
| 712 | watch is used to execute a program periodically, showing | ||
| 713 | output to the screen. | ||
| 714 | |||
| 715 | config WC | 682 | config WC |
| 716 | bool "wc" | 683 | bool "wc" |
| 717 | default n | 684 | default n |
diff --git a/coreutils/Kbuild b/coreutils/Kbuild index 1c6e6ed23..fd67d6c85 100644 --- a/coreutils/Kbuild +++ b/coreutils/Kbuild | |||
| @@ -18,14 +18,12 @@ lib-$(CONFIG_CHMOD) += chmod.o | |||
| 18 | lib-$(CONFIG_CHOWN) += chown.o | 18 | lib-$(CONFIG_CHOWN) += chown.o |
| 19 | lib-$(CONFIG_CHROOT) += chroot.o | 19 | lib-$(CONFIG_CHROOT) += chroot.o |
| 20 | lib-$(CONFIG_CKSUM) += cksum.o | 20 | lib-$(CONFIG_CKSUM) += cksum.o |
| 21 | lib-$(CONFIG_CMP) += cmp.o | ||
| 22 | lib-$(CONFIG_COMM) += comm.o | 21 | lib-$(CONFIG_COMM) += comm.o |
| 23 | lib-$(CONFIG_CP) += cp.o | 22 | lib-$(CONFIG_CP) += cp.o |
| 24 | lib-$(CONFIG_CUT) += cut.o | 23 | lib-$(CONFIG_CUT) += cut.o |
| 25 | lib-$(CONFIG_DATE) += date.o | 24 | lib-$(CONFIG_DATE) += date.o |
| 26 | lib-$(CONFIG_DD) += dd.o | 25 | lib-$(CONFIG_DD) += dd.o |
| 27 | lib-$(CONFIG_DF) += df.o | 26 | lib-$(CONFIG_DF) += df.o |
| 28 | lib-$(CONFIG_DIFF) += diff.o | ||
| 29 | lib-$(CONFIG_DIRNAME) += dirname.o | 27 | lib-$(CONFIG_DIRNAME) += dirname.o |
| 30 | lib-$(CONFIG_DOS2UNIX) += dos2unix.o | 28 | lib-$(CONFIG_DOS2UNIX) += dos2unix.o |
| 31 | lib-$(CONFIG_DU) += du.o | 29 | lib-$(CONFIG_DU) += du.o |
| @@ -54,6 +52,7 @@ lib-$(CONFIG_OD) += od.o | |||
| 54 | lib-$(CONFIG_PRINTENV) += printenv.o | 52 | lib-$(CONFIG_PRINTENV) += printenv.o |
| 55 | lib-$(CONFIG_PRINTF) += printf.o | 53 | lib-$(CONFIG_PRINTF) += printf.o |
| 56 | lib-$(CONFIG_PWD) += pwd.o | 54 | lib-$(CONFIG_PWD) += pwd.o |
| 55 | lib-$(CONFIG_READLINK) += readlink.o | ||
| 57 | lib-$(CONFIG_REALPATH) += realpath.o | 56 | lib-$(CONFIG_REALPATH) += realpath.o |
| 58 | lib-$(CONFIG_RM) += rm.o | 57 | lib-$(CONFIG_RM) += rm.o |
| 59 | lib-$(CONFIG_RMDIR) += rmdir.o | 58 | lib-$(CONFIG_RMDIR) += rmdir.o |
| @@ -79,7 +78,6 @@ lib-$(CONFIG_UNIQ) += uniq.o | |||
| 79 | lib-$(CONFIG_USLEEP) += usleep.o | 78 | lib-$(CONFIG_USLEEP) += usleep.o |
| 80 | lib-$(CONFIG_UUDECODE) += uudecode.o | 79 | lib-$(CONFIG_UUDECODE) += uudecode.o |
| 81 | lib-$(CONFIG_UUENCODE) += uuencode.o | 80 | lib-$(CONFIG_UUENCODE) += uuencode.o |
| 82 | lib-$(CONFIG_WATCH) += watch.o | ||
| 83 | lib-$(CONFIG_WC) += wc.o | 81 | lib-$(CONFIG_WC) += wc.o |
| 84 | lib-$(CONFIG_WHO) += who.o | 82 | lib-$(CONFIG_WHO) += who.o |
| 85 | lib-$(CONFIG_WHOAMI) += whoami.o | 83 | lib-$(CONFIG_WHOAMI) += whoami.o |
diff --git a/debianutils/readlink.c b/coreutils/readlink.c index d454cbf19..d454cbf19 100644 --- a/debianutils/readlink.c +++ b/coreutils/readlink.c | |||
diff --git a/debianutils/Config.in b/debianutils/Config.in index c49197666..50ccac803 100644 --- a/debianutils/Config.in +++ b/debianutils/Config.in | |||
| @@ -17,20 +17,6 @@ config PIPE_PROGRESS | |||
| 17 | help | 17 | help |
| 18 | Display a dot to indicate pipe activity. | 18 | Display a dot to indicate pipe activity. |
| 19 | 19 | ||
| 20 | config READLINK | ||
| 21 | bool "readlink" | ||
| 22 | default n | ||
| 23 | help | ||
| 24 | This program reads a symbolic link and returns the name | ||
| 25 | of the file it points to | ||
| 26 | |||
| 27 | config FEATURE_READLINK_FOLLOW | ||
| 28 | bool "Enable canonicalization by following all symlinks (-f)" | ||
| 29 | default n | ||
| 30 | depends on READLINK | ||
| 31 | help | ||
| 32 | Enable the readlink option (-f). | ||
| 33 | |||
| 34 | config RUN_PARTS | 20 | config RUN_PARTS |
| 35 | bool "run-parts" | 21 | bool "run-parts" |
| 36 | default n | 22 | default n |
diff --git a/debianutils/Kbuild b/debianutils/Kbuild index 99df6a536..bcf6126ad 100644 --- a/debianutils/Kbuild +++ b/debianutils/Kbuild | |||
| @@ -5,9 +5,8 @@ | |||
| 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
| 6 | 6 | ||
| 7 | lib-y:= | 7 | lib-y:= |
| 8 | lib-$(CONFIG_MKTEMP) += mktemp.o | 8 | lib-$(CONFIG_MKTEMP) += mktemp.o |
| 9 | lib-$(CONFIG_PIPE_PROGRESS) += pipe_progress.o | 9 | lib-$(CONFIG_PIPE_PROGRESS) += pipe_progress.o |
| 10 | lib-$(CONFIG_READLINK) += readlink.o | 10 | lib-$(CONFIG_RUN_PARTS) += run_parts.o |
| 11 | lib-$(CONFIG_RUN_PARTS) += run_parts.o | 11 | lib-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o |
| 12 | lib-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o | 12 | lib-$(CONFIG_WHICH) += which.o |
| 13 | lib-$(CONFIG_WHICH) += which.o | ||
diff --git a/editors/Config.in b/editors/Config.in index 936004c9b..3361d89f1 100644 --- a/editors/Config.in +++ b/editors/Config.in | |||
| @@ -20,6 +20,45 @@ config FEATURE_AWK_MATH | |||
| 20 | Enable math functions of the Awk programming language. | 20 | Enable math functions of the Awk programming language. |
| 21 | NOTE: This will require libm to be present for linking. | 21 | NOTE: This will require libm to be present for linking. |
| 22 | 22 | ||
| 23 | config CMP | ||
| 24 | bool "cmp" | ||
| 25 | default n | ||
| 26 | help | ||
| 27 | cmp is used to compare two files and returns the result | ||
| 28 | to standard output. | ||
| 29 | |||
| 30 | config DIFF | ||
| 31 | bool "diff" | ||
| 32 | default n | ||
| 33 | help | ||
| 34 | diff compares two files or directories and outputs the | ||
| 35 | differences between them in a form that can be given to | ||
| 36 | the patch command. | ||
| 37 | |||
| 38 | config FEATURE_DIFF_BINARY | ||
| 39 | bool "Enable checks for binary files" | ||
| 40 | default y | ||
| 41 | depends on DIFF | ||
| 42 | help | ||
| 43 | This option enables support for checking for binary files | ||
| 44 | before a comparison is carried out. | ||
| 45 | |||
| 46 | config FEATURE_DIFF_DIR | ||
| 47 | bool "Enable directory support" | ||
| 48 | default y | ||
| 49 | depends on DIFF | ||
| 50 | help | ||
| 51 | This option enables support for directory and subdirectory | ||
| 52 | comparison. | ||
| 53 | |||
| 54 | config FEATURE_DIFF_MINIMAL | ||
| 55 | bool "Enable -d option to find smaller sets of changes" | ||
| 56 | default n | ||
| 57 | depends on DIFF | ||
| 58 | help | ||
| 59 | Enabling this option allows the use of -d to make diff | ||
| 60 | try hard to find the smallest possible set of changes. | ||
| 61 | |||
| 23 | config ED | 62 | config ED |
| 24 | bool "ed" | 63 | bool "ed" |
| 25 | default n | 64 | default n |
diff --git a/editors/Kbuild b/editors/Kbuild index d991e1faf..76302aa76 100644 --- a/editors/Kbuild +++ b/editors/Kbuild | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | 6 | ||
| 7 | lib-y:= | 7 | lib-y:= |
| 8 | lib-$(CONFIG_AWK) += awk.o | 8 | lib-$(CONFIG_AWK) += awk.o |
| 9 | lib-$(CONFIG_CMP) += cmp.o | ||
| 10 | lib-$(CONFIG_DIFF) += diff.o | ||
| 9 | lib-$(CONFIG_ED) += ed.o | 11 | lib-$(CONFIG_ED) += ed.o |
| 10 | lib-$(CONFIG_PATCH) += patch.o | 12 | lib-$(CONFIG_PATCH) += patch.o |
| 11 | lib-$(CONFIG_SED) += sed.o | 13 | lib-$(CONFIG_SED) += sed.o |
diff --git a/coreutils/cmp.c b/editors/cmp.c index e5dda80ff..e5dda80ff 100644 --- a/coreutils/cmp.c +++ b/editors/cmp.c | |||
diff --git a/coreutils/diff.c b/editors/diff.c index 830c15ea6..830c15ea6 100644 --- a/coreutils/diff.c +++ b/editors/diff.c | |||
diff --git a/miscutils/Config.in b/miscutils/Config.in index a1ed24368..170310fda 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
| @@ -290,12 +290,6 @@ config MT | |||
| 290 | to advance or rewind a tape past a specified number of archive | 290 | to advance or rewind a tape past a specified number of archive |
| 291 | files on the tape. | 291 | files on the tape. |
| 292 | 292 | ||
| 293 | config NMETER | ||
| 294 | bool "nmeter" | ||
| 295 | default n | ||
| 296 | help | ||
| 297 | nmeter prints various system parameters continuously. | ||
| 298 | |||
| 299 | config RAIDAUTORUN | 293 | config RAIDAUTORUN |
| 300 | bool "raidautorun" | 294 | bool "raidautorun" |
| 301 | default n | 295 | default n |
diff --git a/miscutils/Kbuild b/miscutils/Kbuild index 455113764..22b4564df 100644 --- a/miscutils/Kbuild +++ b/miscutils/Kbuild | |||
| @@ -19,7 +19,6 @@ lib-$(CONFIG_LESS) += less.o | |||
| 19 | lib-$(CONFIG_MAKEDEVS) += makedevs.o | 19 | lib-$(CONFIG_MAKEDEVS) += makedevs.o |
| 20 | lib-$(CONFIG_MOUNTPOINT) += mountpoint.o | 20 | lib-$(CONFIG_MOUNTPOINT) += mountpoint.o |
| 21 | lib-$(CONFIG_MT) += mt.o | 21 | lib-$(CONFIG_MT) += mt.o |
| 22 | lib-$(CONFIG_NMETER) += nmeter.o | ||
| 23 | lib-$(CONFIG_RAIDAUTORUN) += raidautorun.o | 22 | lib-$(CONFIG_RAIDAUTORUN) += raidautorun.o |
| 24 | lib-$(CONFIG_READAHEAD) += readahead.o | 23 | lib-$(CONFIG_READAHEAD) += readahead.o |
| 25 | lib-$(CONFIG_RUNLEVEL) += runlevel.o | 24 | lib-$(CONFIG_RUNLEVEL) += runlevel.o |
diff --git a/procps/Config.in b/procps/Config.in index 91319103f..b834fbf96 100644 --- a/procps/Config.in +++ b/procps/Config.in | |||
| @@ -43,6 +43,12 @@ config KILLALL5 | |||
| 43 | default n | 43 | default n |
| 44 | depends on KILL | 44 | depends on KILL |
| 45 | 45 | ||
| 46 | config NMETER | ||
| 47 | bool "nmeter" | ||
| 48 | default n | ||
| 49 | help | ||
| 50 | Prints selected system stats continuously, one line per update. | ||
| 51 | |||
| 46 | config PIDOF | 52 | config PIDOF |
| 47 | bool "pidof" | 53 | bool "pidof" |
| 48 | default n | 54 | default n |
| @@ -130,6 +136,14 @@ config UPTIME | |||
| 130 | the system has been running, how many users are currently logged | 136 | the system has been running, how many users are currently logged |
| 131 | on, and the system load averages for the past 1, 5, and 15 minutes. | 137 | on, and the system load averages for the past 1, 5, and 15 minutes. |
| 132 | 138 | ||
| 139 | config WATCH | ||
| 140 | bool "watch" | ||
| 141 | default n | ||
| 142 | #huh?? select DATE | ||
| 143 | help | ||
| 144 | watch is used to execute a program periodically, showing | ||
| 145 | output to the screen. | ||
| 146 | |||
| 133 | 147 | ||
| 134 | endmenu | 148 | endmenu |
| 135 | 149 | ||
diff --git a/procps/Kbuild b/procps/Kbuild index 33f616fc2..c75be291b 100644 --- a/procps/Kbuild +++ b/procps/Kbuild | |||
| @@ -6,12 +6,14 @@ | |||
| 6 | 6 | ||
| 7 | lib-y:= | 7 | lib-y:= |
| 8 | lib-$(CONFIG_FREE) += free.o | 8 | lib-$(CONFIG_FREE) += free.o |
| 9 | lib-$(CONFIG_FUSER) += fuser.o | ||
| 9 | lib-$(CONFIG_KILL) += kill.o | 10 | lib-$(CONFIG_KILL) += kill.o |
| 10 | lib-$(CONFIG_ASH) += kill.o # used for built-in kill by ash | 11 | lib-$(CONFIG_ASH) += kill.o # used for built-in kill by ash |
| 12 | lib-$(CONFIG_NMETER) += nmeter.o | ||
| 11 | lib-$(CONFIG_PIDOF) += pidof.o | 13 | lib-$(CONFIG_PIDOF) += pidof.o |
| 12 | lib-$(CONFIG_PS) += ps.o | 14 | lib-$(CONFIG_PS) += ps.o |
| 13 | lib-$(CONFIG_RENICE) += renice.o | 15 | lib-$(CONFIG_RENICE) += renice.o |
| 14 | lib-$(CONFIG_BB_SYSCTL) += sysctl.o | 16 | lib-$(CONFIG_BB_SYSCTL) += sysctl.o |
| 15 | lib-$(CONFIG_TOP) += top.o | 17 | lib-$(CONFIG_TOP) += top.o |
| 16 | lib-$(CONFIG_UPTIME) += uptime.o | 18 | lib-$(CONFIG_UPTIME) += uptime.o |
| 17 | lib-$(CONFIG_FUSER) += fuser.o | 19 | lib-$(CONFIG_WATCH) += watch.o |
diff --git a/miscutils/nmeter.c b/procps/nmeter.c index 1d58eb2c1..1d58eb2c1 100644 --- a/miscutils/nmeter.c +++ b/procps/nmeter.c | |||
diff --git a/coreutils/watch.c b/procps/watch.c index 2ad0564cd..2ad0564cd 100644 --- a/coreutils/watch.c +++ b/procps/watch.c | |||
