Rob Landley [Wed, 22 Mar 2006 17:11:44 +0000 (17:11 -0000)]
Fix "seq 1 1".
Rob Landley [Wed, 22 Mar 2006 16:59:12 +0000 (16:59 -0000)]
Fix from Glenn McGrath.
Rob Landley [Wed, 22 Mar 2006 15:24:24 +0000 (15:24 -0000)]
Tweak allbareconfig not to pause.
Rob Landley [Wed, 22 Mar 2006 14:07:23 +0000 (14:07 -0000)]
Annoint 1.1.1.
Rob Landley [Wed, 22 Mar 2006 00:46:36 +0000 (00:46 -0000)]
Another header suggestion from Shaun Jackman.
Mike Frysinger [Wed, 22 Mar 2006 00:25:07 +0000 (00:25 -0000)]
2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of sys/signal.h.
Rob Landley [Tue, 21 Mar 2006 18:20:40 +0000 (18:20 -0000)]
Fix missing copyright and license notice.
Rob Landley [Tue, 21 Mar 2006 16:35:50 +0000 (16:35 -0000)]
Patch from Stuart Hughes upgrading depmod.pl
Rob Landley [Tue, 21 Mar 2006 16:22:19 +0000 (16:22 -0000)]
Patch from Shaun Jackman to make loop.c build only when needed.
Rob Landley [Tue, 21 Mar 2006 16:07:39 +0000 (16:07 -0000)]
Temporarily disable shared library for the 1.1.1 release.
Bernhard Reutner-Fischer [Tue, 21 Mar 2006 11:06:43 +0000 (11:06 -0000)]
- workaroung pr25795 in gcc-4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25795
Rob Landley [Mon, 20 Mar 2006 18:40:07 +0000 (18:40 -0000)]
Remove unneeded entries.
Rob Landley [Mon, 20 Mar 2006 18:39:02 +0000 (18:39 -0000)]
Cleanup: remove double quotes that don't seem to be needed.
Eric Andersen [Mon, 20 Mar 2006 18:07:50 +0000 (18:07 -0000)]
whitespace cleanup
Eric Andersen [Mon, 20 Mar 2006 18:07:13 +0000 (18:07 -0000)]
Fix some obvious compile problems. Make the -f' fakeIt option actually work.
Eric Andersen [Mon, 20 Mar 2006 17:50:08 +0000 (17:50 -0000)]
Willy Tarreau writes:
I encountered a little typo in 'make help' : the prefix was
noted "$prefix" instead of "$(PREFIX)".
Eric Andersen [Mon, 20 Mar 2006 17:37:00 +0000 (17:37 -0000)]
Roy Walker writes:
Here is a patch against the current subversion repository, that makes
udhcpc have an adjustable timeout. Works for both foreground and before
it drops to the background. This brings it more in-line with ISC dhcpc.
Use like so:
udhcpc --timeout=10 ...
or
udhcpc -T 10 ...
Still shooting for 1.1.1 this month? Would really be great if you could
get this in that release.
Please give credit to Paul Pacheco - ppacheco@gmail.com.
Rob Landley [Mon, 20 Mar 2006 02:20:18 +0000 (02:20 -0000)]
Patch from tito, acked by Bernhard Fischer.
Rob Landley [Mon, 20 Mar 2006 01:43:29 +0000 (01:43 -0000)]
Use lstat() instead of stat so /init being a symlink doesn't screw people up.
(And use it consistently, for size reasons.)
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 23:05:37 +0000 (23:05 -0000)]
- tito writes: this patch fixes some comments in dos2unix that are wrong
or that reports non existent features (that i've ripped out...)
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 23:02:45 +0000 (23:02 -0000)]
- explain what magic numbers we're using here.
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 15:59:29 +0000 (15:59 -0000)]
- whitespace cleanup (and also check against the const first and only then look
at bb_applet_name[1])
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 11:59:55 +0000 (11:59 -0000)]
- fix order of includes.
Mike Frysinger [Sat, 18 Mar 2006 04:17:59 +0000 (04:17 -0000)]
declare const id argument const for probe_{ext2,ext3,cramfs}
Mike Frysinger [Sat, 18 Mar 2006 04:13:32 +0000 (04:13 -0000)]
need string.h as well as strings.h
Mike Frysinger [Sat, 18 Mar 2006 04:11:51 +0000 (04:11 -0000)]
need EXT2FS_OBJS for fsck
Rob Landley [Sat, 18 Mar 2006 03:01:57 +0000 (03:01 -0000)]
Make the new chroot environment creation infrastructure more flexible about
non-absolute paths.
Rob Landley [Sat, 18 Mar 2006 03:00:22 +0000 (03:00 -0000)]
My mount testsuite. Not automatically run at the moment, need to figure out
how to (optionally) supply User Mode Linux to runtests.
Rob Landley [Sat, 18 Mar 2006 02:58:11 +0000 (02:58 -0000)]
More fixes. Type "auto" should mean unspecified from fstab as well as the
command line, initialize singlemount's rc to an error value so it doesn't
think it succeeded when it didn't, use absolute path when associating a
loop device (and the previous FEATURE_CLEAN_UP logic related to that was
freeing the wrong thing), move reading of /proc/filesystems to where we can
re-read it (when it's empty) for every entry on a "mount -a" so that when
/proc is mounted as the first entry, the later filesystems can autodetect
filesystem type.
Rob Landley [Sat, 18 Mar 2006 02:38:10 +0000 (02:38 -0000)]
Whitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so
EPERM doesn't register as a successful read-only mount.
Rob Landley [Fri, 17 Mar 2006 03:30:05 +0000 (03:30 -0000)]
Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.
Made some whitespace cleanups while I was there.
Rob Landley [Thu, 16 Mar 2006 16:02:06 +0000 (16:02 -0000)]
More test updates.
Rob Landley [Thu, 16 Mar 2006 15:20:45 +0000 (15:20 -0000)]
Redo test suite to be able to test more than one command at a time. Eliminate
$COMMAND environment variable, instead put full command line (including
command to run) in second argument. Modify $PATH to have test versions of
commands at start of path. (Also more infrastructure for testing as root,
work in progress...)
Rob Landley [Thu, 16 Mar 2006 14:40:27 +0000 (14:40 -0000)]
Random in-passing tweak.
Rob Landley [Wed, 15 Mar 2006 17:09:56 +0000 (17:09 -0000)]
Update for bug 14.
Rob Landley [Tue, 14 Mar 2006 21:49:18 +0000 (21:49 -0000)]
Tito shrank dos2unix.
Rob Landley [Tue, 14 Mar 2006 21:45:38 +0000 (21:45 -0000)]
More "extern" removals from Robert P. Day
Rob Landley [Tue, 14 Mar 2006 21:13:48 +0000 (21:13 -0000)]
Attempt to make a warning go away without increasing size.
Rob Landley [Tue, 14 Mar 2006 20:06:44 +0000 (20:06 -0000)]
Missed one.
Rob Landley [Tue, 14 Mar 2006 18:16:25 +0000 (18:16 -0000)]
The new, new mount rewrite. (Mount double prime?) Still being debugged, but
the new infrastructure is reentrant so in theory it's capable of handling
mount -a sanely. It can also re-use existing flags with remount, handle
-t auto, mount -a -t, and several smaller bugfixes.
Rob Landley [Tue, 14 Mar 2006 02:40:51 +0000 (02:40 -0000)]
Tito unified fdflush and freeramdisk. I tweaked the result a bit.
Mike Frysinger [Mon, 13 Mar 2006 23:48:18 +0000 (23:48 -0000)]
update comments as to what caused the defines to change
Bernhard Reutner-Fischer [Mon, 13 Mar 2006 20:32:48 +0000 (20:32 -0000)]
- add two comments
Bernhard Reutner-Fischer [Mon, 13 Mar 2006 19:30:06 +0000 (19:30 -0000)]
- remove superfluous dependency which was fixed in r14527
Bernhard Reutner-Fischer [Mon, 13 Mar 2006 19:04:00 +0000 (19:04 -0000)]
- revert back to r14406
Rob Landley [Mon, 13 Mar 2006 15:45:16 +0000 (15:45 -0000)]
Patch from Denis Vlasenko to add xstat() and use it.
Rob Landley [Mon, 13 Mar 2006 04:38:40 +0000 (04:38 -0000)]
Update documentation.
Rob Landley [Mon, 13 Mar 2006 03:19:46 +0000 (03:19 -0000)]
"make help" should not build the configurator first.
Rob Landley [Mon, 13 Mar 2006 02:52:23 +0000 (02:52 -0000)]
Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. do
defconfig first), and group busybox administrative settings into a sub-menu.
Rob Landley [Sun, 12 Mar 2006 19:26:01 +0000 (19:26 -0000)]
Cleanup patch from tito.
Rob Landley [Sat, 11 Mar 2006 18:22:35 +0000 (18:22 -0000)]
Size reduction by Tito.
Mike Frysinger [Fri, 10 Mar 2006 23:41:29 +0000 (23:41 -0000)]
fix building with glibc-2.4
Mike Frysinger [Fri, 10 Mar 2006 23:20:48 +0000 (23:20 -0000)]
add a sep option for stripping
Mike Frysinger [Fri, 10 Mar 2006 23:17:17 +0000 (23:17 -0000)]
rearrange the menu a little to split general settings from applet selection
Rob Landley [Fri, 10 Mar 2006 23:16:25 +0000 (23:16 -0000)]
Cleanup patches from tito.
Rob Landley [Fri, 10 Mar 2006 19:22:06 +0000 (19:22 -0000)]
Patch from Denis Vlasenko turning static const int (which gets emitted into
the busybox binary) into enums (which don't).
Rob Landley [Thu, 9 Mar 2006 22:39:08 +0000 (22:39 -0000)]
Fixup to the previous (portability) patch. Linux actually does need
arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
Rob Landley [Thu, 9 Mar 2006 22:21:20 +0000 (22:21 -0000)]
Portability patch from rfelker. The bb_asprintf.c thing needs an eventual
follow up in platform.h to set the #ifdef, but the workaround works for
everybody, so...
Rob Landley [Thu, 9 Mar 2006 22:04:33 +0000 (22:04 -0000)]
I'm about to introduce tests that need to run as root (like mount.tests),
meaning we want to run them in a chroot environment. To help with this,
I worked out a utility function that makes it really easy to set up a chroot
environment.
Rob Landley [Thu, 9 Mar 2006 22:01:05 +0000 (22:01 -0000)]
Cleanup from Paul Fox. One find piped to xargs is faster/simpler than
lots of finds doing individual -exec rm.
Rob Landley [Thu, 9 Mar 2006 18:20:43 +0000 (18:20 -0000)]
Mention a few web browsers.
Rob Landley [Thu, 9 Mar 2006 18:03:21 +0000 (18:03 -0000)]
They won't stop asking, but we can point them to the specific entry...
Rob Landley [Thu, 9 Mar 2006 17:51:25 +0000 (17:51 -0000)]
Patch from Denis Vlasenko to make unlzma smaller.
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 16:49:46 +0000 (16:49 -0000)]
- remove check. Fixes e.g. buildroot
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 16:49:01 +0000 (16:49 -0000)]
- fix typo
Bernhard Reutner-Fischer [Thu, 9 Mar 2006 09:03:37 +0000 (09:03 -0000)]
- backout using features which are not available with the previous stable
version of make (3.71.1).
Mike Frysinger [Wed, 8 Mar 2006 07:03:27 +0000 (07:03 -0000)]
import most of e2fsprogs 1.38 updates
Paul Fox [Tue, 7 Mar 2006 20:26:11 +0000 (20:26 -0000)]
vi-mode changes: eliminate warnings from out-of-range-for-type
case labels that are emitted by gcc4. rearrange macros to
eliminate these extra case labels entirely (since the optimizer
may no longer do it for us). eliminate static BUFSIZ character
deletion buffer -- malloc it, and make it much much smaller.
Rob Landley [Mon, 6 Mar 2006 20:47:33 +0000 (20:47 -0000)]
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Rob Landley [Mon, 6 Mar 2006 19:31:39 +0000 (19:31 -0000)]
Walt Wimer noticed that mknod couldn't handle major or minor > 255. Now our
limit checking autodetects what the system supports (at compile time).
Bernhard Reutner-Fischer [Mon, 6 Mar 2006 14:20:43 +0000 (14:20 -0000)]
- workaround bug in make-3.81beta4:
- has to use
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/file.c
instead of the proper
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/dir/file.c
Bernhard Reutner-Fischer [Mon, 6 Mar 2006 14:19:15 +0000 (14:19 -0000)]
- work around missing features and bugs in make-3.79.1:
- no order-only prerequisites; incomplete workaround (see comment in diff)
- no internal variable MAKEFILE_LIST; workaround
- define bar\nfoo:=<long-list> doesn't work; workaround
also:
- reinstate clean, distclean as noconfig_target.
- unconditionally clean libbusybox.so*
Mike Frysinger [Sun, 5 Mar 2006 18:04:23 +0000 (18:04 -0000)]
clean *.osm as pointed out by Robert P. J. Day
Mike Frysinger [Sun, 5 Mar 2006 16:25:19 +0000 (16:25 -0000)]
clean busybox_unstripped as pointed out by Robert P. J. Day
Rob Landley [Sat, 4 Mar 2006 22:40:25 +0000 (22:40 -0000)]
Patch from Robert P. Day, moving byte order checks to use platform.h macros.
Bernhard Reutner-Fischer [Fri, 3 Mar 2006 20:31:33 +0000 (20:31 -0000)]
- correct comment.
Should revisit gcc >= 4.1 with that =1 later on
Rob Landley [Fri, 3 Mar 2006 19:02:50 +0000 (19:02 -0000)]
Typo fixes brought to you by the letters a, l, and Robert P. Day.
Eric Andersen [Fri, 3 Mar 2006 18:37:39 +0000 (18:37 -0000)]
Kill off some unused code that was wasting several k, as noticed by
Denis Vlasenko when building with -ffunction-sections -fdata-sections
Rob Landley [Fri, 3 Mar 2006 17:57:50 +0000 (17:57 -0000)]
Denis Vlasenko noticed that falign=0 is meaningless, and that should probably
be falign=1. Saves a little over 3k on an x86 "make defconfig" build.
Bernhard Reutner-Fischer [Fri, 3 Mar 2006 14:19:15 +0000 (14:19 -0000)]
- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
landley, that one broke your tar-testing (see below).
To see the issue i was talking about in the comment to rev. 14431, remove the
'P' from ARFLAGS in Rules.mak, then recompile.
You will see undefined references to these symbols:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main
These are due to the fact that these applets (named e.g. login.o) clash with
libbb/login.o, for example. So ar sees that we're going to add login.o
(the applet!) and does so. Later on, we add libbb/login.o (just the basename
is used, so login.o). and this libbb/login.o *replaces* the login.o (the
applet!).
I therefor want (you) to rename abovementioned files from libbb to have
a prefix bb_ (e.g. svn mv libbb/login.c libbb/bb_login.c) to avoid these
clashed.
ok?
TIA,
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 18:23:13 +0000 (18:23 -0000)]
- remove unused lists *-m
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 18:13:05 +0000 (18:13 -0000)]
- make sure applets.o is rebuilt when the .config changes.
- don't overwrite objects in the archive. Affected applets with name-clash
mostly vs. libbb:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 17:38:15 +0000 (17:38 -0000)]
- allow for make /path/to/dir/file.o
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 17:33:25 +0000 (17:33 -0000)]
- use absolute path for top_builddir and top_srcdir.
Fixes make trying to include the very same file in an endless loop.
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 10:06:22 +0000 (10:06 -0000)]
- silence warning about "'free_and_close_stuff' used but never defined"
Bernhard Reutner-Fischer [Thu, 2 Mar 2006 09:44:32 +0000 (09:44 -0000)]
Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!
Bernhard Reutner-Fischer [Wed, 1 Mar 2006 22:54:48 +0000 (22:54 -0000)]
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Rob Landley [Wed, 1 Mar 2006 21:36:18 +0000 (21:36 -0000)]
Fixup to make warnings from the last patch go away.
Rob Landley [Wed, 1 Mar 2006 20:48:44 +0000 (20:48 -0000)]
Selinux fix from Jan Kiszka.
Bernhard Reutner-Fischer [Wed, 1 Mar 2006 20:14:16 +0000 (20:14 -0000)]
- fix compilation of sed.
error: static declaration of 'free_and_close_stuff' follows non-static declaration
Tiny whitespace cleanup while at it,
also make sure that we don't use CONFIG_ anymore.
Rob, hope this is ok w/ you..
Rob Landley [Wed, 1 Mar 2006 16:39:45 +0000 (16:39 -0000)]
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)".
Rob Landley [Wed, 1 Mar 2006 16:32:35 +0000 (16:32 -0000)]
When gnu fails this one we shouldn't let it _hang_...
Rob Landley [Wed, 1 Mar 2006 16:32:01 +0000 (16:32 -0000)]
Yet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not a
1.1.1 issue.
"Vladimir N. Oleynik" [Wed, 1 Mar 2006 05:39:41 +0000 (05:39 -0000)]
use bb_xstrndup vs strndup. Thanks rfelker.
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 10:15:42 +0000 (10:15 -0000)]
more busybox's style: close bug 745
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 10:10:19 +0000 (10:10 -0000)]
make grep faster (close bug 758), reduce small memory leak in CONFIG_FEATURE_CLEANUP mode
"Vladimir N. Oleynik" [Tue, 28 Feb 2006 08:23:27 +0000 (08:23 -0000)]
more security: don't start shell code from argv
Rob Landley [Tue, 28 Feb 2006 05:26:13 +0000 (05:26 -0000)]
defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
remove residue of old defconfig and tweak "make with no config" to run
defconfig before bringing up menuconfig.
Rob Landley [Tue, 28 Feb 2006 04:45:24 +0000 (04:45 -0000)]
Cosmetic cleanup from tito.
Rob Landley [Tue, 28 Feb 2006 03:53:14 +0000 (03:53 -0000)]
Cleanup from Glenn McGrath.