oweals/busybox.git
21 years agoSave a few bytes and remove a redundant string
Eric Andersen [Fri, 7 Mar 2003 17:59:32 +0000 (17:59 -0000)]
Save a few bytes and remove a redundant string

21 years agoWith nightmares of libbb ending up with 100 .c files starting
Eric Andersen [Fri, 7 Mar 2003 17:43:32 +0000 (17:43 -0000)]
With nightmares of libbb ending up with 100 .c files starting
with "bb_" it seems best to rename this now and avoid starting
an evil KDE style naming trend.

21 years agoaudit for proper error handling, apply a few size optimizations
Eric Andersen [Fri, 7 Mar 2003 17:33:40 +0000 (17:33 -0000)]
audit for proper error handling, apply a few size optimizations
 -Erik

21 years agoDefine bb_xgetlarg as a standard interface for extracting
Eric Andersen [Fri, 7 Mar 2003 17:29:12 +0000 (17:29 -0000)]
Define bb_xgetlarg as a standard interface for extracting
numbers from getopt which includes careful error checking.
 -Erik

21 years agoExplicitly define -DNDEBUG so asserts don't clutter release code
Eric Andersen [Fri, 7 Mar 2003 17:27:51 +0000 (17:27 -0000)]
Explicitly define -DNDEBUG so asserts don't clutter release code

21 years agoAdd all the syslogd help text
Eric Andersen [Fri, 28 Feb 2003 07:20:55 +0000 (07:20 -0000)]
Add all the syslogd help text

21 years agoThere is no good reason to prevent nfs mounts from being mounted
Eric Andersen [Fri, 28 Feb 2003 06:29:27 +0000 (06:29 -0000)]
There is no good reason to prevent nfs mounts from being mounted
during 'mount -a'.  If the user wants to do that, hey, its their
lifs.  If the nfs server is down and they don't want to wait for
nfs to time out, that is their problem.
 -Erik

21 years agoWrite all the help text for the util-linux utilities. Allow
Eric Andersen [Thu, 27 Feb 2003 03:14:04 +0000 (03:14 -0000)]
Write all the help text for the util-linux utilities.  Allow
people to locate the mtab file somewhere other that /etc to
accomodate read only root filesystems.
 -Erik

21 years agomention "katamaran"
Eric Andersen [Tue, 18 Feb 2003 20:17:30 +0000 (20:17 -0000)]
mention "katamaran"

21 years agoFix for big endian machines
Glenn L McGrath [Mon, 17 Feb 2003 12:18:16 +0000 (12:18 -0000)]
Fix for big endian machines

21 years agoNew applet sha1sum
Glenn L McGrath [Mon, 17 Feb 2003 08:23:22 +0000 (08:23 -0000)]
New applet sha1sum

21 years agoPatch from Bastian Blank
Glenn L McGrath [Sat, 15 Feb 2003 11:50:33 +0000 (11:50 -0000)]
Patch from Bastian Blank
 - ip route flush
 - different usage for telnetd in inetd mode
 - changes for the default flags of the ip features
 - if no /usr requested, udhcpc should use the script also without /usr.

21 years agoMerge fileutils, textutils and shellutils into coreuils
Glenn L McGrath [Sat, 15 Feb 2003 10:53:40 +0000 (10:53 -0000)]
Merge fileutils, textutils and shellutils into coreuils

21 years agosync with udhcp bug fixes
Russ Dill [Wed, 12 Feb 2003 22:20:19 +0000 (22:20 -0000)]
sync with udhcp bug fixes

21 years agoDon't use HZ -- use sysconf(_SC_CLK_TCK)
Eric Andersen [Wed, 12 Feb 2003 10:56:53 +0000 (10:56 -0000)]
Don't use HZ -- use sysconf(_SC_CLK_TCK)

21 years agoFix compile error... header problems.
Manuel Novoa III [Tue, 11 Feb 2003 07:06:06 +0000 (07:06 -0000)]
Fix compile error... header problems.

21 years agolast_patch83 by Vladimir N. Oleynik
Glenn L McGrath [Mon, 10 Feb 2003 22:53:37 +0000 (22:53 -0000)]
last_patch83 by Vladimir N. Oleynik

21 years agoFix compile error, last_patch82 by Vladimir N. Oleynik
Glenn L McGrath [Mon, 10 Feb 2003 22:31:09 +0000 (22:31 -0000)]
Fix compile error, last_patch82 by Vladimir N. Oleynik

21 years agoFix compile error, last_patch81 by Vladimir N. Oleynik
Glenn L McGrath [Mon, 10 Feb 2003 22:28:21 +0000 (22:28 -0000)]
Fix compile error, last_patch81 by Vladimir N. Oleynik

21 years agoudhcpc is supposed to be in /sbin, not /usr/sbin/
Eric Andersen [Mon, 10 Feb 2003 09:22:36 +0000 (09:22 -0000)]
udhcpc is supposed to be in /sbin, not /usr/sbin/

21 years agoFix compiler warnings, patch by Steven Scholz
Glenn L McGrath [Sun, 9 Feb 2003 22:40:34 +0000 (22:40 -0000)]
Fix compiler warnings, patch by Steven Scholz

21 years agoWoops, my gunzip fix broke unzip, these cant be static
Glenn L McGrath [Sun, 9 Feb 2003 12:00:17 +0000 (12:00 -0000)]
Woops, my gunzip fix broke unzip, these cant be static

21 years agoMinor update to arping, patch from Nick Fedchik
Glenn L McGrath [Sun, 9 Feb 2003 07:01:33 +0000 (07:01 -0000)]
Minor update to arping, patch from Nick Fedchik

21 years agoNew applet, inetd, make httpd features more configurable, update authors, last_patch_80
Glenn L McGrath [Sun, 9 Feb 2003 06:51:14 +0000 (06:51 -0000)]
New applet, inetd, make httpd features more configurable, update authors, last_patch_80
from Vladimir N. Oleynik

21 years agoDont die if logging remotely fails, patch by Joshua Jackson
Glenn L McGrath [Sun, 9 Feb 2003 05:07:42 +0000 (05:07 -0000)]
Dont die if logging remotely fails, patch by Joshua Jackson

21 years agoSpecify install path, patch by Nick Fedchik
Glenn L McGrath [Sun, 9 Feb 2003 05:00:52 +0000 (05:00 -0000)]
Specify install path, patch by Nick Fedchik

21 years agoMoved to libunarchive/unzip.c
Glenn L McGrath [Sun, 9 Feb 2003 04:49:17 +0000 (04:49 -0000)]
Moved to libunarchive/unzip.c

21 years agoFix endian probelm on PPC, i had different types for an extern variable.
Glenn L McGrath [Sun, 9 Feb 2003 04:46:34 +0000 (04:46 -0000)]
Fix endian probelm on PPC, i had different types for an extern variable.

21 years agoPatch from mathuria, compatability with solaris
Glenn L McGrath [Sat, 8 Feb 2003 23:36:16 +0000 (23:36 -0000)]
Patch from mathuria, compatability with solaris

21 years agoPatch from Joshua Jackson, make md5 the default hash algorithm
Glenn L McGrath [Sat, 8 Feb 2003 23:20:02 +0000 (23:20 -0000)]
Patch from Joshua Jackson, make md5 the default hash algorithm

21 years agoRewrite by Manuel Novoa III, very compact implimentation.
Glenn L McGrath [Sat, 8 Feb 2003 23:11:19 +0000 (23:11 -0000)]
Rewrite by Manuel Novoa III, very compact implimentation.

21 years agoPatch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
Glenn L McGrath [Sat, 8 Feb 2003 22:33:53 +0000 (22:33 -0000)]
Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
behaviour.

21 years agoMention penguru
Eric Andersen [Wed, 5 Feb 2003 18:16:45 +0000 (18:16 -0000)]
Mention penguru

21 years agoFix a couple more ifupdown bugs
Eric Andersen [Mon, 3 Feb 2003 12:44:59 +0000 (12:44 -0000)]
Fix a couple more ifupdown bugs

21 years agoFix long standing bug with old gnu tar files, add a check so tar will
Glenn L McGrath [Tue, 28 Jan 2003 01:45:48 +0000 (01:45 -0000)]
Fix long standing bug with old gnu tar files, add a check so tar will
complain "unknown file type" if it tries to extract an oldgnu tar file
and TAR_FEATURE_OLDGNU_COMPATABILITY sint defined.
Print a warning if unisupported gnu extensions are encountered.

21 years agoDon't wipe the config system on 'make clean'
Eric Andersen [Mon, 27 Jan 2003 22:11:59 +0000 (22:11 -0000)]
Don't wipe the config system on 'make clean'

21 years agoThis seems sufficient for ifup and ifdown to actually work
Eric Andersen [Mon, 27 Jan 2003 17:41:19 +0000 (17:41 -0000)]
This seems sufficient for ifup and ifdown to actually work
as advertised.  Works for me (at least with glibc)

21 years agoFix a silly compile error, thanks to a patch from Wen-chien Jesse Sung
Eric Andersen [Thu, 23 Jan 2003 07:08:26 +0000 (07:08 -0000)]
Fix a silly compile error, thanks to a patch from Wen-chien Jesse Sung

21 years agoPatch from Brett Hunt at micron.com to fixup potential segfaults
Eric Andersen [Thu, 23 Jan 2003 06:36:15 +0000 (06:36 -0000)]
Patch from Brett Hunt at micron.com to fixup potential segfaults
during 'make menuconfig'

21 years agoPatch from Jason McMullan @ linuxcare.com adding insmod
Eric Andersen [Thu, 23 Jan 2003 06:02:39 +0000 (06:02 -0000)]
Patch from Jason McMullan @ linuxcare.com adding insmod
support for s390 systems.

21 years agoA patch from John F. Kelly to add in a utility for configuring
Eric Andersen [Thu, 23 Jan 2003 05:59:32 +0000 (05:59 -0000)]
A patch from John F. Kelly to add in a utility for configuring
vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.

21 years agoApply patch from Ghozlane Toumi to add -inum support to find.
Eric Andersen [Thu, 23 Jan 2003 05:27:42 +0000 (05:27 -0000)]
Apply patch from Ghozlane Toumi to add -inum support to find.
Apply patch from Ghozlane Toumi to make find smaller by combining
    similar error messages
Forward port find -newer support from busybox stable that was
    missing from unstable.  -Erik.
Fixup usage messages for find.  -Erik

21 years agoPatch from Artem Egorkine to support the -m option
Eric Andersen [Thu, 23 Jan 2003 04:57:35 +0000 (04:57 -0000)]
Patch from  Artem Egorkine to support the -m option

21 years agoPatch from Joel Vallier to add modules symbols to the kernel symbol
Eric Andersen [Thu, 23 Jan 2003 04:48:34 +0000 (04:48 -0000)]
Patch from Joel Vallier to add modules symbols to the kernel symbol
table in order to obtain better debug output from ksymoops.

21 years agoPatch from Basitan Blank to fix nasty bug
Glenn L McGrath [Wed, 22 Jan 2003 21:09:48 +0000 (21:09 -0000)]
Patch from Basitan Blank to fix nasty bug

21 years agoFix a typo that broke it so busybox won't build
Eric Andersen [Wed, 22 Jan 2003 01:20:35 +0000 (01:20 -0000)]
Fix a typo that broke it so busybox won't build

21 years agomerge fixes with udhcp
Russ Dill [Tue, 21 Jan 2003 22:39:34 +0000 (22:39 -0000)]
merge fixes with udhcp

21 years agoLogin prompt function, part of waldi's telnetd from inetd patch
Glenn L McGrath [Tue, 21 Jan 2003 20:59:34 +0000 (20:59 -0000)]
Login prompt function, part of waldi's telnetd from inetd patch

21 years agorun telnet from inetd, present login prompt if login is configured,
Glenn L McGrath [Tue, 21 Jan 2003 20:55:56 +0000 (20:55 -0000)]
run telnet from inetd, present login prompt if login is configured,
patch from Bastian Blank

21 years agore-order config options, part of a patch from Bastian Blank
Glenn L McGrath [Tue, 21 Jan 2003 00:12:11 +0000 (00:12 -0000)]
re-order config options, part of a patch from Bastian Blank

21 years agoheader update
Glenn L McGrath [Tue, 21 Jan 2003 00:03:05 +0000 (00:03 -0000)]
header update

21 years agoNew test mode that allows run_parts to fail silently if the directory
Glenn L McGrath [Mon, 20 Jan 2003 23:50:59 +0000 (23:50 -0000)]
New test mode that allows run_parts to fail silently if the directory
is not found. Patch from Bastian Blank

21 years agoMake test mode output same as official version
Glenn L McGrath [Mon, 20 Jan 2003 23:34:12 +0000 (23:34 -0000)]
Make test mode output same as official version

21 years agoDont use getopt_long, minor usage changes, patch by Nick Fedchik
Glenn L McGrath [Sun, 19 Jan 2003 13:34:21 +0000 (13:34 -0000)]
Dont use getopt_long, minor usage changes, patch by Nick Fedchik

21 years agofix missed option argument for -I <device>, interface name checks
Glenn L McGrath [Sun, 19 Jan 2003 13:31:41 +0000 (13:31 -0000)]
fix missed option argument for -I <device>, interface name checks
redesigned, patch by Nick Fedchik

21 years agoCompile option to avoid using /usr directory, patch by Bastian Blank
Glenn L McGrath [Sun, 19 Jan 2003 12:55:13 +0000 (12:55 -0000)]
Compile option to avoid using /usr directory, patch by Bastian Blank

21 years agoUse vsyslog instead of syslog, improve initalisation and cleanup of
Glenn L McGrath [Thu, 16 Jan 2003 11:37:57 +0000 (11:37 -0000)]
Use vsyslog instead of syslog, improve initalisation and cleanup of
variables, save 300 Bytes or so, patch by Vladimir N. Oleynik

21 years agoFix leading spaces bug, free line buffer, redo next_word, save some
Glenn L McGrath [Tue, 14 Jan 2003 23:26:57 +0000 (23:26 -0000)]
Fix leading spaces bug, free line buffer, redo next_word, save some
space.

21 years agoPatch for the debian-cvs package, ip* applets in /bin, patch from Bastian Blank
Glenn L McGrath [Tue, 14 Jan 2003 21:41:12 +0000 (21:41 -0000)]
Patch for the debian-cvs package, ip* applets in /bin, patch from Bastian Blank

21 years agolast_patch75_2 from vodz,
Eric Andersen [Tue, 14 Jan 2003 18:13:13 +0000 (18:13 -0000)]
last_patch75_2 from vodz,

21 years agoEnsure consistant sort order, sed behavior, etc
Eric Andersen [Tue, 14 Jan 2003 09:12:39 +0000 (09:12 -0000)]
Ensure consistant sort order, sed behavior, etc
 -Erik

21 years agoEliminate most instances where we use linux kernel headers
Eric Andersen [Tue, 14 Jan 2003 08:54:08 +0000 (08:54 -0000)]
Eliminate most instances where we use linux kernel headers
 -Erik

21 years agoClean config binsries on 'make clean'
Eric Andersen [Tue, 14 Jan 2003 08:52:18 +0000 (08:52 -0000)]
Clean config binsries on 'make clean'

21 years agoEliminate use of kernel header file
Eric Andersen [Tue, 14 Jan 2003 08:06:07 +0000 (08:06 -0000)]
Eliminate use of kernel header file
 -Erik

21 years agoFixup addgroup help text
Eric Andersen [Tue, 14 Jan 2003 06:42:56 +0000 (06:42 -0000)]
Fixup addgroup help text

21 years agoOnly call free if it is necessary
Eric Andersen [Tue, 14 Jan 2003 06:40:11 +0000 (06:40 -0000)]
Only call free if it is necessary

21 years agoPatch from Tito to rework strings applet, and some testsuite
Eric Andersen [Mon, 13 Jan 2003 23:19:31 +0000 (23:19 -0000)]
Patch from Tito to rework strings applet, and some testsuite
stuff to test it added by me.

21 years agoCorrect some init issues, update email address, last_patch78 by Vladimir
Glenn L McGrath [Mon, 13 Jan 2003 22:09:50 +0000 (22:09 -0000)]
Correct some init issues, update email address, last_patch78 by Vladimir
N. Oleynik

21 years agoOption to allow ifupdown use ip commands instead of ifconfig, add flush
Glenn L McGrath [Mon, 13 Jan 2003 21:40:38 +0000 (21:40 -0000)]
Option to allow ifupdown use ip commands instead of ifconfig, add flush
command to ipaddr, patch by Bastian Blank

21 years agoKiss Gabor noticed that ping compiled without BB_FEATURE_FANCY_PING
Eric Andersen [Sun, 12 Jan 2003 06:08:33 +0000 (06:08 -0000)]
Kiss Gabor noticed that ping compiled without BB_FEATURE_FANCY_PING
would return 0 instead of EXIT_FAILURE when no response was received.

21 years agoPatch from Daniel J Walsh at redhat to make free work for systems
Eric Andersen [Sat, 11 Jan 2003 20:40:49 +0000 (20:40 -0000)]
Patch from Daniel J Walsh at redhat to make free work for systems
with more than 1 GB of memory...

21 years agoPatch from Robert Schwebel -- support ncurses installed in /usr/local
Eric Andersen [Sat, 11 Jan 2003 18:07:38 +0000 (18:07 -0000)]
Patch from Robert Schwebel -- support ncurses installed in /usr/local

21 years agoPatch from Robert Schwebel fixing a missing \n
Eric Andersen [Sat, 11 Jan 2003 18:06:02 +0000 (18:06 -0000)]
Patch from Robert Schwebel fixing a missing \n

21 years agoFix an obvious mistake
Eric Andersen [Sat, 11 Jan 2003 18:02:51 +0000 (18:02 -0000)]
Fix an obvious mistake

21 years agoFix addgroup so it actually works
Eric Andersen [Thu, 9 Jan 2003 18:53:53 +0000 (18:53 -0000)]
Fix addgroup so it actually works
 -Erik

21 years agoAdditional patch from Tito to fix some anomolies
Eric Andersen [Thu, 9 Jan 2003 14:36:26 +0000 (14:36 -0000)]
Additional patch from Tito to fix some anomolies

21 years agoarping applet by Nick Fedchik
Glenn L McGrath [Thu, 9 Jan 2003 10:06:01 +0000 (10:06 -0000)]
arping applet by Nick Fedchik

21 years agoMake output the same as upstream, patch by Tito
Glenn L McGrath [Thu, 9 Jan 2003 10:00:49 +0000 (10:00 -0000)]
Make output the same as upstream, patch by Tito

21 years agoPatch by Stewart Brodie to terminate the string array correctly
Glenn L McGrath [Wed, 8 Jan 2003 03:26:47 +0000 (03:26 -0000)]
Patch by Stewart Brodie to terminate the string array correctly

21 years agoLineo has ceased to exist, and is no longer a sponsor.
Eric Andersen [Wed, 8 Jan 2003 01:15:31 +0000 (01:15 -0000)]
Lineo has ceased to exist, and is no longer a sponsor.

21 years agoMinor cleanup, identified by Stewart Brodie, patch by Vladimir N.
Glenn L McGrath [Mon, 6 Jan 2003 16:27:07 +0000 (16:27 -0000)]
Minor cleanup, identified by Stewart Brodie, patch by Vladimir N.
Oleynik

21 years agoCorrect column width for tab completion and ls
Glenn L McGrath [Mon, 6 Jan 2003 01:11:50 +0000 (01:11 -0000)]
Correct column width for tab completion and ls

21 years agoNew applet: httpd, by Glenn Engel
Glenn L McGrath [Sun, 5 Jan 2003 04:01:56 +0000 (04:01 -0000)]
New applet: httpd, by Glenn Engel

21 years agoPrepare for new busybox-cvs upload
Glenn L McGrath [Sun, 5 Jan 2003 02:02:02 +0000 (02:02 -0000)]
Prepare for new busybox-cvs upload

21 years agofixes for ia64
Glenn L McGrath [Sun, 5 Jan 2003 00:43:00 +0000 (00:43 -0000)]
fixes for ia64

21 years agoSync with 20030104-2 cvs package, disable fdisk BSD label as they dont
Glenn L McGrath [Sat, 4 Jan 2003 13:45:42 +0000 (13:45 -0000)]
Sync with 20030104-2 cvs package, disable fdisk BSD label as they dont
compile on m68k

21 years agofdisk writable feature, allows compilation of a small fdisk that can
Glenn L McGrath [Sat, 4 Jan 2003 11:56:06 +0000 (11:56 -0000)]
fdisk writable feature, allows compilation of a small fdisk that can
only read partition table, by Vladimir N. Oleynik

21 years agoFix tab-tab listing of files so it properly reflects current
Eric Andersen [Thu, 2 Jan 2003 07:25:47 +0000 (07:25 -0000)]
Fix tab-tab listing of files so it properly reflects current
terminal width.
 -Erik

21 years ago> Eliminate dependancy on kernel header files. Naughty naughty.
Robert Griebl [Thu, 2 Jan 2003 07:16:53 +0000 (07:16 -0000)]
> Eliminate dependancy on kernel header files.  Naughty naughty.
> Using linux kernel headers is a Bad Thing(tm) and should be
> punished.
>  -Erik

Doing this wrong should be punished even harder :)
 - Robert

21 years agoAdd "Broadcast +" support back in. Also cut the size down some. Not well
Manuel Novoa III [Fri, 27 Dec 2002 17:42:01 +0000 (17:42 -0000)]
Add "Broadcast +" support back in.  Also cut the size down some.  Not well
tested, but it is the holidays...

21 years agoAdd usage for tar -j and -z
Glenn L McGrath [Fri, 27 Dec 2002 00:45:35 +0000 (00:45 -0000)]
Add usage for tar -j and -z

21 years agoSync with 20021214-1 debian package
Glenn L McGrath [Mon, 23 Dec 2002 12:49:32 +0000 (12:49 -0000)]
Sync with 20021214-1 debian package

21 years agoSupport the obsolete '+' option
Glenn L McGrath [Mon, 23 Dec 2002 11:54:56 +0000 (11:54 -0000)]
Support the obsolete '+' option

21 years agoFix STANDALONE_SHELL and ALWAYS_WIN options, last_path_73 by Vladimir N. Oleynik
Glenn L McGrath [Mon, 23 Dec 2002 10:23:10 +0000 (10:23 -0000)]
Fix STANDALONE_SHELL and ALWAYS_WIN options, last_path_73 by Vladimir N. Oleynik

21 years agoSupport the '=' command
Glenn L McGrath [Mon, 23 Dec 2002 10:16:12 +0000 (10:16 -0000)]
Support the '=' command

21 years agoAdjust for new .depend target
Glenn L McGrath [Fri, 20 Dec 2002 10:06:38 +0000 (10:06 -0000)]
Adjust for new .depend target

21 years agobusybox target wasnt checking .depend, clean kbuild binaries only on distclean
Glenn L McGrath [Fri, 20 Dec 2002 06:03:47 +0000 (06:03 -0000)]
busybox target wasnt checking .depend, clean kbuild binaries only on distclean

21 years agoBugfix, wastn retrieving last block, patch by Jean-Christophe Dubois
Glenn L McGrath [Thu, 19 Dec 2002 20:16:22 +0000 (20:16 -0000)]
Bugfix, wastn retrieving last block, patch by Jean-Christophe Dubois

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