summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-04 15:43:26 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-04 15:43:26 +0000
commit6cee58e9cfedfa09ede3f5499eb5f635fc2bb77c (patch)
treee5aa03f1ca62b3d6aaa84b5821cfcbd1fb8253a9
parent360362dc5768e4ad4924fda677f6b7cedec24256 (diff)
downloadbusybox-w32-1_8_0.tar.gz
busybox-w32-1_8_0.tar.bz2
busybox-w32-1_8_0.zip
Announce 1.8.01_8_0
-rw-r--r--Config.in4
-rw-r--r--Makefile2
-rw-r--r--archival/bz/blocksort.c18
-rw-r--r--docs/busybox.net/news.html111
-rw-r--r--loginutils/adduser.c4
-rw-r--r--modutils/insmod.c2
-rw-r--r--networking/Config.in14
7 files changed, 132 insertions, 23 deletions
diff --git a/Config.in b/Config.in
index 74f8beae9..fa48ddd63 100644
--- a/Config.in
+++ b/Config.in
@@ -186,10 +186,10 @@ config FEATURE_SUID_CONFIG
186 186
187 The file has to be owned by user root, group root and has to be 187 The file has to be owned by user root, group root and has to be
188 writeable only by root: 188 writeable only by root:
189 (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf) 189 (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
190 The busybox executable has to be owned by user root, group 190 The busybox executable has to be owned by user root, group
191 root and has to be setuid root for this to work: 191 root and has to be setuid root for this to work:
192 (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox) 192 (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
193 193
194 Robert 'sandman' Griebl has more information here: 194 Robert 'sandman' Griebl has more information here:
195 <url: http://www.softforge.de/bb/suid.html >. 195 <url: http://www.softforge.de/bb/suid.html >.
diff --git a/Makefile b/Makefile
index 6808e7d0f..6587d901e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 1 1VERSION = 1
2PATCHLEVEL = 8 2PATCHLEVEL = 8
3SUBLEVEL = 0 3SUBLEVEL = 0
4EXTRAVERSION = .svn 4EXTRAVERSION =
5NAME = Unnamed 5NAME = Unnamed
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
diff --git a/archival/bz/blocksort.c b/archival/bz/blocksort.c
index aaed883de..cddbfcbea 100644
--- a/archival/bz/blocksort.c
+++ b/archival/bz/blocksort.c
@@ -703,17 +703,17 @@ void mainQSort3(uint32_t* ptr,
703 703
704/*---------------------------------------------*/ 704/*---------------------------------------------*/
705/* Pre: 705/* Pre:
706 * nblock > N_OVERSHOOT 706 * nblock > N_OVERSHOOT
707 * block32 exists for [0 .. nblock-1 +N_OVERSHOOT] 707 * block32 exists for [0 .. nblock-1 +N_OVERSHOOT]
708 * ((uint8_t*)block32) [0 .. nblock-1] holds block 708 * ((uint8_t*)block32) [0 .. nblock-1] holds block
709 * ptr exists for [0 .. nblock-1] 709 * ptr exists for [0 .. nblock-1]
710 * 710 *
711 * Post: 711 * Post:
712 * ((uint8_t*)block32) [0 .. nblock-1] holds block 712 * ((uint8_t*)block32) [0 .. nblock-1] holds block
713 * All other areas of block32 destroyed 713 * All other areas of block32 destroyed
714 * ftab[0 .. 65536] destroyed 714 * ftab[0 .. 65536] destroyed
715 * ptr [0 .. nblock-1] holds sorted order 715 * ptr [0 .. nblock-1] holds sorted order
716 * if (*budget < 0), sorting was abandoned 716 * if (*budget < 0), sorting was abandoned
717 */ 717 */
718 718
719#define BIGFREQ(b) (ftab[((b)+1) << 8] - ftab[(b) << 8]) 719#define BIGFREQ(b) (ftab[((b)+1) << 8] - ftab[(b) << 8])
diff --git a/docs/busybox.net/news.html b/docs/busybox.net/news.html
index 5e546f4a4..c8cf331c2 100644
--- a/docs/busybox.net/news.html
+++ b/docs/busybox.net/news.html
@@ -1,6 +1,116 @@
1<!--#include file="header.html" --> 1<!--#include file="header.html" -->
2 2
3<ul> 3<ul>
4 <li><b>4 November 2007 -- BusyBox 1.8.0 (unstable)</b>
5 <p><a href=http://busybox.net/downloads/busybox-1.8.0.tar.bz2>BusyBox 1.8.0</a>.
6 (<a href=http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_8_stable/>svn</a>,
7 <a href=http://busybox.net/downloads/fixes-1.8.0/>patches</a>,
8 <a href=http://busybox.net/fix.html>how to add a patch</a>)</p>
9
10 <p>Note: this is probably the very last release with lash. It will be dropped. Please migrate to hush.
11
12 <p>Applets which had many changes since 1.7.x:
13 <p>httpd:
14 <ul>
15 <li>does not clear environment, CGIs will see all environment variables which were set for httpd
16 <li>fix bug where we were trying to read more POSTDATA than content-length
17 <li>fix trivial bug (spotted by Alex Landau)
18 <li>optional support for partial downloads
19 <li>simplified CGI i/o loop (now it looks good to me)
20 <li>small auth and IPv6 fixes (Kim B. Heino &lt;Kim.Heino at bluegiga.com>)
21 <li>support for proxying connection to other http server (by Alex Landau &lt;landau_alex at yahoo.com>)
22 </ul>
23
24 <p>top:
25 <ul>
26 <li>TOPMEM feature - 's(how sizes)' command
27 <li>don't wait before final bailout (try top -b -n1)
28 <li>fix for command line wrapping
29 </ul>
30
31 <p>Build system improvements: libbusybox mode restored (it was lost in transition to new makefiles).
32
33 <p>Code and data size in comparison with 1.7.3:<pre>
34Equivalent .config, i386 uclibc static builds:
35 text data bss dec hex filename
36 768123 1055 10768 779946 be6aa busybox-1.7.3/busybox
37 759693 974 9420 770087 bc027 busybox-1.8.0/busybox</pre>
38
39 <p>New applets:
40 <ul>
41 <li>microcom: new applet by Vladimir Dronnikov &lt;dronnikov at gmail.ru&gt;
42 <li>kbd_mode: new applet by Loic Grenie &lt;loic.grenie at gmail.com&gt;
43 <li>bzip2: port bzip2 1.0.4 to busybox, 9 kb of code
44 <li>pgrep, pkill: new applets by Loic Grenie &lt;loic.grenie at gmail.com&gt;
45 <li>setsebool: new applet (Yuichi Nakamura &lt;ynakam at hitachisoft.jp&gt;)
46 </ul>
47
48 <p>Other changes since previous release (abridged):
49 <ul>
50 <li>cp: -r and -R imply -d (coreutils compat)
51 <li>cp: detect and prevent infinite recursion
52 <li>cp: make it a bit closer to POSIX, but still refuse to open and overwrite symbolic link
53 <li>hdparm: reduce possibility of numeric overflow in -T
54 <li>hdparm: simplify timing measurement
55 <li>wget: -O FILE is allowed to overwrite existing file (compat)
56 <li>wget: allow dots in header field names.
57 <li>telnetd: add -K option to close sessions as soon as child exits.
58 <li>telnetd: don't SIGKILL child when closing the session, kernel will send SIGHUP for us
59 <li>ed: large cleanup, add line editing
60 <li>hush: feeble attempt at making it more NOMMU-friendly
61 <li>hush: fix glob()
62 <li>hush: stop doing manual accounting of open fd's, kernel can do it for us
63 <li>adduser: implement -S and fix uid selection
64 <li>ash: fix prompt expansion (Natanael Copa &lt;natanael.copa at gmail.com&gt;)
65 <li>ash: revert "cat | jobs" fix, it causes more problems than good
66 <li>find: fix -xdev behavior in the presence of two or more nested mount points
67 <li>grep: fix grep -F -e str1 -e str2 (was matching str2 only)
68 <li>grep: optimization: stop on first -e match
69 <li>gunzip: support concatenated gz files
70 <li>inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by Ilya Panfilov)
71 <li>install: 'support' (by ignoring) -v and -b
72 <li>install: fix bug in "install -c file dir" (tried to copy dir into dir too)
73 <li>ip: tunnel parameter parsing fix by Jean Wolter &lt;jw5 at os.inf.tu-dresden.de&gt;
74 <li>isrv: use monotonic_sec
75 <li>less: make 'f' key page forward
76 <li>libiproute: add missing break statements
77 <li>load_policy: update (Yuichi Nakamura &lt;ynakam at hitachisoft.jp&gt;)
78 <li>logger: fix a problem of losing all argv except first
79 <li>login: do reject wrong passwords with PAM auth
80 <li>losetup: support -f (Loic Grenie &lt;loic.grenie at gmail.com&gt;)
81 <li>fdisk: make fdisk compile on libc without llseek64
82 <li>libbb: by popular request allow PATH to be customized at build time
83 <li>mkswap: selinux support by KaiGai Kohei &lt;kaigai at ak.jp.nec.com&gt;
84 <li>mount: allow (and ignore) -i
85 <li>mount: ignore NFS bg option on NOMMU machines
86 <li>mount: mount helpers support (by Vladimir Dronnikov &lt;dronnikov at gmail.ru&gt;)
87 <li>passwd: handle Ctrl-C, restore termios on Ctrl-C
88 <li>passwd: SELinux support by KaiGai Kohei &lt;kaigai at ak.jp.nec.com&gt;
89 <li>ping: make -I ethN work too (-I addr already worked)
90 <li>ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)
91 <li>read_line_input: fix it to not do any fancy editing if echoing is disabled
92 <li>run_parts: make it sort executables by name (required by API)
93 <li>runsv: do not use clock_gettime if !MONOTONIC_CLOCK
94 <li>runsvdir: fix "linear wait time" bug
95 <li>sulogin: remove alarm handling, it is redundant there
96 <li>svlogd: compat: svlogd -tt should timestanp stderr too
97 <li>syslogd: bail out if you see null read from Unix socket
98 <li>syslogd: do not need to poll(), we can just block in read()
99 <li>tail: work correctly on /proc files (Kazuo TAKADA &lt;kztakada at sm.sony.co.jp&gt;)
100 <li>tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau &lt;landau_alex at yahoo.com&gt;)
101 <li>tar: strip leading '/' BEFORE memorizing hardlink's name
102 <li>tftp: fix infinite retry bug
103 <li>umount: support (by ignoring) -i; style fixes
104 <li>unzip: fix endianness bugs
105 <li>vi: don't wait 50 ms before reading ESC sequences
106 <li>watchdog: allow millisecond spec (-t 250ms)
107 <li>zcip: fix unaligned trap on ARM
108 </ul>
109 </p>
110
111 <p><a href=http://busybox.net/~vda/HOWTO_bbox_with_uclibc.txt>How to build static busybox against uclibc</a></p>
112 </li>
113
4 <li><b>4 November 2007 -- BusyBox 1.7.3 (stable)</b> 114 <li><b>4 November 2007 -- BusyBox 1.7.3 (stable)</b>
5 <p><a href=http://busybox.net/downloads/busybox-1.7.3.tar.bz2>BusyBox 1.7.3</a>. 115 <p><a href=http://busybox.net/downloads/busybox-1.7.3.tar.bz2>BusyBox 1.7.3</a>.
6 (<a href=http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_7_stable/>svn</a>, 116 (<a href=http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_7_stable/>svn</a>,
@@ -8,7 +118,6 @@
8 <a href=http://busybox.net/fix.html>how to add a patch</a>)</p> 118 <a href=http://busybox.net/fix.html>how to add a patch</a>)</p>
9 119
10 <p>This is a bugfix-only release, with fixes to ash, httpd, inetd, iptun, logger, login, tail.</p> 120 <p>This is a bugfix-only release, with fixes to ash, httpd, inetd, iptun, logger, login, tail.</p>
11 <p><a href=http://busybox.net/~vda/HOWTO_bbox_with_uclibc.txt>How to build static busybox against uclibc</a></p>
12 </li> 121 </li>
13 122
14 <li><b>30 September 2007 -- BusyBox 1.7.2 (stable)</b> 123 <li><b>30 September 2007 -- BusyBox 1.7.2 (stable)</b>
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index e91417ad5..a859f4b0c 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -35,7 +35,7 @@ static void passwd_study(struct passwd *p)
35 /* check for a free uid (and maybe gid) */ 35 /* check for a free uid (and maybe gid) */
36 while (getpwuid(p->pw_uid) || (!p->pw_gid && getgrgid(p->pw_uid))) 36 while (getpwuid(p->pw_uid) || (!p->pw_gid && getgrgid(p->pw_uid)))
37 p->pw_uid++; 37 p->pw_uid++;
38 38
39 if (!p->pw_gid) { 39 if (!p->pw_gid) {
40 /* new gid = uid */ 40 /* new gid = uid */
41 p->pw_gid = p->pw_uid; 41 p->pw_gid = p->pw_uid;
@@ -146,7 +146,7 @@ int adduser_main(int argc, char **argv)
146 if (mkdir(pw.pw_dir, 0755) 146 if (mkdir(pw.pw_dir, 0755)
147 || chown(pw.pw_dir, pw.pw_uid, pw.pw_gid) 147 || chown(pw.pw_dir, pw.pw_uid, pw.pw_gid)
148 || chmod(pw.pw_dir, 02755) /* set setgid bit on homedir */ 148 || chmod(pw.pw_dir, 02755) /* set setgid bit on homedir */
149 ) { 149 ) {
150 bb_simple_perror_msg(pw.pw_dir); 150 bb_simple_perror_msg(pw.pw_dir);
151 } 151 }
152 } 152 }
diff --git a/modutils/insmod.c b/modutils/insmod.c
index df75abbfa..c3c57ede7 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -2983,7 +2983,7 @@ obj_string_patch(struct obj_file *f, int secidx, ElfW(Addr) offset,
2983 memcpy(loc, string, len); 2983 memcpy(loc, string, len);
2984} 2984}
2985 2985
2986static void 2986static void
2987obj_symbol_patch(struct obj_file *f, int secidx, ElfW(Addr) offset, 2987obj_symbol_patch(struct obj_file *f, int secidx, ElfW(Addr) offset,
2988 struct obj_symbol *sym) 2988 struct obj_symbol *sym)
2989{ 2989{
diff --git a/networking/Config.in b/networking/Config.in
index 381c97a8b..b5b4597c4 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -329,13 +329,13 @@ config FEATURE_IFUPDOWN_IPV6
329 If you need support for IPv6, turn this option on. 329 If you need support for IPv6, turn this option on.
330 330
331### UNUSED 331### UNUSED
332### config FEATURE_IFUPDOWN_IPX 332###config FEATURE_IFUPDOWN_IPX
333### bool "Enable support for IPX" 333### bool "Enable support for IPX"
334### default n 334### default n
335### depends on IFUPDOWN 335### depends on IFUPDOWN
336### help 336### help
337### If this option is selected you can use busybox to work with IPX 337### If this option is selected you can use busybox to work with IPX
338### networks. 338### networks.
339 339
340config FEATURE_IFUPDOWN_MAPPING 340config FEATURE_IFUPDOWN_MAPPING
341 bool "Enable mapping support" 341 bool "Enable mapping support"