Eric Andersen
c38678d14b
Apply vodz' last_patch52
2002-09-16 06:22:25 +00:00
Glenn L McGrath
b37367aa77
Run through indent, use /* */ style comments instead of //
2002-08-22 13:12:40 +00:00
Robert Griebl
88947dd05e
Added a compile time option to suppress the "Using fallback.." message
...
if no busybox.conf file is existant.
2002-07-18 23:59:17 +00:00
Robert Griebl
e4f9f3a960
Don't treat a non-existant/-readable config file as an empty config, but
...
use the compiled in _BB_SUID_* flags (same as for parse errors)
2002-07-16 21:53:59 +00:00
Eric Andersen
887ca79f04
Scrub pwd.h and grp.h handling so we don't have to play any
...
silly games.
-Erik
2002-07-03 23:19:26 +00:00
Robert Griebl
0c789a4255
If config file can not be parsed, use compiled in BB_SUID_... values as a
...
fallback method
2002-06-06 17:30:16 +00:00
Robert Griebl
c9aca4561d
Implement two types of suid/sgid support for BusyBox:
...
1) tinylogin like with compile time selection and a chown root.root
2) Runtime configurable via /etc/busybox.conf (docu is in the works)
[Parts of this patch may overlap with my other two patches]
2002-06-04 20:06:25 +00:00
Eric Andersen
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on
...
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
2002-04-12 12:05:57 +00:00
Eric Andersen
fcffa2cc1a
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
2002-04-06 05:17:57 +00:00
Eric Andersen
fb74a45088
Vodz' last_patch31
...
Very minimal last corrections:
1) busybox.c: fix warining
2) docs/: add applets for list from pwd_grp
3) usage.h: add -n option for route
4) run_parts.c: many todo fix for busybox style
5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one
perror_msg
6) adduser.c: fix bug "variable i not initialize" and
add #ifdef CONFIG_FEATURE_SHADOWPASSWDS
2001-12-18 14:06:03 +00:00
Eric Andersen
8fc0589777
*** empty log message ***
2001-10-31 11:45:10 +00:00
Eric Andersen
1552ff7efb
Move usage.h to include/usage.h
2001-10-31 11:07:12 +00:00
Eric Andersen
6cf47a79ac
Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>
2001-10-31 10:24:36 +00:00
Eric Andersen
3cd2760ba1
Fixup the new buildsystem a bit.
2001-10-24 07:58:02 +00:00
Eric Andersen
4bcdd72142
Oops. Forgot these....
2001-10-24 05:26:42 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
c2af1ee036
Commit the start-stop-daemon applet. This was contributed by David
...
Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from
Lineo. So it seems I totally forgot about this patch until now.
Sorry about that David!
2001-10-18 19:33:06 +00:00
Glenn L McGrath
3550753445
Remove duplicate tftp -l option help
2001-10-05 10:11:28 +00:00
Glenn L McGrath
ad117d8a21
Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.
2001-10-05 04:40:37 +00:00
Glenn L McGrath
24e2833cdf
Initial support for for bunzip2....
...
This code could be improvemed by
1) supporting more options,
2) Creating a shared crc table with gunzip, or perhaps generated on the fly.
3) Removing any remaining unneccessary code (e.g. if (noisy))
2001-10-05 03:48:57 +00:00
Eric Andersen
63ae66198d
use the pedantically correct compiler for preprocessing
2001-09-26 06:20:54 +00:00
Matt Kraai
3be34309e3
Fix tftp usage information ( closes : #1216 ).
2001-09-21 14:42:30 +00:00
Matt Kraai
91631011cc
Remove traces of rpmunpack (patch by Laurence Anderson).
2001-08-27 18:55:10 +00:00
Matt Kraai
ab3d839ef4
Add support for `busybox --help APPLET' by Vladimir Oleynik.
2001-08-27 17:19:38 +00:00
Matt Kraai
861e624e15
Fix ash exec (noted by Arne Bernin).
2001-08-27 15:08:57 +00:00
Matt Kraai
449377aa6a
Fix invocation of `-/bin/sh' (bug #1209 ).
2001-08-27 15:02:32 +00:00
Eric Andersen
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
2001-08-21 16:18:59 +00:00
Matt Kraai
2d91deba45
Allow multiple shells to be enabled.
2001-08-01 17:21:35 +00:00
Eric Andersen
221b2ea6c4
I just wrote up a simple pidof applet, closing bug #1197
...
-Erik
2001-07-31 19:06:07 +00:00
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
Matt Kraai
24ac017961
Rewrote dd.
2000-12-18 21:38:57 +00:00
Matt Kraai
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
Matt Kraai
8abc78aa84
Rewrite argv munger.
2000-12-15 00:35:22 +00:00
Eric Andersen
d0fa0a12f1
Document gzip -d
2000-12-13 17:59:37 +00:00
Eric Andersen
a2d61e761e
Some compile fixes found by Larry Doolittle
2000-12-12 16:55:56 +00:00
Eric Andersen
20c2bdd7f2
Fix spelling error s/defaut/default/g
2000-12-11 19:39:25 +00:00
Eric Andersen
70d09ed1cf
Reverse logic so when network logging, it by default does not log locally.
2000-12-11 16:24:16 +00:00
Eric Andersen
5b5db38a7d
Patch from Matt Kraai to implement uniq -[cdu]
2000-12-09 16:37:53 +00:00
Eric Andersen
8c28fd7849
Forget to set final argv entry to NULL, breaking sh.c amoung
...
other things...
2000-12-09 00:19:30 +00:00
Eric Andersen
bf2b8ae49a
Make no local logging a runtime option for network logging...
2000-12-08 19:52:01 +00:00
Eric Andersen
5e09b6e3a8
when invoked as 'busybox foo args' remove the "busybox"
...
so ps shows only what we want it to show...
2000-12-08 19:03:12 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Eric Andersen
3d957c87b7
Patch from Jim Gleason <jimg@lineo.com> to fix tar so it no longer breaks hard
...
links, and no longer segfault in a certain wierd case.
2000-12-07 00:34:58 +00:00
Eric Andersen
8cede00b9e
Patch to add in the -X option and fix the --exclude bug, originally by
...
Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin
<ab@netropol.de> and kent robotti <robotti@metconnect.com>.
2000-12-04 18:51:09 +00:00
Eric Andersen
868c057d25
Patch from Larry Doolittle so it will build the newdocs right.
2000-12-02 00:44:48 +00:00
Eric Andersen
e2f6e12213
More pristine source directory updates. It now works
...
for me (including doing install). How about you?
-Erik
2000-12-01 19:55:04 +00:00
Eric Andersen
8c725e624a
Patch from Larry Doolittle (with minor touchups from me so everything compiles
...
and works) to use the applet definitions in applets.h to autogenerate the applet
function and usage prototypes.
2000-11-30 00:27:06 +00:00
Eric Andersen
ddea368dbe
Apply rev #2 of dd fix from Gennady Feldman.
2000-11-29 22:33:02 +00:00
Eric Andersen
7b5d59464f
Apply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close
...
bug 1069. This shaves about 100 bytes from the executable, and about
200 bytes of heap usage. Also document the "-d" option in the usage
message.
2000-11-29 22:01:42 +00:00
Eric Andersen
e500d20835
Apply a patch fromkent robotti:
...
Renamed unrpm to original rpmunpack, so you can use an included shell script
called unrpm as a front end to it.
There's also a shell script called undeb included for debian packages.
Change undeb and unrpm scripts to work with the busybox tar and gunzip.
2000-11-29 21:38:11 +00:00
Eric Andersen
e5aef92e22
Fix up builtin overrides, and hack in the binary search for finding
...
matching applets into the shell.
2000-11-17 18:25:26 +00:00
Mark Whitley
cf32e23796
Modified help string for xargs. Props to Kent Robotti <robotti@metconnect.com>.
2000-11-17 18:13:09 +00:00
Eric Andersen
84bdc75c7e
This was broken when applets moved to applets.h. Fix it.
2000-10-26 04:17:49 +00:00
Matt Kraai
2dab174daa
Restore --help handling I mistakenly removed.
2000-10-25 19:05:38 +00:00
Matt Kraai
a0428eee9e
Avoid reinventing the wheel (and thus save some space).
2000-10-25 19:00:51 +00:00
Mark Whitley
130005cd89
Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary search
...
to locate applets, rather than a linear search. Also, broke out the listing of
applets into it's own file: applets.h.
2000-10-25 00:28:27 +00:00
Mark Whitley
6050618096
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
2000-10-19 22:28:06 +00:00
Matt Kraai
69229a6c92
Piss people off by removing [+-][0-9]+ options from tail.
2000-10-19 21:28:32 +00:00
Eric Andersen
0d5835a767
Apply patch from "Orion Poplawski" <OPoplawski@cqg.com> to make
...
hostname do "--file"
-Erik
2000-10-12 22:30:31 +00:00
Mark Whitley
872138de50
Added cmp and readlink applets from Matt Kraai.
2000-10-09 18:56:47 +00:00
Eric Andersen
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
caffb6eff0
Gratuitously changed the file "busybox.defs.h" to the more
...
sensible and noticable "Config.h".
-Erik
2000-09-25 21:28:07 +00:00
Eric Andersen
c5949f62e5
Fix from Matt Kraai for the to the "busybox --install prints out on STDERR
...
"File already exists" messages for all files (including the ones that DON'T
exist)" problem reported by "Bruno L. F. Cabral" <bruno@openline.com.br>.
Thanks Matt!
-Erik
2000-09-25 20:35:54 +00:00
Eric Andersen
82e0614101
update usage for xargs
2000-09-23 06:11:03 +00:00
Eric Andersen
5b17693f0a
Use minix xargs instead, and update docs accordingly
...
-Erik
2000-09-22 20:22:28 +00:00
Eric Andersen
92a61c1206
Add in xargs
2000-09-22 20:01:23 +00:00
Eric Andersen
cff3fe3ae9
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
...
-Erik
2000-09-20 19:22:26 +00:00
Glenn L McGrath
605a819a17
New dd behaviour
2000-09-11 00:33:09 +00:00
Glenn L McGrath
1c6917d2c4
Updated to match new -R ar functionality
2000-09-09 14:57:15 +00:00
Glenn L McGrath
437bf72785
Changed getopt so that options can be grouped together, the source
...
archive is now assumed to be the first non parameter.
This is how GNU ar behaves.
2000-09-09 13:38:26 +00:00
Eric Andersen
11c655295c
New ls sorting patch, as written by Sterling Huxley, and then updated
...
by kent robotti. I then updated it to use my_getpwuid and my_getgrgid
(per busybox policy).
-Erik
2000-09-07 17:24:47 +00:00
Eric Andersen
1b355ebba6
Added expr, from Edward Betts <edward@debian.org>, with some fixups
...
and docs added by me.
-Erik
2000-09-05 17:37:48 +00:00
Eric Andersen
61a9d8d145
Forgot this part of wget
2000-09-04 15:16:51 +00:00
Eric Andersen
9670083818
Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.
...
Very cool. Still lacks "chunked" transfer-coding, so not totally RFC
compliant for HTTP1.1, but very nice nonethe less, and very small.
-Erik
2000-09-04 15:15:55 +00:00
Eric Andersen
cb91d69b3f
Fix compile when BB_FEATURE_LINUXRC is defined
...
-Erik
2000-09-01 18:43:02 +00:00
Eric Andersen
18a1014c95
updated some usage info from a patch from robotti@metconnect.com
...
-Erik
2000-09-01 16:12:57 +00:00
Glenn L McGrath
06aeb6c417
ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions.
...
moved copySubFile from ar.c to utilities.c
modified dd.c to use fullWrite
modified copyFile in utilities.c to use copySubFile
2000-08-25 03:50:10 +00:00
Eric Andersen
4d5ac2f346
Fix tab stops for sed usage.
2000-08-25 00:23:36 +00:00
Eric Andersen
918507edda
Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
...
I added the docs, and made behavior identical to the GNU version.
-Erik
2000-08-21 22:46:33 +00:00
Eric Andersen
a1f16bba72
Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
...
-Erik
2000-08-21 22:02:34 +00:00
Eric Andersen
fa405d0cb2
Add in the "reset" command.
...
-Erik
2000-08-21 21:18:52 +00:00
Eric Andersen
e89267c8b3
Minor fixups.
...
-Erik
2000-08-19 20:16:16 +00:00
Eric Andersen
8cbac440d6
Better 'mt' docs, thanks to Kent Robotti <robotti@metconnect.com>
...
-Erik
2000-08-11 20:14:11 +00:00
Eric Andersen
88f50b6bf5
Some #include updates.
...
-Erik
2000-08-10 17:59:11 +00:00
Eric Andersen
fdd5103348
Merge in two patches from Dave Cinege:
...
the first is a cleanup of tar --exclude
the second changes mount so mtab works more as it should, and
also allows mount to use the traditional short form (i.e.
'mount / -o remount,rw' now works.
While inside tar, I changed it to use getopt...
-Erik
2000-08-02 18:48:26 +00:00
Eric Andersen
d5fa3e3e9a
Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net>
...
-Erik
2000-08-02 16:42:58 +00:00
Pavel Roskin
259972e565
Disabled debugging output
...
Fine-grained checks for possible errors instead of "set -e"
The standard output shows what is being linked to what
2000-07-28 19:34:02 +00:00
Eric Andersen
501c88b245
More sh updates (with related changes to everything else). Switched
...
to using getopt and cleaned up the resulting mess. if-then-else-fi
is now basically working (given a bunch of constraints).
-Erik
2000-07-28 15:14:45 +00:00
Eric Andersen
d34595d857
Remove some noise.
...
-Erik
2000-07-25 17:58:01 +00:00
Eric Andersen
e5db406690
Clean up $1=$prefix
...
-Erik
2000-07-25 16:47:03 +00:00
Eric Andersen
bf960f58e2
Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
...
-Erik
2000-07-21 21:32:12 +00:00
Pavel Roskin
0010ee45e3
Fixed usage info for "cut"
2000-07-21 15:10:57 +00:00
Mark Whitley
c768ab490e
Took -V out of the sed_usage string.
2000-07-20 23:54:42 +00:00
Eric Andersen
ced2cefcca
* syslogd can now log messages to a remote host -- patch thanks
...
to Gyepi Sam <gyepi@praxis-sw.com>
-Erik
2000-07-20 23:41:24 +00:00
Eric Andersen
51154bacbe
Adjusted install.sh to use relative symlinks, and to optionally
...
create hardlinks. Added a makefile target to create hardlinks.
-Erik
2000-07-20 21:57:11 +00:00
Matt Kraai
27a804246a
Centralize handling of --help.
2000-07-19 19:24:01 +00:00
Matt Kraai
869057238b
Added some missing declarations and fixed some typos. I have to
...
remember to compile *before* committing.
2000-07-19 18:20:02 +00:00
Matt Kraai
2f46b664b7
Add usage messages for applets without them.
2000-07-19 18:01:00 +00:00
Eric Andersen
52d6fa3bb3
Funny. Head was getting installed to the wrong spot.
...
-Erik
2000-07-19 17:34:40 +00:00
Pavel Roskin
9c5fcc3408
New message added to messages.c: full_version
...
Used where possible
2000-07-17 23:45:12 +00:00
Matt Kraai
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
Eric Andersen
d6912c97de
Be more pedantic aboutthe terminating null applet.
...
-Erik
2000-07-14 06:29:10 +00:00
Matt Kraai
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
Matt Kraai
3ecbe9f4dc
The applet name isn't constant.
2000-07-12 00:43:28 +00:00
Matt Kraai
7719008a85
Added applet_name to contain the applet name.
2000-07-11 20:03:24 +00:00
Eric Andersen
61dc057183
Added 'dumpkmap' to allow people to dump a binary keymap, which can then be
...
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org>
-Erik
2000-07-11 17:29:36 +00:00
Eric Andersen
e6b9dfa967
Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't
...
maintain it very well, so including it was not very appropriate. Those wanting
an fdisk are invited to grab a copy from util-linux.
-Erik
2000-07-07 20:54:30 +00:00
Eric Andersen
62bb2d02b6
Remove leftovers of block_device, which disapperared around
...
busybox 0.28.
-Erik
2000-07-06 19:46:22 +00:00
Eric Andersen
5d41d60f1e
Added support for being a login shell, so things like '-su' or '-sh' (stuff
...
where argv[0][0]=='-') will now always invoke the shell. Now you can use
BusyBox as a login shell.
-Erik
2000-06-29 20:20:14 +00:00
John Beppu
eb0283333b
= minor formatting issues
2000-06-28 00:55:31 +00:00
John Beppu
7cdc76dfbf
+ busybox --install [-s]
...
is functional (but disabled in busybox.def.h by default)
Someone email the guy who originally wanted this.
2000-06-28 00:41:26 +00:00
John Beppu
495869f59a
+ s/int install_links/static int install_links/
...
? Did you want "busybox --install" or "busybox install" ?
The TODO and mailing-list conflict on this issue.
I would recommend against "busybox install", because
people might confuse it w/ /usr/bin/install that does
something different.
2000-06-27 07:54:33 +00:00
John Beppu
27b5924b96
+ littering my code w/ comments about what troubles me.
2000-06-27 04:56:45 +00:00
John Beppu
8f425dbf9a
+ busybox --install [-s]
...
is almost good to go. Here is my work in progress.
+ Look at the FIXME in busybox.c
to see what I need. The actual (sym)linking is disabled
for now, although I'm sure it works ;)
(Am I going to have to dig through /proc to find
out where the currently running busybox is sitting?)
+ I put an #ifdef BB_FEATURE_INSTALLER around
the new bits of code in busybox.c, and I have a
#define BB_FEATURE_INSTALLER in busybox.def.h
towards the bottom.
2000-06-27 04:50:02 +00:00
Pavel Roskin
7ac06a3ff1
Removed all vestiges of "math"
2000-06-21 20:17:29 +00:00
John Beppu
0021679b0d
+ added dc (aka the function formerly known as math)
...
+ did all the housekeeping that this change requires.
2000-06-21 19:06:16 +00:00
Eric Andersen
b610615be9
Updates to a number of apps to remove warnings/compile errors under libc5.
...
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
2000-06-19 17:25:40 +00:00
Eric Andersen
2b6ab3cbf8
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
...
-Erik
2000-06-13 06:54:53 +00:00
Eric Andersen
86ab8a32bd
A number of additional fixed from Pavel Roskin, note some more bugs in the
...
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
2000-06-02 03:21:42 +00:00
Erik Andersen
330fd2b576
More libc portability updates, add in the website (which has not been
...
archived previously). Wrote 'which' during the meeting today.
-Erik
2000-05-19 05:35:19 +00:00
Erik Andersen
bcd6177853
BusyBox shell (lash) can now be used as a standalone shell when
...
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace
sash). Also fixed it so shell builtins now respect pipes and redirects.
-Erik
2000-05-13 06:33:19 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
94f5e0ba7c
Some accrued fixes/updates.
...
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* tail can now accept -<num> commands (e.g. -10) for better
compatibility with the standard tail command
* added a simple id implementation; doesn't support supp. groups yet
2000-05-01 19:10:52 +00:00
Erik Andersen
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00
Erik Andersen
227a59b05d
Several more updates
...
-Erik
2000-04-25 23:24:55 +00:00
Erik Andersen
9a8195cc03
Fix creation of /linuxrc
...
-Erik
2000-04-18 23:32:10 +00:00
Erik Andersen
a6c752201e
Updates
...
-Erik
2000-04-18 00:00:52 +00:00
Erik Andersen
5e1189e187
More documentation updates, and minor fixes to make things sync
...
up with the docs.
-Erik
2000-04-15 16:34:54 +00:00
John Beppu
b4f8606c05
- the message that comes up when busybox is invoked
...
w/o parameters was extending beyond the 80th column
2000-04-13 03:36:01 +00:00
Erik Andersen
61677feff7
Upates to include copyright 2000 to everything
...
-Erik
2000-04-13 01:18:56 +00:00
Erik Andersen
7a4b719486
Fix sed regexp replacement, which I had hosed (thanks to
...
Jim Gleason for finding and fixing the problem)
-Erik
2000-04-06 07:37:35 +00:00
Erik Andersen
e9fee653dc
Use gcc -E instead of cpp to enhance portability for brain
...
damaged platforms (i.e. OpenLinux) that do not have cpp in
the default path but instead hide it under /usr/lib/...
-Erik
2000-04-06 00:10:39 +00:00
Erik Andersen
5661fe078e
Tar now works perfectly. It behaves much better now then it
...
used to. Only thing left to do is add in exclude (-X) option.
-Erik
2000-04-05 01:00:52 +00:00
Erik Andersen
b99ca13261
usleep contributed by Nicolas Pitre <nico@cam.org>
...
-Erik
2000-04-04 18:49:18 +00:00
Erik Andersen
298854f029
My latest ramblings.
...
-Erik
2000-03-23 01:09:18 +00:00
Erik Andersen
6273f655c8
Several fixes.
...
-Erik
2000-03-17 01:12:41 +00:00
Erik Andersen
d75af99529
Major build system updates...
...
-Erik
2000-03-16 08:09:09 +00:00
Erik Andersen
3522eb1ab3
First pass at writing a shell for busybox.
...
Works fine, full job control support, etc.
No syntax yet (if, then, while, etc). Handles
pipes and & processes fine.
TODO: add command editing, add syntax suport.
-Erik
2000-03-12 23:49:18 +00:00
Erik Andersen
246cc6dddd
Wrote killall.
...
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel
patches the allow busybox to run perfectly without /proc.
-Erik
2000-03-07 07:41:42 +00:00
Erik Andersen
fb002d0df0
Add in tr and dirname
...
-Erik
2000-03-05 08:07:00 +00:00
Erik Andersen
66be5e7e29
Wrote uptime. Doesn't use /proc. :)
...
-Erik
2000-03-05 07:52:05 +00:00
Erik Andersen
6437170cb3
Add in freeramdisk.c, which (duh) frees ramdisks. If you have any
...
ramdisks lying about and want to free up the memory they have used,
this baby is the answar you have been waiting for.
-Erik
2000-03-04 22:23:27 +00:00
Erik Andersen
029011b9ee
A few updates (including the cp fix the Craig has been looking for)
...
-Erik
2000-03-04 21:19:32 +00:00
Erik Andersen
f7c49ef2d1
Sync up a few things. Add in a new telnet implementation (still
...
not perfect though).
-Erik
2000-02-22 17:17:45 +00:00
Erik Andersen
e272915e1f
Some updates for the day,
...
-Erik
2000-02-18 21:34:17 +00:00
Erik Andersen
9ffdaa647e
Updates
...
-Erik
2000-02-11 21:55:04 +00:00
Erik Andersen
e49d5ecbbe
Some formatting updates (ran the code through indent)
...
-Erik
2000-02-08 19:58:47 +00:00
Erik Andersen
fac10d7c59
A few minor updates. ;-)
...
Seriously though, read the Changelog for busybox 0.42,
which this is about to become...
-Erik
2000-02-07 05:29:42 +00:00
John Beppu
b332e779e6
nslookup -- a work in progress...
2000-01-29 12:59:01 +00:00
Erik Andersen
3fe39dce5d
Some busybox updates. See the changelog for details if you care.
...
-Erik
2000-01-25 18:13:53 +00:00
Erik Andersen
f4acea8cf5
Better way to check for namespace aliasing.
...
-Erik
2000-01-22 04:55:32 +00:00