Major rework of the directory structure and the entire build system.
[platform/upstream/busybox.git] / Changelog
1 0.61.pre
2
3     Development Version
4
5
6
7     New Applets:
8         * Erik Andersen -- Merged several applets from tinylogin,
9             namely adduser, addgroup, deluser, delgroup, getty.
10
11
12     Other Changes:
13
14         * Vladimir Oleynik, Manuel Novoa III, Aaron Lehmann
15             -- a whole bunch of ash size optimizations
16             -- Fix for ash leading redirections (i.e. '2>/dev/null ls rubbish')
17         * Rodney Brown  <RDBrown@mira.net> 
18             -- Optimized gzip.c, shrinking it be ~1.5k
19         * Matt Kraai
20             -- Fix sed s/[/]// handling (closes: #1208).
21             -- Fix `-/bin/sh' invocation (closes: #1209).
22             -- Fix ash exec (noted by Arne Bernin).
23             -- Fix tar segfault when include list is empty and exclude list is
24                not.
25             -- Fix sed s/$/@/ handling (noted by Joshua Hudson).
26         * Magick
27             -- made init run inittab command's in the order they show up
28                 in the inittab file (FIFO instead of LIFO).
29
30
31          -Erik Andersen, --not yet released--
32
33
34
35 0.60.1
36
37     Stable Release
38
39
40     New Applets & New Features:
41         none.  :)
42
43     Known Problems (to be fixed in 0.60.2)
44         * msh can segfault on constructs such as
45                 for i in `ls *.c` ; do echo $i ; done
46           due to a memory allocation problem.  This only seems to cause
47           problems when the backtick expands to be several k in size.
48
49
50     Bugfixes:
51         * Matt Kraai
52             -- Fixed msh to support underscores in variable names.
53             -- Fixed a sed problem with unsatisfied backrefs (the problem was
54                 noted by Martin Bene).
55             -- Removed CONFIG_SH define entirely.  Now one simply picks the shell
56                 or shells they want as CONFIG_<foo> in Config.h
57             -- Fixed head to use ferror(3) to check for errors, not errno.
58         * Shu-Hao Chang <shuhao_chang@trend.com.tw>
59             -- Fixed sed handling of multiple -e commands
60         * Magick <magick@linux-fan.com>
61             -- Fixed an init bug with AskFirst and /dev/null
62         * Jaspreet Singh <jsingh@somanetworks.com>
63             -- Fixed both a segfault and cosmetic bug in route
64         * Erik Andersen
65             -- Made the insmod options CONFIG_FEATURE_NEW_MODULE_INTERFACE and 
66                 CONFIG_FEATURE_OLD_MODULE_INTERFACE mutually exclusive
67             -- xgetcwd.c now includes sys/param.h to ensure PATH_MAX is defined
68             -- Fixed a potential segfault with lash + CONFIG_FEATURE_CLEAN_UP
69             -- Removed uint64_t from dos2unix, avoiding C lib compat. problems.
70         * Glenn McGrath
71             -- Rewrite of tftp (commands match atftp, accepts -b, can use 
72                 non-standard ports, and is smaller).
73             -- Fixed unarchive exclude list handling
74         * Manuel Novoa III
75             -- rewrite of simplify_path so it behaves itself (fixing some
76                 problems with mount and other applets).
77             -- Fixed ifconfig 'broadcast +' handling and disabled it by default
78         * Matthias ? <matthias@corelatus.com>
79             -- Fixed syslogd to log all messages from a single connection, not
80                 just the first.
81          
82          
83          -Erik Andersen, 23 August 2001
84
85
86 0.60.0
87
88     Note: 
89
90         For this release I have bumped the version number to 0.60.0.  This
91         reflects the fact that this release is intended to form a new stable
92         BusyBox release series.  If you need to rely on a stable version of
93         BusyBox, you should plan on using the stable 0.60.x series.  If bugs
94         show up then I will release 0.60.1, then 0.60.2, etc...  This is also
95         intended to deal with the fact that the BusyBox build system will be
96         getting a major overhaul for the next release and I don't want that to
97         break products that people are shipping.  To avoid that, the new build
98         system will be released as part of a new BusyBox development series
99         that will have some not-yet-decided-on odd version number.  Once things
100         stabablize and the new build system is working for everyone, then I
101         will release that as a new stable release series. 
102
103     Critical Bugfixes:
104         * Matt Kraai 
105             -- Fixed wget output file opening (wget failed in 0.52).
106             -- Fixed a memory leak in syslogd (found by Adam Slattery).
107         * Vladimir Oleynik, Matt Kraai, Erik Andersen
108             -- several nasty bugs in ash and msh.  msh could not assign
109                 any variables and had debug code still enabled.  ash
110                 had several compile errors (depending on selected options)
111                 and variable assignment problems as well.
112
113     New Applets:
114         * David McCullough <davidm@lineo.com> -- modprobe
115         * Vladimir Oleynik -- traceroute
116         * Erik Andersen -- pidof
117
118     New Scripts:
119         * David Schleef, Erik Andersen, Stuart Hughes -- depmod.pl
120             This is a replacement for the depmod program from the modutils 
121             package, but is fully cross platform and is designed to run on 
122             your host system (not on the target).
123
124     Other Changes:
125         * Erik Andersen 
126             -- fixed busybox.spec so it should now work on redhat systems
127             -- fixed dos2unix and unix2dos so they should work once again
128             -- Adjustments to make busybox more uClinux friendly.  Busybox
129                 should now work on uClinux systems without needing and source
130                 code changes (applets that won't work on uClinux systems are 
131                 now automagicaly disabled).
132             -- various things (cleanups, libc compatibility work, etc, etc)
133         * Jim Gleason <jimg@lineo.com>
134             -- Fixed for sed, where it failed to preserve whether or not the 
135                 line was previously altered when running a subst command.
136         * Matt Kraai 
137             -- Made tar read 20 512byte blocks at a time (like GNU tar)
138             -- Allow msh.c assignments with the export and readonly commands.
139             -- Added CONFIG_FEATURE_DEVFS to enable devfs device names.
140             -- Better devfs support
141             -- Don't save/restore vi readonly flag if vi is compiled read-only.
142             -- Reworked rdate option handling (is now smaller).
143             -- Size reduction in ping
144             -- Always write dd counts to stderr
145             -- Allow multiple shells to be enabled
146         * Aaron Lehmann 
147             -- slimmed down md5sum 
148             -- contributed a nice new (hand written, not lex/yacc) Posix math 
149                 support for ash, which is once again a full posix shell.
150         * Felix von Leitner <leitner@convergence.de> -- patches to make busybox 
151             work with dietlibc.
152         * David McCullough
153             -- Adjustments to make busybox more uClinux friendly
154         * Glenn McGrath 
155             -- Fixed gzip so when a filename is '-' it will use stdin/stdout
156             -- dpkg rewrite.  Should now be compatable with the real dpkg, 
157                 but needs more testing.
158             -- Updates to archiving tools (gunzip/gzip/cpio/ar/etc) 
159             -- Rewrote uuencode, will allow base64 encoding to be used by wget
160         * Vladimir Oleynik 
161             -- Fixed tr to support 'tr a-z A-Z' syntax,
162             -- Many ash corrections, optimizations, and cleanups.
163             -- optimizations for traceroute, md5sum, chown, ping
164             -- cmdedit updates and API change
165             -- Namespace cleanup (i.e. adding 'static' private function calls)
166             -- added "stopped jobs" warning to ash on exit
167         * Adam Slattery
168             -- Fixed ping compile problem
169         * Robert J. Osborne <rj@resourceinternational.com>
170             -- fixed a vi bug with delete and escape sequences on empty files.
171
172
173          -Erik Andersen, 31 July 2001
174
175
176
177 0.52
178         
179     Critical Bugfixes:
180         * Glenn McGrath -- Fixed gunzip, zcat when reading from stdin
181         * Marc Karasek and Kanoj (kernel serial.c maintainer) -- fixed init
182             problem on serial consoles with 2.4.3+ kernels.
183         
184     New Applets:
185         * Laurence Anderson -- rpm2cpio applet, this obsoletes rpmunpack 
186             which has now been removed from BusyBox 
187         * Laurence Anderson and Glenn McGrath -- cpio applet, currently 
188             only supports unpacking the ascii cpio format.
189         * Vladimir Oleynik and Erik Andersen -- added ash, the most correct
190             busybox shell.
191         * Larry Doolittle -- hush, small shell designed specifically
192             for busybox.  Quite usable but still a work in progress.
193         * Erik Andersen -- msh, minix shell.  A very small but capable shell
194             that only uses vfork, so it can be used on uClinux systems.
195
196     Other Changes:
197         * Sterling Huxley -- Several bugfixes for the vi applet.
198         * Glenn McGrath -- Restructure unarchiving code to make more code
199             common to the ar, cpio, dpkg, dpkg-deb applets.
200             tar applet has not yet been assimilated...
201         * Matt Kraai -- Rewrote cp, dirname, mkdir, mv, and rm.
202         * Paul J.Y. Lahaie <pjlahaie@linuxcare.com> -- Fixed an endian-ness
203             bug in md5sum (in 0.51, md5sum on big endian machines was broken)
204         * Mark Whitley -- rewrote cut, major updates to grep and sed. 
205         * Erik Andersen -- bunches of insmod fixes.  It should now always 
206             work (no more segfault or missing symbols problems).
207         * Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> and Jinux Kim
208             added uClinux/m68k insmod support.
209         * Manuel Novoa III -- rewrote make_human_readable so ls, du, and df
210             should work as expected.  Eliminated use of floats.
211         * Aaron Lehmann <aaronl@vitelus.com> -- Scrubbed gzip.c
212         * Alan Modra <amodra@bigpond.net.au> -- fixed an hard to spot
213             bug breaking gunzip checksum checking.
214         * Gennady Feldman -- Fixed 'syslog -C' 
215         * Gernot Poerner <gp@it-netservice.de> -- Added mount bind support.
216         * Adam Heath <doogie@debian.org>  -- wget arbitrary header support
217         * John Beppu -- updated the automagical doc generator
218         * Zillions of other bugfixes, optimizations, and cleanups.
219
220
221
222          -Erik Andersen, 7 July 2001
223
224
225 0.51
226     Critical Bugfixes:
227         * Erik Andersen -- Fixed a bug that could crash the shell in 0.50
228             when pressing <Enter> on an empty line.
229         * Gennady Feldman -- Fixed a bug that could crash the shell in 0.50
230             when performing an 'export' in the shell.
231         * Gennady Feldman -- fixed a syslogd bug where syslogd could cause
232             the init process to block (which can break systems badly).
233
234     New Applets:
235         * Sterling Huxley -- contributed a new vi applet!  This is a very
236             functional vi implementation in Only 22k.
237         * Erik Andersen -- added env applet
238         
239     Other changes:
240         * Erik Andersen -- Split utility.c into libbb, which provides a
241             much cleaner was for us to include shared functionality.
242         * Erik Andersen -- Reorganized how and when busybox includes 
243             syscalls, aiding portability and (in this case) making the
244             busybox work on ia64 systems.
245         * Erik Andersen -- dpkg.c cleanup to use the updated gunzip interface.
246         * Erik Andersen -- Cleanups for libc5, glibc, and uClibc.
247         * Erik Andersen and Matt Kraai -- Cleanups for the human-readable
248             output from ls, du, and df.
249         * Laurence Anderson <laurence@zxmail.com> -- Fixed wget HTTP 1.1
250             support and added chunked encoding so it is now RFC compliant.
251         * John Beppu -- The busybox.pod documentation is now automagically
252             generated from the source code.  This makes it _much_ simpler.  
253             Now to update the docs, just update the usage message...
254         * Dirk Behme <dirk.behme@de.bosch.com> -- Adjusted MIPS insmod 
255             support a bit for Mips RS3.
256         * Christophe Boyanique -- egrep invoked the "init" applet in 0.50!
257         * Larry Doolittle -- Added -Wshadow and fixed a number of shadowed
258             variables
259         * David Douthitt -- fixed 'find -print' 
260         * Gennady Feldman -- fixes for the syslogd circular buffer code 
261         * Jeff Garzik -- a number of structural cleanups, fixes for -Wshadow 
262             bugs, and similar problems.
263         * Matt Kraai -- Added a new 'shutdown' action to busybox init.  Now
264             you can specify arbitrary behavior for 'ctrlaltdel' so now
265             pressing CTL-ALT-DEL can do something else (or nothing).
266         * Andreas Neuhaus <andy@fasta.fh-dortmund.de> -- fix for merging
267             kernel command line environment variables into child environment
268             for init.c
269         * Glenn McGrath -- Fixed problems with dpkg and dpkg-deb applets
270         * Glenn McGrath -- Don't try to automount devfs 
271         * Vladimir Oleynik -- optimizations for more.c
272         * Vladimir Oleynik -- Added locale support to the shell, and fixed
273             locale support in several other places
274         * Vladimir Oleynik -- moved struct applet from busybox.c to applets.c
275         * Vladimir Oleynik -- A size optimization for rdate
276         * Vladimir Oleynik -- Fixed printf applets's locale handling
277         * Vladimir Oleynik -- More cmdedit updates
278         * Vladimir Oleynik -- Fixed `du' applet so it continues running 
279             after permission errors.
280         * Vladimir Oleynik -- Reduced stack usage in recursive_action()
281         * Pierre Peiffer <pierre.peiffer@sxb.bsf.alcatel.fr> -- made
282                 find_pid_by_name() cope with swapped out processes.
283         * Jari Ruusu <jari.ruusu@pp.inet.fi> -- updates so that setting
284             D_FILE_OFFSET_BITS=64 now works as expected. 
285         * Anthony Towns <aj@azure.humbug.org.au> -- fixed a bug with 
286             sed address range handling
287         * Dmitry Zakharov <dmit@crp.bank.gov.ua> -- a number of updates
288             to wget: support for ftp downloads, basic HTTP basic auth, handling
289             of http redirects, when attempting to continue an aborted download
290             but server doesn't support restarts then reopen output file in
291             write mode, bugfix: when content-length not given, wget didn't
292             download anything, if -c is not specified, it no longer default to
293             restarting an aborted download. 
294
295
296          -Erik Andersen, 10 April 2001
297
298
299 0.50
300         * Erik Andersen -- added ifconfig interface status reporting 
301         * Erik Andersen -- Debian packaging updates
302         * Erik Andersen -- lash environment variable expansion rewritten,
303             with lots of help/fixes/testing from Larry Doolittle.
304         * Erik Andersen -- Fix use of busybox with dmalloc debugging lib
305         * Erik Andersen -- fixed ls behavior for broken or very narrow terminals
306         * Erik Andersen -- stub umount2 and pivot_root if they are not available
307         * Erik Andersen -- libc5 fixes
308         * Erik Andersen -- make init work with devfsd
309         * Erik Andersen -- fixed df for nfs and dos where blksize = 512
310         * Erik Andersen -- Make sure libpwd.a is linked _last_ so it 
311             overrides the system pwd/grp 
312         * Christophe Boyanique -- added an optional egrep alias for grep.
313         * Christophe Boyanique -- added optional 'rm -i' support.
314         * Kenneth Chalmers and Erik Andersen -- fixed ln so it
315             behaves when given no arguments (prints usage) and when
316             given just one arg (tries to make a link in the cwd).
317         * Magnus Damm -- added a tftp applet  
318         * Magnus Damm -- powerpc support for busybox insmod.
319         * David Douthitt -- fixed a build error in df.c when 
320             CONFIG_FEATURE_HUMAN_READABLE was disabled
321         * John Beppu -- wrote autodocifier.pl, which will be used to auto-
322             generate the documentation from the source code, making life
323             much simpler for all.
324         * Magnus Damm <damm@opensource.se> -- Fixed an 'inner scope var
325             masking outer scope var with same name' bug that prevented 
326             the loopback device from being unmounted if mount() failed.
327         * Larry Doolittle -- rewrote ifconfig to make it smaller 
328         * Larry Doolittle and Erik Andersen -- cleanups to pristine source
329         * Larry Doolittle -- many bugfixes resulting from regression testing
330         * Gennady Feldman -- split syslogd.c into syslogd and klogd
331         * Gennady Feldman -- make syslogd single threaded -- no more forking
332         * Jeff Garzik -- getopt-ified rmmod.
333         * Jeff Garzik -- glibc 2.2 warning cleanups
334         * Jeff Garzik -- namespace pollution cleanup (staticified variables).
335         * Erik Gustavsson <cyrano@algonet.se> -- allow env variables set on the
336             kernel command line to be inherited into init and its children.
337         * Erik Habbinga -- fixed an uninitialized substitution delimiter in sed.
338         * Chris Jaeger -- Makefile cleanup to make option setting less error-prone
339         * Chris Jaeger <cjaeger@ensim.com> -- Carefully check NFS_MOUNT_VERSION
340             depending on what kernel is being used.
341         * Quinn Jensen <jensenq@lineo.com> -- MIPS support for busybox insmod.
342         * Evin Robertson -- new pivot_root applet 
343         * Kent Robotti -- usage message cleanups
344         * Kent Robotti -- reworked dos2unix/unix2dos
345         * Evin Robertson and Manuel Novoa III -- reworked how usage messages 
346             are stored to save several k of space.
347         * Matt Kraai -- Keep trying if an NFS mount fails 
348         * Matt Kraai -- fixed insmod so it won't try to insmod directories.
349         * Matt Kraai -- added nc listening support
350         * Matt Kraai and David Douthitt -- reworked fine to support -type, 
351             -perm, -mtime, and other improvements.
352         * Matt Kraai -- added find_applet_by_name and saved some memory thereby
353         * Matt Kraai -- added chomp to reduce redundant code elsewhere
354         * Matt Kraai -- Removed trailing \n chars from error_msg{,_and_die} messages. 
355         * John Lombardo -- fixed OOM in insmod.
356         * Glenn McGrath -- bypass /proc in mount, now uses sysfs. 
357         * Glenn McGrath -- several updates to dpkg and dpkg-deb. 
358         * Manuel Novoa III -- several size optimizations: parse_mode, 
359             process_escape_sequence, format, and get_kernel_revision. 
360         * Manuel Novoa III -- rewrote ifconfig again to make it smaller still 
361         * Manuel Novoa III -- added ifconfig -a, updated interface reporting
362         * Vladimir N. Oleynik -- Fixed a bug where init set PATH incorrectly 
363         * Vladimir N. Oleynik -- cleanups to route, cmdedit, mkdir, 
364             mkfs_minix, mkswap, chmod_chown_chgrp and utility.c
365         * Vladimir N. Oleynik -- many fixes to cmdedit. so tab completion
366             is now working and general editing is much improved, and to
367             improve complex prompt handling.
368         * Vladimir N. Oleynik -- added route status reporting.
369         * Vladimir N. Oleynik -- fixed wget to use xfopen
370         * Vladimir N. Oleynik -- new stty applet 
371         * Vladimir N. Oleynik -- fixed find, it used to stop on perm errors.
372         * Vladimir N. Oleynik -- locale forced to posix for scripts 
373         * Vladimir N. Oleynik -- saved 128 bytes by moving error checking 
374             for several my_* functions into utility.c
375         * Bjorn Wesen -- new ifconfig and route applet (taken from 
376             work done by Axis Communications).
377         * Mark Whitley -- Added a 'How to contribute to Busybox' doc
378             and updated the style guide.
379         * Mark Whitley -- implemented grep -A, -B, and -C
380         * Mark Whitley -- overhauled the test suite.
381
382
383          -Erik Andersen, 15 March 2001
384         
385 0.49
386
387         * Matt Kraai -- new sort.c
388         * Matt Kraai -- new tail.c
389         * Glenn McGrath -- new 'dpkg-deb' applet
390         * Glenn McGrath -- new ar code
391         * spoon -- new watchdog applet
392         * Vladimir N. Oleynik <dzo@simtreas.ru> -- fixed cmdedit.c so now 
393             scrolling and tab completion in lash work properly.  Also several
394             byte saving optimizations.
395         * Erik Andersen -- disabled many less commonly used applets by default
396         * Mark Whitley -- more thrashing about to get clean perror_msg usage
397         * Matt Kraai -- new command line munging
398         * Larry Doolittle -- keep some locales from messing up busybox.sh
399         * Matt Kraai -- cleaned up dd and tail with new parse_number routine
400         * Mark Whitley -- remove debugging messages from deallocvt
401         * Matt Kraai and Mark Whitley -- new document "How to Add a New Applet 
402             to BusyBox"
403         * David Douthitt -- fixed "grep -qv" bug
404         * Larry Doolittle -- fixed insmod bug with old kernels
405         * Matt Kraai -- logger remixed to use getopt, selection of stdin made 
406             util-linux compatible
407         * Erik Andersen -- many more internal symbols classified static to 
408             avoid namespace pollution
409         * Matt Kraai -- nc listening support
410         * Erik Andersen -- made sed understand arbitrary regexp delimiters
411         * Matt Kraai et al. -- more tar improvements and bug fixes, now 
412             handles regexp file exclusion
413         * Larry Doolittle -- new script (multibuild.pl) to automate build rule
414             checking
415         * Matt Kraai -- update/cleanup of the docs on how to use init
416         * Erik Andersen -- renamed all sh.c symbols per the style guide, 
417             better if-then-else-fi handling
418         * Erik Andersen -- cleaner division of labor between cmdedit.c and sh.c
419         * Larry Doolittle -- shell data structure cleanup, fixed buglets
420             in read, exec, and piped builtins
421         * Erik Andersen -- md5sum was broken in 0.48.  Now fixed (and doesn't 
422             use getline, shrinking static compiles (since nothing else used it).
423         * ?? -- squashed memory leak in shell prompt handling
424         * Mark Whitley -- Updates to style guide
425         * Mark Whitley -- Big cleanup in utility.c: style guide compliance,
426             de-macro-ifying some variables and functions
427         * Erik Andersen -- ls now honors CONFIG_FEATURE_AUTOWIDTH so it can find
428             the width and height of the console.
429         * Erik Andersen -- insmod now ignores -L and accepts the -o option.
430         * Erik Andersen -- updates so you can now select from the Makefile
431             whether or not to use the system's passwd and group functions.
432             Since most systems use GNU libc, this can save you from having to
433             install the /etc/nsswitch.conf configuration file and the required
434             libnss_* libraries.  Adds 1.5k.  You can now, also, disable this, 
435             causing busybox to use the system's pwd.h and grp.h functions.
436
437
438          -Erik Andersen, 27 January 2001
439
440 0.48
441
442         * Glenn McGrath -- tar now supports uncompressing tar files,
443             define CONFIG_FEATURE_TAR_GZIP to use the -z option.
444         * Matt Kraai -- fix all usage of TRUE and FALSE so all apps now
445             return EXIT_SUCCESS or EXIT_FAILURE to the system.
446             Now TRUE and FALSE are set to the C standard where TRUE=1.
447         * me -- Fixed uname problem causing the kernel version to be
448             mis-detected (causing problems with poweroff, init,
449             and other things).  
450         * Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and 
451             Nicolas Ferre <nicolas.ferre@alcove.fr> -- insmod support on ARM 
452             and StrongArm, and suport for lsmod on older 2.0.x kernels.
453         * Kent Robotti -- Renamed unrpm to original rpmunpack, so you can use 
454             an included shell script called unrpm as a front end to it.  There's
455             also a shell script called undeb included for debian packages.  
456         * Matt Kraai -- fix an infinite loop with ls -aR
457         * Larry Doolittle -- Shaved off about 100 bytes and 200 bytes heap 
458             from date.c.  Also document the "-d" option in the usage message.
459         * Gennady Feldman -- fixed dd to use blocksize when reading/writing, 
460             (it was reading the whole thing and then writing it out).  Also 
461             updated usage information (was missing conv=notrunc) and added 
462             conv=sync feature.
463         * Larry Doolittle (in collaboration with Matt Kraai) -- allow for a 
464             pristine source directory -- where all the .o files and such are 
465             not placed into the source tree.  Thanks Larry!
466         * Larry Doolittle -- use the applet definitions in applets.h 
467             to autogenerate the applet function and usage prototypes.
468         * Sebastien Huet, Arne Bernin, and Kent Robotti -- Add in tar -X and
469             fixed a bug breaking tar --exclude.  
470         * Jonas Holmberg -- echo option handling made GNU-echo compatible
471         * Aleksey Demidov <asd@ixcelerator.com> -- date option handling made 
472             GNU-date compatible
473         * me -- Progress meter (optional) in wget
474         * Doolittle/me -- programs invoked by full path name take
475             precedence over applets unless CONFIG_FEATURE_SH_BUILTINS_ALWAYS_WIN
476         * Gaute B Strokkenes <gs234@cam.ac.uk> -- applets found using a
477             binary search instead of linear search.  Much faster!
478         * new applets: cmp readlink
479         * Mark Whitley -- Removed advertising clause of Berkeley license
480             according to decision by the Regents of the University of
481             California; included reference
482         * tail's confusing special treatment of single digit options removed;
483             people should use -n instead
484         * Larry Doolittle -- \r handled now in echo and tr
485         * Matt Kraai -- rewrite of uniq
486         * Mark Whitley -- remix of xargs
487         * Jim Gleason <jimg@lineo.com> -- fixed tar so it no longer breaks 
488             hard links.
489         * Matt Kraai -- logger now logs all arguments, not just the first
490         * Gennady Feldman -- syslogd no longer logs to localhost if compiled
491             for remote logging...
492         * Richard June <rjune@ims1.imagestream-is.com> -- support for 'gzip -d'
493         * various artists -- Other good stuff that I forgot to document.
494
495
496          -Erik Andersen, 13 December 2000
497
498 0.47
499
500         * A bug in syslogd was fixed that allowed it to potentially fork-bomb
501             your system.  Anyone using 0.46 syslogd should upgrade.
502         * Renamed busybox.defs.h to the more sensible "Config.h"
503         * Improved portability between different libcs.
504         * Many apps ported to use getopt()
505         * Common handling of '--help'
506         * All usage messages centralized.
507         * Added a bunch of new commands:
508             * 'rdate' contributed by Sterling Huxley <sterling@europa.com>
509             * 'wget' contributed by Chip Rosenthal <chip@unicom.com>, 
510                     <crosenth@covad.com> and Covad Communications
511             * 'getopt' from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
512             * dos2unix, unix2dos, reset, and unrpm.c (and lots of help
513                 debugging) thanks to Kent Robotti <robotti@metconnect.com>.
514             * 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
515             * 'xargs' (written by me)
516             * 'expr' contributed by Edward Betts <edward@debian.org>, based
517                 on GNY expr
518         * lsmod now uses the query_module syscall, rather then /proc (me)
519         * syslogd can now log messages to remote hosts -- patch thanks
520             to Gyepi Sam <gyepi@praxis-sw.com>
521         * chroot can now call the builtin shell - Pavel Roskin <proski@gnu.org>
522         * 'make install' now creates relative symlinks, and added a new
523             'make install-hardlinks' target to (tada) install hardlinks.
524         * Rewrite of 'tail' to make it simpler, smaller, and more robust.  
525             It now weighs only 2.25k (3k when full featured).  The code is
526             cleaner too, thanks to Allen Soard <esp-software@mail.hypermart.net>
527         * Add optional ls file sorting, thanks to a patch from 
528             Sterling Huxley <sterling@europa.com>
529         * Fixed chmod option parsing so things like 'chmod -r /tmp/file'
530             now work (previously it thought -r was an option).  Doh!
531         * Fixed tar handling of stdin and stdout
532         * Renamed "internal.h" to the more sensible "busybox.h"
533         * Preliminary support for GNU HURD.
534         * Updated my devps and devmtab kernel patches for the latest 2.2.x
535             kernel, for those wanting to go proc-less.
536         * Tons of other bugfixes.
537
538
539          -Erik Andersen, 25 September 2000
540
541
542 0.46
543
544         * Better portability.  Now should compile cleanly with libc5, 
545             GNU libc 2.0 and 2.1, and various Linux kernels including 
546             2.0.x, 2.2.x, and to 2.4.0-test*. (patch for 2.4.x kernels
547             to make /proc/mounts behave included in the kernel-patches dir). 
548         * Fixed a _horrible_ bug where 'tar -tvf' could unlink
549             local files that matched tarball contents!!!  Fix thanks 
550             to Marius Groeger <mgroeger@sysgo.de>
551         * Fixed a nasty bug in tar when could mess up saved symlinks.
552         * Fixed tar creation support when reading from stdin ('tar -cf - . ') 
553             thanks to Daniel Quinlan <quinlan@transmeta.com>
554         * Updates to handle Linux 2.4.0 kernels (kludged around the
555             "none" entries in /proc/mounts, added a hack to make sysinfo
556             work with both old and new kernels).
557         * Fixed insmod module option parsing for options lacking an '='.
558             Fix thanks to Marc Nijdam <marc_nijdam@hp.com>
559         * Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
560             Fix thanks to Arne Bernin <arne@matrix.loopback.org>
561         * Several fixes from Marius Groeger <mag@sysgo.de>
562             - Added support for "sh -c command args..."
563             - Fixed globbing, i.e. 'echo * *' and 'echo "******"' now work.
564             - Added shell environment variable substitution 
565             - Added the "read" shell builtin.
566         * Fixed cursor editing in cmdedit.c. The following keyboard sequence 
567             used to create an infinite loop: ls, cursor up, left, down.
568         * Added support for being a login shell, so things like
569             '-su' or '-sh' (stuff where argv[0][0]=='-') will now always 
570             invoke the shell.  Now you can use BusyBox as a login shell.
571         * ls.c now ignores '-g', since some ftp clients like that sort 
572             of thing.  Patch thanks to David Vrabel <dvrabel@arcom.co.uk>
573         * Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that
574             it always sets the controlling terminal before running any programs
575         * Several fixes from Matt Kraai <kraai@alumni.carnegiemellon.edu>
576             - Fixed tr so it recognizes standard escape sequences.  
577                 Merged common escape seq. code from tr and echo into utility.c.
578             - Major work in updating/cleaning up the docs, and getting the
579                 new SGML based docs into shape.
580             - cleanup of ar.c
581             - BusyBox should now poweroff when asked to do so.
582             - Fixed 'ln -n' and 'ln -s' so they both work properly.
583         * Reorganized signal names in kill.c for better architecture support 
584             -- patch thanks to simon wood <simon@mungewell.uklinux.net>
585         * In 0.43, backspace and delete worked properly, but with 0.45, 
586             it just echoed a ^? for backspace, and ^H for control-h.  This
587             was due to a broken macro in init.c, that is now fixed.
588         * Removed sfdisk from BusyBox.  It was buggy, fat, and we really
589             couldn't maintain it very well, so including it was not really
590             very appropriate.  Those wanting an fdisk are invited to
591             grab a copy from util-linux.
592         * Added 'dumpkmap' to allow people to dump a binary keymap, which can 
593             then be loaded in by 'loadkmap' -- submitted by
594             Arne Bernin <arne@matrix.loopback.org>
595         * Fixed NFS so it supports 2.4.x kernels and NFSv3.
596         * Brand, new versions of grep and sed which use libc regex routines,
597             thanks to Mark Whitley <markw@lineo.com>.  The hand-tooled 
598             "regexp.[ch]" files have been removed. Much help on these from 
599             Matt Kraai as well.
600
601
602          -Erik Andersen, 11 July 2000
603
604
605 0.45
606         * Now compiles vs libc5 (which can save lots of space for 
607             embedded systems).
608         * Added CONFIG_FEATURE_TRIVIAL_HELP which compiles out most all of the
609             help messages (i.e --help).  Saves 17k over a full compile.
610         * Added cut and tr from minix, since due to the license change, 
611             we can now use minix code.  Minix tr saves 4k. 
612         * insmod now works.  It costs 29k, but imagine an initrd with a 
613             staticly linked busybox containing only insmod and sh, a few /dev 
614             entries, and a kernel module or two...  It doesn't get smaller
615             then this folks (I pity the fool that writes insmod in asm ;-).
616             Many kudos go to Ron Alder <alder@lineo.com> for finishing this off!
617         * Added a mini ar archive utility, especially written for BusyBox by 
618             Glenn McGrath <bug1@netconnect.com.au>
619         * Added mktemp, contributed by Daniel Jacobowitz <dan@debian.org>
620         * Added setkeycodes, for those that have wierd keyboard buttons.
621         * Added md5sum, uuencode and uudecode -- thanks to Alfred M. Szmidt 
622             <ams@trillian.itslinux.org> for contributing these.
623         * Added 'grep -v' option (inverted search) and updated 
624             docs accordingly.  -beppu
625         * Wrote which
626         * Replaced the telnet implementation with one written by 
627             Tomi Ollila <too@iki.fi> It works great and costs 3k.
628         * BusyBox sh (lash) now supports being used as a standalone shell.  When
629             CONFIG_FEATURE_SH_STANDALONE_SHELL is defined, all the busybox commands may
630             be invoked as shell internals.  Best used when compiling staticly 
631             (i.e. DOSTATIC=true)
632         * BusyBox sh (lash) internals now behave as expected wrt pipes 
633             and redirects. 
634         * Fixed ping warnings -- fix from Sascha Ziemann <szi@aibon.ping.de>
635         * Fixed update segfault
636         * Fixed mknod -- minor number was always 0
637         * Fixed tar option parsing, so both "tar xvf foo.tar" and 
638             "tar -xvf foo.tar" now work (i.e. no "-" before options) 
639             (this was very broken in 0.43).
640         * Several contributions from Randolph Chung <tausq@debian.org>.
641             * cp/mv now accepts the -f flag
642             * tail can now accept -<num> commands (e.g. -10) for better 
643                 compatibility with the standard tail command
644             * added a simple id implementation; doesn't support sup. groups yet
645         * logname used getlogin(3) which uses utmp.  Now it doesn't. 
646         * whoami used getpwuid(3) which uses libc NSS.  Now it behaves. 
647         * Add support for "noatime" and "nodiratime" mount flags to mount.
648         * Changed 'umount -f' to mean force, and actually use umount2.
649         * Changed 'umount -l' to mean "Do not free loop device".
650         * Fixed basename to support stripping of suffixes.  Patch thanks
651             to xiong jianxin <jxiong@uiuc.edu>
652         * cp -fa now works as expected for symlinks (it didn't before)
653         * zcat now works (wasn't working since option parsing was broken)
654         * Renamed "mnc" to the more correct "nc" (for netcat).
655         * Makefile intelligence updates
656         * Changed the way init parses /etc/inittab entries to avoid problems
657             with commands that contain colons in them.  Fix thanks to 
658             Pavel Roskin <proski@gnu.org>
659         * Fixed a warning in utility.c due to char being unsigned on Linux/PPC, 
660             Fix thanks to Pavel Roskin <proski@gnu.org>
661         * Made "killall" complain (not error and exit) about processes that it 
662             cannot find by name -- Pavel Roskin <proski@gnu.org> 
663         * Fixed more and ps to have sensible terminal width defaults, thanks 
664             to Pavel Roskin.
665         * Fixed all fatalError() calls lacking a "\n", thanks to Pavel Roskin.
666         * Fixed a segfault in yes when no args were given -- Pavel Roskin.
667         * Simplified freeramdisk and added argument checking -- Pavel Roskin. 
668         * Fixed segfault caused by "touch -c"
669         * Fixed segfault caused by "rm -f"
670         * Fixed segfault caused by "ln -s -s" and similar abuses. Further fixes
671             and "--" support from Pavel Roskin.
672         * Fixed segfault caused by "cp -a -a" and similar abuses.
673         * Implemented "rm -- <foo>". Implementation fixed by Pavel Roskin.
674         * "which" rewritten to use stat(). Fixes to improve its compatability
675             with traditional implementations -- Pavel Roskin.
676         * "mount" now reports errors from nfsmount() and assumes NFS mount
677             if ':' is present in the device name - Pavel Roskin
678         * Fixed exit status for killall - Pavel Roskin
679         * Fixed 'swapon -a' and 'swapoff -a', which were broken.
680         * Fixed 'mount -a' so it works as expected.
681         * Implemented 'ls -R' (enabled by enabling CONFIG_FEATURE_LS_RECURSIVE)
682         * Implemented "ping -s", fixed error messages and argument parsing -
683             Pavel Roskin
684         * Syslogd will not go to background if "-n" is given. Better help
685             and argument checking -- Pavel Roskin
686         * Fixed a small bug that could cause tar to emit warning messages
687             and not extract the first file in a directory in some cases
688             of nested directories.  Thanks to Kevin Traas <kevin@netmaster.com>
689             for helping track this one down.
690         * More doc updates
691         * Fixed grep "Line too long" problem -- John Beppu
692         * Fixed 'grep -q -i B some_file' so it works
693         * math takes input from stdin if no args are given.  -- John Beppu
694         * math was renamed to dc.  Although it deviates from dc's behaviour,
695             this will probably be remedied in the future.  -- John Beppu
696
697
698          -Erik Andersen, June 21, 2000
699
700
701 0.44
702         Previously, an erronous announcement of BusyBox 0.44 was made, so to 
703         avoid possible confusion, we are skipping straight to 0.45, and calling
704         it good.
705
706          -Erik Andersen
707
708
709 0.43
710         * Major update to the provided documentation.
711         * Busybox now includes a shell!  It currently costs 7.5 k (plus an
712             additional 2.5 k if you compile in command line editing).  Handles
713             job control, has the usual set of builtins, and does everything
714             except for handling programming statements (if, while, etc...)
715         * Busybox can now work perfectly when /proc is disabled, thereby 
716             saving a bunch of memory (kernel /proc support is not thin).  This
717             is done by making use of some nice kernel patches I wrote up to
718             support the features that busybox requires and that /proc usually
719             provides.  To enable this, turn on CONFIG_FEATURE_USE_DEVPS_PATCH and
720             patch your kernel with the devps patch in the kernel-patches/
721             directory. 
722         * Wrote basename, dirname, killall, and uptime.
723         * tar has been completely rewritten by me.  Both tar creation and 
724             extraction are now well behaved.  Costs 7.6k with all optional
725             tar features enabled, and 5k for just tar extraction support. 
726         * Added freeramdisk, which will free up all memory associated
727             with a ram disk.  Contributed by Emanuele Caratti <wiz@iol.it>
728             and then adjusted a bit by me.
729         * Added tr from John Lombardo <john@deltanet.com> 
730         * Added echo and test (from me).
731         * Added usleep contributed by Nicolas Pitre <nico@cam.org>
732         * BusyBox's bss size has been majorly reduced (was 384668, is now 28740).
733         * Several fixes from Pavel Roskin <proski@gnu.org>:
734             - When `tail' fails to open a file it now exits.
735             - When `syslogd' is given the `-n' option it should still use 
736                 fork() for running klogd.
737         * nslookup types are now changed to u_int32_t (instead of uint32_t)
738             changed per a patch from Pascal Bellard <pascal.bellard@ascend.com>
739         * Fixed "du" so it gives the same answers as GNU "du" (busybox du used 
740             to count hard-linked files more then once).  Many thanks to 
741             Friedrich Vedder <fwv@myrtle.lahn.de> for the fix.
742         * Removed /proc dependancies for init and free (while maintaining 
743             exactly the same functionality).  /proc takes up 90k of kernel 
744             space, so it is nice to avoid using it at all costs.
745         * init no longer tries to mount /proc (unless there is less the 1 meg 
746             free).  Use of /proc (or not) is policy that should be set up in 
747             /etc/fstab (or in hardcoded scripts), not in init.
748         * Fixed rebooting when init runs as an initrd.
749         * Fixes and updates from Karl M. Hegbloom  <karlheg@debian.org>
750             - update.c rewritten to look more like update-2.11
751             - moveed the inode hash out of du.c and into utility.c to make 
752                 it a common resource that can be used by other apps.
753             - cp_mv.c now checks inodes to see if a source and dest are
754                 the same, and prints an error (instead of endlessly looping).
755             - mv now attempts to do a rename, and will fall back to doing
756                 a copy only if the rename fails.
757             - Syslogd now supports multiple concurrent connections
758         * Several fixes from Pavel Roskin <proski@gnu.org>:
759             - Fixes to sort.  Removed "-g", fixed and added "-r"
760             - Fixes to the makefile for handling "strip"
761         * An initial telnet implementation was added by 
762             Randolph Chung <tausq@debian.org>.
763         * Fixed a bug where "sed 's/foo/bar/g'" (i.e. a script w/o a "-e")
764         * ps now supports CONFIG_FEATURE_AUTOWIDTH, and can adjust its width
765             to match the terminal (defaults to width=79 when this is off).
766         * ps now accepts (and ignores) all options except for "--help" (which
767                 as would be expected displays help).
768         * Fixed mount'ing loop devices when the filesystem type was not 
769             specified.  It used to revert to non-loop after the first try.
770         * all mallocs now use xmalloc (and so are OOM error safe), and
771             the common error handling saves a few bytes.  Thanks to 
772             Bob Tinsley <bob@earthrise.demon.co.uk> for the patch.
773         * Fix "+" parsing bug in date, from "Merle F. McClelland" <mfm@cts.com>.
774         * Fix symlink following bug in chmod -R and friends.  
775         * Now allows SYSV style 'chown foo:bar' in addition to 'chown foo.bar'
776         * Fixed a bug in the busybox globbing routine such that 'find /dir -name [i]' 
777             no longer segfaults.
778
779
780         -Erik Andersen
781
782
783 0.42
784
785         * Fairly massive restructuring of umount.c to deal with remounting 
786           busy devices read-only. Adds a -r option to control that; it is 
787           optionally compiled in with CONFIG_FEATURE_REMOUNT
788         * Added a bunch of functions to mtab.c to interact with the
789           {get,set,end}mntent interface; as it turns out, those functions do
790           not appear to be re-entrant, and that causes a lot of problems with
791           the way umount was originally written.
792         * Makes init send TERM and KILL (instead of HUP and KILL) on reboot
793           to be more consistent with sysvinit
794         * Changes to init.c to use the new -r option to umount. Also increased
795           the sleep time between the time the TERM and KILL signals are sent
796
797         - Randolph Chung
798
799
800         * cp.c, mv.c: removed, replaced by cp_mv.c which has been
801             extensively rewritten from the original cp.c.
802         * Fixed cp and mv so if the source and destination are a the
803             same directory it will print an error and continue.
804         * Also added a warning message to the `mv' usage string saying that
805             this is not GNU mv, and it will break hard links. cp also breaks
806             hard links.
807         * ln.c: implemented `-n' switch, no-deref symlinks.
808         * include<sys/param.h>: and use PATH_MAX everywhere.  busybox: File
809         * name buffer overrun guards to prevent future crashes.
810             - Always check exit status.
811             - Purge all use of `creat()', replace with `open()'.
812         * utility.c 
813             - recursiveAction was overriding the value of followLinks thus
814               ignoring it.
815             - isDirectory now takes a followLinks boolean, updated all callers
816             - copyFile had the followLinks logic reversed.
817         * messages.c: New file. Put common error message strings all in
818             one place in an attempt to shrink the binary a little.
819
820         -Karl M. Hegbloom
821
822
823         * changed fsck_minix.c to reduce its .bss size significantly
824           -beppu -piptigger
825         * Made tar creation support in busybox tar optional.  You no longer
826         * _have_ to put a "-" in front of tar options.  Tar could inadvertently
827         * change permissions and ownership on
828             certain directories pointed to by symlinks.
829         * Made grep and grep -h do the right thing wrt printing
830             the file name (it failed to print files names in many cases).
831         * Fix a namespace aliasing problem wereby if du was built in, the 
832             symlink for both du and dutmp would be installed, or then rm was
833             built in, the symlinks for both rm and rmmod would be installed.
834         * Added a closelog() to init.c after loging -- fix thanks to 
835             Taketoshi Sano <kgh12351@nifty.ne.jp>
836         * Rewrote and simplified logger.  Added the "-t" option, and made it
837             behave itself a bit better.
838         * Optional support contributed by Ben Collins <bcollins@debian.org> 
839             for the kernel init chroot patch by Werner Almesberger, which
840             allows init to chroot to a new device, and umount the old one.
841         * Fixed bug that wouldn't let one chown a symlink -- it would
842             always dereference before.  -beppu
843         * Fixed a bug where init could have reference already freed memory.
844             Found and fixed by Taketoshi Sano <kgh12351@nifty.ne.jp>
845         * Several contributions from Friedrich Vedder <fwv@myrtle.lahn.de>
846         * Added (and documented) "-n" option for head
847         * Cleanup for a number of usage messages -- also 
848             contributed Friedrich Vedder <fwv@myrtle.lahn.de>
849         * Cosmetic fix to busybox.c (Don't print a comma at the
850             end of line if there are no more application names).
851         * Fixed a stupid bug in "head" option handling ("head -n" 
852             would segfault).
853         * Moved commonly used functions "xmalloc()" and "exit()"
854             to utility.c (with proper #ifdef's).
855         * Created a tiny tail implementation, removing -c, -q, -v, and making
856             tail -f work only with a single file.  This reduced tail from 6k to
857             2.4k.  The bigger/more featured tail can still be had by disabling
858             CONFIG_FEATURE_SIMPLE_TAIL in busybox.defs.h
859         * Ping now falls back to doing the right thing if /etc/protocols
860             turns up missing.
861         * Fixed mount and umount.  Previously they could leak loop device 
862             allocations, causing the system to quickly run out.  Fix for umount
863             by Ben Collins <bcollins@debian.org>, and mount was fixed by me.
864         * ls formatting on eight charactor user names fixed by 
865             Randolph Chung <tausq@debian.org>.
866         * cp could, when copying symlinks, change permissions of the
867             files pointed to by the symlinks.
868         * Several fixes from Pavel Roskin <proski@gnu.org>:
869             - `chown' with 1 argument displayed the error incorrectly
870             - `fdflush', `length' and `printf' crashed if run without arguments
871             - `fdflush' tried to flush itself using *argv
872             - added "skip" and "seek" to dd.
873             - ls no longer messus up output when combining files and
874               directories on the command line 
875         * swapoff -a was not working.  Now it is.  
876         * init did not cleanly unmount filesystems on reboot.  Now it does.  
877         * "sed -ne s/foo/bar/" worked but "sed -n -e s/foo/bar/" didn't.
878             Now both work.
879         * Some architectures (PowerPc) assume chars are unsigned, so they could
880             not distinguish between EOF and '\0xFF' in sed.  Sed now uses ints.
881         * Began converting error handling to use some common routines
882             in utility.c
883         * syslogd now has better message handling and ignores SIGHUP.
884         * install.sh had a bug preventing installation to the specified
885             target directory.  Fix from Gilbert Coville <gilbert@mvista.com>
886         * You can now spefify alternative strip commands -- change 
887             also from Gilbert Coville.
888
889
890         -Erik Andersen
891
892 0.41
893         * New Apps: wc, hostid, logname, tty, whoami, yes -- all contributed 
894             by Edward Betts <edward@debian.org>
895         * Fixed a bug in both cp and mv preventing 'cp foo/README bar'
896             type commands (file in a directory to another directory) from
897             working.
898         * Fixed a logger bug that caused garbage to be written to the syslog 
899             (unless you used busybox syslog, which hid the bug).  Thanks to
900             Alex Holden <alex@linuxhacker.org> for the fix.
901         * /bin/true and /bin/false were echoing a blank line when run.  
902             Now fixed.
903         * mkdir -p would print an error when asked to mkdir an existing dir
904             with no interveining subdirectories.
905         * Fixed "syslogd -O" so that it works.  Added -o loop option for mount,
906         * and support in umount for loop
907           devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins
908           <bcollins@debian.org>
909         * Several fixes from Marco Pantaleoni <panta@prosa.it> compile in
910         * fullWrite() not only if CONFIG_TAR is defined, but also
911                 if CONFIG_CP or CONFIG_MV are (fullWrite() is referenced by copyFile())
912             * add some compiler optimizations to further reduce executable size
913                 (as a side note, on my machines the largest code is generated
914                 by gcc 2.95.2 with -Os ! The smallest by plain gcc 2.7.2.3 with
915                 -O2 -m386 ...)
916             * Compile now won't fail if busybox.def.h defines 
917                 CONFIG_FEATURE_INITRD but not CONFIG_INIT.  (init_main used to be
918                 referenced, but not compiled)
919         * Fixed a bug in setting TERM for serial console support.  TERM now
920             defaults to "ansi" for serial consoles.
921         * Fixed a bug in handling the CONSOLE env. variable for serial
922         * consoles.
923
924         -Erik Andersen, Jan 15, 2000
925
926 0.40
927         * New Apps: sort, uniq. -beppu New Apps: lsmod, rmmod -erik New Apps:
928         * fbset contributed by Randolph Chung <tausq@debian.org>.  New App::
929         * loadacm contributed by Peter Novodvorsky <petya@logic.ru>
930             for loading application character maps for Unicode fonts.
931         * Major init re-work.  init now supports inittab (slightly different
932             but similar to sysvinit), allowing me to get all the policy out of
933             init and into the conf file.  It works just fine without inittab
934             being present, but if you dont like the default behavior you can
935             now do something about it.  Init is much cleaner as a result.
936         * Fixed an bug in syslogd causing it to stop after 20 minutes. -erik
937         * Fixed an embarrasing segfault in head -beppu Fixed the embarrasing
938         * failure of 'logger -p'. -erik Added the -s option to du -beppu
939         * Re-worked the source tree a bit so it will compile under glibc 2.0.7 
940             with the 2.0.x Linux kernel.
941         * Added 'grep -q' thanks to a patch from "Konstantin Boldyshev" 
942             <konst@voshod.com>.
943         * Grep -i previously failed on UPPER CASE patterns due to a silly 
944             regexp implementation bug that is now fixed.
945         * Fixed a bug where tar would set, and then clear SGID and SUID bits.
946         * Fixed a bug where tar would not set the user and group on device
947             special files.
948         * Fixed a bug where tar would not restore the time to files.  Fixed a
949         * major security problem with tar -- it changed ownership 
950             of any file pointed to by a symlink to 777 (like say libc....)
951             Ouch!!!
952         * cp and mv were very broken when moving directories.  I have rewritten 
953             them so they should now work as expected. 
954         * sed now supports addresses (numeric or regexp, with negation) and 
955             has an append command, thanks to Marco Pantaleoni <panta@prosa.it>
956         * Fixed dmesg.  It wasn't parsing its options (-n or -s) properly.
957         * Some cosmetic fixes to ls output formatting to make it behave more
958             like GNU ls.
959         * Fixed a stupid segfault in kill.  Several fixes from Friedrich Vedder
960         * <fwv@myrtle.lahn.de>:
961             - Added gunzip -t, removed gunzip.c dead code,
962             - fixed several typos
963             - Glibc 2.0.7 and libc5 compile fixes
964         * Fixed a bug where 'mknod --help' would segfault.
965             
966
967         -Erik Andersen, Jan 07, 2000
968
969 0.39 
970         * New Apps: ping, hostname, and mkfifo contributed by Randolph Chung
971             <tausq@debian.org>.  3 items off the TODO list!
972         * I wrote free (just calls "cat /proc/meminfo").  Added tail, based on
973         * tail from GNU textutils-1.19, but adjusted
974             to suit my evil purposes.  Costs 6k.  I'll make it smaller
975             sometime.
976         * on reboot, init called 'umount -a -n', which caused errors
977             when CONFIG_MTAB was not enabled.  Changed to 'umount -a', which does
978             the right thing.
979         * init will now try to run /sbin/getty if it is present (for easy
980             integration with the about-to-be-released tinylogin.)
981         * kill now behaves itself properly, added 'kill -l' to list signals 'ls
982         * -l' was failing on long directories, since my_getid was leaking 
983             one file descriptor per file.  Oops.
984         * Fixed rebooting from init.  I'd accidently left some debugging code
985         * in
986             which blocked reboots.
987         * Fixed reboot, halt (and added poweroff) such that they handle it when
988             init is not at PID 1 (like when running in an initrd).
989         * Added a prelinary du implementation.  Some parameter parsing
990             stuff still needs to be added. -beppu (John Beppu
991             <beppu@lineo.com>)
992         * Implemented tee.  -beppu Implemented head. -beppu
993
994         -Erik Andersen, Dec 10, 1999
995
996 0.38
997         * Fixed a segfault in 'umount -a' when a badly formed /etc/fstab
998             file existed.
999         * df will not exit on error, but will stat all mounted filesystems.
1000         * Fixed tar so uid/gid/permissions on extracted tarballs will be 
1001             correct.
1002         * Fixed find -name so it properly uses shell wildcard patterns 
1003             (i.e. `*', `?', and `[]') instead of regular expressions, which
1004             was causing some confusing and unexpected behavior.
1005         * Added klogd to syslogd, so now the log will contain both system and
1006             kernel messages.
1007         * syslogd now creates the /dev/log socket to make sure it is there, and
1008             is actually a socket with the right permissions.
1009         * I've taken a first step to making busybox not need the /proc 
1010             filesystem.  Most apps don't need it.  Those that _require_ it, 
1011             will complain if you enable them when you disable 
1012             CONFIG_FEATURE_USE_PROCFS.
1013            
1014         -Erik Andersen, Dec 5, 1999
1015
1016 0.37
1017         * Wrote a micro syslogd, and a logger util (to log things to the syslog
1018             from the command line or scripts)  With both compiled in, costs 4k.
1019         * Fixed 'make install' so symlinks are installed in their proper
1020         * locations.  Changed the build system slightly so that features can
1021         * now be enabled
1022             or disabled from the busybox.defs.h header file, without trying to
1023             compile in a source file named after that featue (unless that file
1024             exists).
1025         * Several options are now moved into busybox.defs.h Now 'rm -R' and 'rm
1026         * -r' both work.  dd now properly handles input beyond 1 block from
1027         * stdin.  Fixed a bug where tar unpacked everything a directories.
1028         * Moved some code 
1029             from createPath into mkdir where it belonged, thereby making tar
1030             work properly.
1031         * Fixed an off-by-one bug in cat.  Given a list of file it wouldn't cat
1032         * out the
1033             last file in the list.
1034         * Fixed 'ls -ln' so numeric group/uid are presented properly, and fixed
1035         * 'ls -l' 
1036             so when uid/gid is not in /etc/{passwd,group} the numeric group/uid
1037             are presented properly.  
1038         * Also added a TODO.
1039
1040
1041         -Erik Andersen, Nov 25, 1999
1042
1043 0.36
1044         * fixed dd so it properly defaults to stdin and stdout when no 
1045             if= and of= are set (fix thanks to Eric Delaunay).
1046         * Don't try to close the file descriptor of a pipein tar. (fix also
1047         * from
1048             Eric Delaunay).
1049         * Made createPath be quiet (again thanks to Eric Delaunay).  If
1050         * CONFIG_CONSOLE_CMD_IF_RC_SCRIPT_EXITS is defined, then whatever
1051             command you define it as will be run if the init script exits.
1052         * Updated install.sh to make it more robust (thanks to Adam Di Carlo)
1053         * NFS support added to mount by Eric Delaunay.  It costs 10k when
1054         * compiled
1055             in, but that is still a big win for those that use NFS.
1056         * Made 'rm -f' be silent for non-existant files (thanks to Eric
1057         * Delaunay).  changed zcat.c to gunzip.c.  It now obeys the principle
1058         * of least surprise 
1059             and acts as god intended gunzip and zcat to act.  They answer
1060             --help and obey the '-c' flag.
1061         * Fixed a bug in mv which caused it to not move files when the
1062         * destination
1063             was a directory.
1064         * Fixed a decimal-instead-of-octal bug causing mkdir to make
1065         * directories
1066             with very wrong permissions.
1067         * chmod would overwrite file permissions instead of modifying them.
1068             Now it properly modifies permissions.
1069         * Init now sends warnings destined for the console to /dev/console to
1070         * ensure
1071             they show up on whatever the active console it.  Otherwise
1072             important messages (for example that the system is rebooting) were
1073             not seen when switched to a different VT.
1074
1075         -Erik Andersen, Nov 17, 1999
1076         
1077 0.35
1078         * gzip now obeys the principle of least surprise and acts like god
1079         * intended 
1080             (i.e. it accepts a file name, answers --help, and obeys the '-c'
1081             flag and only then outputs to stdout).
1082         * Fixed more.c to compile autowidth on sparc and set initial winsize 
1083             to 0,0 in case the TIOCGWINSZ ioctl fails.  Fix thanks to Eric
1084             Delaunay.
1085         * Fixed tar so it now works as expected (it had TRUE/FALSE backwards)
1086         * tar now accepts --help chmod, chown, and chgrp usage now works
1087         * General usage (i.e. --help) cleanups for most apps umount now parses
1088         * options correctly tar can now unpack tarballs containing device
1089         * special files, 
1090             sockets, and fifos (though it can't pack them up) thanks to Matt
1091             Porter.  Creating archives containing these is still left to the
1092             interested student.
1093         * fixed up the license in more.c to properly point to Bruce Perens.
1094
1095         -Erik Andersen, Nov  11, 1999
1096
1097 0.34
1098         * ls -l now displays link names outside the current directory,
1099             Patch thanks to Eric Delaunay
1100         * init now properly handles sparc serial consoles and does a
1101             better job of finding the real console device rather than using
1102             /dev/console which doesn't support job control. Patch also thanks
1103             to Eric Delaunay.
1104         * more started to read from stdin after the last file was finished, and 
1105             options were not parsed correctly (fix thanks to Eric Delaunay).
1106         * more will now use the terminal size if CONFIG_FEATURE_AUTOWIDTH is on.
1107         * rm wouldn't remove a symlink unless the symlink was valid.  This was
1108             a side effect of the busybox 0.32 recursiveAction() fix.  Things
1109             should now work correctly.
1110         * grep wouldn't grep stdin.  Now it does.  sed wouldn't sed stdin.  Now
1111         * it does.  sed was appending a \n to the end of lines with
1112         * replacements.
1113             Now it doesn't do that.
1114         * ls -l now bypasses libc6 nss when displaying user/group names.
1115             Now uses my_getpwuid and my_getgrgid.
1116
1117          -Erik Andersen, Nov  8, 1999
1118
1119 0.33
1120         * Fixed a bug where init could hang instead of rebooting.
1121         * Removed some debugging noise from init.c
1122         * Fixed ln so it works now (it was very broken).
1123         * Fixed df so it won't segfault when there is no /etc/fstab,
1124         * If CONFIG_MTAB is not defined, df and mount will whine if /etc/fstab
1125             is not installed (since they cannot fixup "/dev/root" to 
1126             state the real root device name)
1127         * merged some redundant code from mtab.c/df.c into utility.c
1128
1129          -Erik Andersen, Nov  5, 1999
1130
1131 0.32
1132         * More changes -- If you have any problems please let me know ASAP at
1133             andersee@debian.org
1134         * usage() now prints the BusyBox version.  This will help folks
1135             realize that they are not in Kansas anymore.
1136         * Fixed mkdir -m option so that it works.  kill segfaulted w/o any
1137         * arguments.  Now it doesn't do that.  kill wasn't properly accepting
1138         * signal names.  It does now.  Added new apps chvt and deallocvt (I
1139         * should probably add open) Major rewrite of init.c.  Code is now
1140         * readable by mere mortals IMHO.  Wrote sed -- weighs only 1.8k (5.8k
1141         * with full regular expressions!).  Fixed a stupid seg-fault in sync
1142         * Fixed mount -- mount -a failed to parse and apply mount options Fixed
1143         * umount -n (patch thanks to Matthew Grant <grantma@anathoth.gen.nz>)
1144         * umount -a no longer umounts /proc Added CONFIG_MTAB, allowing (at the
1145         * cost of ~1.5k and the need for a rw /etc)
1146             folks to use a real /etc/mtab file instead of a symlink to
1147             /proc/mounts.  mount, and umount will add/remove entries and df
1148             will now use /etc/mtab if CONFIG_MTAB is defined. 
1149         * Fixed a nice bug in recursiveAction() which caused it to infinitely
1150             hunt through /proc/../fd/* creating new file descriptors if it
1151             followed the /dev/fd link over to /proc.  recursiveAction() now
1152             lstat's the file when followLinks==FALSE so it won't follow links
1153             as the name suggests.  Fix thanks to Matt Porter
1154             <porter@debian.org>.
1155
1156
1157          -Erik Andersen, Nov  4, 1999
1158
1159 0.31
1160         * I added a changelog for version 0.30.  adjusted find internals to
1161         * make it smaller, and removed 
1162             some redundancy.
1163         * Fixed a segfault in ps when /etc/passwd or /etc/group 
1164             are absent.  Now will warn you and carry on.
1165         * Added in optional _real_ regular expression support (to be
1166             the basis for a future sed utility).  When compiled in it adds
1167             3.9k, but makes grep much more capable.
1168         * Checked out using nftw(3) for recursive stuff, but unfortunatly
1169             it wasn't supported before GNU libc 2.1, and some folks use glibc
1170             2.0.7 since it is much smaller than that latest and greatest.
1171
1172          -Erik Andersen, Oct 21, 1999
1173
1174 0.30
1175         Major changes -- lots of stuff rewritten.  If you have any problems 
1176         with busybox, or notice any bugs -- please let me know so I can fix 
1177         it.  These changes include:
1178
1179         Core Changes:
1180             * busybox can now invoke apps in two ways: via symlinks to the
1181                 busybox binary, and as 'busybox [function] [arguments]...'
1182             * When invoked as busybox, the list of currently compiled in 
1183                 functions is printed out (no this is not bloat -- the list has
1184                 to be there anyway to map invocation name to function).
1185             * busybox no longer parses command lines for apps or displays their
1186                 usage info.  Each app gets to handle (or not handle) this for
1187                 itself.
1188             * Eliminated monadic, dyadic, descend, block_device, and 
1189                 postprocess.  It was cumbersome to have so many programs
1190                 cobbled together in this way.  Without them, the app is much
1191                 more granular.
1192             * All shared code now lives in utility.c, and is properly
1193                 ifdef'ed to be only included for those apps requiring it.
1194             * Eliminated struct FileInfo (the basis of monadic, dyadic, etc)
1195                 so now each app has the function prototype of (da-dum): extern
1196                 int foo_main(int argc, char** argv); which speeds integration
1197                 of new apps.
1198             * Adjusted the Makefile to make it easier to 
1199                 {en|dis}able debugging.
1200             * Changed default compiler optimization to -Os 
1201                 (optimize for smaller binaries).
1202
1203         App Changes:
1204             * To cope with the new app function prototype and the removal of
1205                 monadic, dyadic, etc, the following apps were re-written:
1206                     * cat - Works same as always.  chgrp, chmod, chown -
1207                     * rewrite.  Combined into a single 
1208                         source file.  Absorbed patches from Enrique Zanardi
1209                         <ezanard@debian.org> that removes the dependency on
1210                         libc6 libnss* libraries.
1211                     * cp - Can now do 'cp -a' can can copy devices,
1212                         pipes, symlinks, as well as recursive or non-recursive
1213                         dir copies.
1214                     * fdflush - adjusted to remove dependancy on struct
1215                     * FileInfo.  find - Now includes some basic regexp matching 
1216                         which will be the basic of a future mini-sed.
1217                     * ln - Same functionality.  mkdir - Added -p flag to
1218                     * feature set.  mv - rewrite.  rm - Added -f flag to
1219                     * feature set.  rmdir - Same functionality.  swapon,
1220                     * swapoff - Combined into a single binary. No longer
1221                         uses /etc/swaps.  swap{on|off} -a uses /etc/fstab
1222                         instead.
1223                     * touch - Same functionality.  date - adjusted with a patch
1224                     * from Matthew Grant <grantma@anathoth.gen.nz>
1225                 to accomodate glibc timezone support.  I then ripped out GNU
1226                 getopt.
1227             * mkswap -- new version merged from util-linux.  Can now make 
1228                         >128Meg swaps.  
1229                 * Replaced the old and star, unstar, and tarcat with the tar 
1230                         implementation from sash.   Now tar behaves as god intended it
1231                         to (i.e. tar -xvf <file> and tar -cf <file> <dir> work).
1232             * dd -- rewritten.  Can with with files, stdin, stdout.  Added the
1233             * following new apps: loadfont -- added from debian boot floppies
1234             * chroot -- added based on a patch from Paolo Molaro
1235             * <lupus@lettere.unipd.it> grep -- I just wrote it.  Only matches
1236             * simple strings ps -- I just wrote it.  Has _no_ options at all,
1237             * but works.  fsck_minix, mkfs_minix -- added from util-linux, but
1238             * I ripped out
1239                         internationalization and such to make them smaller.
1240                     * sfdisk -- Added from util-linux (minus
1241                     * internationalization and such).  Probably some other
1242                     * changes that I forgot to document...
1243
1244          -Erik Andersen, Oct 20, 1999
1245
1246 0.29    
1247         This version was a messy pre-alpha.  stay away or it will bite you.
1248          -Erik Andersen, Sep 24, 1999
1249         
1250 0.28    
1251         mini-netcat (mnc) rewritten.
1252         
1253 0.27
1254         Mount now supports -a, and -t auto.
1255         Mount now updates mtab correctly for 'ro'.
1256         More checks screen rows size, outputs bytes percentage.
1257         Printf added as module.
1258 0.26
1259         Touch now creates files. -c option for no create.
1260