Rob Landley
2381f702c9
Patch from Dennis Vlasenko simplifying the APPLET macros.
2006-05-05 15:55:06 +00:00
Rob Landley
552b56dfd1
Not quite compiler independent, but we've never tried to be gcc independent
...
anyway. This is at least less ugly than what was there before, and fixes
building all sources at once.
2006-05-04 21:22:27 +00:00
Rob Landley
3b89039c25
It was sitting there, in the patches directory, for years. It was delete it
...
or apply it. It's small, simple, evil, part of SUSv3, and we can switch it
off.
2006-05-04 20:56:43 +00:00
Rob Landley
a2d9a1752c
More usage.h cleanups, with collateral changes to httpd. Specifically,
...
most of our CONFIG entries switch stuff on instead of off when enabled, so fix
the gratuitously reversed INETD thing.
2006-04-28 19:38:04 +00:00
Rob Landley
7e21d5f6b1
Patch from Dennis Vlasenko to add the option to compress help text.
2006-04-27 23:34:46 +00:00
Rob Landley
5fe8d5b9c5
Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix a
...
DEFALT typo in du while I was there.
2006-04-25 22:40:53 +00:00
Rob Landley
856489b63c
New applet cksum, from Rob Sullivan.
2006-04-18 20:57:28 +00:00
Bernhard Reutner-Fischer
ba31d27249
- enable dumpleases applet again; bad rob
2006-04-18 10:04:08 +00:00
Mike Frysinger
5c16988910
enable udhcp applets again; bad rob
2006-04-17 02:00:49 +00:00
Bernhard Reutner-Fischer
c2cb0f32b4
- patch from Denis Vlasenko to add and use bb_xopen3()
2006-04-13 12:45:04 +00:00
Bernhard Reutner-Fischer
d9cf7ac781
- patch from Denis Vlasenko to add and use bb_xchdir()
2006-04-12 18:39:58 +00:00
Bernhard Reutner-Fischer
67f641e75b
- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()
2006-04-12 18:24:37 +00:00
Bernhard Reutner-Fischer
2c99851181
- patch from Denis Vlasenko to add and use bb_xdaemon()
2006-04-12 18:09:26 +00:00
Bernhard Reutner-Fischer
dac7ff15b7
- patch from Denis Vlasenko to add and use bb_xsocket() and to use
...
bb_xopen some more while at it.
Also use shorter boilerplate while at it.
2006-04-12 17:55:51 +00:00
Bernhard Reutner-Fischer
cb44816ba3
- add and use bb_opendir(), bb_xopendir().
...
text data bss dec hex filename
889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig
889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2
889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig
888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-04-12 07:35:12 +00:00
Bernhard Reutner-Fischer
a23a6d7819
- include netinet/in.h for struct sockaddr_in.
...
Closes bug #735
2006-04-11 18:15:17 +00:00
Mike Frysinger
f785255a44
Robert P. J. Day writes: even in the header file, make it clear that the routine depends on __uClinux__
2006-04-11 04:04:40 +00:00
Rob Landley
81c40b39cb
Patch from Tito to unify deluser and delgroup, and generally shrink code.
2006-04-10 18:03:17 +00:00
Rob Landley
c57ec37959
Patch from Rob Sullivan to consolidate crc32 table generation.
2006-04-10 17:07:15 +00:00
Bernhard Reutner-Fischer
bc14214018
- patch from Rob Sullivan to add support for -L
2006-04-06 16:07:08 +00:00
Bernhard Reutner-Fischer
8f7d389700
- new applet diff. Rob Sullivan writes:
...
Here's my attempt at a mini diff applet - it's adapted from the code at
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/ , and only supports
unified diffs.
I've busyboxified everything to a reasonable degree, so I think the code is
suitable enough to be included, but there's still a fair bit of cleaning up
to be done.
2006-04-06 08:11:08 +00:00
Bernhard Reutner-Fischer
421d9e5941
- move buffer allocation schemes to libbb.h
...
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-04-03 16:39:31 +00:00
Bernhard Reutner-Fischer
a1bccc0ba8
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
2006-04-02 20:17:55 +00:00
Bernhard Reutner-Fischer
9457e70357
- typo: s/compenent/component/g
...
add a bit of documentation.
2006-04-02 20:12:31 +00:00
Bernhard Reutner-Fischer
e47c4cbd4d
- update help text.
...
the interface argument is now a lowercase 'i' to match the big arping
commandline-syntax.
2006-03-31 18:10:31 +00:00
Rob Landley
daa4a6dcbd
Update ipaddr help to match reality.
2006-03-30 01:59:30 +00:00
Bernhard Reutner-Fischer
cb8d4319a3
find ./ -name .cvsignore | xargs svn rm
2006-03-29 15:51:19 +00:00
Mike Frysinger
f885513940
just whitespace fixes
2006-03-28 02:35:56 +00:00
Rob Landley
87848d91c7
setlogcons, from Jan Kaszka.
2006-03-27 23:23:43 +00:00
Rob Landley
90ece609e6
Define both big endian and little endian macros.
2006-03-25 03:01:59 +00:00
Mike Frysinger
64bef2ab9c
fix typo
2006-03-23 02:06:29 +00:00
Rob Landley
8caffaa9a9
Cleanup: remove double quotes that don't seem to be needed.
2006-03-20 18:39:02 +00:00
Rob Landley
0b22c1c962
Tito unified fdflush and freeramdisk. I tweaked the result a bit.
2006-03-14 02:40:51 +00:00
Rob Landley
c5b1d4d6b1
Patch from Denis Vlasenko to add xstat() and use it.
2006-03-13 15:45:16 +00:00
Rob Landley
dae6aa2859
Fixup to the previous (portability) patch. Linux actually does need
...
arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
2006-03-09 22:39:08 +00:00
Rob Landley
1f305dc0fd
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...
2006-03-09 22:21:20 +00:00
Mike Frysinger
874af85d5e
import most of e2fsprogs 1.38 updates
2006-03-08 07:03:27 +00:00
Rob Landley
883e0e83f2
Missed one in the get_line_from_file() update...
2006-02-24 03:12:03 +00:00
Bernhard Reutner-Fischer
ed7bb6278d
- put NLS stuff in one central place to avoid redefines.
...
Fixes warnings about:
fdisk.c:45:1: warning: "_" redefined
nfsmount.c:121:1: warning: "_" redefined
nfsmount.c:122:1: warning: "N_" redefined
interface.c:84:1: warning: "_" redefined
2006-02-23 14:25:15 +00:00
Rob Landley
51be57e4df
Convert all the applets from #include to USE(). Had to fix some nonstandard
...
naming along the way to get USE() macros for everything.
2006-02-23 00:42:25 +00:00
Mike Frysinger
73b4710974
fix applet order
2006-02-22 23:33:39 +00:00
Rob Landley
c6d09a6276
You don't need an #ifdef around #defines in usage.
2006-02-22 20:33:15 +00:00
Rob Landley
5cf7c2df66
Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked
...
md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)
2006-02-21 06:44:43 +00:00
Rob Landley
c5789a6e23
Walter Harms added -D to date, and I did a code cleanup while I was in the
...
area. Probably broke something...
2006-02-21 05:06:42 +00:00
Mike Frysinger
bf28ed8834
eat extraneous newlines at the end of applet full usage
2006-02-21 04:32:03 +00:00
Mike Frysinger
0a6b0bfa7a
add setarch/linux32/linux64 applet
2006-02-21 04:26:52 +00:00
Rob Landley
a2841e6d4b
Patch from Giuseppe Ciotta to specify retry count.
2006-02-20 23:26:38 +00:00
"Vladimir N. Oleynik"
0c6ff43a0c
remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION
2006-02-20 12:15:10 +00:00
"Vladimir N. Oleynik"
dd1ccddf1b
moved BB_BANNER to applets/version.c file: make kernel like version,
...
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-02-16 15:40:24 +00:00
"Vladimir N. Oleynik"
6732af2766
full removed config.h, use bb_config.h only
2006-02-15 12:29:37 +00:00