BUSYBOX
BusyBox
About Documentation Get BusyBox Development

Links

Developer Pages

  • The Software Freedom Conservancy acts as the GPL enforcement agent for various BusyBox copyright holders. If you wish to report a GPL violation on BusyBox, please write to gpl@busybox.net.

  • I want to thank the following companies which are providing support for the BusyBox project:

    • AOE media, a TYPO3 development agency contributes financially.
    • Analog Devices, Inc. provided a Blackfin development board free of charge. Blackfin is a NOMMU processor, and its availability for testing is invaluable. If you are an embedded device developer, please note that Analog Devices has an entire Linux distribution available for download for this board. Visit http://blackfin.uclinux.org/ for more information.

  • 22 April 2012 -- BusyBox 1.20.0 (unstable)

    BusyBox 1.20.0. (git, patches, how to add a patch)

    Sizes of busybox-1.19.4 and busybox-1.20.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     840348     473    7508  848329   cf1c9 busybox-1.19.4/busybox
     843717     473    7500  851690   cfeea busybox-1.20.0/busybox

    Changes since previous release:

    Aaro Koskinen:
          cttyhack: handle multiple consoles found in sysfs
    
    Alexander Shishkin:
          cttyhack: print detected ctty name when called without parameters
    
    Alexey Fomenko:
          kill: fix segfault in arguments parsing
    
    Baruch Siach:
          networking: consolidate the IP checksum code. -129 bytes
          udhcp: remove the declaration of non-existent udhcp_checksum
    
    Bernhard Reutner-Fischer:
          Config: fix wording in help-text
          Config: clarify {SHOW,VERBOSE,COMPRESS}_USAGE
          bloat-o-meter: handle huge (hex) sizes
          bloat-o-meter: remove unused code
    
    Christian Engelmayer:
          syslogd: work around rename() not renaming hardlinks to themselves
    
    Cristian Ionescu-Idbohrn:
          ps: fix for !FEATURE_PS_LONG build
    
    Dan Fandrich:
          rx: fix file corruption with duplicate blocks
    
    Daniel Fandrich:
          android build system updates
          rx: fix file corruption on block checksum failure
          configs/android_defconfig: update
    
    Dave Love:
          mount: support -o noacl
    
    Dennis Groenen:
          vi: add ":prev" command support
    
    Denys Vlasenko:
          build system: detect missing crypt and drop it from linking
          build system: fix broken CONFIG_SYSROOT handling
          build system: remove bogus $(1) in last commit
          libarchive: move seamless .Z support into unpack_gz_stream
          libarchive: update seamless uncompression code
          libarchive/decompress_unzip.c -> decompress_gunzip.c. no code changes
          libbb.h: add check for bad off_t size detection
          libbb.h: remove unused defines
          libbb/bb_strtonum: always set end ptr, even on error return
          libbb/procps.c: make fast_strtoul_10() stop on '\n' too
          libbb: make xchroot do a chdir("/") after chroot
          libbb: remove is_directory's argument which is always NULL
          libbb: shrink base64 decoding a bit
          platform.h: define endgrent() and endpwent() as no-ops on Android
          libpwdgrp/pwd_grp.c: set opened /etc/{passwd,group,shadow} fds CLOEXEC
          libpwdgrp/pwd_grp.c: use same static buffer for all getpwXX functions
          lineedit: add support for M-b, M-f, M-d, M-Backspace
          lineedit: add support for history saving on exit
          lineedit: fix atomic replace of history file
          lineedit: remove SAVE_HISTORY bit, ->hist_file can be used as indicator
          applets_sh/nologin: an applet implemented as shell script
          acpid: close fds which are reported as dead (POLLERR/POLLHUP/POLLNVAL) by poll
          acpid: do not install handlers for fatal signals
          applet_tables: fix single applet build failure. Closes 4009
          ash: in standalone mode, search in $PATH if /proc/self/exe doesn't exist
          awk: fix a SEGV
          awk: next_input_file can return NULL, don't SEGV in this case
          blkid: if parameters are given, do not scan /dev
          bzcat: fix unpacking of more than one file, and unpacking of zero-size bz2. Closes 4393
          chpasswd: fix possible free() or non-allocated string. +8 bytes
          conspy,nandwrite,nanddump: enable in defconfig
          crond: fix the case when option -d is disabled
          cttyhack: move /sys/class/tty/console/active check to the front
          date: extend help text to explain compat date format. Closes 4820
          dhcpc: fix the case where we might add extra space at the end of envvar
          gen_build_files.sh: simplify "print everything up to INSERT line" part
          gen_build_files: don't pass 200k+ strings as params. Closes 4321
          get_header_tar: shrink 6->64 sign extension code
          getty,login: tighten up handling of ctty, pgrp, and tty attr restoring on timeout
          getty: Hurd has no CBAUD, work around that
          getty: add O_NONBLOCK to open which is used to drop ctty
          getty: fix a minor problem of Ctrl-D not printing '\n'
          getty: remove now not needed resetting of ALRM to to SIG_DFL
          getty: reset tty attrs on Ctrl-C and Ctrl-D too
          hexdump: fix hexdump -n1 -ve '8/2 ""' SEGV. Closes 4478
          hostname: make -i not emit extra trailing space
          httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used
          httpd: fix /../ sanitization (had one extra semicolon)
          httpd: fix MD5-encrypted-in-httpd.conf password logic
          httpd: fix sendfile of files larger than 2 Gb. Closes 4754
          httpd: make byte ranges which start at 0 work too. Closes 4766
          httpd: remove redundant NULL assignment and save one strrchr. -8 bytes
          hush: fix $HISTFILE handling
          hwclock: fix wrong comparison of time value (when it will overlow int)
          inet_cksum: big-endian fix
          inetd: close new udp fd in "udp nowait" case
          init: add a segv debugging aid, disabled by default
          init: utmp update of DEAD_PROCESS was misplaced, and could be skipped
          killall5: don't do STOP/CONT dance if the signal we send is SIGSTOP or SIGCONT
          less: fix for screen size detection
          losetup: implement -r option. Closes 4033
          makemime: content-type should default to application/octet-stream
          makemime: fix -a option not taking parameter
          mdev: do not treat non-leading '#' chars as start of comment. Closes 4676
          mdev: don't reparse rules on -s
          mdev: fix mode of created node if config file support is not configured
          mke2fs: do not zero out first kilobyte. Closes 3247
          mktemp: add support for -u
          modinfo: make it select PLATFORM_LINUX. Closes 4411
          mount: free commented /etc/filesystems lines when we read it
          mount: make FEATURE_MOUNT_NFS not needed for Linux 2.6.23+
          mount: resolve hosts to IPs in NFS mounts
          nc: support "-e PROG" form of -e option
          nmeter: fix block i/o count on newer Linux kernels
          nommu: fix cases where we mangle argv[0][0]
          ntpd: avoid printing messages between send and recv: good for fast networks
          ntpd: drop offset averaging code
          ntpd: experimental code to correct frequency a bit more aggressively
          ntpd: fix a case when discipline_jitter = 0 if we step
          ntpd: fix build failure if !NTPD_SERVER. Closes 4994
          ntpd: fix offset adjustment after step, better step printing
          ntpd: increase OPT_qq constant to not collide with -L
          ntpd: log clock drift with three digits after decimal point
          ntpd: log jitter on update too; increase assumed clock precision x2 - to 2ms
          ntpd: make "reply from IP" messages more uniform
          old_e2fsprogs/blkid: close the fd after we are done with it
          passwd,cryptpw: make default encryption algorithm configurable
          patch: add a test we currently fail
          ping: display real IPv6 response address. Hopefully closes 3745
          preparatory cleanups for seamless uncompression improvements
          printf: fix this case: printf "%b" '\0057usr\0057bin\n'
          ps: add support for -l for !DESKTOP
          pwd: implement -LP if DESKTOP
          sed: fix possible case of signed char bug; expand debugging printouts
          sed: fix range handling for sed -i. Closes 4069
          sendmail: don't talk until 220 code is seen. Closes 3487
          sendmail: stop doing -t unconditionally; makemime: generate 76 char base64 lines
          shell_builtin_read: set cc[VMIN] to 1; lineedit: don't clear c_cc[VINTR]
          ssd: compat: match -x EXECUTABLE by /proc/pid/exe too
          start_stop_daemon: set complementary group ids too. Closes 3253
          stty: trim too verbose error messages (-40 bytes)
          swapoff: do not pass "p" in opt_complementary
          syslogd: fix missing newline problen in memory log buffer. Closes 4159
          tail: fix -c +N. Closes 4111
          tar,rpm2cpio: check that child decompressor did not error out
          tar: add support for PAX-encoded path=LONGFILENAME
          test: "test !" was accessing argv past NULL - fix it. Closes 4832
          tftp: mode string is case independent
          tftpd: chroot to DIR, not merely chdir. Closes 4874
          top: fix CPU% for thread display. Closes 4081
          tune2fs: add support for -C MOUNT_COUNT. +40 bytes. Closes 3901
          ubi_tools: add workaround for bad kernel headers. Closes 4838
          udhcp: make arpping code resistant to time jumps
          udhcpc6: new applet
          udhcpc6: rudimentary code to export data to script; fix IAADDR parsing
          udhcpc[6]: remove -B from udhcpc6 and "--version" from both
          udhcpc: add support for DHCP option 212 (RFC 5969)
          udhcpc: deprecate --hostname NAME
          udhcpc: fix 6rd option formatting (was using 4 more bytes than there is)
          udhcpc: fix improper size calculation for OPTION_STRING_HOST
          udhcpc: in fill_envp, export BOOTP fields first
          udhcpc: remove unused argument in sprint_nip6
          udhcpc: remove workaround for bugs in Win98 dhcp server ("MSFT 98" vendor string)
          udhcpc: reuse string constant; remove unneeded memset(0)
          udhcpc: sanitize hostnames in incoming packets. Closes 3979
          udhcpc: shrink code by setting xid more economically
          umount: make -d always active, add -D to suppress it
          uncompress: die on read errors
          uncompress: fix buffer underrun by corrupted input
          unzip: fflush stdout before reading interative y/n answer from stdin
          uudecode: fix buggy check for empty filename
          vconfig: small code shrink. Closes 4658
          vi: fix [end] key handling
          vi: move mark[i] pointers if text[] moves after realloc
          vi: prevent unlimited recursion in do_cmd(). Closes 4153
          wget: URL-decode user:password before base64-encoding it into auth hdr. Closes 3625
          wget: fix use-after-free on redirect
    
    Felipe Contreras:
          modprobe: accept -b even if blacklist functionality is disabled
    
    Flemming Madsen:
          ps: with -l, show STIME too
          inotify: if PROG is -, print events to stdout
    
    Ian Wienand:
          find: fix -follow support
          gzip: new GZIP_BIG_MEM option
          login: new option LOGIN_SESSION_AS_CHILD
          du: use long long for size field
    
    Javier Viguera:
          find_mount_point: fix find_mount_point for char devices
          mdev: fix wrong sizeof
    
    Jonh Wendell:
          Make unix (local) sockets work without IPv6 enabled
    
    Karol Lewandowski:
          mount: handle list of comma-separated fs types in -t option
    
    Kevin Cernekee:
          cttyhack: remove the trailing newline when reading console name from sysfs
    
    Lauri Hintsala:
          ifupdown: remove interface from state_list if iface_up fails
    
    Lauri Kasanen:
          grep: be GNU compatible with -f EMPTY_FILE
          depmod: supply help text
    
    Leonid Lisovskiy:
          udhcp: IF_UDHCP_VERBOSE() macro - improve code readability
          libbb: split decode_base64 off read_base64
    
    Matthias Andree:
          Fixes for FreeBSD build
    
    Michael McTernan:
          udhcp: finish support of classless static routes
    
    Natanael Copa:
          ifupdown: support metric for static default gw
          grep: support for -x, match whole line
    
    Oliver Metz:
          disable strverscmp usage if we build against uClibc-0.9.31
    
    Pascal Bellard:
          conspy: add framebuffer support, -Q option
          httpd: make it possible to use system passwords for auth
          httpd: small fixes to previous change
    
    Paulius Zaleckas:
          vconfig: remove /proc/net/vlan/config check
          gen_build_files.sh: exclude hidden directories
    
    Pere Orga:
          hostid: fix behavior on identifiers starting with zeros
          applets_sh/*: add a few more examples of "shell applets"
    
    Peter Korsgaard:
          fbsplash: limit progress bar flicker
          fbsplash: support 8bit mode
          ifupdown: support post-up / pre-down hooks
          bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemon
    
    Quentin Casasnovas:
          bootchartd: add process accounting feature
    
    Rob Landley:
          patch: make it able to create files (again)
          patch: make -p count path components, not slashes (think /blah//thing)
    
    Rob Walker:
          Add SYSROOT, EXTRA_{LDFLAGS,LDLIBS} config opts; sample Android NDK config
          httpd: emit correct content length on range requests past the end. Closes 4952
    
    Sergey Naumov:
          login: -f should not ask for password even with PAM
    
    Sonic Zhang:
          depmod.pl: output correct dep format according to kernel version
    
    Sven Oliver Moll:
          lsof: new applet
    
    Timo Teras:
          mkdir: fix permissions on 64-bit platforms
    
    Tristan Schmelcher:
          Fix link failure on some platforms when PAM is enabled
    
    Vladislav Grishenko:
          udhcpc: on SIGUSR1, limit renew attempts time to 20 seconds; then do total reconfig
    
    Yin Kangkai:
          fbsplash: use line_length instead of xres * bytes_per_pixel
    
    walter harms:
          touch: add new option FEATURE_TOUCH_SUSV3
    

  • 4 February 2012 -- BusyBox 1.19.4 (stable)

    BusyBox 1.19.4. (git, patches, how to add a patch)

    Bug fix release. 1.19.4 has fixes for getty (build fix for systems without CBAUD), mdev (error in mdev.seq handling if sequence number is >999), modinfo (made it select PLATFORM_LINUX), wget (fixed use-after-free on redirect).

  • 29 October 2011 -- BusyBox 1.19.3 (stable)

    BusyBox 1.19.3. (git, patches, how to add a patch)

    Bug fix release. 1.19.3 has fixes for build system, chpasswd, crond, inetd (fix open fd leak), syslogd (fix problem with in-memory log buffer), tail (fix for 'tail: -c +N' with large N), tftp (made mode check case-insensitive).

  • 6 September 2011 -- BusyBox 1.19.2 (stable)

    BusyBox 1.19.2. (git, patches, how to add a patch)

    Bug fix release. 1.19.2 has fixes for FreeBSD build, build fix for match_fstype.c, ash/hush (history file saving fixes), cttyhack (/sys/class/tty/console/active has trailing newline, account for that), find (fix for -follow), grep (fix for "grep -f EMPTY_FILE" usage), less (fix for windows sizing via "ESC [ 6 n"), patch (fix handling of patches which create files) sed (fix for range match with option -i), top (fix for thread accounting), uncompress (fix for certain cases of corrupted input), swapoff.

  • 13 August 2011 -- BusyBox 1.19.0 (unstable)

    BusyBox 1.19.0. (git, patches, how to add a patch)

    Sizes of busybox-1.18.5 and busybox-1.19.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     837577     493    7516  845586   ce712 busybox-1.18.5/busybox
     839598     493    7508  847599   ceeef busybox-1.19.0/busybox

    Changes since previous release:

    Alexander Shishkin:
          diff: return 1 when skipping directories with -r, but without -N
    
    Alexey Fomenko:
          libbb: remove dead code in getopt32
          lineedit: fix rare SEGV
          route: add missing fclose's
          ifupdown: don't leak malloced variables in the loop; remove double alloc
          md5/sha1sum: fix small resource leak
    
    Alexey Soloviev:
          date: preserve isdst value if date is in time_t (unix time) format
    
    Bernhard Reutner-Fischer:
          mount: for NFS use tcp per default rather than udp
          inetd: check if RPC is available
    
    Bogdan Harjoc:
          find: implement -ipath
    
    Chris Rees:
          build system: do not use GNU-isms in find
          FreeBSD compat patches
    
    Dan Fandrich:
          simplify Ethernet header includes
          use the built-in getline on more systems that don't have it
          hush: support set -o xtrace/noexec alternates for set -x/-n
          fbsplash: display images even when a second buffer is active
          blockdev: add --getsz to replace --getsize
          platform.h: support for build under Android
    
    Daniel Fandrich:
          replaced __u32 etc with standard uint32_t style types
          support configuring Busybox from _defconfig files
          add defconfig files for Android, Cygwin and FreeBSD
    
    Davide Cavalca:
          hwclock: implement --systz
          syslogd: add and use CONFIG_FEATURE_SYSTEMD
    
    Denys Vlasenko:
          use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619
          improve --install operation in chroot jails
          incorporate header fixes proposed in bug 3097
          remove erroneous dependencies on INSTALLER
          remove old "define lchown chown"
          replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
          use user's shell instead of hardwired "/bin/sh" (Android needs this)
          disable automatic selection of FEATURE_SUID
          if only one applet is enabled, make "busybox applet [params]" work as expected
          fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775
          scripts/kconfig/mconf.c: stop-gap fix for buffer overflow
          libbb/login/su: do not sanitize shell name twice
          libbb/progress.c: make sure we never get negative ETA
          libbb/progress.c: use unicode support funcs instead of open-coding it
          libbb/progress.c: better overflow protection; more precise bar
          libbb/progress.c: display >999 hours ETA correctly
          libbb/progress.c: fix bugs found in stall detection and unknown size logic
          libbb/read_cmdline: prepend {comm} if different from argv0. Closes 3835
          libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe
          libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr
          libbb: make user/group name cache strings longer (~27 chars)
          libbb: optionally support RTMIN[+n] and RTMAX[-n] signal names
          libbb: spawn should remove child which failed to exec
          libbb: use _unlocked variants of stdio I/O
          lineedit: implement optional Ctrl-R history search
          lineedit: fixes for CONFIG_UNICODE_USING_LOCALE=y
          main: free suid_config list after use
          main: make busybox.conf mode handling less obscure
          ash: fix ash-signals/signal8 testcase failure
          ash: fix execution of shell scripts without shebang
          ash: optional support for $TMOUT variable
          ash,hush: add ulimit -e -r (RLIMIT_NICE, RLIMIT_RTPRIO)
          ash,hush: optional support for $HISTFILESIZE
          ash,hush: recheck LANG before every line input
          hush: do not print killer signal's name for SIGPIPE
          hush: fix "cmd & <newline>" problem
          hush: fix FEATURE_CLEAN_UP code (was freeing unallocated memory)
          hush: fix a case where return in sourced file has no effect
          hush: fix a corner case of empty "do \n done" structure
          hush: fix incorrect PS2 display and trap handling while reading command
          hush: fix login shell's signal handling; add -l option so that it's easier to test
          hush: fix misparsing of "... do eval a= ...". Closes 3721
          hush: fix bugs with IFS expansion. Closes 4027
          hush: fix source1.tests
          hush: fix wrong prompt problem on empty interactive commands
          hush: fixes and small shrink for HUSH_JOB!=y
          hush: improve prompt in nested {}s
          hush: make parse errors in sourced file non-fatal in interactive script
          hush: make read builtin interruptible
          hush: replace signal handling machinery
          hush: use FEATURE_SH_NOFORK to enable NOFORK trick
          adduser: prefer to call addgroup --gid, not non-std addgroup -g
          adduser: safe username passing to passwd/addgroup
          basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument
          blkid: optional support for TYPE="fstype"
          busybox.conf: USER.GROUP is _optional_
          busybox: fail if --install is not given an absolute path
          bzip2: plug memory leak on every processed file
          chrt: -m can be used without any arguments. Closes 2989
          chrt: correct opt_complementary. Closes 2977
          cpio: allow cpio -i to take params - names of files to extract
          date,touch: treat 2-digit years better (fit them into +-50 yrs around today)
          date: add a comment about _SVID_SOURCE
          dc: fix a case where we can run off malloced space
          die_if_bad_username: tighten up a bit
          echo: do not retry on write errors
          echo: fix ENOSPC detection and some iffy code in \NNN handling
          echo: fix SEGV when run with no args
          fbset: abort on unknown options. Closes 3121
          fbset: apply modelines. Closes 3823
          fdisk: make FDISK_SUPPORT_LARGE_DISKS redundant when LFS=y
          fdisk: reinstate a short sleep between sync() and ioctl(BLKRRPART)
          fdisk_osf: simplify ifdef (incidentally, adds support for Microblaze)
          find: cater for libc w/o FNM_CASEFOLD
          find: fix a bug in !ENABLE_FEATURE_FIND_XDEV config
          find: print/print0/prune _can_ be inverted, fix it
          find: remove the hack we use to parse options first, replace with simpler code
          fuser: fix inverted access() check. Closes 3799
          getty: add sleep before initial tcdrain; reduce another sleep from 1 to 0.1s
          getty: do clear CLOCAL and CRTSCTS unless told otherwise
          getty: do not clear all c_cflag's (we were clearing baud bits!)
          getty: document bits we don't set - maybe we should set some of them?
          getty: fix -i (was ignored)
          getty: flush _only_ input after switching to the next baud rate
          getty: simplify macros; improve VSWTC[H] compat
          halt/reboot: better message if /sbin/telinit is not found
          httpd: send correct mtime for .gz files
          hwclock: use locale-specific date output format
          id: correct getgroups usage
          id: fix inverted if (!ENABLE_DESKTOP)
          init: fix a case where execv's 1st arg was wrong
          init: simpler handling of leading dash in commands
          insmod: check for module read errors
          insmod/modprobe: fix parameter loading problem for 2.4 kernels. Closes 3223
          iplink: tweak includes to work on Android
          iproute: fix handling of "dev IFACE" selector
          iproute: fix parsing and matching of "short" IP addrs like 10/8
          kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAX
          klogd: fix the problem of delayed handling of ^C and SIGTERM
          length: disable this applet
          less: optionally query terminal size via "ESC [ 6 n". Closes 2659
          ls: -g implies -l
          ls: add support for -H
          ls: fix HAVE_STRVERSCMP check; add check for older uclibc versions
          ls: fix bits for -T, -w and --color; make -n imply -l
          ls: fix handling of symlinks by option -1
          ls: fix one-bit-off which caused -H to behave as -h
          ls: for some options, only last takes effect. Closes 2959
          ls: make -F not follow symlinks of the command line
          ls: make -v and -X actually work as intended
          ls: make -x force columnar output
          ls: print a space after each column. Closes 2941
          ls: reduce memory consumption and speed up (don't do redundant [l]stat)
          ls: widen -s (1k blocks) column from 4 to 6
          lsmod: fix unsafe usage of strlen()-1
          mailutils/*: add verbose option to sendmail; remove -m and -j from makemime
          mesg: make group/all writability configurable
          mesg: operate on stdin, not on stderr (compat)
          mktemp: make it more compatible with GNU coreutils 8.4
          modprobe-small: support compressed modules in insmod
          modprobe/insmod: fix parameter quoting
          modprobe: fix "modprobe -l name-with-dash"
          more: exit if write to stdout errors out
          more: fix tabs handling
          mount: strip multiple trailing slashes, not just one
          nmeter: deprecate %NNNd specifier, use -d MSEC instead
          ntpd: decrease ntpd -q "no response" timeout to 10 sec
          od: another fix for --strings
          od: fix "od --traditional FILE"
          od: fix -S NUM to not print chars >0x80
          parse_config: make this test applet easier to enable; fix its code
          ping: fix IPv6 pinging. Closes 3187
          ping: set not only IP_TTL, but also IP_MULTICAST_TTL
          printenv: fix environ == NULL segfault
          procps: remove PSSCAN_STAT define, users were using it incorrectly
          ps: implement -o stat
          pstree: use stdin for screen size detection
          reformime: do not require \r\n
          reset: "ESC(K" selects German, why did we use that? Change to "ESC(B" (US)
          sed: support \r in s command
          start-stop-daemon: fix "-K --test --pidfile PIDFILE" exit code
          stty: enable line discipline display and change code if __linix__
          stty: make swtch and iutf8 visible/settable
          su: document -l in --help text. Closes 2761
          tail: optimize "tail -c HUGENUM REGULAR_FILE". Closes 3763
          tar: fix a bug where autodetection + -z is messed up on extract
          tar: on extract, everything up to and including last ".." is stripped
          tar: skip leading / and handle names like abc/..////def -> def (not ///def)
          tar: store negative mtime as 0; pack very large files using base-256 encoding
          tar: support "-T -" and "-X -"
          telnetd: write utmp record with correct pid
          tftp: fix bad interaction between poll() and alarm(). Closes 3061
          tftp: fix progress bar for large (>32M) files. Closes 3499
          tftpd: add -l "log to syslog" option. Needed for inetd mode
          top: display sort indicator in memory display
          top: make it possible to feed commands via pipe
          top: replace %MEM with %VSZ in header text
          traceroute: properly reduce poll timeout
          udhcp: fix some default values from "" to NULL
          udhcpc: allow -O OPT to take numeric params
          udhcpc: emit correct secs field
          udhcpc: fix a problem with binary-encoded options
          udhcpd: reply with NAK to clients in INIT-REBOOT state w/o existing lease
          udhcpd: smaller code: do not look for REQUESTED_IP twice
          uptime: more compatible output
          wc: fix swapped -c and -m
          wget: check for final write errors for -O FILE too
          wget: chunked mode fix. Closes 3229
          wget: correctly handle rare case when we get EAGAIN _on first_ read
          wget: display 100% at the _end_ of chunked download
          wget: fix fname_out usage wrt redirects
          wget: make "wget -O FILE URL1 URL2" concatenate output
          wget: remove functions which retry on EINTR
          wget: support multiple URLs on command line
          wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfers
          wget: use closed HTTP/1.1 connection, stop when we dl'ed $content_len bytes
          xargs: support --no-run-if-empty (synonym to -r)
    
    Eric Lammerts:
          runsvdir: do not miss closely spaced service dir changes
    
    Harald Becker:
          showkey: make -a work on any stdin
    
    Ian Wienand:
          login: apply PAM environment
          ash: clear sa_flags always
          tar: ignore file size (assume 0) for hardlinks
    
    James Youngman:
          ls: remove redundant constants LIST_FILENAME and LIST_SHORT
    
    Joachim Nilsson:
          ping: add -t TTL option
          build system: fix "make install" to skip /usr when configured so
    
    Keith Young:
          udhcpc: add -B option
    
    Kevin Cernekee:
          cttyhack: check sysfs for the name of the active console
          cttyhack: fail gracefully if the device node is missing
    
    Lauri Kasanen:
          pstree: new applet
          df,find_mount_point: optionally don't ignore rootfs
          modinfo: show firmware and depends fields
          fdisk: backport disk check from util-linux
          md5/shaNsum: make -c support a list of files
    
    Macpaul Lin:
          scripts: fix fixdep.c to let it work in Cygwin
    
    Maksym Kryzhanovskyy:
          iostat: code shrink ~0.5k
          fuser: code shrink
          iostat: code shrink
    
    Marek Bečka:
          setserial: new applet
    
    Nigel Hathaway:
          udhcp: add FEATURE_UDHCP_8021Q option
          udhcpc: export unrecognized options in "optNN=XXXXXXXXX" form
    
    Nuno Lucas:
          fbsplash: add support for 24 and 32 bit color depth
    
    Pascal Bellard:
          chsum: fix
          conspy: fix lost ESC key
    
    Pere Orga:
          whois: new applet
          pwdx: new applet
          move help text from include/usage.src.h to *.c files
          wget: fix SEGV with multiple urls and redirection
          kill: fix infinite loop when passed PIDs are not valid numbers
          uptime: add config flag to allow displaying the number of users currently logged on
    
    Peter Korsgaard:
          getty: wait up to 5 seconds for the output buffer to drain
          mount: ignore unknown mount options when remounting NFS mounts
          httpd: don't send error messages with gzip encoding
          setconsole: open console for writing rather than reading
    
    Phil Sutter:
          nameif: fix parsing of /proc/net/dev
          nameif: add matching by phy_address=NUM
    
    Ralf Friedl:
          df: more compatible -P behavior
    
    Reuben Dowle:
          ubimkvol,ubirmvol,ubirsvol,ubiupdatevol: new applets
    
    Rob Landley:
          patch: fix "patch at the beginning" testcase failure
    
    Roman Borisov:
          mount: fix wrong long option names
          mount: properly update /etc/mtab on mount --move
          mount: rprivate option fix
          mount: add --rbind option support
          diff: optimize diffing of files with the same metadata
    
    Ryan Phillips:
          login: set PAM RHOST
    
    Sergey Naumov:
          syslogd: optional support for /etc/syslog.conf
    
    Serj Kalichev:
          modprobe: add support for --show-depends
          modprobe: add -D option (synonym of --show-depends)
    
    Steve Iribarne:
          pam link error with SHARED_BUSYBOX and LIBBUSYBOX enabled
    
    Timo Teras:
          modprobe: use hash table. speeds up significantly if modprobe.dep is large
          parse_config: use getline. BIG speedup with glibc (~40%)
          platform.c: provide getline implementation
    
    Tito Ragusa:
          passwd,chpasswd: reset password in /etc/passwd to "x" if /etc/shadow was updated
          groups: new applet
          users: new applet
    
    Vitaly Magerya:
          wget: --post-data=STR should not encode STR, should send it verbatim
    
    Vladislav Grishenko:
          udhcpc: use more correct, and more importantly, more understandable BPF code
          udhcpd: optional IP selection based on MAC hash
    
    Wade Berrier:
          pkill/pgrep: support extended regular expressions
    
    Walter Harms:
          vi: fix regex search, make it selectable in config

  • 12 June 2011 -- BusyBox 1.18.5 (stable)

    BusyBox 1.18.5. (git, patches, how to add a patch)

    Bug fix release. 1.18.5 has fixes for fuser (fix error in handling of PORT/PROTO argument), hush (fix handling of while loop with empty body), build system fix (was using non-portable invocation of grep).

  • 13 March 2011 -- BusyBox 1.18.4 (stable)

    BusyBox 1.18.4. (git, patches, how to add a patch)

    Bug fix release. 1.18.4 has fixes for cksum, klogd (fix "delayed" death on signals), modutils (handling of spaces in module arguments for Linux 2.4), wget (fix for downloads encoded using chunked encoding), build system fix for "make install" and "make menuconfig".

  • 8 February 2011 -- BusyBox 1.18.3 (stable)

    BusyBox 1.18.3. (git, patches, how to add a patch)

    Bug fix release. 1.18.3 has fixes for hush (fix for "cmd & [Enter]" behavior), modprobe-small (better handling of "insmod BAD_MODULE_NAME"), modprobe (reverted bad change affecting module parameters with spaces), ping (IPv6 fix), tar (fix for "tar -xzf FILE.tgz"), udhcp (fix for options specified in hex), wc (-c and -m were swapped), libbb (fixed a case when fork+(exec error) was leaving a zombie), build system (does not force FEATURE_SUID anymore).

  • 16 January 2011 -- BusyBox 1.18.2 (stable)

    BusyBox 1.18.2. (git, patches, how to add a patch)

    Bug fix release. 1.18.2 has fixes for bzip2 (bzip2 many_files* was leaking memory), cpio (was not allowing list of extracted files on command line), httpd (now sends correct Last-Modified: header for gzipped files), hush (was showing wrong prompt on empty interactive input), mkswap (build fix for selinux-enabled config), modprobe-small (support gzipped modules in insmod), tftp (fix timing out in progress meter enabled build), and build failures in some configs.

  • 21 December 2010 -- BusyBox 1.18.1 (stable)

    BusyBox 1.18.1. (git, patches, how to add a patch)

    Bug fix release. 1.18.1 has fixes for build system for installations where sh is dash (Ubuntu is one), SEGV in sha hashing of passwords, runsvdir sometimes not noticing directory changes, compatibility with compilers which don't allow declarations inside for() statements.

  • 22 November 2010 -- BusyBox 1.18.0 (unstable)

    BusyBox 1.18.0. (git, patches, how to add a patch)

    Sizes of busybox-1.17.4 and busybox-1.18.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     831950     453    7224  839627   ccfcb busybox-1.17.4/busybox
     832282     450    7212  839944   cd108 busybox-1.18.0/busybox

    Changes since previous release:

    Alexander Shishkin:
          pmap: new applet. +1k
          add-shell, remove-shell: new applets
          *: introduce and use xmkstemp. -65 bytes
          fix out-of-tree build's recursion
          ash: fix $! value when traps are set
          ulimit: set both hard and soft limits by default
          stat: remove superfluous setXXent() calls, plug memory leak
          tail: free tailbuf upon cleaning up
          smemcap: close /proc handle upon cleaning up
          login: free fromhost upon cleaning up
          mount: pass NULL, not "", as "data" to mount syscall if we have no opts
    
    Baruch Siach:
          nandwrite: new applet
          nanddump: new applet
    
    Bernhard Reutner-Fischer:
          find_stray_empty_lines: make it work
    
    Bradley M. Kuhn:
          wget: implement -T SEC; rework progress meter to not use signals (it was unsafe)
    
    Carmelo AMOROSO:
          insmod: do not add a pair of "" around the arguments of the module
    
    Christian Hornung:
          ip: fix command line option parsing of "ip route get ..."
    
    Cristian Ionescu-Idbohrn:
          remove redundant ENABLE_DESKTOP in procps/ps.c
    
    Dan Fandrich:
          improve portability of tests
          rename a struct member from "interrupt"
          testsuite: show the number of failures after a test run
          fix some test cases
          tar: add a test for extraction of read-only directory
          avoid side effects in putc(), which may be implemented as a macro
          fix a couple of failing tar tests
          fix build failure for pmap
          mark some more applets NOEXEC/NOFORK
    
    Daniel Dickinson:
          syslogd: close/re-resolve/reopen remote sockets on some sendto() errors
    
    Denys Vlasenko:
          build system: make 3.82 compat fix. Closes bug 2323
          base64: new applet
          platform.h: regularize endian detection
          md5 and shaN: big shrink
          libbb/process_escape_sequence.c: fix recently broken handling of \\
          libbb: add xfstat function
          libbb: factor out common code from mpstat/iostat
          libbb: fix fallout from last patch to obscure() (my mistake). +143 bytes
          libbb: introduce and use common crc32 routine
          libbb: introduce and use strcpy_and_process_escape_sequences
          libbb: merge mail and uudecode's base64 decoders
          libbb: move read_base64 to libbb/uuencode.c
          lineedit: partially rewrite and clean up tab completion code
          lineedit: do not hang on error, but return error indicator
          lineedit: limit ASK_TERMINAL to the case when we can't find out the width
          *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits
          *: pass md5/shaN context pointer as 1st arg, not last
          *: use SWAP_BE64 instead of open-coding it
          shell/math.c: improved in various ways
          shell: remove lash and bbsh
          ash: add a testcase for bug 2281 (currently fails)
          ash: add another ${v/a/b} test we currently fail
          ash: add missing casts to match CTLfoo
          ash: fix another bit of var_bash4 bug
          ash: fix another bug detected by var_bash4.tests
          ash: fix dequoting error detected by var_bash4 test
          ash: fix signal and "set -e" interaction
          hush: add support for "set -o pipefail"
          hush: add support for ${var/pattern/repl}, conditional on bash compat
          hush: add support for set -x
          hush: implement brace expansion
          hush: make set -x support optional
          hush: optional support for history saving
          hush: fix EXIT trap display inside exit trap handler
          hush: fix another corner case with backslashes in heredocs
          hush: fix backslash and terminator handling in <<[-]["]heredoc["]
          hush: fix globbing+backslashes in unquoted $var expansion
          hush: fix handling of \" in quoted/unquoted `cmd`
          hush: fix handling of backslashes in variable assignment
          hush: fix improper handling of newline and hash chars in a few corner cases
          hush: fix multiple dependent variable expansion cases
          hush: fix set -- q w e; (IFS='' echo "$*"; IFS=''; echo "$*"); echo "$*"
          hush: fix var_bash3.tests and var_bash5.tests failures
          hush: fix "cmd | var=`cmd` | cmd" handling
          awk: 00.123 is not a octal constant; neither is 009.123 - fixed
          awk: fix SEGV on closing non-opened file
          bbconfig: add COMPRESS_BBCONFIG option
          cmp: with -s, do not report open errors
          crond: check mtime on crontab dir every minute, and reread if changed
          dc: make it use long longs for integer ops
          decompress_bunzip2: handle concatenated .bz2 files; speedup
          depmod: generate "new-style" modules.dep with relative paths
          diff: make diff -r much less eager to recurse into directories
          dmesg: more correct skipping of <N> perfix
          dnsd: fix 64-bit bug 2539
          dos2unix: fix SEGV when run w/o parameters
          find: add rudimentary support for -exec {} +
          free: add -b/k/m/g options; remove 4 TB limitation. +100 bytes
          free: more compatible output. +16 bytes. Closes bug 2383
          grep: cap insanely big -B NUM values to MAX_INT / 8. Closes bug 2653
          grep: fix -o match with empty string (suggested by Colin Watson (cjwatson@ubuntu.com))
          ifupdown: %client%, not %clientid%
          ifupdown: add manual method for IPv6. Closes bug 2497
          init: do not clear CRTSCTS (fix from Debian bug 528560)
          init: do not sleep forever on usage errors
          init: if PID!=1, show clearer error message
          ip: fix "ip r" breakage
          klogd: do not log partial lines
          ls: fix -lg to show group (was showing user)
          lzop: fix misordered "v=NULL; free(v)"
          man: add compatibility with man-db
          mdev: fix non-working device deletion, add a test for that
          mkswap: clear 1st kilobyte. Closes bug 1831
          mktemp: fix "mktemp /path/to/tempfile.XXXXXX"
          mktemp: fix for dir/file.XXXXXX param (by Rob). +9 bytes
          modprobe-simple: do not error out on "rmmod module" if module is unloaded ok
          modutils: explain why we no longer quote params
          mv: implement -n option
          nandwrite: complain on malformed -s NUM
          nc: fix SEGV on -v when NC_EXTRA is off
          netstat: fix IPv6 problem (garbage in scope_id)
          netstat: was using buffers one byte short for scanf (no place for NUL) - fixed
          ntpd: allow peer-less (standalone stratum 1 server) operation
          ntpd: with -q, exit after 60 seconds even if time is not synced
          patch: add -N and a test for it (fails for now)
          patch: busyboxify by migrating from toybox to busybox helpers
          patch: fix -N regression
          patch: support "patch [FILE [PATCH]]" format
          sed: fix sed -i: unlike without -i, it does not forget ranges
          sed: make N command behave as in GNU sed
          seq: exit on write errors
          sleep: fix fractional arguments in non-POSIX locale
          sleep: make it non-NOFORK. Fixes ^C in standalone shell
          smemcap: use correct tar magic
          sort: -o FILE should create/truncate FILE
          split: handle "-" file name correctly
          telnet: convert CR NUL -> CR on input. Closes bug 2569
          telnet: do not check for 0 return from poll (it's impossible)
          top: add tie breaking for topmem mode
          udhcpc: emit maxsize option in all non-NAK type packets
          udhcpc: periodically reread our ifindex and mac
          udhcpc: reduce stack usage by de-inlining routines with on-stack pkt buf
          udhcpc: remove -c CLIENTID, it is hard to use, -x 61:hexstring does the same better
          udhcpc: remove now-unneeded definitions of vendor and client-id opts
          udhcpd: reduce stack usage by ~700 bytes. +28 bytes code size
          umount: do not (ab)use PATH_MAX as mntent buffer size
          unicode: update unicode_width on !unicode branch too. Closes bug 2593
          vi: fix "ask terminal" code
          wc: add support for -m
    
    Eric Lammerts:
          stat: fix mtime/ctime/atime
    
    Gilles Espinasse:
          patch: implement -E option
    
    Harald Becker:
          deluser: make it simpler, fix inability to delete user from group
    
    Holger Blasum:
          update docs/new-applet-HOWTO.txt
    
    Javier Viguera:
          find_stray_empty_lines: fix tail "invalid context" error
    
    Jeremie Koenig:
          readlink: use xmalloc_realpath()
          mark Linux-specific configuration options
          init,loginutils: termios portability fixes
          init,halt: portability improvements
          init: make the initial $TERM value configurable
          libbb.h: add device names for Hurd and FreeBSD
          mkdir: fix -p on FreeBSD
          libbb: conditionalize AF_* usage in error reporting
          tcpsvd,udpsvd: conditionalize usage of SO_ORIGINAL_DST
          less: remove misguided dependency on PLATFORM_LINUX
          bootchartd: mounting tmpfs is Linux-specific
          vlock: disable linux console calls on other systems
          cttyhack: serial console detection is Linux-specific
          klogd: make it work on non-linux systems
          stty: sort out preprocessor conditionals
    
    Kevin Cernekee:
          docs: change CVS references to git
          docs: sync up AUTHORS and busybox_footer.pod
          fdisk: initial stab at GPT partition support
    
    Lauri Kasanen:
          modprobe: make -l open the right file
          libbb: remove unused variable
    
    Lukas Huba:
          patch: implement -E option
    
    Macpaul Lin:
          fdisk: add support for NDS32 architecture
          modutils: add support for NDS32 architecture
    
    Marek Polacek:
          mpstat: new applet. ~5.5k
          iostat: new applet. 2800 bytes
          powertop: new applet
          *: s/perror/bb_simple_perror_msg/g
          *: use _exit() in sighandlers
          showkey: do not use exit-thru-sighandler
          bloat-o-meter: make it python3 compliant
    
    Matheus Izvekov:
          diff: fix "diff dir1 dir2/". Closes bug 2203
    
    Mike Frysinger:
          depmod.pl: add recursive sanity check
          build system: allow SKIP_STRIP to be set in the env
          gen_build_files.sh: rewrite with sed
          inetd: if argv[0] is not specified, set it to program name
    
    Mike Shal:
          lineedit: fix tab-completion of file names with spaces
    
    Nguyen Thai Ngoc Duy:
          wget: flush output to network before receving reply
    
    Pascal Bellard:
          depmod: accept and ignore -u, -q, -C FILE
          cpio: avoid 'not created: newer or same age file exists' message for dirs
    
    Peter Korsgaard:
          httpd: optional support for gzip-compressed pages
          httpd: simplified "gzip" test
    
    Richard Braun:
          tune2fs: implement -c and -i options
    
    Rob Landley:
          nbd-client: new applet
          patch: replace it with toybox's implementation
          patch: deal with omitted ",len" in hunk headers (default len to 1)
          awk: reduce ifdef forest
    
    Sergey Naumov:
          blockdev: new applet
    
    Souf Oued:
          acpid: add config file and map file
    
    Thomas Chou:
          mkmakefile: make 3.82 fix
    
    Tito Ragusa:
          deluser: deluser/delgroup size reduction and improvements
    
    Vladimir Dronnikov:
          sendmail: fix assumption that headers should have a space after the colon
    
    Vladislav Grishenko:
          udhcp: add support for 0x21 ROUTES and 0xf9 MS_STATIC_ROUTES options
          udhcpc: fix OPTION_IP_PAIR parsing
    
    Waldemar Brodkorb:
          OpenBSD compatibility
    
    Wolfram Sang:
          lineedit: create history files with mode 0600

  • 22 November 2010 -- BusyBox 1.17.4 (stable)

    BusyBox 1.17.4. (git, patches, how to add a patch)

    Bug fix release. 1.17.4 has fixes for dnsd (fix for 64-bit builds), ip route (fixed bug of misplaced argv++), ls (-g was showing user instead of group), sort (fix for -o FILE not creating FILE), unicode (fixed bug in build with disabled unicode support).

  • 9 October 2010 -- BusyBox 1.17.3 (stable)

    BusyBox 1.17.3. (git, patches, how to add a patch)

    Bug fix release. 1.17.3 has fixes for ip (build fix for older systems), hush (fix for handling of backslashes in unquoted $var expansion), line editing (fixed handling of EIO error and tab expansion for non-ASCII file names).

  • 25 August 2010 -- BusyBox 1.17.2 (stable)

    BusyBox 1.17.2. (git, patches, how to add a patch)

    Bug fix release. 1.17.2 has fixes for build system (now works with make 3.82), grep (zero length match could loop forever with -o), mdev (/dev nodes were never deleted), mktemp (fix for patterns with slashes), sed (fixes to -i option and N command), shell ($! was sometimes set to a wrong value; ulimit without both -H and -S now sets both hard and soft limits)

    Patch applet is completely replaced by a more capable implementation from toybox (Rob Landley's code). Aboriginal Linux needs it.

  • 25 July 2010 -- BusyBox 1.17.1 (stable)

    BusyBox 1.17.1. (git, patches, how to add a patch)

    Bug fix release. 1.17.1 has fixes for build system (out-of-tree build was broken), acpid (fix for older kernel headers), depmod (now generates new-style modules.dep with relative paths), diff (fix for "diff DIR1 DIR2/" - note the trailing slash), dos2unix (fix for invocation without parameters), ip r (was not working since "r" abbreviates both "route" and "rule"; aliased to "route" now), mktemp (fix regression which prevented kernel builds), modprobe (fix modprobe -l), vi (fix in "ask terminal" code), wget (fix for progress indicator)

  • 06 July 2010 -- BusyBox 1.17.0 (unstable)

    BusyBox 1.17.0. (git, patches, how to add a patch)

    Sizes of busybox-1.17.0 and busybox-1.16.2 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     819343     441    7068  826852   c9de4 busybox-1.16.2
     819623     441    7076  827140   c9f04 busybox-1.17.0
    

    Changes since previous release:

    New applets:

    • conspy by Pascal Bellard (pascal.bellard AT ads-lu.com),
    • rev by Marek Polacek (mmpolacek AT gmail.com),
    • ubiattach,ubidetach by Baruch Siach (baruch AT tkos.co.il),
    • modinfo by Pascal Bellard (pascal.bellard AT ads-lu.com),
    • fgconsole by Grigory Batalov (bga AT altlinux.org),
    • fkill by Souf Oued (souf_oued AT yahoo.fr),
    • flock by Timo Teras (timo.teras AT iki.fi),
    • smemcap, bootchartd, unxz (complete with xzcat and xz -d aliases)

    Other changes:

    • build system: make it possible to have include/applets.h-esque entries in .c files, to keep Config/Kbuild snippets in *.c files, to keep usage texts in .c files
    • build system: gold may not support --sort-common (yet)
    • unicode: significantly improved, by Tomas Heinrich (heinrich.tomas AT gmail.com)
    • libbb: teach tar et. al. to understand .xz
    • libbb: fix bb_ask() to operate on correct fd
    • libbb: locate PAGE_SIZE on Hurd
    • libbb: make index_in_substrings return -1 on ambiguous matches
    • libbb/copyfd.c: don't mmap a largish buffer if we only want to copy a few kb
    • libbb/read_key: fix buffer length calculation
    • *: hurd compat fixes by Jérémie Koenig (jk AT jk.fr.eu.org)
    • *: s/"/bin/sh"/DEFAULT_SHELL by Ladislav Michl (Ladislav.Michl AT seznam.cz)
    • ash,hush: make it possible to alias one of shells to "bash"
    • ash,hush: make "source" a synonym for . if bash compat is on
    • ash,hush: make bare "." set exitcode to 2
    • ash: <>FILE does not truncate FILE anymore. By Andreas Bühmann (buehmann AT users.berlios.de)
    • ash: fix ". EMPTY_FILE" exitcode
    • ash: fix bug which causes signal6.tests to fail
    • ash: fix SEGV on empty command with redirection (bug 1087). Fix by Leonid (lly.dev AT gmail.com)
    • ash: fix cubic slowdown in ${v/*foo*/repl} (really bad one)
    • ash: fix obscure case of replacing + globbing + backslashes
    • ash: fix redirection of fd 0 in scripts which are sourced from interactive ash
    • ash: fix signal5.tests
    • ash: fix unset in standalone mode
    • ash: fix var_leak testcase
    • ash: fix var_leak.tests so that it actually catches the NOFORK bug
    • ash: refresh stack pointers after makestrspace in rmescapes. By Colin Watson (cjwatson AT ubuntu.com)
    • ash: make trap with bad signal name not abort
    • ash: use CONFIG_FEATURE_EDITING_MAX_LEN
    • hush: fix "hush -c 'echo $#'" showing -1
    • hush: fix a=abc; c=c; echo ${a%${c}}
    • hush: fix hush -c 'echo $0' - was showing empty string
    • hush: fix hush-bugs/parse_err.tests
    • hush: fix more obscure ${var%...} cases
    • hush: fix var=`exit 2` not setting $? to 2
    • hush: handle expansions in ${var?expanded_word} constructs
    • hush: support "cd -- DIR" and other such double-dash constructs in builtins
    • hush: optional support for ${var:EXPR:EXPR} bashism
    • hush: use ash's ulimit builtin; make it more more bash-like while at it
    • adduser: copy /etc/skel to new homes. +100 bytes
    • ar: add archive creation support. By Alexander Shishkin (virtuoso AT slind.org)
    • ar: fix a regression: "ar t arch.a" stopped showing files. By Nguyễn Thái Ngọc Duy (pclouds AT gmail.com)
    • awk: be more paranoid when freeing loop variable; make code less obfuscated
    • awk: don't append bogus data after NUL in sub()
    • awk: fix the case where nested "for" loops with the same variable misbehave
    • awk: skip whitespace between array name and subscript. By Alexander Shishkin (virtuoso AT slind.org)
    • beep: the -d option takes milliseconds, not microseconds. By Natanael Copa (natanael.copa AT gmail.com)
    • brctl: fix parsing of timespec to allow 0 (setfd, sethello..), fix stp parameters incompatibility. By Maciek Borzecki (maciek.borzecki AT gmail.com)
    • busybox --list option. +140 bytes. Rob wanted it
    • cmp: ifdefectomy by Rob Landley (rob AT landley.net)
    • cpio: "NNN blocks" message should go to stderr. By Matheus Izvekov (mizvekov AT gmail.com)
    • cttyhack: don't do anything if ctty is already available
    • data_extract_all(): do not chmod symlink. Closes bug 2053
    • date,touch: accept "Jan 7 00:00:00 2010" format. By Alexander Shishkin (virtuoso AT slind.org)
    • date: optional support for %N. Closes bug 1861
    • date: support -d @SECONDS_SINCE_1970
    • devmem: map two pages only if it is necessary
    • dnsd: add -s option. This allows (clumsy) operation with real DNS servers
    • dnsd: enforce alignment on packet buffer
    • dnsd: fix one big-endian goof; add a TODO about RA bit
    • dnsd: fix unaligned access problem
    • dpkg: add support for lzma compression, by Pascal Bellard (pascal.bellard AT ads-lu.com)
    • dpkg: better check for validity of options
    • dpkg: support config file overwrite options. By Kim B. Heino (Kim.Heino AT bluegiga.com)
    • dpkg: enable tar compability even if tar applet is not enabled
    • [un]expand: account for different character widths
    • fbsplash: reinstate drawing of over/undersized images
    • fdisk: do not treat names ending in '0' as partitions
    • fdisk: make 'b' command optionally adjust C/H/S; "fdisk IMAGE_FILE" sets cylinders
    • find: fix -name matching for dotfiles. -1 byte
    • ftpd: work around LIST -aXYZ too, not only LIST -lXYZ
    • fuser: fix default signal, exitcode and PID display. By Maksym Kryzhanovskyy (xmaks AT email.cz)
    • getty: do not emit bogus error message on EOF
    • grep: fix -Fi. By Ian Wienand (ianw AT vmware.com)
    • grep: make -w support unconditional
    • gunzip: inflate_codes(): add fix from upstream gzip to prevent false CRC error
    • head,tail: make suffixes unconditional for head too
    • hexdump: fix "hexdump NONEXISTENT_FILE" handling
    • hexdump: make -s 0xNNNNN work
    • httpd: fix proxy mode bug (annoying but harmless)
    • ifconfig: do not truncate interface names. Closes bug 1795
    • ifdown: use /var/run/udhcpc.%iface%.pid only if it exists
    • ifplugd: more robust interface name match check
    • ifplugd: replace potentially-leaking setenv with malloc/putenv/free
    • init: clear utmp entries for dead processes, if they (entries) exist
    • ip a: fix SEGV if "dev IFACE" is not specified
    • ip addr/rule/tunnel: unify parsing args. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • ip link: add qlen. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • ipaddress: print OPERSTATEs and NO-CARRIER. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • ipcalc: more correct checking for proper number of arguments
    • iplink: support add/delete. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • loadfont/setfont: optional PSF2 font support
    • loop: correct minor device number limit
    • losetup: support /dev/loop10 and higher. Closes bug 1627
    • lsusb: 2.6.32 compat. By Souf Oued (souf_oued AT yahoo.fr)
    • mdev: add "!" syntax support
    • mdev: fix a SEGV when subsystem is not known
    • mdev: fix subsystem passing (new kernels broke it again). Closes bugs 639, 721
    • mkswap: support [KBYTES] parameter
    • mkXXXX: unify [KBYTES] parameter handling
    • mkfs_ext2: fix handling of -I argument. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • mktemp: be more compatible: bare "mktemp" creates tempfile in /tmp, not cwd
    • modprobe: add support for -l and -s. By Pascal Bellard (pascal.bellard AT ads-lu.com)
    • modprobe: pick up module options from /proc/cmdline too
    • modprobe: remove 2k limit on /proc/cmdline
    • modutils-24: [mips] modutlis-24 segfault fix for 2.4 kernel modules, by Ralf Rösch (ralf.roesch AT rw-gmbh.de)
    • mount: add an optional capability to create new /dev/loopN as needed. By Lauri Kasanen (curaga AT operamail.com)
    • mount: fix a case when sometimes error message is not printed
    • mount: handle EDQUOT > 255 properly. Closes bug 1579
    • nc: introduce CONFIG_NC_110_COMPAT option
    • tftp/tftp: make tftp/tftpd-related options less confusing in config. Closes bug 2017
    • ntpd: step correction to variables had wrong sign, fixing
    • passwd: make 'echo -e "foo\nfoo" | passwd USER' work
    • ping: do not leak data from stack
    • provide safe_gethostname() for non-linux systems
    • ps: fix non-DESKTOP option handling code
    • ps: make "ps -o BAD" emit list of good -o params
    • rpm: use open_zipped's logic (factored out into setup_unzip_on_fd())
    • rpm: make rpm -i SRPM.rpm install it to surrent dir
    • rpm2cpio: teach it to understand xz format
    • sed: fix a case when one-line range matches past lines. Closes bug 1867
    • sed: fix a command with multiple trailing backslashes
    • sed: fix c cmd
    • sed: fix nested {} case
    • setkeycodes: fix handling of 0exx scancodes
    • setsid: check for setsid error directly
    • shaNNNsum: accept and ignore -b and -t
    • stat: make output more similar to GNU stat. By Seb (sbb AT tuxfamily.org)
    • swapon: skip noauto entries. By Lauri Kasanen (curaga AT operamail.com)
    • syslogd: allow multiple -R options. By Thomas Geulig (geulig AT nentec.de)
    • syslogd: remove stray umask(0) - was giving log files bad mode
    • syslogd: make maximum message length configurable. By Janne Kiviluoto (janne.kiviluoto AT bluegiga.com)
    • tail: document FANCY flags in helptext
    • tar: fix "hardlinks to symlinks chown" bug 1519
    • tar: fix mishandling of repeated hardlink in tarball
    • tar: make typical extraction less memory-hungry
    • tar: optional support for --to-command. By Ladislav Michl (Ladislav.Michl AT seznam.cz)
    • tar: optional support for restoring selinux context. By J. Tang (tang AT jtang.org)
    • tar: support GNU 256-bit encoding in all numeric fields
    • telnet: prevent SEGV if we are requested TELOPT_NEW_ENVIRON
    • telnetd: fill hostname field in utmp/wtmp records
    • telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363
    • test: "" is not a valid number. Closes bug 1915
    • tftp: do not show progress bar if we get error right away. +13 bytes
    • tftp: increase initial retry timeout from 50 to 100 ms
    • tftp: make message about 512 byte block less confusing
    • tftpd: fix file creation with bogus mode. Closes bug 1021
    • top: make 's' display easier to understand
    • touch: do not ignore argument of -d/-t option. By Mikhail Gusarov (dottedmag AT dottedmag.net)
    • udhcp: abort if we see unknown option, and show valid options if so
    • udhcp: disable time and log server options
    • udhcp: fix DNS domain codec bug: bad compression flag checks
    • udhcp: handle errors in read_staticlease
    • udhcp: implement "raw" binary options. Closes bug 735
    • udhcp: remove support for some really old and odd options
    • udhcp: s/sipservers/sipsrv/ to match other similar option names
    • udhcp: we call DNS name encoder with NULL, this can SEGV. Added a check
    • udhcp: truncate packets instead of padding them to 574 bytes. Closes bug 1849
    • udhcpc: add -x OPT:VAL option
    • udhcpc: make it possible to disable vendor id
    • udhcpd: apparently, sometimes IP is in ciaddr, not requested_ip
    • udhcpd: fix -v/-P mixup
    • udhcpd: fix daemonize crash on nommu systems. By Mike Frysinger (vapier AT gentoo.org)
    • udhcpd: fix hostname truncation bug 1663
    • udhcpd: support decoding of option 120 "SIP servers". Closes bug 737
    • udhcpd: untangle incredibly messy handling of DHCPREQUEST
    • unexpand: fix "a b"\n" input case. By Tomas Heinrich (heinrich.tomas AT gmail.com)
    • unlzma: add "lzma -d" alias, add -t support, rename lzmacat to lzcat
    • unzip: restore unix file mode if possible. Closes bug 1045
    • unzip: improve handling of stream ZIP files
    • vi: save/restore errno in signal handlers
    • vi: discover window size even on serial consoles (optional)
    • vi: fix "set ic" command. Closes bug 1765
    • vi: fix NUM + "$" handling
    • volume_id/linux_swap: detect suspended image signatures too
    • wc: compat: make "wc -c ONE_FILE" not print leading spaces. +2 bytes
    • wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"
    • wget: ignore --no-check-certificate
    • who: fix attempts to open '/dev/dev/ttyX'; make columns a bit wider, add -H
    • xargs: bump default -sNUM up to 32k. Use sysconf() to trim it down if necessary
    • xargs: make -s NUM accept practically unlimited range

  • 12 June 2010 -- BusyBox 1.16.2 (stable)

    BusyBox 1.16.2. (git, patches, how to add a patch)

    Bug fix release. 1.16.2 has fixes for ash (complex cases of stdin redirection, memory reallocation bug fix), cpio ("NNN blocks" goes to stderr now), udhcp (last byte of hosthame was truncated), dnsd (misaligned access), hush (in some cases $# was wrong), hwclock (subsecond sync code removed), sed (a corner case with line continuation is fixed).

  • 28 March 2010 -- BusyBox 1.16.1 (stable)

    BusyBox 1.16.1. (git, patches, how to add a patch)

    Bug fix release. 1.16.1 has fixes for ash (SEGV with 'trap' and 'jobs'), beep (pause was 1000 times too small), udhcpd (SEGV with -v), fbsplash (re-enable drawing of images with size different than screen size), hush (exec was not picking up applets in standalone mode), blkid (a few newer swap formats supported), md5sum/shaNsum (accept -bt options), syslogd (logfile had mode 0666), tail (a case where we tried to write negative number of bytes), tftpd (open without third argument), touch (-d wasn't working as it should), wc (with one file, don't print any leading spaces), wget (SEGV if proxy is specified in environment), some toolchain compatibility fixes, help text fixes, build system fix (defconfig was not updated).

  • 27 January 2010 -- BusyBox 1.16.0 (unstable)

    BusyBox 1.16.0. (git, patches, how to add a patch)

    Sizes of busybox-1.16.0 and busybox-1.15.3 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     816619     453    7436  824508   c94bc busybox-1.15.3/busybox
     812074     453    7300  819827   c8273 busybox-1.16.0/busybox
    

    Changes since previous release:

    New applets:

    • lspci: new applet. +573 bytes. By Souf Oued (souf_oued AT yahoo.fr)
    • lsusb: new applet. +400 bytes. By Souf Oued (souf_oued AT yahoo.fr)
    • flashcp: new applet. +900 bytes. By Stefan Seyfried (stefan.seyfried AT googlemail.com)
    • mkfs.reiser: new applet. Needs much polishing. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • mkfs_ext2: new applet. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • ntpd: new applet, +5k. By Adam Tkac (vonsch AT gmail.com)
    • traceroute6: new applet. +1562 bytes. By Leonid Lisovskiy (lly.dev AT gmail.com)
    • tune2fs: new applet by Vladimir. Only supports -L LABEL
    • wall: new applet. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)

    Other changes:

    • ash,hush: check that variable names are sane
    • ash,hush: fix "'read' without parameters" bash compat thingy
    • ash,hush: fix $RANDOM in children being repeated
    • ash,hush: fix `trap`
    • ash: do not let EXIT trap to fire in `trap`
    • ash: error out on ${#1#}, ${#$11}, ${#11#}. By Cristian Ionescu-Idbohrn (cristian.ionescu-idbohrn AT axis.com)
    • ash: factor out $RANDOM support and read builtin
    • ash: fix bad interaction of "stty -echo" + ASK_TERMINAL
    • ash: fix bug 585 (>"$VAR_WITH_UNICODE_CHARS" problem)
    • ash: fix for read $IFS splitting. Closes bug 235
    • ash: fix handling of Unicode chars in redirects. Closes bug 585
    • ash: fix mishandling of bash-style redirects. By Chris Metcalf (cmetcalf AT tilera.com)
    • ash: implement set -o pipefail (conditional on bash compat). By Michael Abbott (michael AT araneidae.co.uk)
    • ash: make "jobs -l" more similar to bash. By Earl Chew. Closes bug 481
    • ash: re-enable SIGHUP on entry. Closes bug 771
    • hush: add printf builtin. By Mike Frysinger (vapier AT gentoo.org)
    • hush: add support for $RANDOM
    • hush: code shrink by Dan Fandrich (dan AT coneharvesters.com)
    • hush: do not reset to default "" traps in subshell
    • hush: export $PWD
    • hush: fix exec builtin in a better way (+ "glob in exec" bug fixed)
    • hush: fix exit code propagation from `cmd`
    • hush: fix exitcodes of killed processes
    • hush: fix handling of empty arguments
    • hush: fix handling of words with braces
    • hush: fix potential buffer overflow on NOMMU
    • hush: fix subshell.tests failure on NOMMU
    • hush: handle empty execs. By Mike Frysinger (vapier AT gentoo.org)
    • hush: make memleak debugging more robust
    • hush: plug a memory leak
    • hush: support $PPID
    • hush: two NOMMU fixes for bugs 877 and 883
    • hush: unify handling of builtin applets. By Mike Frysinger (vapier AT gentoo.org)
    • hush: wait for `cmd` to complete, and immediately store its exitcode in $?
    • build system: fix for coarse mtime problem
    • build system: fix parallel make
    • build system: more fixes to parallel build
    • build system: update documentation generator so that it sucks less
    • *: do not assign to stdout/stderr, it's not portable. Based on patch by Aaron Carroll (xaaronc AT gmail.com)
    • *: platform compatibility work. By Dan Fandrich (dan AT coneharvesters.com)
    • *: use utimes() rather than obsolescent utime(). By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • libbb: add and use xopen_nonblocking (-18b). By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • libbb: add mallopt tweaks for reduced memory consumption
    • libbb: better unicode width support. Hopefully fixes bug 839
    • libbb: move generate_uuid from mkswap to libbb. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • libbb: optimize most of isXXXXX() macros
    • libbb/lineedit: fix the case when we configured history to have 0 lines
    • libbb/lineedit: restore ^D handling for unicode
    • libbb/lineedit: try to make FEATURE_EDITING_ASK_TERMINAL less ugly
    • libbb/lineedit: do not hardcode ctrl-C and ctrl-D, use termios fields
    • libbb/lineedit: handle Ctrl-arrows
    • libbb/read_key,lineedit: parse position answerback faster; sanitize its use
    • libbb/read_key: ignore unknown keys (do not return them to caller byte-by-byte)
    • libunarchive: fix a bug where mode and time is no longer restored. Introduced by vda in 1.15.x. Found by Rob Landley
    • libunarchive: fix reversed test for older/newer
    • libunarchive: move dpkg-specific things into dpkg.c. 0 byte size differences
    • volume_id: add support for btrfs. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • tests: fix POSIX shell source style. By Mike Frysinger (vapier AT gentoo.org)
    • all_sourcecode.tests: check commented out applet order too. By Mike Frysinger (vapier AT gentoo.org)
    • INSTALL: update obsolete doc, as suggested by Doug Clapp (doug.clapp AT triad.rr.com)
    • documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
    • adduser: create a group for new user too
    • adduser: fix a logical inversion which made -G GRP inoperative. By Tito Ragusa (farmatito AT tiscali.it)
    • applets/usage_compressed: combine many seds in one; hide dd stats. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • applets: fix alphabetical order. By Mike Frysinger (vapier AT gentoo.org)
    • ar: fix long filenames handling. Closes bug 611
    • awk: fix a case when number is treated as string. Closes bug 725
    • awk: implement mktime. By Leonid Lisovskiy (lly.dev AT gmail.com)
    • chown: support long options. By Matheus Izvekov (mizvekov AT gmail.com)
    • chpst: tiny shrinkage and add possible TODO. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • cp: add support for --parents and long option synonyms of short opts. By Ian Wienand (ianw AT vmware.com)
    • cp: fix -H handling
    • cpio: fix -o-less cpio -F FILE
    • cpio: fix unpacking of names with leading slashes
    • crond: do not log info messages at LOG_ERR. Closes bug 681
    • date: handle long options. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • dc: make "dc -1.23 ..." work
    • dd: fix conv=noerror w/o sync to not write out zeroed blocks
    • dd: speed measurement. Optional. By Gabor Heja (kakaopor AT kakaopor.hu)
    • df: unicode-aware column formatting. By Tomas Heinrich (theinric AT redhat.com)
    • diff: rewrite. Much smaller and more correct. By Matheus Izvekov (mizvekov AT gmail.com)
    • dpkg: fix handling of names with leading dots. Closes bug 783
    • dumpleases: unicode spport. By Tomas Heinrich (heinrich.tomas AT gmail.com)
    • echo et al: support \e escape
    • env: don't SEGV on bare "env -"
    • ether-wake: can use ether_hostton on uclibc >= 0.9.30. By Leonid Lisovskiy (lly.dev AT gmail.com)
    • examples: add ENABLE_FEATURE_MDEV_RENAME_REGEXP examples to mdev documentation. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • examples: add mdev.conf and mdev_fat.conf
    • examples: adding runit-style service directory
    • fbset: add possibility to set timing and sync polarity. By Michael Grzeschik (m.grzeschik AT pengutronix.de)
    • fbsplash: allow compressed image files. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • fdisk: add a warning and truncate disks with >= 2^32 sectors
    • find: -follow should not error out on dangling links
    • find: add optional support for -links. By Matheus Izvekov (mizvekov AT gmail.com)
    • find: correct handling of -xdev
    • find: do not recurse into directories with depth == maxdepth. This may avoid many, many unnecessary stat() calls
    • fold: fix a corner case. By Tomas Heinrich (heinrich.tomas AT gmail.com)
    • fold: unicode support. Based on a patch by Tomas Heinrich (heinrich.tomas AT gmail.com)
    • ftpd: conditional support for broken clients. By Stefan Seyfried (stefan.seyfried AT googlemail.com)
    • ftpget/put: make 3rd parameter optional. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • grep: fix a case when -o loops forever
    • gzip: add optional support for --long-opts. By Matheus Izvekov (mizvekov AT gmail.com)
    • httpd: -m: output _salted_ MD5 hash. By (forrest AT hifulltech.com)
    • httpd: fix bug 601 "I:index.php does not run interpreter on DIR/ url"
    • httpd: shrink mime type matching code (suggested by Bernhard)
    • httpd_indexcgi: fix off-by-one error
    • httpd_post_upload.txt example: handle binary files too
    • hwclock: fix sizeof bug (used it on pointer, not array)
    • hwclock: make --systohc exact
    • ifplugd: mention iff mode in help; restore auto-ifup unless -a; make iff method less iffy :D
    • ifup: make /etc/network/interfaces parser tolerant to trailing spaces
    • inetd: be more careful with syslog socket; other small fixes
    • init: fix "while true; do reboot; done" bug. Closes bug 781
    • init: fix logically inverted FEATURE_EXTRA_QUIET check
    • init: for paranoid reasons, restore SIGCONT too
    • init: make FEATURE_EXTRA_QUIET more consistent
    • init: restore possibility to reload inittab even before we finish initialization
    • init: use applet_name instead of "init" (we can be linuxrc)
    • login: log PAM errors to syslog, not stderr. By Ian Wienand (ianw AT vmware.com)
    • ls: add "total NNNN" header if DESKTOP. By Johannes Stezenbach (js AT sig21.net)
    • ls: fix for !FEATURE_LS_RECURSIVE (forgotten free); cleanups
    • ls: fix sort of very large files
    • ls: make it so that group never glues itself to file size
    • lsmod: unicode-aware column formatting. By Tomas Heinrich (heinrich.tomas AT gmail.com)
    • mdev: adjust error message. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • mdev: do not die on mknod errors
    • mdev: handle string modes. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • mdev: tiny shrinkage by index_in_strings. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • mkfs_vfat: fixes for large image cases
    • mkswap: add -L LABEL option. Closes bug 689
    • modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
    • modprobe: it's not an error if module is already loaded. Closes bug 833
    • modprobe: protect against possible SEGV
    • modutils: add FEATURE_INSMOD_TRY_MMAP option
    • mount: "already mounted" msg appears only if -v
    • mount: add support for -O list. By Michael Abbott (michael AT araneidae.co.uk)
    • mount: do not execute "mount.(null)" :)
    • mount: if we mount //host/xxx, add ip=IPADDR to options
    • mount: prevent second mount -a from mounting everything again
    • mount: support -o union. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • mountpoint: btrfs fix. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • nc: fix "nc -nl -p LPORT RHOST" case (was expecting remote port 0). Closes bug 837
    • networking/httpd_ssi.c: new example CGI handler
    • od: fix -tx without length spec
    • passwd: do not complain if /etc/shadow is missing
    • patch: add longopts, --dry-run, add one more test
    • patch: ignore -g NUM. By Matheus Izvekov (mizvekov AT gmail.com)
    • pidof/killall: fix bug 625 (kernel threads get stale "binary name")
    • ping6: do not play dirty tricks with argv
    • ping: fix unaligned access. Closes bug 745
    • ping: use ICMP_MINLEN. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • ps,top: add an option to show threads. +260 bytes
    • ps: conditionally enable -T on non-DESKTOP build too
    • ps: document -T option
    • ps: show longer COMMAND
    • rpm2cpio: handle bz2 too. By Pascal Bellard (pascal.bellard AT ads-lu.com)
    • rpm2cpio: handle unseekable input correctly
    • sed: fix bug 623 (SEGV on some sed commands)
    • sed: minor usage tweak. By Rob Landley (rob AT landley.net)
    • sed: on output file, set not only mode, but owner too
    • sendmail: accept -i too, not only -oi. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • sendmail: fix for long headers. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • sendmail: update by Vladimir Dronnikov (dronnikov AT gmail.com)
    • sort: make sort -o FILE FILE (same FILE) work. Closes bug 785
    • split: handle - as "use stdin". Closes bug 741
    • start-stop-daemon: we could need ssd -d (fancy). By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • stty: add B921600. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • stty: fix columns command. Closes bug 791
    • swaponoff: add uuid/label support. By Natanael Copa (natanael.copa AT gmail.com)
    • tar: accept spaces at the end of header fields (compat)
    • tar: add support for --overwrite
    • tar: add support for -o as synonym to --no-same-owner. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • tar: do chown, not lchown to restore mode (compat)
    • tar: fix --numeric-owner, --no-same-owner, --no-same-permissions bits
    • tar: fix bug 673 (misdetection of repeated dir as hardlink)
    • tar: fix handling of tarballs with chksums prepended by spaces
    • tar: handle "tar fx TARFILE" etc
    • tar: optional support for -m (--touch). By Mikhail Gusarov (dottedmag AT dottedmag.net)
    • telnetd: optional support for -w ("inetd wait")
    • tftp: add optional support for progress bar. By Magnus Damm (magnus.damm AT gmail.com)
    • tftp: extend tsize support a little. By Magnus Damm (magnus.damm AT gmail.com)
    • top: add -m ("memory") option
    • tty: use defines rather than constants. By Bernhard Reutner-Fischer (rep.dot.nop AT gmail.com)
    • udhcpc: fix bug 629: use bcast receive when we perform rebinding
    • udp_io: fix two potential cases of unaligned accesses
    • uniq: plug memory leak. Patch from OpenWRT project
    • wc: fix a hang gue to isprint(EOF). By Dan Fandrich (dan AT coneharvesters.com)
    • wget: check for close() success; fix chunked; do not bother to send QUIT to ftp
    • wget: factor out progress bar code. By Magnus Damm (magnus.damm AT gmail.com)
    • wget: fix for code 302. By Vladimir Dronnikov (dronnikov AT gmail.com)
    • [un]expand: unicode support. By Tomas Heinrich (heinrich.tomas AT gmail.com)

  • 12 December 2009 -- BusyBox 1.15.3 (stable)

    BusyBox 1.15.3. (git, patches, how to add a patch)

    Bug fix release. 1.15.3 has fixes for ash (compilation with signed chars, SIGHUP handling fix), awk, flash_eraseall (fix for newer kernel headers), grep, mount (mount -a won't mount everyting again on 2nd run), ping (fix unaligned access), split (accepts "-" as stdin now), build system (parallel build).

  • 8 October 2009 -- BusyBox 1.15.2 (stable)

    BusyBox 1.15.2. (git, patches, how to add a patch)

    Bug fix release. 1.15.2 has fixes for ash and hush (`trap` handling), dd (fixed handling of I/O errors), find (fix for -follow and symlinks), pidof (corrected recognition of kernel thread names), sed (SEGV), uniq (memory leak), line editing (Ctrl-D works again), build system.

  • 15 September 2009 -- BusyBox 1.15.1 (stable), BusyBox 1.14.4 (stable)

    BusyBox 1.15.1. (git, patches, how to add a patch)

    BusyBox 1.14.4. (git, patches, how to add a patch)

    Bug fix releases. 1.14.4 has fixes for ash, httpd, modprobe and the build system, 1.15.1 has fixes for ash (unicode fix), httpd (fix for "dir index via interpreter" case), hush ($PWD support), inetd (fd leak fix), modprobe-small (fix for aliases with dashes), unlzma (SEGV on 64-bit), and generic unpacking routines (was not restoring mode).

  • 23 August 2009 -- BusyBox 1.15.0 (unstable)

    BusyBox 1.15.0. (git, patches, how to add a patch)

    Sizes of busybox-1.15.0 and busybox-1.14.3 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     778114     454    7340  785908   bfdf4 busybox-1.14.3/busybox
     780508     445    7328  788281   c0739 busybox-1.15.0/busybox
    

    Changes since previous release:

    New applets:

    • beep: new applet by Bernhard
    • dnsdomainname: new applet - the alias to "hostname -d"
    • flash_lock, flash_unlock: new applets by Thierry Reding (thierry.reding AT avionic-design.de)
    • fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com)
    • ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)
    • lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes
    • scriptreplay: new applet
    • volname: new applet

    lash and msh are deprecated, please migrate to hush. They both are aliased to hush anyway. lash now prints "lash is deprecated, please use hush instead" message, msh does not (yet).

    Other changes:

    • libbb: make find_pid_by_name look at /proc/PID/exe too
    • libbb: make get_sock_lsa use only one getsockaddr syscall, not two
    • libbb: prevent resursion on malloc failure
    • libbb: stop using bb_strtod for now
    • libbb/lineedit: implement Unicode-aware line editing (optional)
    • libbb/lineedit: use read_key to recognize ESC sequence
    • libbb/lineedit: added simplified Unicode support for non-locale-enabled builds
    • libbb/lineedit: add an option to emit ESC [ 6 n ("report cursor position") and use results
    • libbb/read_key: drop optimization where we read 3 bytes at once
    • libbb/des encrypt: fix goof with NUL byte added at the end as '.'
    • libbb/device matching against UUIDs: do not try floppies
    • acpid: prevent creation of zombies
    • adduser/addgroup: make system id range configurable. By Tito (farmatito AT tiscali.it)
    • adduser/addgroup: support specifying uid/gid, add system account creation mode. By Tito
    • ash: fix . builtin
    • ash: fix bug 571 (jobs %string misbehaving)
    • ash: further fixes to debug machinery. Fixes bug 485
    • ash: make "jobs" work even in subshells
    • awk: put at least one NUL between $n. Hopefully fixes bug 337
    • busybox --install [-s] [DIR]: allow a parameter - destination DIR
    • cp: by popular demand, make it POSIX compliant (but less safe)
    • cpio: --verbose, --quiet, --to-stdout
    • date: change date -d TIME format a bit, make it more compatible
    • dd: conv=noerror should skip read errors using lseek. Fixes bug 539
    • depmod.pl: updates and fixes galore
    • depmod: fix handling of .gz modules
    • df: fix "df /"
    • dmesg: try to detect buffer size
    • dpkg: delete postrm script after it has been run, not before. Fixes bug 449
    • fdisk: add handling of avr32. Fixes bug 555
    • ftpd: allow multiple -S options to increase verbosity too, like -v
    • ftpd: fix a case when with -w unknown commands are ignored with no error code
    • grep: fix -E + {range}; fix -o not printing all matches. Fixes bug 489
    • gzip: fix gzip with many files corrupting some files after first
    • halt/reboot/poweroff: add a CONFIG_xxx to act SysV compatibly
    • hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col lines
    • hostname: support --fqdn, --domain, --file
    • httpd: allow empty lines in conf file
    • httpd: speed up httpd.conf parsing at the cost of 49 bytes of code
    • hush: add HUSH_BASH_COMPAT, make [[ special handling depend on it
    • hush: add support for local builtin
    • hush: allow umask to take symbolic modes
    • hush: disallow "{echo hi; }" (require whitespace) and "{ echo hi }" (require semicolon or &)
    • hush: do not process options after non-option args
    • hush: "export -n" support
    • hush: fix "export not_yet_defined_var", fix parsing of "cmd | }" corner case
    • hush: fix "if { echo foo; } then { echo bar; } fi" parsing
    • hush: fix "trap -- handler SIGs..."; escape handlers in "trap" output
    • hush: fix SEGV in % expansion
    • hush: fix SIGCHLD counting code, but keep it disabled for now
    • hush: fix \*newline* handling
    • hush: fix a case when backgrounded command makes shell hang
    • hush: fix a segfault in export builtin
    • hush: fix wrong handling of \x in assignments
    • hush: fix a bug where in "var=val func" var's value is not visible in func
    • hush: fix handling of unterminated subshell: (*eof*. Fixes bug 229
    • hush: fix handling of } which is not a closing one in { cmd; }
    • hush: fix multiple redirections of the same fd. Fixes bug 227
    • hush: fix non-interactive response to pipe being stopped
    • hush: fix problems with case in subshells and with "case esac"
    • hush: implement 'type' builtin
    • hush: implement proper SIGHUP handling
    • hush: implement unset -f; beautify the handling of signal-killed pipe
    • hush: make . command search $PATH
    • hush: make builtins work in pipes (eval ... | ...) on NOMMU
    • hush: make it possible to have interactive shell on non-ctty. init=/bin/hush: shows prompt, history works, etc
    • hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com)
    • hush: set $n properly for "source" builtin
    • hush: specially handle [[ - suppress globbing & multiword expansion
    • hush: stop ignoring ^Z in child shells
    • hush: unblock TERM, INT, HUP in child shells too
    • ifupdown: if $PATH is not set, do not set it to "" in children
    • install: compat fix for mode of created files. By Mat Hostetter (mhostetter AT tilera.com)
    • login: consider platforms having no domainname field in the utsname struct
    • ls: fix --color handling. Fixes bug 435
    • ls: make --color more compatible with coreutils
    • man: use man.config, not only man.conf (man version 1.6f compat)
    • mdev: #if forest removal (thanks Rob)
    • mdev: be more permissive on errors (don't die): mdev -s users want that
    • mdev: change subsystem syntax from /subsystem to subsystem/devname
    • mdev: do not exit if user:group parse failed. Fixes bug 309
    • mdev: fix a case where we mangle device_path string and then use it
    • mdev: fix the case when move rule deletes node with name == device_name
    • mdev: set $MDEV correctly for renamed nodes
    • mdev: set mode, needed when device node already exists
    • mdev: support $ENVVAR=regex
    • mkswap: optionally generate UUID. +110 bytes
    • modprobe: correct exitcode handling and error messages with respect to -q
    • modprobe: fix modprobe -r. Fixes bug 315
    • modprobe: treat tabs in modules.dep as delimiters too. Fixes bug 567
    • mount: document when kernel started accepting string as NFS options
    • mount: support -i; pass through -f and -n to helpers as necessary
    • nc: fix nc -ll
    • passwd + /etc/shadow: change "change time" field too
    • patch: support -N option. By Olivier Duclos (olivier.duclos AT gmail.com)
    • pgrep/pkill: support -s and -P options
    • pgrep: match argv[0] too, not only comm; fix a bug in argv sanitization
    • ping6: make it setuid just like ping
    • printf: accept negative numbers for %x
    • printf: fix exit code on conversion error
    • ps: conditionally support additional -o FIELDs
    • readlink: support -n, -v, -s and -q too if support for -f is requested
    • runsv: run ./finish with parameters (runit compat)
    • rx: strip padding from last block. Fixes bug 501
    • sed: deal with peculiar behavior of '2d;2,1p' in GNU sed
    • sed: fix "echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g' " bug
    • sed: fix handling of 1d;1,3p and 1d;1,REGEXp
    • seq: fix input handling in non-C locales
    • sv: fix "sv o SRV; ...; sv d SRV". Fixes bug 461
    • svlogd: do not overrun read buffer. Fixes bug 439
    • svlogd: use line buffering if any filtering is done. Fixes bug 521
    • switch_root: allow /init to be a symlink; add doc (thanks Rob!)
    • syslogd: added comment, no code changes
    • tail: fix "tail +N file_shorter_than_N"
    • tail: implement -F
    • tail: read only a portion of a file if it's HUGE. Fixes bug 551
    • tar: handle 256-base encoding in mtime
    • tar: support for tar --numeric-owner. By Natanael Copa
    • tcpsvd,udpsvd: fix uid/gid printing when run with -u
    • telnetd: properly close fds in child
    • test: fix "test !" and "test abc -a !". Fixes bug 465
    • test: make 64-bit math enable-able for hush too
    • tftp: do not risk invoking Sorcerer's Apprentice syndrome
    • tftp[d]: fix block# handling on upload with non-default blocksize
    • touch: implement -d --date (our own testsuite needs that)
    • touch: implement -t TIME (needed for testsuite)
    • udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v
    • udhcp: dname_dec may return NULL, account for that case
    • udhcp: shorten mac len from 16 to 6 in lease file
    • udhcpc: fix a read error loop (e.g.: device is down) blocking TERM
    • udhcpc: fix truncation of last char in client hostnames
    • udhcpc: if got IP successfully, disable -n for future renewals
    • udhcpc: support option 0x79 (static routes) (part of bug 341)
    • udhcpd: don't fail ARP check if returned MAC matches client's one
    • udhcpd: fix a bug in add_lease where it was reading at [-1]
    • unlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)
    • unzip: try lseek before resorting to reading for seeking forward
    • vi: do not accept uppercase commands (compat). Fixes bug 397
    • watchdog: enable it before setting timeout
    • wget: fix redirection from HTTP to FTP server
    • wget: remove IPv6 scope id in Host: field (apache compat)

  • 2 August 2009 -- BusyBox 1.14.3 (stable)

    BusyBox 1.14.3. (git, patches, how to add a patch)

    Bug fix release. Contains fixes in df (fix for "df /"), ls (problems with colored output in some configurations), ping6 (was not suid, unlike ping), test (parameter to "not" operator is optional), udhcpd (fixed lease file restore routine).

  • 22 June 2009 -- BusyBox 1.14.2 (stable)

    BusyBox 1.14.2. (git, patches, how to add a patch)

    Bug fix release. Contains fixes in ash ('.' builtin), ftpd, httpd, modprobe (better exit code compatibility), readlink (more options supported), telnetd (now closes file descriptors in children, it was forgetting to do so).

  • 27 May 2009 -- BusyBox 1.14.1 (stable)

    BusyBox 1.14.1. (git, patches, how to add a patch)

    Bug fix release. Contains fixes in acpid, awk, depmod, dhcp, gzip, mdev, modprobe, sysctl; libbb fixes. hush is significantly updated.

  • 5 May 2009, SVN -> GIT

    We've migrated from SVN to GIT. SVN is frozen read-only before the conversion, so check out the Developing links and such for updated instructions.

  • 15 April 2009 -- BusyBox 1.14.0 (unstable), BusyBox 1.13.4 (stable)

    BusyBox 1.14.0. (git, patches, how to add a patch)

    BusyBox 1.13.4. (git, patches, how to add a patch)

    Sizes of busybox-1.13.4 and busybox-1.14.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     785501     483    7036  793020   c19bc busybox.1.13.4/busybox
     788380     467    6960  795807   c249f busybox.1.14.0/busybox
      15361       0       0   15361    3c01 busybox.1.13.4/shell/hush.o
      20724       0       0   20724    50f4 busybox.1.14.0/shell/hush.o
    

    Most of growth is in hush. The rest shrank a bit.

    New applets:

    • flash_eraseall: by Sebastian Andrzej Siewior (bigeasy AT linutronix.de)
    • acpid, mkdosfs, tunctl: by Vladimir
    • ftpd: by Adam Tkac (vonsch AT gmail.com)
    • timeout: by Roberto Foglietta
    • ionice: adapted from Linux kernel example by Walter Harms
    • mkpasswd: synonym to cryptpw. mkpasswd is in Debian, OTOH cryptpw was added to busybox earlier. Trying to make both camps happy by making those two applets just aliases. They are command-line compatible

    Changes since previous release:

    lash and msh are deprecated, please migrate to hush.

    hush had many, many fixes and features added: here documents, arithmetic evaluation, function support, and all this works on NOMMU too, safely, including 100kb-sized `command` and here documents. Here document support, arithmetic evaluation, improved ${var} operations, other fixes are by Mike Frysinger (vapier AT gentoo.org).

    Other changes:

    • libbb: unify concurrent-safe update of /etc/{passwd,group,[g]shadow}. By Tito (farmatito AT tiscali.it)
    • libbb/sha{1,256,512}: major code shrink
    • libbb/lineedit: make history saving/loading concurrent-safe
    • libbb: shrink linked list ops. By xmaks AT email.cz
    • libbb: str2sockaddr should accept [IPv6] addr without port - wget 'ftp://[::1]/file' needs that to work
    • libbb: make bb_info_msg do atomic, unbuffered writes
    • util-linux/volumeid: abort early on read failures. Should help with probing missing fdd's
    • util-linux/volumeid: fix bug 249 "findfs finds the wrong partition"
    • adduser: allow adding to group 0; don't _create_ /etc/shadow, only append data if it exists
    • ash: fix mishandled ^C and SIGINT (several cases)
    • ash: fix "ash -c 'exec 1>&0'" complaining that fd 0 is busy
    • ash: fix $IFS handling in read. Closes bug 235
    • ash: fix a case where we were closing wrong descriptor
    • ash: fix bad interaction between ash -c '....&' and bash compat
    • ash: fix miscalculation of memory needed for eval tree. Found by Timo Teras (timo.teras AT iki.fi)
    • ash: make dot command search current directory first, as bash does
    • ash: printf builtin with no arguments should not exit
    • awk: fix long field separators case. By Ian Wienand (ianw AT vmware.com)
    • awk: in BEGIN section $0 should be "", not "0"
    • awk: make "struct global" hack more robust wrt alignment. Closes bug 131
    • brctl: fix compilation on 2.4.x kernels
    • chat: treat timeout more correctly
    • chat: recognize RECORD directive
    • cksum, head, printenv: report errors via exitcode
    • cpio: add -p, -0 and -L options
    • crond, crontab: make cron directory location configurable
    • crond: correct more of logfile to 0666 (as usual, umask allows user to remove unwanted bits)
    • crond: put tasks in separate process groups
    • dc: fix the "base 2" patch omission of base not being set
    • depmod: accept and ignore -r. Linux kernel build needs this
    • depmod: fix -b option. By timo.teras AT iki.fi
    • udhcpc: fix a problem where we don't open listening socket fast enough
    • udhcpc: stop filtering environment passed to the script
    • udhcpd: disable option to have absolute lease times in lease file (that does not work with dumpleases)
    • udhcpd: write 64-bit current time in lease file. Without it, determination of remaining lease time is unreliable
    • udhcpd: remember hostnames of clients
    • dumpleases: fix -a option, use recorded current time in lease file, show hostnames
    • dnsd: fix a number of bugs. Ideas by Ming-Ching Tiew (mctiew AT yahoo.com)
    • dpkg: better and shorter code to compare versions. Taken from "official" dpkg by Eugene T. Bordenkircher (eugebo AT gmail.com)
    • du: fix "du /dir /dir" case
    • env: support -uVAR=VAL
    • expand, unexpand: fix incorrect expansion in some cases
    • expr: a bit more robust handling of regexps with groups. Closes bug 87
    • find: support --mindepth
    • getty: make speed 0 mean "don't change speed", stop using non-portable way of setting speeds
    • grep: support -z
    • gzip: fix gzip -dc bug caused by using stale getopt state
    • httpd: set $HOST to Host: header value. By Tobias Poschwatta (tp AT fonz.de)
    • ifupdown: allow options to udhcpc to be configurable from .config
    • init: do not eat last char in messages; do not print duplicate "init:" prefix to syslog
    • init: fix a bug where on reload order of entries might be wrong
    • init: major improvement in documentation and signal handling. Lots of nasty, but hard to trip, races are fixed
    • init: reinstate proper handling of !ENABLE_FEATURE_USE_INITTAB
    • init: remove wait loop on restart, it may be dangerous
    • init: test for vt terminal with VT_OPENQRY, assume that anything else is TERM=vt102, not TERM=linux. Closes bug 195
    • inotifyd: add x, o, and u events
    • inotifyd: fix buffer overflow and "unreaped zombies" problem
    • inotifyd: conserve resourses by closing unused inotify descriptors
    • insmod/modprobe: do not pass NULL to kernel as module parameter
    • ip: in "ip rule add from all table 1", "all" is taken as 0.0.0.0/32, whereas "any" and "default" would be 0.0.0.0/0. They must be all 0.0.0.0/0. Closes bug 57
    • iproute: fix ipXXX utilities trying to parse their applet name as their 1st parameter
    • klogctl: fix a problem where we don't terminate read data with '\0' and then misinterpret it
    • ls: do not follow links with -s. Closes bug 33
    • ls: implement -Q and -g (-g was accepted but ignored)
    • ls: make readlink error to not disrupt output (try ls -l /proc/self/fd)
    • man: better check for duplicated MANPATH
    • mdev: add support for - ("dont stop here") char
    • mdev: if /sys/class/block exists, don't scan /sys/block
    • mdev: ignore events with "$SUBSYSTEM" == "firmware" && "$ACTION" == "remove"
    • mdev: provide $SUBSYSTEM. By Vladimir
    • modprobe/insmod for 2.4: support compressed modules. By Guenter (lists AT gknw.net)
    • modprobe: rework/speedup by Timo Teras (timo.teras AT iki.fi)
    • modutils-24: fix bad interaction of xzalloc with xrealloc_vector
    • mount: support "-O option", stop trying to mount swap partitions, fix CIFS support
    • mountpoint: add -n option. By Vladimir
    • nslookup: allow usage of IPv6 addresses or hostnames for DNS server name; allow for port specification. Tested to work on uclibc svn: "nslookup google.com [::1]:5353". glibc + IPv6 address of DNS server still does not work
    • popmaildir: fix several grave bugs with using memory past end of malloc block
    • printf: fix 1.12.0 breakage (from %*d fix), it was misinterpreting "*"
    • printf: make integer format strings print long long-sized values
    • rmmod: fix bug 263 "modutils/rmmod can't remove modules with dash in name on 2.4 kernels"
    • sendmail: document and fix usage of fd #4, fix check for helper failure
    • sendmail: update by Vladimir
    • seq: add -w support. By Natanael Copa
    • seq: add support for "-s separator"
    • stat: make stat -f show filesystem "ID:" as coreutils does
    • sysctl: fix another corner case with "dots and slashes"
    • sysctl: fix broken -p [file]. Closes bug 231
    • sysctl: support recursing if name is a directory: "sysctl net.ipv4.conf". Patch by xmaks AT email.cz
    • syslogd: make signal handling syncronous
    • syslogd: create logfile with 0666 (affected by umask as usual), not 0600
    • tail: fix tail +N syntax not working. Closes bug 221
    • tar: do not change new tarfile's mode, GNU tar doesn't do it
    • tar: support GNU tar's "base256" encoding
    • telnetd: correctly output 0xff char
    • telnetd: do not advertise TELNET_LFLOW, we do not support it properly
    • tftp: when we infer local name from remote (-r [/]path/path/file), strip path. This mimics wget and is generally more intuitive
    • timeout: fix parsing of -t NUM on MMU
    • top: make it work again on 2.4 kernels. Closes bug 125
    • tr: fix overflow in expand and complement, fix stop after [:class:], fix handling of ranges and [x]'s
    • tr: support -C as synonym to -c, support [:xdigit:]
    • traceroute: rewrite. Do not emit raw IP packets, instead send UDP or ICMP packets and rely on the kernel to form IP headers, select source IP and interface
    • uname: add support for -i and -o, fix printing of unknown -p value with -a option, support long options
    • unzip: fix thinko with le/be conv and size. Closes bug 129
    • vi: fix several instances of major goof: when text grows, text[] might get reallocated! We were keeping around pointers to old place
    • vi: speedup and code shrink. By Walter Harms
    • wget: --post-data support. By Harald Kuthe (harald-tuxbox AT arcor.de)
    • wget: fix --header handling, more robust EINTR detection

  • 8 March 2009 -- BusyBox 1.13.3 (stable)

    BusyBox 1.13.3. (git, patches, how to add a patch)

    1.13.3 is a bug fix release. It has fixes for awk, depmod, init, killall, mdev, modprobe, printf, syslogd, tar, top, unzip, wget.

  • 31 December 2008 -- BusyBox 1.13.2 (stable), BusyBox 1.12.4 (stable)

    BusyBox 1.13.2. (git, patches, how to add a patch)

    BusyBox 1.12.4. (git, patches, how to add a patch)

    Bug fix releases. 1.13.2 has fixes for crond, dc, init, ip, printf. 1.12.4 has fixes for ip and printf.

  • 29 November 2008 -- BusyBox 1.13.1 (stable), BusyBox 1.12.3 (stable)

    BusyBox 1.13.1. (git, patches, how to add a patch)

    BusyBox 1.12.3. (git, patches, how to add a patch)

    Bug fix releases. 1.13.1 has fixes for ash, option parsing, id, init, inotifyd, klogd, line editing and modprobe. 1.12.3 has fixes for option parsing and line editing.

  • 10 November 2008 -- BusyBox 1.13.0 (unstable), BusyBox 1.12.2 (stable)

    BusyBox 1.13.0. (git, patches, how to add a patch)

    BusyBox 1.12.2. (git, patches, how to add a patch)

    Sizes of busybox-1.12.2 and busybox-1.13.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     778291     551    7856  786698   c010a busybox-1.12.2/busybox
     778981     551    7852  787384   c03b8 busybox-1.13.0/busybox
    

    New applets: blkid, devmem

    Changes since previous release:

    • mail applets: total overhaul. Vladimir as usual
    • ash: fix "while kill -0 $child; do true; done" looping forever
    • ash: fix NOEXEC mode - we were forgetting to pass environment
    • ash: fix a bug in standalone mode (corrupted getopt state)
    • ash: optionally support ">&file" and "&>file" redirections
    • awk: bitwise ops cast oprands and results to unsigned long, not signed. Closes bug 4774
    • awk: fix typo in atan2 code. Closes bug 5594
    • awk: improve handling of negative numbers in bitwise ops; fix handling of octal costants
    • awk: support hex constants
    • basename: fix error code (again)
    • cpio: emit TRAILER even when hard links were found. By Pascal Bellard (pascal.bellard AT ads-lu.com)
    • crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
    • dc: support for bases 2 and 8, by Nate Case (ncase AT xes-inc.com)
    • dhcpc: treat "discover...select...discover..." loop the same way as "discover...discover...discover..."
    • dpkg: add dpkg -l PACKAGE_PATTERN. By Peter Korsgaard
    • fbset: fix mode matching code: original code may trigger false positive.
    • findfs: fix LUKS and FAT detection routines; do not exit if corrupted FAT fs makes us try to seek past the end
    • grep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case. By Natanael Copa
    • grep: fix EXTRA_COMPAT grep to honor -E and -i
    • gunzip: restore mtime
    • halt: reinstate -w even if !FEATURE_WTMP
    • hexdump: fix SEGV in hexdump -e ""
    • httpd: pass "Accept:" and "Accept-Language:" header to CGI scripts (Alina Friedrichsen)
    • hush: fix environment and memory leaks
    • hush: fix trashing of environment by local env vars: a=a; a=b cmd; - a was unset
    • id: improve compatibility with coreutils. By Tito Ragusa
    • inetd: fix a case when we have zero services
    • inetd: use config parser. By Vladimir
    • init: set stderr to NONBLOCK
    • insmod: fix detection of open failure
    • install: support -D
    • ip: fix ip route rejecting dotted quads as prefix
    • ip: route metric support (Natanael Copa)
    • iplink: accept shorthands for "address" keyword: "ip link set address 00:11:22:33:44:55"
    • kbd_mode: support -C TTY
    • kill[all[5]]: accept -s SIG too. By Steve Bennett (steveb AT workware.net.au)
    • klogd: handle many lines at once. By Steve Bennett (steveb AT workware.net.au)
    • less: support -I to be able to search case-insensitively
    • less: add optional line number toggle and resizing on window resize
    • libbb: do not reject floating point strings like ".15"
    • lineedit: fix bug 5824 "since rev 23530 fdisk and ed don't work any more"
    • lineedit: fix problems with empty commands in history
    • login: fix /etc/nologin handling
    • man: fix inconsistencies in handling $MANPATH
    • mdev: support match by major,minor. See bug 4714
    • modprobe-small: make insmod command line compatible
    • modprobe-small: support "blacklist" keyword in /etc/modules/MODULE_NAME
    • modprobe: fix a segfault when modprobe is called with no arguments at all
    • modutils/*: rewrite by Timo Teras (timo.teras AT iki.fi)
    • mount: fix "-o parm1 -o parm2" not accumulating
    • nmeter: 4k buffers are too small for /proc files, make them dynamically sized with 16k upper limit
    • ping: SO_RCVBUF must be bigger than packet size, otherwise large ping packets might fail to be received
    • route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)
    • rpm: fix incompatibilities which prevented rpm -i foo.src.rpm
    • runsvdir: support runsvdir-as-init
    • setarch: do not try to use non-existent data in argv[]
    • setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)
    • setup_environment: cd $HOME regardless of clear_env value
    • slattach: preserve speed in non-raw mode. By Matthieu Castet (matthieu.castet AT parrot.com)
    • start_stop_daemon: accept (and ignore) -R PARAM
    • sv: make default service dir configurable (Vladimir wants it)
    • sysctl: fix bug 3894 (by Kryzhanovskyy Maksym)
    • tar: fix bug 3844: non-root tar does not preserve perms
    • telnetd: handle emacs M-DEL and IAC-NOP. By Jim Cathey (jcathey AT ciena.com)
    • top: fix "top -d 1" (bug 5144)
    • top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
    • trylink: make messages less confusing
    • unzip: handle "central directory". Needed for OpenOffice, gmail attachment .zips etc
    • vi: Rob's algorithm of reading and matching ESC sequences (nice work btw!)
    • vi: deal with EOF/error on stdin and with input NULs
    • vi: fix uninitialized last_search_pattern (bug 5794)
    • vi: handle chars 0x80, 0x81 etc correctly
    • volume identification: abolish /proc/partitions and /proc/cdroms scanning. It does not catch volume managers and such. Simply scan /dev/* for any block devices
    • watchdog: WDIOC_SETTIMEOUT accepts seconds, not milliseconds
    • watchdog: add -T option

  • 28 September 2008 -- BusyBox 1.12.1 (stable), BusyBox 1.11.3 (stable)

    BusyBox 1.12.1. (git, patches, how to add a patch)

    BusyBox 1.11.3. (git, patches, how to add a patch)

    Bugfix-only releases for 1.11.x and 1.12.x branches.

  • 21 August 2008 -- BusyBox 1.12.0 (unstable), BusyBox 1.11.2 (stable)

    BusyBox 1.12.0. (git, patches, how to add a patch)

    BusyBox 1.11.2. (git, patches, how to add a patch)

    Sizes of busybox-1.11.2 and busybox-1.12.0 (with equivalent config, static uclibc build):

       text    data     bss     dec     hex filename
     829687     617    7052  837356   cc6ec busybox-1.11.2/busybox
     822961     594    6832  830387   cabb3 busybox-1.12.0/busybox
    

    New applets: rdev (Grant Erickson), setfont, showkey (both by Vladimir)

    Most significant changes since previous release (please report any regression):

    • ash: bash compat: "shift $BIGNUM" is equivalent to "shift 1"
    • ash: dont allow e.g. exec <&10 to attach to script's fd!
    • ash: fix a bug where redirection fds were not closed afterwards. Optimize close+fcntl(DUPFD) into dup2
    • ash: fix segfault in "command -v"
    • ash: fix very weak $RANDOM generator
    • ash: prevent exec NN>&- from closing fd used for script reading
    • ash: teach ash about 123>file. It could take only 0..9 before
    • hush: fix a case where "$@" must expand to no word at all
    • hush: fix mishandling of a'b'c=fff as assignments. They are not
    • hush: fix non-detection of builtins and applets in "v=break; ...; $v; ..." case
    • hush: fix "while false; ..." exitcode; add testsuites
    • hush: support "case...esac" statements (~350 bytes of code)
    • hush: support "break [N]" and "continue [N]" statements
    • hush: support "for if in do done then; do echo $if; done" case
    • hush: support "for v; do ... done" syntax (implied 'in "$@"')
    • hush: support $_NUMBERS variable names
    • libbb: unified config parser (by Vladimir). This change affected many applets

    Other changes:

    • libbb: dump: do not use uninitialized memory (closes bug 4364)
    • libbb: fix bb_strtol[l]'s check for "-" (closes bug 4174)
    • libbb: fix --help to not affect "test --help"
    • libbb: fix mishandling of "all argv are opts" in getopt32()
    • libbb: getopt32() should not ever touch argv[0] (even read)
    • libbb: introduce and use xrealloc_vector
    • libbb: [x]fopen_for_{read,write} introduced and used (by Vladimir)
    • lineedit: fix use-after-free
    • libunarchive: refactor handling of archived files. "tar f file.tar.lzma" now works too
    • bb_strtoXXX: close bug 4174 (potential use of buf[-1])
    • open_transformer: don't leak file descriptor
    • open_transformer: fix bug of calling exit instead of _exit
    • arp: without -H type, assume "ether" (closes bug 4564)
    • ar: reuse existing ar unpacking code
    • awk: fix a case with multiple -f options. Simplify -f file reading.
    • build system: introduce and use FAST_FUNC: regparm on i386, otherwise no-op
    • bunzip2: fix an uncompression error (by Rob Landley rob AT landley.net)
    • b[un]zip2, g[un]zip: unlink destination if -f is given (closes bug 3854)
    • comm: almost total rewrite
    • cpio: fix -m to actually work as expected (by Pascal Bellard)
    • cpio: internalize archive_xread_all_eof, add a few paranoia checks for corrupted cpio files
    • cpio: make long opts depend only on ENABLE_GETOPT_LONG
    • cpio: on unpack, limit filename length to 8k
    • cpio: support some long options
    • crond: use execlp instead of execl
    • cut: fix buffer overflow (closes bug 4544)
    • envdir: fix "envdir" (no params at all) and "envdir dir" cases
    • findfs: make it use setuid-ness of busybox binary
    • fsck: use getmntent_r instead of open-coded parsing (by Vladimir)
    • fuser: a bit of safety in scanf
    • grep: option to use GNU regex matching instead of POSIX one. This fixes problems with NULs in files being scanned, but costs +800 bytes
    • halt: signal init regardless of ENABLE_INIT
    • httpd: add homedir directive specially for (and by) Walter Harms wharms AT bfs.de
    • ifupdown: /etc/network/interfaces can have comments with leading blanks
    • ifupdown: fixes for custom MAC address (by Wade Berrier wberrier AT gmail.com)
    • ifupdown: fixes for shutdown of DHCP-managed interfaces (by Wade Berrier wberrier AT gmail.com)
    • inetd: do not trash errno in signal handlers; in CHLD handler, stop looping through services when pid is found
    • insmod: users report that "|| defined(__powerpc__)" is missing
    • install: do not chown intermediate directories with install -d (by Natanael Copa)
    • install: fix long option not taking params (closes bug 4584)
    • lpd,lpr: send/receive ACKs after filenames, not only after file bodies
    • ls: fix a bug where we may use uninintialized variable
    • man: add handling of "man links", by Ivana Varekova varekova AT redhat.com
    • man: fix a case when a full pathname to manpage is given
    • man: fix inverted cat/man bool variable
    • man: fix missed NULL termination of an array
    • man: mimic "no manual entry for 'bogus'" message and exitcode
    • man: support cat pages too (by Jason Curl jcurlnews AT arcor.de)
    • man: teach it to use .lzma if requested by .config
    • mdev: check for "/block/" substring for block dev detection
    • mdev: do not complain if mdev.conf does not exist
    • mdev: if device was moved at creation, at removal correctly remove it from moved location and also remove symlinks to it
    • mdev: support for serializing hotplug
    • mdev, init: use shared code for fd sanitization
    • mkdir: fix "uname 0222; mkdir -p foo/bar" case (by Doug Graham dgraham AT nortel.com)
    • modprobe: support for /etc/modprobe.d (by Timo Teras)
    • modprobe: use buffering line reads (fgets()) instead of reads()
    • modutils: optional modprobe-small (by Vladimir), 15kb smaller than standard one
    • mount: support for "-o mand" and "[no]relatime"
    • mount: support nfs mount option "nordiplus" (by Octavian Purdila opurdila AT ixiacom.com)
    • mount: support "relatime" / "norelatime"
    • mount: testsuite for "-o mand"
    • msh: fix "while... continue; ..." (closes bug 3884)
    • mv: fix a case when we move dangling symlink across mountpoints
    • netstat: optional -p support (by L. Gabriel Somlo somlo AT cmu.edu)
    • nmeter: fix read past the end of a buffer (closes bug 4594)
    • od, hexdump: fix bug where xrealloc may move pointer, leaving other pointers dangling (closes bug 4104)
    • pidof/killall: allow find_pid_by_name to find running processes started as scripts_with_name_longer_than_15_bytes.sh (closes bug 4054)
    • printf: do not print garbage on "%Ld" (closes bug 4214)
    • printf: fix %b, fix several bugs in %*.*, fix compat issues with aborting too early, support %zd; expand testsuite
    • printf: protect against bogus format specifiers (closes bug 4184)
    • sendmail: updates from Vladimir:
    • sendmail: do not discard all headers
    • sendmail: do not ignore CC; accept to: and cc: case-insensitively. +20 bytes
    • sendmail: fixed mail recipient address
    • sendmail: fixed SEGV if sender address is missed
    • sendmail: use HOSTNAME instead of HOST when no server is explicitly specified
    • sleep: if FANCY && DESKTOP, support fractional seconds, minutes, hours and so on (coreutils compat)
    • ssd: CLOSE_EXTRA_FDS in MMU case too
    • ssd: do not stat -x EXECUTABLE, it is not needed anymore
    • ssd: fix -a without -x case
    • ssd: use $PATH
    • tar: fix handling of tarballs with symlinks with size field != 0
    • tar: handle autodetection for tiny .tar.gz files too, simplify autodetection
    • taskset: fix some careless code in both fancy and non-fancy cases. -5 bytes for fancy, +5 for non-fancy
    • tee: fix infinite looping on open error (echo asd | tee "")
    • tee: "-" is a name for stdout, handle it that way
    • telnetd: fix issue file printing
    • test: fix parser to prefer binop over unop, as coreutils does
    • testsuite: uniformly use $ECHO with -n -e
    • time: don't segfault with no arguments
    • touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)
    • tr: fix "access past the end of a string" bug 4354
    • tr: fix "tr [=" case (closes bug 4374)
    • tr: fix yet another access past the end of a string (closes bug 4374)
    • unlzma: fix memory leak (by Pascal Bellard)
    • vi: fix reversed checks for underflow
    • vi: using array data after it fell out of scope is stupid
    • xargs: fix -e default to match newer GNU xargs, add SUS mandated -E (closes bug 4414)
    • other fixes and code size reductions in many applets

  • 12 July 2008 -- BusyBox 1.11.1 (stable)

    BusyBox 1.11.1. (git, patches, how to add a patch)

    Bugfix-only release for 1.11.x branch. It contains fixes for awk, bunzip2, cpio, ifupdown, ip, man, start-stop-daemon, uname and vi.

  • 11 July 2008 -- HOWTO is updated

    "How to build static busybox for i486-linux-uclibc" is updated and tested on a fresh Fedora 9 install. Please report if it doesn't work for you.

  • Old News

    Click here to read older news


Copyright © 1999-2008 Erik Andersen
Mail all comments, insults, suggestions and bribes to
Denys Vlasenko vda.linux@googlemail.com
This site created with the vi editor This site is kindly hosted by OSL