tweak web page
[oweals/busybox.git] / docs / busybox.net / news.html
1 <!--#include file="header.html" -->
2
3 <ul>
4
5   <li><b>21 August 2008 -- BusyBox 1.12.0 (unstable), BusyBox 1.11.2 (stable)</b>
6     <p><a href="http://busybox.net/downloads/busybox-1.12.0.tar.bz2">BusyBox 1.12.0</a>.
7     (<a href="http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_12_stable/">svn</a>,
8     <a href="http://busybox.net/downloads/fixes-1.12.0/">patches</a>,
9     <a href="http://busybox.net/fix.html">how to add a patch</a>)</p>
10     <p><a href="http://busybox.net/downloads/busybox-1.11.2.tar.bz2">BusyBox 1.11.2</a>.
11     (<a href="http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_11_stable/">svn</a>,
12     <a href="http://busybox.net/downloads/fixes-1.11.2/">patches</a>,
13     <a href="http://busybox.net/fix.html">how to add a patch</a>)</p>
14
15     <p>Sizes of busybox-1.11.2 and busybox-1.12.0 (with equivalent config, static uclibc build):<pre>
16    text    data     bss     dec     hex filename
17  829687     617    7052  837356   cc6ec busybox-1.11.2/busybox
18  822961     594    6832  830387   cabb3 busybox-1.12.0/busybox
19 </pre>
20
21     <p>New applets: rdev (Grant Erickson), setfont, showkey (both by Vladimir)
22
23     <p>Most significant changes since previous release (please report any regression):
24       <ul>
25         <li>ash: bash compat: "shift $BIGNUM" is equivalent to "shift 1"</li>
26         <li>ash: dont allow e.g. exec &lt;&amp;10 to attach to script's fd! </li>
27         <li>ash: fix a bug where redirection fds were not closed afterwards. optimize close+fcntl(DUPFD) into dup2</li>
28         <li>ash: fix segfault in "command -v"</li>
29         <li>ash: fix very weak $RANDOM generator</li>
30         <li>ash: prevent exec NN&gt;&amp;- from closing fd used for script reading</li>
31         <li>ash: teach ash about 123&gt;file. It could take only 0..9 before</li>
32         <li>hush: fix a case where "$@" must expand to no word at all</li>
33         <li>hush: fix mishandling of a'b'c=fff as assignments. They are not</li>
34         <li>hush: fix non-detection of builtins and applets in "v=break; ...; $v; ..." case</li>
35         <li>hush: fix "while false; ..." exitcode; add testsuites</li>
36         <li>hush: support "case...esac" statements (~350 bytes of code)</li>
37         <li>hush: support "break [N]" and "continue [N]" statements</li>
38         <li>hush: support "for if in do done then; do echo $if; done" case</li>
39         <li>hush: support "for v; do ... done" syntax (implied 'in "$@"')</li>
40         <li>hush: support $_NUMBERS variable names</li>
41         <li>libbb: unified config parser (by Vladimir). This change affected many applets</li>
42       </ul>
43
44     <p>Other changes:
45       <ul>
46         <li>libbb: dump: do not use uninitialized memory (closes bug 4364)</li>
47         <li>libbb: fix bb_strtol[l]'s check for "-" (closes bug 4174)</li>
48         <li>libbb: fix --help to not affect "test --help"</li>
49         <li>libbb: fix mishandling of "all argv are opts" in getopt32()</li>
50         <li>libbb: getopt32() should not ever touch argv[0] (even read)</li>
51         <li>libbb: introduce and use xrealloc_vector</li>
52         <li>libbb: [x]fopen_for_{read,write} introduced and used (by Vladimir)</li>
53         <li>lineedit: fix use-after-free</li>
54         <li>libunarchive: refactor handling of archived files. "tar f file.tar.lzma" now works too</li>
55         <li>bb_strtoXXX: close bug 4174 (potential use of buf[-1])</li>
56         <li>open_transformer: don't leak file descriptor</li>
57         <li>open_transformer: fix bug of calling exit instead of _exit</li>
58         <li>arp: without -H type, assume "ether" (closes bug 4564)</li>
59         <li>ar: reuse existing ar unpacking code</li>
60         <li>awk: fix a case with multiple -f options. Simplify -f file reading. </li>
61         <li>build system: introduce and use FAST_FUNC: regparm on i386, otherwise no-op</li>
62         <li>bunzip2: fix an uncompression error (by Rob Landley rob AT landley.net)</li>
63         <li>b[un]zip2, g[un]zip: unlink destination if -f is given (closes bug 3854)</li>
64         <li>comm: almost total rewrite</li>
65         <li>cpio: fix -m to actually work as expected (by Pascal Bellard)</li>
66         <li>cpio: internalize archive_xread_all_eof, add a few paranoia checks for corrupted cpio files</li>
67         <li>cpio: make long opts depend only on ENABLE_GETOPT_LONG</li>
68         <li>cpio: on unpack, limit filename length to 8k</li>
69         <li>cpio: support some long options</li>
70         <li>crond: use execlp instead of execl</li>
71         <li>cut: fix buffer overflow (closes bug 4544)</li>
72         <li>envdir: fix "envdir" (no params at all) and "envdir dir" cases</li>
73         <li>findfs: make it use setuid-ness of busybox binary</li>
74         <li>fsck: use getmntent_r instead of open-coded parsing (by Vladimir)</li>
75         <li>fuser: a bit of safety in scanf</li>
76         <li>grep: option to use GNU regex matching instead of POSIX one. This fixes problems with NULs in files being scanned, but costs +800 bytes</li>
77         <li>halt: signal init regardless of ENABLE_INIT</li>
78         <li>httpd: add homedir directive specially for (and by) Walter Harms wharms AT bfs.de</li>
79         <li>ifupdown: /etc/network/interfaces can have comments with leading blanks</li>
80         <li>ifupdown: fixes for custom MAC address (by Wade Berrier wberrier AT gmail.com)</li>
81         <li>ifupdown: fixes for shutdown of DHCP-managed interfaces (by Wade Berrier wberrier AT gmail.com)</li>
82         <li>inetd: do not trash errno in signal handlers; in CHLD handler, stop looping through services when pid is found</li>
83         <li>insmod: users report that "|| defined(__powerpc__)" is missing</li>
84         <li>install: do not chown intermediate directories with install -d (by Natanael Copa)</li>
85         <li>install: fix long option not taking params (closes bug 4584)</li>
86         <li>lpd,lpr: send/receive ACKs after filenames, not only after file bodies</li>
87         <li>ls: fix a bug where we may use uninintialized variable</li>
88         <li>man: add handling of "man links", by Ivana Varekova varekova AT redhat.com</li>
89         <li>man: fix a case when a full pathname to manpage is given</li>
90         <li>man: fix inverted cat/man bool variable</li>
91         <li>man: fix missed NULL termination of an array</li>
92         <li>man: mimic "no manual entry for 'bogus'" message and exitcode</li>
93         <li>man: support cat pages too (by Jason Curl jcurlnews AT arcor.de)</li>
94         <li>man: teach it to use .lzma if requested by .config</li>
95         <li>mdev: check for "/block/" substring for block dev detection</li>
96         <li>mdev: do not complain if mdev.conf does not exist</li>
97         <li>mdev: if device was moved at creation, at removal correctly remove it from moved location and also remove symlinks to it</li>
98         <li>mdev: support for serializing hotplug</li>
99         <li>mdev, init: use shared code for fd sanitization</li>
100         <li>mkdir: fix "uname 0222; mkdir -p foo/bar" case (by Doug Graham dgraham AT nortel.com)</li>
101         <li>modprobe: support for /etc/modprobe.d (by Timo Teras)</li>
102         <li>modprobe: use buffering line reads (fgets()) instead of reads()</li>
103         <li>modutils: optional modprobe-small (by Vladimir), 15kb smaller than standard one</li>
104         <li>mount: support for "-o mand" and "[no]relatime"</li>
105         <li>mount: support nfs mount option "nordiplus" (by Octavian Purdila opurdila AT ixiacom.com)</li>
106         <li>mount: support "relatime" / "norelatime"</li>
107         <li>mount: testsuite for "-o mand"</li>
108         <li>msh: fix "while... continue; ..." (closes bug 3884)</li>
109         <li>mv: fix a case when we move dangling symlink across mountpoints</li>
110         <li>netstat: optional -p support (by L. Gabriel Somlo somlo AT cmu.edu)</li>
111         <li>nmeter: fix read past the end of a buffer (closes bug 4594)</li>
112         <li>od, hexdump: fix bug where xrealloc may move pointer, leaving other pointers dangling (closes bug 4104)</li>
113         <li>pidof/killall: allow find_pid_by_name to find running processes started as scripts_with_name_longer_than_15_bytes.sh (closes bug 4054)</li>
114         <li>printf: do not print garbage on "%Ld" (closes bug 4214)</li>
115         <li>printf: fix %b, fix several bugs in %*.*, fix compat issues with aborting too early, support %zd; expand testsuite</li>
116         <li>printf: protect against bogus format specifiers (closes bug 4184)</li>
117         <li>sendmail: updates from Vladimir:</li>
118         <li>sendmail: do not discard all headers</li>
119         <li>sendmail: do not ignore CC; accept to: and cc: case-insensitively. +20 bytes</li>
120         <li>sendmail: fixed mail recipient address</li>
121         <li>sendmail: fixed SEGV if sender address is missed</li>
122         <li>sendmail: use HOSTNAME instead of HOST when no server is explicitly specified</li>
123         <li>sleep: if FANCY &amp;&amp; DESKTOP, support fractional seconds, minutes, hours and so on (coreutils compat)</li>
124         <li>ssd: CLOSE_EXTRA_FDS in MMU case too</li>
125         <li>ssd: do not stat -x EXECUTABLE, it is not needed anymore</li>
126         <li>ssd: fix -a without -x case</li>
127         <li>ssd: use $PATH</li>
128         <li>tar: fix handling of tarballs with symlinks with size field != 0</li>
129         <li>tar: handle autodetection for tiny .tar.gz files too, simplify autodetection</li>
130         <li>taskset: fix some careless code in both fancy and non-fancy cases. -5 bytes for fancy, +5 for non-fancy</li>
131         <li>tee: fix infinite looping on open error (echo asd | tee "")</li>
132         <li>tee: "-" is a name for stdout, handle it that way</li>
133         <li>telnetd: fix issue file printing</li>
134         <li>test: fix parser to prefer binop over unop, as coreutils does</li>
135         <li>testsuite: uniformly use $ECHO with -n -e</li>
136         <li>time: don't segfault with no arguments</li>
137         <li>touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)</li>
138         <li>tr: fix "access past the end of a string" bug 4354</li>
139         <li>tr: fix "tr [=" case (closes bug 4374)</li>
140         <li>tr: fix yet another access past the end of a string (closes bug 4374)</li>
141         <li>unlzma: fix memory leak (by Pascal Bellard)</li>
142         <li>vi: fix reversed checks for underflow</li>
143         <li>vi: using array data after it fell out of scope is stupid</li>
144         <li>xargs: fix -e default to match newer GNU xargs, add SUS mandated -E (closes bug 4414)</li>
145         <li>other fixes and code size reductions in many applets</li>
146       </ul>
147     <p>
148     The email address gpl@busybox.net is the recommended way to contact
149     the Software Freedom Law Center to report BusyBox license violations.
150     </p>
151
152   <li><b>12 July 2008 -- BusyBox 1.11.1 (stable)</b>
153     <p><a href="http://busybox.net/downloads/busybox-1.11.1.tar.bz2">BusyBox 1.11.1</a>.
154     (<a href="http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_11_stable/">svn</a>,
155     <a href="http://busybox.net/downloads/fixes-1.11.1/">patches</a>,
156     <a href="http://busybox.net/fix.html">how to add a patch</a>)</p>
157     <p>
158     Bugfix-only release for 1.11.x branch. It contains fixes for awk,
159     bunzip2, cpio, ifupdown, ip, man, start-stop-daemon, uname and vi.
160     </p>
161   </li>
162
163   <li><b>11 July 2008 -- HOWTO is updated</b>
164     <p>
165     <a href="http://busybox.net/~vda/HOWTO/i486-linux-uclibc/HOWTO.txt">
166     "How to build static busybox for i486-linux-uclibc"</a> is updated
167     and tested on a fresh Fedora 9 install. Please report if it doesn't
168     work for you.
169     </p>
170   </li>
171
172
173
174   <li><b>Old News</b><p>
175     Click here to read <a href="oldnews.html">older news</a>
176     </p>
177   </li>
178
179 </ul>
180
181 <!--#include file="footer.html" -->
182