oweals/busybox.git
21 years agoWhen retrieving a file dont open file until we have to to prevent files of size 0...
Glenn L McGrath [Wed, 18 Dec 2002 02:47:40 +0000 (02:47 -0000)]
When retrieving a file dont open file until we have to to prevent files of size 0 being created when retrieval fails, bug found by Jeff Angielski

21 years agoGet interface names using ioctl rather than /proc, from Nick Fedchik
Glenn L McGrath [Tue, 17 Dec 2002 12:43:43 +0000 (12:43 -0000)]
Get interface names using ioctl rather than /proc, from Nick Fedchik

21 years agoOdd. I never brought this forward from bb.stable. Should handle
Eric Andersen [Tue, 17 Dec 2002 09:48:16 +0000 (09:48 -0000)]
Odd.  I never brought this forward from bb.stable.  Should handle
reaping child processes better.
 -Erik

21 years agoAlways print the routing table header for IPv4:
Robert Griebl [Mon, 16 Dec 2002 22:04:18 +0000 (22:04 -0000)]
Always print the routing table header for IPv4:
 - this is consistent with IPv6 route
 - you can get very confused, if there are no routes and "route" prints
   nothing at all (not even "No routes" message)

21 years agochanged most assignments from ":=" to "=" to allow setting some variables
Robert Griebl [Mon, 16 Dec 2002 21:55:39 +0000 (21:55 -0000)]
changed most assignments from ":=" to "=" to allow setting some variables
at the command line (this is also needed for cross-compilation)

21 years agoOnly included headers that are used.
Glenn L McGrath [Mon, 16 Dec 2002 07:37:21 +0000 (07:37 -0000)]
Only included headers that are used.

21 years agofix warning
Glenn L McGrath [Mon, 16 Dec 2002 06:40:37 +0000 (06:40 -0000)]
fix warning

21 years agormmod -a removed modules recursively
Tim Riker [Sat, 14 Dec 2002 01:58:59 +0000 (01:58 -0000)]
rmmod -a removed modules recursively

21 years agocleanup
Tim Riker [Fri, 13 Dec 2002 22:59:15 +0000 (22:59 -0000)]
cleanup

21 years agoDon't build the ncurses stuff unless it is specifically asked for
Eric Andersen [Fri, 13 Dec 2002 22:53:28 +0000 (22:53 -0000)]
Don't build the ncurses stuff unless it is specifically asked for
 -Erik

21 years agouse const group_file
Tim Riker [Fri, 13 Dec 2002 22:02:12 +0000 (22:02 -0000)]
use const group_file

21 years agoFix bug when reading mac from command line, continue; if hwaddrr not found
Glenn L McGrath [Fri, 13 Dec 2002 09:02:16 +0000 (09:02 -0000)]
Fix bug when reading mac from command line, continue; if hwaddrr not found

21 years agoMerge copyfd and copy_file_chunk
Glenn L McGrath [Fri, 13 Dec 2002 08:20:44 +0000 (08:20 -0000)]
Merge copyfd and copy_file_chunk

21 years agoChange ftpput so it uses <remote-path> <local-file> as it should
Glenn L McGrath [Fri, 13 Dec 2002 05:57:46 +0000 (05:57 -0000)]
Change ftpput so it uses <remote-path> <local-file> as it should

21 years agoFix possible bug if file length not known
Glenn L McGrath [Fri, 13 Dec 2002 04:14:36 +0000 (04:14 -0000)]
Fix possible bug if file length not known

21 years agoNew applets, ftpget and ftpput
Glenn L McGrath [Fri, 13 Dec 2002 02:43:50 +0000 (02:43 -0000)]
New applets, ftpget and ftpput

21 years agoNew applet, nameif by Nick Fedchik and myself.
Glenn L McGrath [Fri, 13 Dec 2002 00:01:44 +0000 (00:01 -0000)]
New applet, nameif by Nick Fedchik and myself.

21 years agofull usage cleanup for udhcp
Glenn L McGrath [Thu, 12 Dec 2002 12:56:18 +0000 (12:56 -0000)]
full usage cleanup for udhcp

21 years agoUpdate email address for Gennady Feldman <gena01@gena01.com>
Glenn L McGrath [Thu, 12 Dec 2002 10:54:48 +0000 (10:54 -0000)]
Update email address for Gennady Feldman <gena01@gena01.com>

21 years agoSupport the o, f and p options, patch by Magnus M�rtensson
Glenn L McGrath [Thu, 12 Dec 2002 10:31:53 +0000 (10:31 -0000)]
Support the o, f and p options, patch by Magnus M�rtensson

21 years agoTeach addgroup to add user names to groups
Eric Andersen [Thu, 12 Dec 2002 08:57:16 +0000 (08:57 -0000)]
Teach addgroup to add user names to groups

21 years agohehe. Screwed that one up. Lets do things right this time.
Eric Andersen [Wed, 11 Dec 2002 22:59:39 +0000 (22:59 -0000)]
hehe.  Screwed that one up.  Lets do things right this time.
 -Erik

21 years agoMakefile rework coordinate with Russ so udhcp will behave
Eric Andersen [Wed, 11 Dec 2002 22:45:33 +0000 (22:45 -0000)]
Makefile rework coordinate with Russ so udhcp will behave
 -Erik

21 years agoslight change to reflect BB_VER change
Russ Dill [Wed, 11 Dec 2002 22:43:37 +0000 (22:43 -0000)]
slight change to reflect BB_VER change

21 years agoA cleaner cleanup that avoids passing an off_t to scanf
Eric Andersen [Wed, 11 Dec 2002 21:45:08 +0000 (21:45 -0000)]
A cleaner cleanup that avoids passing an off_t to scanf

21 years agosorry about all the noise, should be all synced up now
Russ Dill [Wed, 11 Dec 2002 21:40:46 +0000 (21:40 -0000)]
sorry about all the noise, should be all synced up now

21 years agoanother sync to udhcp cvs
Russ Dill [Wed, 11 Dec 2002 21:39:13 +0000 (21:39 -0000)]
another sync to udhcp cvs

21 years agosquash a warning
Eric Andersen [Wed, 11 Dec 2002 21:34:04 +0000 (21:34 -0000)]
squash a warning

21 years agoFix -mtime, by Ian Abbott
Glenn L McGrath [Wed, 11 Dec 2002 21:22:21 +0000 (21:22 -0000)]
Fix -mtime, by Ian Abbott

21 years agoSmall bugfix, last_patch72 from Vladimir N. Oleynik
Glenn L McGrath [Wed, 11 Dec 2002 21:13:00 +0000 (21:13 -0000)]
Small bugfix, last_patch72 from Vladimir N. Oleynik

21 years agoresync with udhcp cvs
Russ Dill [Wed, 11 Dec 2002 21:12:45 +0000 (21:12 -0000)]
resync with udhcp cvs

21 years agoMake sure we have a show_usage function prototype
Eric Andersen [Wed, 11 Dec 2002 07:46:30 +0000 (07:46 -0000)]
Make sure we have a show_usage function prototype
 -Erik

21 years agoFixup all the horrible broken function prototypes
Eric Andersen [Wed, 11 Dec 2002 07:42:46 +0000 (07:42 -0000)]
Fixup all the horrible broken function prototypes
 -Erik

21 years agoSquash a warning by making function declaration a proper prototype
Eric Andersen [Wed, 11 Dec 2002 04:26:28 +0000 (04:26 -0000)]
Squash a warning by making function declaration a proper prototype

21 years agoAdd missing header file to squash a warning
Eric Andersen [Wed, 11 Dec 2002 04:25:02 +0000 (04:25 -0000)]
Add missing header file to squash a warning

21 years agoEliminate dependancy on kernel header files. Naughty naughty.
Eric Andersen [Wed, 11 Dec 2002 04:04:26 +0000 (04:04 -0000)]
Eliminate dependancy on kernel header files.  Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be
punished.
 -Erik

21 years agoEliminate dependancy on kernel header files. Naughty naughty.
Eric Andersen [Wed, 11 Dec 2002 03:57:12 +0000 (03:57 -0000)]
Eliminate dependancy on kernel header files.  Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be
punished.
 -Erik

21 years agoundefine sysinfo to prevent breakage on ia64
Glenn L McGrath [Wed, 11 Dec 2002 03:55:52 +0000 (03:55 -0000)]
undefine sysinfo to prevent breakage on ia64

21 years agoEliminate dependancy on kernel header files. Naughty naughty.
Eric Andersen [Wed, 11 Dec 2002 03:49:33 +0000 (03:49 -0000)]
Eliminate dependancy on kernel header files.  Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be
punished.

21 years agoEliminate dependancy on kernel header files. Naughty naughty.
Eric Andersen [Wed, 11 Dec 2002 03:41:28 +0000 (03:41 -0000)]
Eliminate dependancy on kernel header files.  Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be
punished.
 -Erik

21 years agoFixup header file ordering
Eric Andersen [Wed, 11 Dec 2002 03:40:10 +0000 (03:40 -0000)]
Fixup header file ordering

21 years agoUse libbb/get_line_from_file instead of getline
Glenn L McGrath [Wed, 11 Dec 2002 03:10:13 +0000 (03:10 -0000)]
Use libbb/get_line_from_file instead of getline

21 years agoSync debian files with debian package version 0.60.99.cvs20021209-2
Glenn L McGrath [Tue, 10 Dec 2002 11:28:40 +0000 (11:28 -0000)]
Sync debian files with debian package version 0.60.99.cvs20021209-2

21 years agoFix undefined behaviour and save some bytes as suggested by Manuel Novoa III
Glenn L McGrath [Tue, 10 Dec 2002 03:16:37 +0000 (03:16 -0000)]
Fix undefined behaviour and save some bytes as suggested by Manuel Novoa III

21 years agoinclude busybox after libc includes
Glenn L McGrath [Tue, 10 Dec 2002 02:09:12 +0000 (02:09 -0000)]
include busybox after libc includes

21 years agorpm applet by Laurence Anderson
Glenn L McGrath [Tue, 10 Dec 2002 00:17:22 +0000 (00:17 -0000)]
rpm applet by Laurence Anderson

21 years agoRealpath applet
Glenn L McGrath [Tue, 10 Dec 2002 00:14:33 +0000 (00:14 -0000)]
Realpath applet

21 years agoForgot to rename foo
Glenn L McGrath [Mon, 9 Dec 2002 21:52:29 +0000 (21:52 -0000)]
Forgot to rename foo

21 years agoerr.. Make clean in the scripts/config directory to remove some binaries
Glenn L McGrath [Mon, 9 Dec 2002 21:16:39 +0000 (21:16 -0000)]
err.. Make clean in the scripts/config directory to remove some binaries

21 years agoMake clean in the scripts directory to remove some binaries
Glenn L McGrath [Mon, 9 Dec 2002 21:14:38 +0000 (21:14 -0000)]
Make clean in the scripts directory to remove some binaries

21 years agoStop linian warning about statically linked binary
Glenn L McGrath [Mon, 9 Dec 2002 21:11:54 +0000 (21:11 -0000)]
Stop linian warning about statically linked binary

21 years agoFix a debug message, from Bastian Blank
Glenn L McGrath [Mon, 9 Dec 2002 21:05:40 +0000 (21:05 -0000)]
Fix a debug message, from Bastian Blank

21 years agoCommand line history changes, lastpatch_71 from Vladimir N. Oleynik
Glenn L McGrath [Mon, 9 Dec 2002 11:10:40 +0000 (11:10 -0000)]
Command line history changes, lastpatch_71 from Vladimir N. Oleynik

21 years agoSupport using ip in udhcpc scripts.
Glenn L McGrath [Sun, 8 Dec 2002 22:17:54 +0000 (22:17 -0000)]
Support using ip in udhcpc scripts.
Slightly modified version of patch by Bastian Blank

21 years agoUpdates for the new build system from Bastian Blank (waldi)
Glenn L McGrath [Sun, 8 Dec 2002 20:45:47 +0000 (20:45 -0000)]
Updates for the new build system from Bastian Blank (waldi)

21 years agoFix compile warning
Glenn L McGrath [Sun, 8 Dec 2002 12:08:37 +0000 (12:08 -0000)]
Fix compile warning

21 years agoFix compile warning with OSF
Glenn L McGrath [Sun, 8 Dec 2002 11:51:05 +0000 (11:51 -0000)]
Fix compile warning with OSF

21 years agoChange #include order to fix warning
Glenn L McGrath [Sun, 8 Dec 2002 11:47:52 +0000 (11:47 -0000)]
Change #include order to fix warning

21 years agoStart to cleanup handling of the state file, save some space and uses linked lists.
Glenn L McGrath [Sun, 8 Dec 2002 01:23:39 +0000 (01:23 -0000)]
Start to cleanup handling of the state file, save some space and uses linked lists.

21 years agoMove add_to_list from libunarchive to libbb so it can be of more general use (eg...
Glenn L McGrath [Sun, 8 Dec 2002 00:54:33 +0000 (00:54 -0000)]
Move add_to_list from libunarchive to libbb so it can be of more general use (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).

21 years agoRe-sort filenames to alphebetical order.
Glenn L McGrath [Sat, 7 Dec 2002 23:56:14 +0000 (23:56 -0000)]
Re-sort filenames to alphebetical order.

21 years agoCommit to reverse my previous commit, isnt cvs supposed to have some undo command ?
Glenn L McGrath [Sat, 7 Dec 2002 23:30:11 +0000 (23:30 -0000)]
Commit to reverse my previous commit, isnt cvs supposed to have some undo command ?

21 years agoinclude "busybox" after the libc includes tofix compile errors
Glenn L McGrath [Sat, 7 Dec 2002 23:14:40 +0000 (23:14 -0000)]
include "busybox" after the libc includes tofix compile errors

21 years agoDifferentiate struct and type names
Glenn L McGrath [Sat, 7 Dec 2002 07:45:42 +0000 (07:45 -0000)]
Differentiate struct and type names

21 years agoFix command that brings down loopback
Glenn L McGrath [Sat, 7 Dec 2002 00:48:54 +0000 (00:48 -0000)]
Fix command that brings down loopback

21 years agodepends on for telnet and ipcalc
Glenn L McGrath [Fri, 6 Dec 2002 23:11:30 +0000 (23:11 -0000)]
depends on for telnet and ipcalc

21 years agoIt shouldnt depend on itself
Glenn L McGrath [Fri, 6 Dec 2002 23:05:22 +0000 (23:05 -0000)]
It shouldnt depend on itself

21 years agoRemove duplicate entry for kill
Glenn L McGrath [Fri, 6 Dec 2002 22:45:07 +0000 (22:45 -0000)]
Remove duplicate entry for kill

21 years agoAdd some help descriptions
Glenn L McGrath [Fri, 6 Dec 2002 22:40:54 +0000 (22:40 -0000)]
Add some help descriptions

21 years agoAllow for people to select no default shell
Eric Andersen [Fri, 6 Dec 2002 21:49:59 +0000 (21:49 -0000)]
Allow for people to select no default shell

21 years agoDo the dumb/obvious thing for the killall->kill dependancy
Eric Andersen [Fri, 6 Dec 2002 21:44:50 +0000 (21:44 -0000)]
Do the dumb/obvious thing for the killall->kill dependancy

21 years agoFixup dumpleases compile problem
Eric Andersen [Fri, 6 Dec 2002 21:42:56 +0000 (21:42 -0000)]
Fixup dumpleases compile problem

21 years agoFix adjtimex applet compile
Eric Andersen [Fri, 6 Dec 2002 21:41:09 +0000 (21:41 -0000)]
Fix adjtimex applet compile

21 years agoFixup buffer allocation
Eric Andersen [Fri, 6 Dec 2002 21:39:48 +0000 (21:39 -0000)]
Fixup buffer allocation

21 years agoMake hush comple once again
Eric Andersen [Fri, 6 Dec 2002 21:37:08 +0000 (21:37 -0000)]
Make hush comple once again

21 years agoUse libbb/get_line_from_file, change default state file location
Glenn L McGrath [Fri, 6 Dec 2002 11:51:46 +0000 (11:51 -0000)]
Use libbb/get_line_from_file, change default state file location

21 years agoMake mapping a config option again to save space, turn off file locking, do we really...
Glenn L McGrath [Fri, 6 Dec 2002 08:35:55 +0000 (08:35 -0000)]
Make mapping a config option again to save space, turn off file locking, do we really need it ?

21 years agoFix bug that stoped -a working
Glenn L McGrath [Fri, 6 Dec 2002 08:10:40 +0000 (08:10 -0000)]
Fix bug that stoped -a working

21 years agoKill link now pointing to porn site.
Eric Andersen [Fri, 6 Dec 2002 02:22:20 +0000 (02:22 -0000)]
Kill link now pointing to porn site.

21 years agoPut stuff back into a sub-menu
Eric Andersen [Thu, 5 Dec 2002 21:25:20 +0000 (21:25 -0000)]
Put stuff back into a sub-menu

21 years agoKill the now obsolete docs/Configure.help file, and move all existing
Eric Andersen [Thu, 5 Dec 2002 21:12:42 +0000 (21:12 -0000)]
Kill the now obsolete docs/Configure.help file, and move all existing
help texts into their respective Config.in file.
 -Erik

21 years agoUsage for klogd -c
Glenn L McGrath [Thu, 5 Dec 2002 20:56:31 +0000 (20:56 -0000)]
Usage for klogd -c

21 years agoFix a silly oversight breaking cross compilation
Eric Andersen [Thu, 5 Dec 2002 18:28:41 +0000 (18:28 -0000)]
Fix a silly oversight breaking cross compilation
 -Erik

21 years agoYet another major rework of the BusyBox config system, using the considerably
Eric Andersen [Thu, 5 Dec 2002 08:41:41 +0000 (08:41 -0000)]
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc.  With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system.  I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
 -Erik

21 years agoKill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm not
Eric Andersen [Thu, 5 Dec 2002 07:24:08 +0000 (07:24 -0000)]
Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch.  I'm not
maintaining it anymore, and it is now terribly out of date.
 -Erik

21 years agoUnlink before mkdir, mknod, symlink to overwrite
Glenn L McGrath [Wed, 4 Dec 2002 22:26:30 +0000 (22:26 -0000)]
Unlink before mkdir, mknod, symlink to overwrite

21 years ago - the number of commands in the history list is now configureable via the
Robert Griebl [Tue, 3 Dec 2002 22:45:46 +0000 (22:45 -0000)]
 - the number of commands in the history list is now configureable via the
   config system
 - added a new config option to allow persistant history lists. This is
   currently only used by ash, but the calls ({load,save}_history) could
   be added to the other shells as well.

21 years agoprint an error message if we can't load a module
Robert Griebl [Tue, 3 Dec 2002 22:41:36 +0000 (22:41 -0000)]
print an error message if we can't load a module

21 years agoFix crashme code, by Jim Treadway
Glenn L McGrath [Tue, 3 Dec 2002 21:48:15 +0000 (21:48 -0000)]
Fix crashme code, by Jim Treadway

21 years agoSave 10 bytes or so, last_patch_70 from Vladimir N. Oleynik
Glenn L McGrath [Tue, 3 Dec 2002 20:34:36 +0000 (20:34 -0000)]
Save 10 bytes or so, last_patch_70 from Vladimir N. Oleynik

21 years agoA missing /etc/securetty is not an error when checking the tty name - the
Robert Griebl [Tue, 3 Dec 2002 19:54:12 +0000 (19:54 -0000)]
A missing /etc/securetty is not an error when checking the tty name - the
comment is right, but the code was wrong ..

21 years agolast_patch_69, 8 bit clean and other fixes from Vladimir N. Oleynik
Glenn L McGrath [Mon, 2 Dec 2002 21:18:10 +0000 (21:18 -0000)]
last_patch_69, 8 bit clean and other fixes from Vladimir N. Oleynik

21 years agoIts move to busybox-cvs-doc.docs
Glenn L McGrath [Mon, 2 Dec 2002 21:14:56 +0000 (21:14 -0000)]
Its move to busybox-cvs-doc.docs

21 years agoUse compare_string_array in ipaddress to save a few bytes, minor cleanups
Glenn L McGrath [Mon, 2 Dec 2002 01:40:05 +0000 (01:40 -0000)]
Use compare_string_array in ipaddress to save a few bytes, minor cleanups

21 years agoSave a few more bytes
Glenn L McGrath [Mon, 2 Dec 2002 00:54:10 +0000 (00:54 -0000)]
Save a few more bytes

21 years agoSave a hundred bytes or so on the do_iproute function
Glenn L McGrath [Mon, 2 Dec 2002 00:35:23 +0000 (00:35 -0000)]
Save a hundred bytes or so on the do_iproute function

21 years agoMove compare_string_array to libbb
Glenn L McGrath [Mon, 2 Dec 2002 00:01:36 +0000 (00:01 -0000)]
Move compare_string_array to libbb

21 years agoEnable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank
Glenn L McGrath [Sun, 1 Dec 2002 23:04:06 +0000 (23:04 -0000)]
Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank

21 years agofix warning
Glenn L McGrath [Sun, 1 Dec 2002 21:52:40 +0000 (21:52 -0000)]
fix warning

21 years agoFix the package name, patch from Bastian Blank
Glenn L McGrath [Sun, 1 Dec 2002 20:16:01 +0000 (20:16 -0000)]
Fix the package name, patch from Bastian Blank