09eb000d7a
Patch from Marcel Hamer to fix addgroup argument parsing
Eric Andersen
2002-11-14 11:10:14 +00:00
f870148a04
A missing securetty file is not an error. -Erik
Eric Andersen
2002-11-14 10:58:17 +00:00
e356883ffb
Minor cleanups
Glenn L McGrath
2002-11-13 00:24:20 +00:00
034c371bb2
Reduce block size to 512 to prevent short read's when reading from a pipe
Glenn L McGrath
2002-11-12 23:34:15 +00:00
9af8a72f10
Make ifupdown use internal run_parts
Glenn L McGrath
2002-11-11 07:03:02 +00:00
545106f8db
Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown.
Glenn L McGrath
2002-11-11 06:21:00 +00:00
8f0722a53b
Move readlink, mktemp, run-parts and which to a new debianutils dir.
Glenn L McGrath
2002-11-11 03:00:12 +00:00
c11986d89e
ipcalc applet by Stephan Linz and Jordan Crouse
Glenn L McGrath
2002-11-10 23:42:27 +00:00
912d8f4cbc
run through indent and manually check result
Glenn L McGrath
2002-11-10 22:46:45 +00:00
f234e7c755
Config feature DEVPTS defined and used in telnetd, by Pavel Roskin
Glenn L McGrath
2002-11-10 22:26:19 +00:00
e16860df08
Will the real od.c please stand up! (my previous commit was a mistake)
Glenn L McGrath
2002-11-10 22:16:09 +00:00
3ff3f4ac35
Fix for hostname -s, by Stephan Linz
Glenn L McGrath
2002-11-10 22:07:48 +00:00
021fa7db91
debian compatable ifup and ifdown commands
Glenn L McGrath
2002-11-09 09:34:15 +00:00
7ab93d9980
Teach lash to get $1 $2 $3 etc correct -Erik
Eric Andersen
2002-11-08 09:40:02 +00:00
5703341123
#ifdef, not just #if... grrr
Glenn L McGrath
2002-11-08 08:07:38 +00:00
f6bf7a03fe
Fix reading from stdin (me), Fix tar segfault when no arguments specified (Geoffrey Lee)
Glenn L McGrath
2002-11-08 07:09:42 +00:00
b26674b2f8
Remove gratuitous and unnecessary "BusyBox" refernece in login prompt -Erik
Eric Andersen
2002-11-07 02:45:55 +00:00
1713a11a26
Fix a stupid typo
Eric Andersen
2002-11-07 02:26:59 +00:00
ef5e8f8de0
Implement a small strings applet
Eric Andersen
2002-11-07 02:09:37 +00:00
f9496d4e44
Fix broken tabs
Eric Andersen
2002-11-07 02:06:58 +00:00
62d28828d6
Use a switch instead of successive if (strcmp()) statments.
Glenn L McGrath
2002-11-06 23:35:28 +00:00
747381c602
Split deb_extract() into more generic functions
Glenn L McGrath
2002-11-06 22:54:41 +00:00
ea12202288
Terminate the buffer with a '\0'
Glenn L McGrath
2002-11-06 22:31:45 +00:00
0288c8e543
typo in udhcpc help
Russ Dill
2002-11-05 20:13:41 +00:00
da970859da
version number oops
Russ Dill
2002-11-05 20:10:21 +00:00
d8d1191505
Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internally
Glenn L McGrath
2002-11-05 13:56:04 +00:00
7f2a95319b
Fail silently if a partial tar header is read as tar.bz2 is leaving trailing junk (not sure why), add some missing files
Glenn L McGrath
2002-11-05 02:56:57 +00:00
18bbca18ac
enable .tar.bz2 for dpkg-deb
Glenn L McGrath
2002-11-05 01:52:23 +00:00
8e94098423
Change filter paramaters, filters can be more powefull now
Glenn L McGrath
2002-11-04 23:47:31 +00:00
f92caa7619
Call lseek directly rather than via data_align()
Glenn L McGrath
2002-11-03 14:14:53 +00:00
237ae42fc9
Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j
Glenn L McGrath
2002-11-03 14:05:15 +00:00
2fc54a9258
Fix #define syntax
Glenn L McGrath
2002-11-03 12:50:33 +00:00
6ab32eb34c
Move data_extract_all_prefix to dpkg, its only used there.
Glenn L McGrath
2002-11-03 11:57:10 +00:00
b8e556e5f5
Add copyright notice and license, use strcat+strcpy instead of sprintf
Glenn L McGrath
2002-11-03 11:46:49 +00:00
9c60b29071
Use xread_char to save a few bytes, fix indenting of comments
Glenn L McGrath
2002-11-03 10:57:25 +00:00
60bce4905c
Move bunzip2 idecompression code to libunarchive
Glenn L McGrath
2002-11-03 07:28:38 +00:00
97b141ac69
Test for holes in swapfiles -Erik
Eric Andersen
2002-11-03 00:25:23 +00:00
bf1cc8b1b7
Make uncompress a seperate applet so it doesnt pull in all the gunzip code
Glenn L McGrath
2002-11-01 23:38:54 +00:00
d6aec8619d
Allow short reads when filling compress buffer
Glenn L McGrath
2002-11-01 22:28:13 +00:00
9ef0944456
Allow the .Z prefix if compress support enabled
Glenn L McGrath
2002-11-01 22:11:53 +00:00
b2f67b4068
Make it a fatal error if bad chksum or crc, if not we should return an error code
Glenn L McGrath
2002-11-01 22:08:59 +00:00
563ac6e789
Report errror if the first magic character doesnt match
Glenn L McGrath
2002-11-01 21:40:52 +00:00
f5ecd43473
sync to udhcp 0.9.8
Russ Dill
2002-10-31 19:21:27 +00:00
1b6eb9b6eb
Use a nifty macro to make testing gcc features simpler and much easier to read. -Erik
Eric Andersen
2002-10-30 06:55:37 +00:00
df5b8679a2
Formatting
Eric Andersen
2002-10-27 06:14:44 +00:00
69051e817c
Update the webpage -Erik
Eric Andersen
2002-10-27 06:08:30 +00:00
db1df5ebeb
last_patch64 from vodz:
Eric Andersen
2002-10-26 10:27:42 +00:00
fda2b7ff47
A patch from Jouni Malinen to avoid some buffer overflows in vi, closing bug #1270
Eric Andersen
2002-10-26 10:19:19 +00:00
12f834ccfc
Ivan Popov noticed that handling of PREFIX was bad. -Erik
Eric Andersen
2002-10-26 10:17:24 +00:00
18921bd00d
A bugfix from Danny Lepage: It seems that under busybox unstable, "tar -c -f - blabla" create a tar file named "-" instead of writing to stdout.
Eric Andersen
2002-10-26 10:05:37 +00:00
5ad22c933c
This patch from Magnus Damm fixed a long standing problem with freeing memory.
Eric Andersen
2002-10-25 12:14:02 +00:00
09da627a23
Fix warning
Eric Andersen
2002-10-22 22:15:33 +00:00
080ddc1c19
mjn3 noticed that crond and crontab had #include <pwd.h> and #include <grp.h> but this conflicted with the internal pwd_.h and grp_.h. Removing these headers is correct, since the correct pwd/grp headers will be included via busybox.h -Erik
Eric Andersen
2002-10-22 20:08:51 +00:00
5e02c67331
vodz forgot to include the suid field
Eric Andersen
2002-10-22 20:01:08 +00:00
fe5b1a9f3c
Apply patch from bug #1278 -- fix usage message for the start_stop_daemon applet.
Eric Andersen
2002-10-22 19:21:48 +00:00
72e1212ad8
vodz writes: Oops... Last patch 63 have small typo (stable/devel) mixing. Attached patch removing lines from TODO also :)
Eric Andersen
2002-10-22 19:19:13 +00:00
f02c26f1ef
I committed the fflush in the wrong spot. I should go to bed earlier so I don't screw up such easy stuff. -Erik
Eric Andersen
2002-10-22 19:15:43 +00:00
f6f7bfb8e0
last_patch63 from vodz: add in crond and crontab applets
Eric Andersen
2002-10-22 12:24:59 +00:00
44608e9693
Patch last_pach62 from vodz. This patch moves all the /proc parsing code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
Eric Andersen
2002-10-22 12:21:15 +00:00
1887b0478f
Apply last_patch51_3 from vodz
Eric Andersen
2002-10-22 11:58:59 +00:00
5956028f6f
Be absurdly careful about flushing stdout.
Eric Andersen
2002-10-22 11:45:20 +00:00
9ffd5776eb
Move unzip.c uncompress.c from libbb to archiveal/libunarchive
Glenn L McGrath
2002-10-22 01:07:32 +00:00
0d53ebdc52
gz_open is used anymore, use inflate directly, see how its done in get_header_tar_gz
Glenn L McGrath
2002-10-21 06:29:55 +00:00
4298e87fa5
Dont try and make the "/" directory
Glenn L McGrath
2002-10-19 23:56:41 +00:00
61b7904afd
Update dpkg to use new unarchive code
Glenn L McGrath
2002-10-19 10:40:55 +00:00
c5c1a8a112
Fix exclude/include problem
Glenn L McGrath
2002-10-19 06:19:22 +00:00
05fa661123
Find a string in a list
Glenn L McGrath
2002-10-19 05:10:51 +00:00
25bca9566d
Remove entries from the accept list as they are matched so we can determine if any files that were specified in the list wernt found.
Glenn L McGrath
2002-10-19 02:18:51 +00:00
98f824aa22
Dont use absolute pathname (dunno why i did that), fix tar filename/stdin problems
Glenn L McGrath
2002-10-19 00:46:35 +00:00
934805aec1
Put bac kthe code that handles cases where a '-' wasnt specified prior to the options.
Glenn L McGrath
2002-10-18 23:59:40 +00:00
2a2ab1479c
Fix an obvious thinko -Erik
Eric Andersen
2002-10-18 22:31:02 +00:00
431a18497d
disambiguate a test
Eric Andersen
2002-10-18 22:18:10 +00:00
31f9747a23
Fix needless formatting differences vs modutils
Eric Andersen
2002-10-18 22:14:07 +00:00
d69e31fb93
Fix needless difference vs GNU
Eric Andersen
2002-10-18 22:13:23 +00:00
1977a60de4
missed add for udhcp
Russ Dill
2002-10-14 21:47:07 +00:00
61fb48930f
added full udhcp integration
Russ Dill
2002-10-14 21:41:28 +00:00
9060a73159
Doh! I screwed up applying vodz' patch. -Erik
Eric Andersen
2002-10-12 04:16:08 +00:00
e8a90fb2bc
After thinking about it, I think this patch from Matt Kraai is probably the best way to go. Sysvinit does not provide a controlling tty since it doesn't even try to open ttys for apps. We do. So we should _try_ to provide a controlling tty if possible, but we needn't freak out if it doesn't work. This way we won't need to use openvt or similar, we'll just have init do the Right Thing(tm).
Eric Andersen
2002-10-12 04:05:48 +00:00
71ae64bdc6
last_patch61 from vodz: New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
Eric Andersen
2002-10-10 04:20:21 +00:00
fdfe298a96
last_patch60 from vodz: login and getty applets writes utmp/wtmp but init do clearing not. I think, in current time deny wtmp/utmp writes as undefault features.
Eric Andersen
2002-10-10 03:55:09 +00:00
d274b53c1d
last_patch59 from vodz to cleanup chmod and correctly parse '-rwxgoa'
Eric Andersen
2002-10-10 03:47:01 +00:00
1bb1e83454
last_patch58_2 from vodz -- add FEATURE_CPU_USAGE_PERCENTAGE option
Eric Andersen
2002-10-10 03:44:12 +00:00
adb058b0de
Fixed the script. It always put output to 'stdout' and never to the 'modules.dep' file.
"Steven J. Hill"
2002-10-08 21:33:51 +00:00
a39342b131
Remember to delete docs/busybox.pod
Eric Andersen
2002-10-08 19:31:04 +00:00
528649463f
Fix missing \n noticed by Robert Schwebel
Eric Andersen
2002-10-08 09:38:07 +00:00
2983330512
Fix segfault when testing if reaidng from stdin "-"
Glenn L McGrath
2002-10-06 23:25:23 +00:00
e0f5500bb5
Fix init docs
Eric Andersen
2002-09-30 20:59:33 +00:00
08a72209c9
last_patch58 from vodz: Ok. I generate patch for include to busybox-devel my work with top (original author give me maintaining) and telnetd (my support and unofficial maintaining) applets. Docs changes also: added awk, netstat, time applets to list ;)
Eric Andersen
2002-09-30 20:52:10 +00:00
02e6ba91e8
Vodz' last_patch57: Hi, Erik.
Eric Andersen
2002-09-30 20:39:56 +00:00
a6f6e06107
Fix dependancy so we rebuild busybox.o, usage.o and busybox.o whenever the config changes. -Erik
Eric Andersen
2002-09-30 20:39:12 +00:00
ad082987d0
Use %m, not strerror, and strerror(err) was broken anyways and should have been strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru>
Eric Andersen
2002-09-30 20:20:20 +00:00