Eric Andersen
8d79ce8320
Some patches to make dietlibc work...
2001-07-22 23:00:15 +00:00
Glenn L McGrath
b9e4ce99d8
Update dpkg usage
2001-07-18 05:16:31 +00:00
Eric Andersen
5c58d283bb
A traceroute applet from vodz. This could probably be slimmed down,
...
but will do for now...
2001-07-10 16:29:00 +00:00
Glenn L McGrath
f8736d251e
rpm2cpio applet by Laurence Anderson
2001-06-26 01:19:34 +00:00
Glenn L McGrath
2e6d3cfa82
Nore unarchive (and doc) fixes from Laurence Anderson
2001-06-24 12:36:54 +00:00
Eric Andersen
1557626897
Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to match
...
the actual definition.
-Erik
2001-06-24 06:09:14 +00:00
Glenn L McGrath
8f5b63edea
cpio applet, and changes to associated code
2001-06-22 09:22:06 +00:00
Eric Andersen
8071c02131
Add wget -P support, finishing off bug #1176
...
-Erik
2001-06-21 19:45:06 +00:00
Eric Andersen
091781e20e
Support tar -C, per bug #1176
...
-Erik
2001-06-21 19:30:10 +00:00
Matt Kraai
075228a461
Remove documentation of unsupported sed options.
2001-06-21 14:40:55 +00:00
Eric Andersen
fa2661f2e5
Per a suggestion from Tom Oehser, fix up the leading-hyphen hack to
...
make it general. Now all leading single hyphens are ignored for
purposed of applet name matching, while argv[0] is still passed
unaltered to applets, so leading-hyphen sensitive applets (such as sh)
can react accordingly.
-Erik
2001-06-21 04:56:24 +00:00
Mark Whitley
bd4b621e91
Applied patch from Jim Gleason that makes it so busybox will still work even
...
if you rename it.
2001-06-15 16:54:25 +00:00
Glenn L McGrath
62ebe2e443
Remove space between ar options
2001-06-03 05:41:59 +00:00
Glenn L McGrath
cda5cf1c2f
Correct ar options
2001-06-03 05:15:04 +00:00
Eric Andersen
77d9268892
Patch from larry to fix some grammar errors.
2001-05-23 20:32:09 +00:00
Eric Andersen
3200f5ac68
It turns out the descriptions of both dos2unix and unix2dos
...
were broken. This fixes.
-Erik
2001-05-22 22:39:10 +00:00
Eric Andersen
004015e9c4
Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bug
...
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-21 20:30:51 +00:00
Eric Andersen
abec344ab7
A couple more minor touchups
2001-05-21 17:58:01 +00:00
Eric Andersen
317827d9e5
Several cleanups for usage messages
2001-05-21 17:50:53 +00:00
Eric Andersen
2f6e1f880b
Patch from Gernot Poerner <gp@it-netservice.de>. Adds in
...
mount bind support.
2001-05-21 15:59:34 +00:00
Eric Andersen
6197c51834
Fix an escape problem in the docs. Some \n's didn't have the '\'
...
escaped, and so were messsing the out output.
-Erik
2001-05-18 23:14:53 +00:00
Eric Andersen
50ae3102fb
Patch from Adam Heath <doogie@debian.org> to add arbitrary header support
...
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-15 17:51:37 +00:00
Eric Andersen
4819c3d477
Make the locale stuff only do the getpid==1 check if BB_INIT is defined
2001-05-13 00:33:16 +00:00
Eric Andersen
238da24620
Fix the chown usage text, also thanks to Lars Kellogg-Stedman <lars@larsshack.org>
2001-05-11 16:31:46 +00:00
Matt Kraai
c96381be40
Fix env usage information.
2001-05-11 14:28:17 +00:00
Eric Andersen
28355a36da
Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,
...
make xreadlink() return NULL on failure, and make sure everyone
uses the interface correctly.
-Erik
2001-05-07 17:48:28 +00:00
Eric Andersen
b9f5b82339
Another refinement, this time from Larry.
2001-05-01 16:24:32 +00:00
Eric Andersen
6d553ef200
Argh. Now we break non-pristine builds. Check a bit more carefully.
...
-Erik
2001-05-01 14:54:35 +00:00
Eric Andersen
3f99b567b8
A patch from Larry to fix pristine source builds (again).
...
I just can't seem to _not_ break it. Sigh.
2001-05-01 01:40:34 +00:00
Mark Whitley
8a633268ef
Made new xreadlink function for libbb and changed applets to use it instead of
...
readlink(2).
2001-04-30 18:17:00 +00:00
Mark Whitley
2789906aad
Removed obsoleted BB_FEATURE_RM_INTERACTIVE
2001-04-25 22:08:56 +00:00
Mark Whitley
207587a9b4
Applied patch from I.Q. to add -s to cmp.
2001-04-25 20:41:02 +00:00
Eric Andersen
04095e58fb
Move messages.c to libbb. Make each string in messages.c be its own .o file.
...
This way, we can new get rid of all that tedious #define rubbish we used to
need to enable specific messages. This way is enormously simpler, and as a
bonus also ends up saving us 96 bytes.
-Erik
2001-04-25 05:39:18 +00:00
Mark Whitley
fccaa3629b
Applied patch from I.Q. to add sort -u as a feature.
2001-04-17 18:56:18 +00:00
Mark Whitley
30ac01cca7
Applied a patch from Laurence Anderson to fix the wget statusbar and a patch
...
to usage.h to document the -q option.
2001-04-17 18:13:16 +00:00
John Beppu
5d81768cf1
- usage.h
...
o echo_example_usage
needed to escape some backslashes in an inner quote
o find_full_usage
missing a \n at the end of the -name line
? getopt_full_usage
the -o line has tab issues, but I didn't fix them.
o length_example_usage
removed some double-quotes that were within an inner quotes
o printf_example_usage
needed to escape a backslash in an inner quote
o sort_example_usage
needed to escape some backslashes and double quotes in an inner quote
o tftp_full_usage
s/nameing/naming/;
o umount_full_usage
remove colons after options for consistency w/ other full_usage messages
o uniq_example_usage
needed to escape some backslashes and double quotes in an inner quote
- TODO xargs -l ?
- docs/autodocifier.pl POD && comment updates
- docs/busybox_footer.pod added Larry Doolittle and Sterling Huxley
2001-04-17 17:09:34 +00:00
Glenn L McGrath
3136904ff6
Document new dpkg-deb funtions
2001-04-15 12:53:24 +00:00
Glenn L McGrath
3e2ab88ee2
New dpkg-deb function -t, stands for --fsys-tarfile
2001-04-12 13:49:09 +00:00
Eric Andersen
303dd28bb0
Make 'grep -l' work
2001-04-09 23:26:31 +00:00
Eric Andersen
e5dfced23a
Apply Vladimir's latest cleanup patch.
...
-Erik
2001-04-09 22:48:12 +00:00
Eric Andersen
79757c9c37
A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which adds
...
- support for ftp downloads
- HTTP basic authentication support (as an optional feature)
- handling of http redirections
- protocol version changed to 1.0 (to stop servers from requesting
chunked encoding)
- bugfix: in the case when content-length not given, wget didn't
download anything
- when attempting to continue an aborted download but server doesn't
support restarts, reopen output file in write mode
- changed assumption that existing file should restart an aborted
download. Now the user must explicitly specify this with -c
2001-04-05 21:45:54 +00:00
Eric Andersen
3f98040554
I said no new features till after the 0.51 release. Well, I lied. This is a
...
vi editor for busybox, contributed by Sterling Huxley <sterling@europa.com>.
It adds 22k to the busybox binary when enabled. Quite impressive!
2001-04-04 17:31:15 +00:00
Eric Andersen
c97ec34370
A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. Now
...
you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior
needing to be a reboot.
2001-04-03 18:01:51 +00:00
Eric Andersen
0f0c0b41ce
Make 'busybox --help' work as expected, closing bug #1139
...
-Erik
2001-04-03 17:05:01 +00:00
Eric Andersen
c4cef5ab06
Move the mtab support stuff into libbb
...
-Erik
2001-04-01 16:01:11 +00:00
Eric Andersen
84e229cfbe
Add in a new standalone env applet for fixing up app's environments
...
-Erik
2001-03-29 22:48:33 +00:00
Mark Whitley
e0a7f917c2
Applied patch from David Douthitt to re-add -print option to find.
...
Closes bug #1144 .
2001-03-28 22:04:42 +00:00
Eric Andersen
08ff8a49ba
includes cleanup from Jeff Garzik
2001-03-23 17:02:05 +00:00
Mark Whitley
6f93277f56
Added adjtimex applet from Larry Doolittle.
2001-03-20 19:18:10 +00:00
Eric Andersen
ba372620c2
Force applet_name to be "sh" when command prefaced by "-"
2001-03-20 17:39:53 +00:00
Eric Andersen
4ef37d0c17
chown was missing a ] in its usage msg
2001-03-20 01:06:14 +00:00
Eric Andersen
2ccfef2004
Patch from Vladimir to move struct applet from busybox.c to applets.c,
...
which looks like the right place for such things to live.
2001-03-19 19:30:24 +00:00
Eric Andersen
aad1a88c76
Convert utility.c into libbb.a. It is now a whole pile of .c
...
files. Clean up the resulting damage and fix up the makefile.
-Erik
2001-03-16 22:47:14 +00:00
Eric Andersen
704b2c2122
There was an unwanted extra newline, which prevented building
...
uudecode. How did this sneak through the testing until now?
-Erik
2001-03-16 08:06:30 +00:00
Mark Whitley
0a6f1d31e7
One tinly, little, missing newline that confused Pod.
2001-03-15 21:19:09 +00:00
Eric Andersen
0d3a02eba7
Update the documentation so examples are autoincluded in the output text.
...
Fix up docs/busybox.pod with the latest autogenerated output.
-Erik
2001-03-15 18:14:25 +00:00
Mark Whitley
40e5e7c7ea
Applied patch from Christophe Boyanique to add an egrep alias for grep.
2001-03-14 17:45:45 +00:00
Mark Whitley
e0bf91d7c6
Applied patch from Christophe Boyanique to add -i support to rm.
2001-03-13 00:40:19 +00:00
Mark Whitley
6317c4baf7
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and
...
klogd (as it should be).
2001-03-12 22:51:50 +00:00
Manuel Novoa III
22b889a998
Adjust ifconfig usage message for selected options and current functionality.
2001-03-12 09:58:51 +00:00
Eric Andersen
39eea898c4
Per Vladimir's suggestion, force the locale to POSIX for all
...
the scripts so busybox will install properly.
2001-03-08 21:42:11 +00:00
Mark Whitley
450736cd3c
Added Magnus Damm's tftp applet to Busybox.
2001-03-02 19:08:50 +00:00
Mark Whitley
016771834a
Changed exit code from -1 to 0 when busybox is invoked with no args.
...
(Closes bug #1114.)
2001-03-02 17:47:17 +00:00
Eric Andersen
dc12190ba2
The usage message for syslogd had stuff longer then 80 chars and wrapped.
2001-02-24 18:52:36 +00:00
Eric Andersen
3757f98d86
Another usage cleanup from kent robotti
2001-02-23 17:47:51 +00:00
Eric Andersen
7a9cc2dcdd
More cleanups
2001-02-23 16:58:44 +00:00
Eric Andersen
ed0d958c3e
Make HUMAN_READABLE be single argument like the others.
2001-02-23 13:23:03 +00:00
Eric Andersen
a0cfe94c4e
More usage cleanups from kent robotti. I know some of these were
...
applied previously but apparently lost with some of the latest changes.
2001-02-23 10:07:09 +00:00
David Kimdon
56082dc2ae
space after \ make preprocessor sad
2001-02-23 06:03:22 +00:00
Eric Andersen
41492d6c23
I should be more careful...
2001-02-23 00:05:56 +00:00
Eric Andersen
4b2e69a1cf
Commit a few updates to the usage messages.
2001-02-22 23:32:59 +00:00
Eric Andersen
7e9276b50a
Another update to the way usage messages are done by Evin Robertson
...
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes
usage.h more readable/maintainable IMHO.
-Erik
2001-02-22 01:15:47 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
header file usage before the 0.49 release. To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
-Erik
2001-02-20 06:14:08 +00:00
Eric Andersen
3d20f772c2
A bunch of usage clenups from kent robotti <robotti@metconnect.com>
...
-Erik
2001-02-17 16:49:00 +00:00
Eric Andersen
19f86207f5
Update the build system for pristine source directory builds. This
...
update is primarily work done by Larry Doolittle, but I did some
touchups of my own to make it work for me,
-Erik
2001-02-17 00:42:47 +00:00
Eric Andersen
733c4ad6eb
Do usage messages the same way all other apps fo them.
...
Skip printing of available options (can't do this easily).
Based on a patch by Larry Doolittle.
-Erik
2001-02-16 18:41:12 +00:00
Eric Andersen
c1c43113b4
Fins find message.
2001-02-14 21:51:54 +00:00
Eric Andersen
3ec8ffb121
I forgot to add usage.h, so here it is, with a few extra cleanups.
...
Also update show_usage to handle the updated usage.h. Again,
nearly all the work to get usage.h into shape was done by
Manuel Novoa III.
-Erik
2001-02-14 21:46:30 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Eric Andersen
98e599ca06
Commit Vladimir's latest version of stty.c. Nice work.
...
-Erik
2001-02-14 18:47:33 +00:00
Eric Andersen
ec45595300
Add in ifconfig and route
2001-02-14 08:11:27 +00:00
Eric Andersen
6fd8c664c1
Apply a patch from Evin Robertson -- new pivot_root applet.
...
-Erik
2001-02-13 20:04:30 +00:00
Glenn L McGrath
dadf9c6dcd
New dpkg-deb option, warning about dpkg usage
2001-02-12 11:27:45 +00:00
Glenn L McGrath
c30ab0f4a8
New applet: dpkg
2001-02-10 02:04:40 +00:00
Matt Kraai
1d70267450
Add listening support.
2001-02-07 04:09:23 +00:00
Matt Kraai
096370d349
Reworked find with David Douthitt to support -type, -perm, -mtime, and
...
other improvements.
2001-02-07 03:52:38 +00:00
Matt Kraai
f2cc2762bb
Create find_applet_by_name function. Save 32 bytes.
2001-02-01 19:21:20 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
90ca2848fd
Fix some formatting
2001-01-27 08:32:57 +00:00
Eric Andersen
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
...
busybox.h which slowed compiles. I left only what was needed and then fixed up
all the apps to include their own header files. I also fixed naming for pwd.h
and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc.
-Erik
2001-01-27 08:24:39 +00:00
Eric Andersen
a68b21a28e
Cleanup patch from larry doolittle
...
-Erik
2001-01-26 20:31:02 +00:00
Eric Andersen
ffde8673fe
Add in spoon's watchdog timer app.
...
-Erik
2001-01-25 23:40:32 +00:00
Eric Andersen
c1b8f1224c
Apply a patch from Brent Priddy <brent.priddy@adtran.com> to add
...
'id -n' support.
-Erik
2001-01-25 05:12:02 +00:00
Eric Andersen
f5d5e77321
more bugs fixed -- found doing regression testing
...
-Erik
2001-01-24 23:34:48 +00:00
Eric Andersen
8c5cb31e1b
Fix up insmod usage info to mention -L
2001-01-24 19:15:07 +00:00
Richard June
6d0921cc0b
Add HUMAN_READABLE define for -m and -h support in du, df, and ls
...
Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default)
Fix bug #1084
2001-01-22 22:35:38 +00:00
Eric Andersen
965fa326a1
Move \n to inside TRIVIAL_HELP, to save a few bytes for the default case.
...
Patch from Vladimir N. Oleynik <dzo@simtreas.ru>
2001-01-20 21:45:57 +00:00
Glenn L McGrath
7541e3a812
add dpkg-deb command
2001-01-02 23:41:50 +00:00
Matt Kraai
1944f547bd
Log stdin when no message given and use getopt.
2001-01-02 18:13:58 +00:00
Matt Kraai
e9e182e255
Fix lower casing for weird locales.
2000-12-26 16:36:10 +00:00