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
The file has to be owned by user root, group root and has to be
writeable only by root:
- (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
+ (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
The busybox executable has to be owned by user root, group
root and has to be setuid root for this to work:
- (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
+ (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
Robert 'sandman' Griebl has more information here:
.
diff --git a/Makefile b/Makefile
index 6808e7d0f..6587d901e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 1
PATCHLEVEL = 8
SUBLEVEL = 0
-EXTRAVERSION = .svn
+EXTRAVERSION =
NAME = Unnamed
# *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,
/*---------------------------------------------*/
/* Pre:
- * nblock > N_OVERSHOOT
- * block32 exists for [0 .. nblock-1 +N_OVERSHOOT]
- * ((uint8_t*)block32) [0 .. nblock-1] holds block
- * ptr exists for [0 .. nblock-1]
+ * nblock > N_OVERSHOOT
+ * block32 exists for [0 .. nblock-1 +N_OVERSHOOT]
+ * ((uint8_t*)block32) [0 .. nblock-1] holds block
+ * ptr exists for [0 .. nblock-1]
*
* Post:
- * ((uint8_t*)block32) [0 .. nblock-1] holds block
- * All other areas of block32 destroyed
- * ftab[0 .. 65536] destroyed
- * ptr [0 .. nblock-1] holds sorted order
- * if (*budget < 0), sorting was abandoned
+ * ((uint8_t*)block32) [0 .. nblock-1] holds block
+ * All other areas of block32 destroyed
+ * ftab[0 .. 65536] destroyed
+ * ptr [0 .. nblock-1] holds sorted order
+ * if (*budget < 0), sorting was abandoned
*/
#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 @@
+ - 4 November 2007 -- BusyBox 1.8.0 (unstable)
+
BusyBox 1.8.0.
+ (svn,
+ patches,
+ how to add a patch)
+
+ Note: this is probably the very last release with lash. It will be dropped. Please migrate to hush.
+
+
Applets which had many changes since 1.7.x:
+
httpd:
+
+ - does not clear environment, CGIs will see all environment variables which were set for httpd
+
- fix bug where we were trying to read more POSTDATA than content-length
+
- fix trivial bug (spotted by Alex Landau)
+
- optional support for partial downloads
+
- simplified CGI i/o loop (now it looks good to me)
+
- small auth and IPv6 fixes (Kim B. Heino <Kim.Heino at bluegiga.com>)
+
- support for proxying connection to other http server (by Alex Landau <landau_alex at yahoo.com>)
+
+
+ top:
+
+ - TOPMEM feature - 's(how sizes)' command
+
- don't wait before final bailout (try top -b -n1)
+
- fix for command line wrapping
+
+
+ Build system improvements: libbusybox mode restored (it was lost in transition to new makefiles).
+
+
Code and data size in comparison with 1.7.3:
+Equivalent .config, i386 uclibc static builds:
+ text data bss dec hex filename
+ 768123 1055 10768 779946 be6aa busybox-1.7.3/busybox
+ 759693 974 9420 770087 bc027 busybox-1.8.0/busybox
+
+ New applets:
+
+ - microcom: new applet by Vladimir Dronnikov <dronnikov at gmail.ru>
+
- kbd_mode: new applet by Loic Grenie <loic.grenie at gmail.com>
+
- bzip2: port bzip2 1.0.4 to busybox, 9 kb of code
+
- pgrep, pkill: new applets by Loic Grenie <loic.grenie at gmail.com>
+
- setsebool: new applet (Yuichi Nakamura <ynakam at hitachisoft.jp>)
+
+
+ Other changes since previous release (abridged):
+
+ - cp: -r and -R imply -d (coreutils compat)
+
- cp: detect and prevent infinite recursion
+
- cp: make it a bit closer to POSIX, but still refuse to open and overwrite symbolic link
+
- hdparm: reduce possibility of numeric overflow in -T
+
- hdparm: simplify timing measurement
+
- wget: -O FILE is allowed to overwrite existing file (compat)
+
- wget: allow dots in header field names.
+
- telnetd: add -K option to close sessions as soon as child exits.
+
- telnetd: don't SIGKILL child when closing the session, kernel will send SIGHUP for us
+
- ed: large cleanup, add line editing
+
- hush: feeble attempt at making it more NOMMU-friendly
+
- hush: fix glob()
+
- hush: stop doing manual accounting of open fd's, kernel can do it for us
+
- adduser: implement -S and fix uid selection
+
- ash: fix prompt expansion (Natanael Copa <natanael.copa at gmail.com>)
+
- ash: revert "cat | jobs" fix, it causes more problems than good
+
- find: fix -xdev behavior in the presence of two or more nested mount points
+
- grep: fix grep -F -e str1 -e str2 (was matching str2 only)
+
- grep: optimization: stop on first -e match
+
- gunzip: support concatenated gz files
+
- inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by Ilya Panfilov)
+
- install: 'support' (by ignoring) -v and -b
+
- install: fix bug in "install -c file dir" (tried to copy dir into dir too)
+
- ip: tunnel parameter parsing fix by Jean Wolter <jw5 at os.inf.tu-dresden.de>
+
- isrv: use monotonic_sec
+
- less: make 'f' key page forward
+
- libiproute: add missing break statements
+
- load_policy: update (Yuichi Nakamura <ynakam at hitachisoft.jp>)
+
- logger: fix a problem of losing all argv except first
+
- login: do reject wrong passwords with PAM auth
+
- losetup: support -f (Loic Grenie <loic.grenie at gmail.com>)
+
- fdisk: make fdisk compile on libc without llseek64
+
- libbb: by popular request allow PATH to be customized at build time
+
- mkswap: selinux support by KaiGai Kohei <kaigai at ak.jp.nec.com>
+
- mount: allow (and ignore) -i
+
- mount: ignore NFS bg option on NOMMU machines
+
- mount: mount helpers support (by Vladimir Dronnikov <dronnikov at gmail.ru>)
+
- passwd: handle Ctrl-C, restore termios on Ctrl-C
+
- passwd: SELinux support by KaiGai Kohei <kaigai at ak.jp.nec.com>
+
- ping: make -I ethN work too (-I addr already worked)
+
- ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)
+
- read_line_input: fix it to not do any fancy editing if echoing is disabled
+
- run_parts: make it sort executables by name (required by API)
+
- runsv: do not use clock_gettime if !MONOTONIC_CLOCK
+
- runsvdir: fix "linear wait time" bug
+
- sulogin: remove alarm handling, it is redundant there
+
- svlogd: compat: svlogd -tt should timestanp stderr too
+
- syslogd: bail out if you see null read from Unix socket
+
- syslogd: do not need to poll(), we can just block in read()
+
- tail: work correctly on /proc files (Kazuo TAKADA <kztakada at sm.sony.co.jp>)
+
- tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau <landau_alex at yahoo.com>)
+
- tar: strip leading '/' BEFORE memorizing hardlink's name
+
- tftp: fix infinite retry bug
+
- umount: support (by ignoring) -i; style fixes
+
- unzip: fix endianness bugs
+
- vi: don't wait 50 ms before reading ESC sequences
+
- watchdog: allow millisecond spec (-t 250ms)
+
- zcip: fix unaligned trap on ARM
+
+
+
+ How to build static busybox against uclibc
+
+
4 November 2007 -- BusyBox 1.7.3 (stable)
BusyBox 1.7.3.
(svn,
@@ -8,7 +118,6 @@
how to add a patch)
This is a bugfix-only release, with fixes to ash, httpd, inetd, iptun, logger, login, tail.
- How to build static busybox against uclibc
30 September 2007 -- BusyBox 1.7.2 (stable)
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)
/* check for a free uid (and maybe gid) */
while (getpwuid(p->pw_uid) || (!p->pw_gid && getgrgid(p->pw_uid)))
p->pw_uid++;
-
+
if (!p->pw_gid) {
/* new gid = uid */
p->pw_gid = p->pw_uid;
@@ -146,7 +146,7 @@ int adduser_main(int argc, char **argv)
if (mkdir(pw.pw_dir, 0755)
|| chown(pw.pw_dir, pw.pw_uid, pw.pw_gid)
|| chmod(pw.pw_dir, 02755) /* set setgid bit on homedir */
- ) {
+ ) {
bb_simple_perror_msg(pw.pw_dir);
}
}
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,
memcpy(loc, string, len);
}
-static void
+static void
obj_symbol_patch(struct obj_file *f, int secidx, ElfW(Addr) offset,
struct obj_symbol *sym)
{
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
If you need support for IPv6, turn this option on.
### UNUSED
-### config FEATURE_IFUPDOWN_IPX
-### bool "Enable support for IPX"
-### default n
-### depends on IFUPDOWN
-### help
-### If this option is selected you can use busybox to work with IPX
-### networks.
+###config FEATURE_IFUPDOWN_IPX
+### bool "Enable support for IPX"
+### default n
+### depends on IFUPDOWN
+### help
+### If this option is selected you can use busybox to work with IPX
+### networks.
config FEATURE_IFUPDOWN_MAPPING
bool "Enable mapping support"