Eric Andersen
db7d5fca5f
Stupid gcc always includes its own builtin strlen()...
2002-04-13 13:02:03 +00:00
Eric Andersen
265d229427
Patch from Edward Betts <edward@debian.org> to add -x switch to du.c
2002-04-06 23:16:44 +00:00
Matt Kraai
9cdb0601eb
* archival/bunzip2.c: Include <unistd.h>.
...
(bunzip2_main): Read data from standard input if FILE argument is `-' or
omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
2002-03-27 17:31:01 +00:00
Matt Kraai
83788da250
* include/applets.h (CONFIG_LOSETUP): New.
...
* include/usage.h (losetup_trivial_usage, losetup_full_usage): New.
* util-linux/Makefile: Add losetup.o.
* util-linux/config.in: Add losetup prompt.
* util-linux/losetup.c: New.
2002-03-20 17:38:37 +00:00
Eric Andersen
c7a3fb96d0
Fix devfs loop device support
2002-03-20 15:25:25 +00:00
Eric Andersen
38ddbed4c1
Try to pull in PATH_MAX properly
2002-03-16 02:12:30 +00:00
Matt Kraai
9bd49d6a22
* archival/gzip.c (ifname, ofname): Delete.
...
(gzip_main): Handle multiple files.
* include/usage.h (gzip_trivial_usage): Allow multiple FILEs.
(gzip_full_usage): Ditto.
* testsuite/gzip/gzip-accepts-multiple-files: New.
* testsuite/gzip/gzip-removes-original-file: New.
2002-02-05 22:31:48 +00:00
Matt Kraai
273af73317
* include/usage.h (gzip_trivial_usage): Make FILE optional.
...
(gzip_full_usage): Note behavior when FILE is unspecified.
2002-02-05 19:25:29 +00:00
Eric Andersen
20d739adf7
If PATH_MAX isn't defined, define it outselves
2002-01-26 23:58:22 +00:00
Matt Kraai
9758e7d58d
* include/usage.h: Fix route and unzip usage messages (patch from
...
Laurence Anderson).
2002-01-03 17:32:29 +00:00
Glenn L McGrath
87ac7028e0
unzip applet by Laurence Anderson
...
----------------------------------------------------------------------
2002-01-02 13:52:26 +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
730f826f25
Add in a new restart init target, triggered by SIGHUP. Patch from
...
Russ Dill, with adjustments by me.
-Erik
2001-12-17 23:13:08 +00:00
Matt Kraai
ace02dc9cd
Make cp and mv optionally preserve hard links.
2001-12-17 15:26:36 +00:00
Eric Andersen
6925d50176
Some minor usage cleanups from David Douthitt <ssrat@mailbag.com>
2001-12-16 09:23:09 +00:00
Matt Kraai
54805af092
Remove documentation for the --file option to hostname (noted by
...
David Douthitt).
2001-12-06 17:37:51 +00:00
Eric Andersen
c98c06233e
Merge in the cal applet from Steve Merrifield <steve@labyrinth.net.au>
2001-12-06 15:16:43 +00:00
Eric Andersen
b24d65659f
If find_pid_by_name() had an error, it was returning -1, but storing
...
that into a pid_t, which is unsigned on a number archs. Furthermore,
find_pid_by_name() would _never_ return an error if the intended proces
was "init", but instead would return 1, meaning we would fail to work
on 2.4.x kernels running an initrd...
-Erik
2001-12-06 14:52:32 +00:00
Eric Andersen
356b6dbf86
Patch from Steve Merrifield <steve@labyrinth.net.au> to
...
fixup the merge of the time applet, which I messed up.
-Erik
2001-12-06 07:42:04 +00:00
Eric Andersen
c3657428d3
Add in a 'time' applet. Adds 4.5k.
...
-Erik
2001-11-30 07:54:32 +00:00
Glenn L McGrath
fff11f1ab7
bzcat and bunzip -c support from Thomas Lundquist
2001-11-18 14:20:25 +00:00
Eric Andersen
c223ced0ea
I forgot to add these. Part of the patch from vodz
2001-11-10 12:18:42 +00:00
Glenn L McGrath
55b2deda08
Required for od and hexdump applets
2001-11-02 11:40:44 +00:00
Glenn L McGrath
60281118d0
Introduce od and hexdump applets
2001-11-02 11:39:46 +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
Matt Kraai
999623e973
Use extended regular expressions when invoked as egrep (noted and initial
...
patch by Charles Steinkuehler).
2001-10-29 15:49:03 +00:00
Glenn L McGrath
9af363fe20
include unistd which provides off_t for the header and hence unarchive applets
2001-10-27 14:10:37 +00:00
Glenn L McGrath
e9fc781570
libunarchive, and recovery from my previous commit
2001-10-25 14:57:14 +00:00
Glenn L McGrath
0d2fb76c11
Modify applets to use libunarchive
2001-10-25 14:26:05 +00:00
Matt Kraai
258bd3d971
Split true and false into separate applets.
2001-10-24 19:00:20 +00:00
Eric Andersen
b36e684fd7
Ignore generated files
2001-10-24 06:53:33 +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
4bef7b4186
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
2001-10-13 19:43:46 +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
Matt Kraai
4c557bf576
Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.
2001-10-05 01:35:10 +00:00
Matt Kraai
3be34309e3
Fix tftp usage information ( closes : #1216 ).
2001-09-21 14:42:30 +00:00
Tim Riker
4c67c596d1
closes bug#1215?
2001-09-16 02:00:09 +00:00
Matt Kraai
91631011cc
Remove traces of rpmunpack (patch by Laurence Anderson).
2001-08-27 18:55:10 +00:00
Matt Kraai
80f6d55836
Eliminate improper consts and allow standard version to override.
2001-08-24 20:35:45 +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
a7cecbc917
Commit Vladimir's simplify_path.
2001-08-10 15:05:27 +00:00
Eric Andersen
be0c36009a
More libc5 fixups
...
-Erik
2001-08-02 10:55:32 +00:00
Eric Andersen
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
2001-08-02 09:58:19 +00:00
Eric Andersen
46bf7de5f6
Ok, if no shell is enabled, don't include any of the SH_IS_<name>
...
options or the build will fail
-Erik
2001-08-02 08:48:03 +00:00
Eric Andersen
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.
2001-08-02 05:02:46 +00:00
Matt Kraai
2d91deba45
Allow multiple shells to be enabled.
2001-08-01 17:21:35 +00:00