c61804ed59
Fix dos2unix compile problem with certain glibc versions
Eric Andersen
2001-08-21 22:34:05 +00:00
f349e978c4
Initial merge of all tinylogin applets that do not require crypt. There is some optimization that can be done to better use libbb in these applets. There is also redundancy between stty and getty which could be eliminated. -Erik
Eric Andersen
2001-08-21 16:18:59 +00:00
a3e4f455ac
Fix a problem with unsatisfied backrefs (noted by Martin Bene).
Matt Kraai
2001-08-20 21:21:06 +00:00
54eceffcae
some minor wording changes
Eric Andersen
2001-08-20 17:48:17 +00:00
76fa8ea790
Apply Glenn's tftp rewrite
Eric Andersen
2001-08-20 17:47:49 +00:00
afe07daf34
Apply Glenn's tftp rewrite for the stable branch
Eric Andersen
2001-08-20 17:47:14 +00:00
435680426e
Backport Manuel Novoa III's rewrite to the stable branch
Eric Andersen
2001-08-20 17:46:09 +00:00
686a24b2f5
Minor wording changes
Eric Andersen
2001-08-20 17:44:32 +00:00
bac490fe53
Fix version comparision bug
Glenn L McGrath
2001-08-15 11:25:01 +00:00
d85117bb85
Backported syslogd fix.
Matt Kraai
2001-08-14 18:05:40 +00:00
0a68590314
Rewritten by Manuel Novoa III.
Matt Kraai
2001-08-14 17:10:08 +00:00
c639a35f50
I stupidly forgot one level of pointer indirection in the cmdtxt(), calcsize(), and copynode() table implementations. Commit the fix but keep them disabled until others check them out. Uncomment "//#define CMDTXT_TABLE", "//#define CALCSIZE_TABLE", and "//#define COPYNODE_TABLE" to try them out. Saves over 600 bytes on i386.
Manuel Novoa III
2001-08-12 17:32:56 +00:00
dd9173c07f
Fix a merging error
Eric Andersen
2001-08-10 21:11:56 +00:00
16815d4b45
A few bug fixes and significant size savings. Combined effort of Vladimir N. Oleynik dzo@simtreas.ru, Aaron Lehmann aaronl@vitelus.com, and myself.
Manuel Novoa III
2001-08-10 19:36:07 +00:00
80dd0863e2
Small size optimization from Aaron Lehmann
Eric Andersen
2001-08-10 18:42:04 +00:00
6c8c51a470
Merge the CVS changes so far into the stable branch.
Eric Andersen
2001-08-10 18:22:16 +00:00
e20b7d844a
Fix stupid grammar error.
Eric Andersen
2001-08-10 15:22:35 +00:00
4a5360b97e
This commit was manufactured by cvs2svn to create branch 'busybox_0_60_stable'.
nobody
2001-08-10 15:05:27 +00:00
a7cecbc917
Commit Vladimir's simplify_path.
Matt Kraai
2001-08-10 15:05:27 +00:00
4fb0b51703
This corrects the _really_poor_ implementation of "broadcast +" handling by ifconfig that someone had submitted. It fixes 1 bug, gets rid of the excessive bloating of a structure that is used in a static const array, and removes the implicit struct copys by keeping only the int type needed. It also turns this into a configurable feature (off by default).
Manuel Novoa III
2001-08-10 06:02:23 +00:00
6c4250c0dc
Remind people to enable RPC support when using NFS mount and uClibc (thanks to David Douthitt).
Matt Kraai
2001-08-09 21:07:10 +00:00
d0b5be6da8
Remove BB_SH define entirely.
Matt Kraai
2001-08-09 21:00:15 +00:00
2338d3176b
Use ferror(3) to check for errors, rather than inspecting errno. Thanks to David Douthitt for reporting, and shame on me for writing such crappy code.
Matt Kraai
2001-08-06 16:09:09 +00:00
063c1f54ea
Simplified version checking.
Matt Kraai
2001-08-06 14:18:08 +00:00
69edfecfb9
Add support for underscores in variable names.
Matt Kraai
2001-08-06 14:14:18 +00:00
b373a8d0ca
Fix exclude list handling
Glenn L McGrath
2001-08-04 05:28:29 +00:00
0b7d70c822
Fix up some silly messups with the debian packaging, and a dumb bug with chroot. I've had the package uploaded but perms set to 000, so I am going to re-tag things and re-cut the release. Folks who pulled from CVS in the last 30 minutes with just have to cope. -Erik
0_60_0
Eric Andersen
2001-08-02 20:56:16 +00:00
8aa0b62a88
Fix misspelling of `stabilize'.
Matt Kraai
2001-08-02 20:34:24 +00:00
9e6089ee0f
Ok, here we go...
Eric Andersen
2001-08-02 19:31:08 +00:00
c9dd5f945b
Commit NMU changelog.
Matt Kraai
2001-08-02 15:12:16 +00:00
be0c36009a
More libc5 fixups -Erik
Eric Andersen
2001-08-02 10:55:32 +00:00
23b1e5c7df
Some libc5 cleanups
Eric Andersen
2001-08-02 09:58:41 +00:00
879d6c85af
make_directory used mode as if it were an signed entity, but in fact it was a mode_t which is unsigned. Fix it to be signed... -Erik
Eric Andersen
2001-08-02 09:58:19 +00:00
8a915880e7
Teach libc5 about realpath -Erik
Eric Andersen
2001-08-02 09:55:58 +00:00
95b520110d
Teach libc5 what a sighandler_t is -Erik
Eric Andersen
2001-08-02 09:52:40 +00:00
deba6dea03
multibuild.pl saves us again. unix2dos requires that dos2unix be enabled. -Erik
Eric Andersen
2001-08-02 09:21:17 +00:00
46bf7de5f6
Ok, if no shell is enabled, don't include any of the SH_IS_<name> options or the build will fail -Erik
Eric Andersen
2001-08-02 08:48:03 +00:00
ff9b4a8981
Scrub away the last leftovers from BB_FEATURE_<shell>. Good thing for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik
Eric Andersen
2001-08-02 08:42:58 +00:00
fdbac35b33
Patch from Robert J. Osborne <rj@resourceinternational.com> that fixes a bug in vi where the beginning of the text space was not checked before dot is decremented for delete and escape sequences on an empty file.
Eric Andersen
2001-08-02 05:26:41 +00:00
842757dc96
Oops. I forgot to commit this part of vodz' patch.
Eric Andersen
2001-08-02 05:18:55 +00:00
3450636169
Latest patch from vodz. Adds a check for divide by zero in the posix math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
Eric Andersen
2001-08-02 05:02:46 +00:00
2d91deba45
Allow multiple shells to be enabled.
Matt Kraai
2001-08-01 17:21:35 +00:00
0034443140
Fix behavior of grep -lc to match GNU grep. SuS2 is ambiguous on the correct behavior, so acting like GNU grep seems best -Erik
Eric Andersen
2001-07-31 23:18:49 +00:00
af6b40a1ea
Silence some silly warnings
Eric Andersen
2001-07-31 22:53:36 +00:00
f672c9e62f
Silence a silly warning
Eric Andersen
2001-07-31 22:51:49 +00:00
bb9579ffc3
Make formatting match GNU ls (we were including a spare ' ') -Erik
Eric Andersen
2001-07-31 22:43:50 +00:00
fa1c5aac51
Fix the let builtin (so we can close bug #1196) and remove the nonstandard exp builtin. -Erik
Eric Andersen
2001-07-31 21:38:23 +00:00
73f6a1b058
Always write record counts to stderr.
Matt Kraai
2001-07-31 21:02:19 +00:00
221b2ea6c4
I just wrote up a simple pidof applet, closing bug #1197 -Erik
Eric Andersen
2001-07-31 19:06:07 +00:00
9a53feaa76
Give credit to Adam Slattery.
Matt Kraai
2001-07-31 16:44:16 +00:00
57c82fe7c4
I think this should be the final changelog update... -Erik
Eric Andersen
2001-07-31 16:11:41 +00:00
51038a3f42
Don't save and restore readonly flag if BB_FEATURE_VI_READONLY isn't enabled.
Matt Kraai
2001-07-31 15:01:12 +00:00
74bcd16425
This incorporates Posix math support into ash. The Posix math support was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
Eric Andersen
2001-07-30 21:41:37 +00:00
dc6647201d
Simplify/clarify the shell dependant bit of Config.h
Eric Andersen
2001-07-30 19:33:00 +00:00
c126f8ffb6
This depmod script will create a modules.dep file, just like the depmod binary from modutils. This one, however, can be run on the _host_ system (need not be run on the target) and is fully cross platform, so even if your target is ARM or powerpc or whatever, this will still work. When used to support the new modprobe applet, this allows busybox to fully supplant modutils for architectures supported by busybox insmod. -Erik
Eric Andersen
2001-07-30 19:32:03 +00:00
3555fd006e
Fix up the sample inittab entry per what is current. -Erik
Eric Andersen
2001-07-30 19:28:33 +00:00
13cb842773
Rework option handling to save space.
Matt Kraai
2001-07-30 14:43:20 +00:00
547e102082
Preserve whether or not the line was previously altered when running a subst command (discovery and patch by Jim Gleason).
Matt Kraai
2001-07-30 14:05:58 +00:00
7499918f30
If filename is a '-' then read from stdin to stdout
Glenn L McGrath
2001-07-30 04:48:50 +00:00
14d7ea460f
Note my uuencode work
Glenn L McGrath
2001-07-29 06:07:35 +00:00
b6071b6341
Fix permisions when reading from stdin
Glenn L McGrath
2001-07-29 06:04:26 +00:00
eba260587a
Fix broken logic when wraping encoded data into rows, also simplifies it a bit
Glenn L McGrath
2001-07-29 05:47:33 +00:00
4e664ac51d
The src buffer size has to be a multiple of 3 (as i noted, but didnt do).
Glenn L McGrath
2001-07-28 21:34:25 +00:00
089decab65
Rewrite based on wget uuencode function. Saves aprox. 200 Bytes and in future can use common code between this and wget if BB_FEATURE_WGET_AUTHENTICATION is defined.
Glenn L McGrath
2001-07-28 21:06:13 +00:00
220238305f
PArtial Changelog update. I'm still on vacation (I'm at a campground near the Grand Teton Mountains in Montana at the moment and my connection is terribly slow) so this is a partial update only, -Erik
Eric Andersen
2001-07-28 16:35:51 +00:00
26eeb0c9da
Shorten static package description.
Matt Kraai
2001-07-26 14:45:21 +00:00
f9d6aa0a86
Rename dirname variable to pathname to eliminate namespace conflict.
Matt Kraai
2001-07-26 14:26:53 +00:00
4db35647dd
char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)
Russ Dill
2001-07-26 05:58:40 +00:00
2835efe3da
Note that m68k is supported
Eric Andersen
2001-07-25 16:58:58 +00:00
1b06419e60
Cleanup some warnings and a really obvious bug. -Erik
Eric Andersen
2001-07-25 07:23:38 +00:00
655584b07a
This fixes dos2unix and unix2dos so they behave as expected. dos2unix was broken in the 0.52 release, and unix2dos was pretty lame... -Erik
Eric Andersen
2001-07-25 07:22:55 +00:00
6c7ac21f3a
Update my email address and applets
Glenn L McGrath
2001-07-24 02:46:35 +00:00
096b151f76
note dpkg rewrite
Glenn L McGrath
2001-07-24 02:41:06 +00:00
439e3df653
Add support for devfs device names.
Matt Kraai
2001-07-23 14:52:08 +00:00
0139ca92ff
An initial modproble implementation. Quite suboptimal still, but it does work...
Eric Andersen
2001-07-22 23:01:03 +00:00
8d79ce8320
Some patches to make dietlibc work...
Eric Andersen
2001-07-22 23:00:15 +00:00
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
Eric Andersen
2001-07-19 22:28:02 +00:00
0382eb8865
The -P prefix should only be prepended to filenames which are not explicitly specified.
Matt Kraai
2001-07-19 19:13:55 +00:00
e92895c038
Note that wget fix is important.
Matt Kraai
2001-07-19 17:46:17 +00:00
c8eae6684b
The directory name should only be prepended if one was specified.
Matt Kraai
2001-07-19 17:29:38 +00:00
c1cda4a609
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c (noted by Adam Slattery).
Matt Kraai
2001-07-19 15:00:14 +00:00
c3fbec73fb
Change read_package_field interface, and rewrite using low level functions Fixes for a few bugs that have crept into dpkg in the last few days
Glenn L McGrath
2001-07-18 15:47:21 +00:00
8d3b0497a4
Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" and strip leading "./" on other files
Glenn L McGrath
2001-07-18 13:22:44 +00:00
778041f8d1
Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command
Glenn L McGrath
2001-07-18 05:17:39 +00:00
b9e4ce99d8
Update dpkg usage
Glenn L McGrath
2001-07-18 05:16:31 +00:00
ed4492a697
More feedback to user
Glenn L McGrath
2001-07-18 05:03:49 +00:00
7b0241579c
Be more verbose when configureing package, minor changes
Glenn L McGrath
2001-07-18 04:33:31 +00:00
6fc92a506a
Fail silently on failure to read tar header, its unfortunate that many tar implementations must be adding unwanted crap to the end of their archives. It makes error reporting here more trouble than its worth
Glenn L McGrath
2001-07-18 03:23:10 +00:00
4cdc607f72
Use xfopen to abort on error to prevent segfaulting later.
Glenn L McGrath
2001-07-18 03:13:49 +00:00
bc4c030023
Cleanup from vodz
Eric Andersen
2001-07-17 01:14:06 +00:00
044228d5ec
This is vodz' latest patch. Sorry it took so long... 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
Eric Andersen
2001-07-17 01:12:36 +00:00
51ded05b3b
enum entry for unarchive to be used by tar
Glenn L McGrath
2001-07-14 12:38:55 +00:00
a868ec89e8
Allow the unarchive() extract_list variable to be NULL, meaning extract all
Glenn L McGrath
2001-07-14 08:49:53 +00:00
58a5bd187d
Tolerate fields with no data, e.g. "Depends: "
Glenn L McGrath
2001-07-14 06:25:54 +00:00
06ef16563b
Allow featureless ping to compile, and featureful ping to shrink (by Adam Slattery).
Matt Kraai
2001-07-13 20:56:27 +00:00
ccd65c9be6
Total rewrite, uses hash tables for speed and low memory use.
Glenn L McGrath
2001-07-13 18:35:24 +00:00
3d46224b78
Return NULL if file doesnt open in deb_extract
Glenn L McGrath
2001-07-13 18:16:57 +00:00
cfeb08a193
Make sure there is a trailing '\0' when extracting to buffer.
Glenn L McGrath
2001-07-13 17:59:48 +00:00