5b20d02ea9
This is primarily to allow deb_extract to be independent of the tar applet. TODO: This function and its conterpart in tar.c should be merged
Glenn L McGrath
2001-04-11 16:14:24 +00:00
f70f6cef39
Disable sigterm
Glenn L McGrath
2001-04-11 15:09:30 +00:00
48081f81bd
replace getOctal with strtol( , NULL, 8) saves 100 Bytes
Glenn L McGrath
2001-04-11 05:01:09 +00:00
7dc8d227a5
dpkg only dependeds on tar
Glenn L McGrath
2001-04-11 03:47:45 +00:00
528ef50a4a
Gzip is indepenedent of gunzip
Glenn L McGrath
2001-04-11 03:45:37 +00:00
a12131966c
Remove dpkg-deb applet dependencies, still depends on tar
Glenn L McGrath
2001-04-11 03:27:06 +00:00
7fd92949d0
Move unzip, gz_open, gz_close to libbb
Glenn L McGrath
2001-04-11 03:11:33 +00:00
d22e560ad6
Move deb_extract() to libbb, dpkg now independent of dpkg-deb
Glenn L McGrath
2001-04-11 02:12:08 +00:00
9d53c8ab74
Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c
Glenn L McGrath
2001-04-11 01:37:03 +00:00
93ffa950bf
Put in a paragraph break
Eric Andersen
2001-04-10 22:10:42 +00:00
efcfe874ea
Added a chart of busybox's growth by Larry Doolittle and put a news announcement for it on the main page.
Mark Whitley
2001-04-10 21:58:32 +00:00
0958093be6
Doc update for the 0.51 release. -Erik
0_51
Eric Andersen
2001-04-10 20:10:55 +00:00
3c3430502a
Fix up changelog for 0.51 release
Eric Andersen
2001-04-10 20:10:14 +00:00
b04d744a47
Bring Debian config files into sync with the master one.
Eric Andersen
2001-04-10 20:07:19 +00:00
e703f7ed42
Ha. Regression testing found a bug with uClibc support. Fixed. -Erik
Eric Andersen
2001-04-10 19:03:03 +00:00
b9af894264
Fix up the uClibc compiler name (its format was recently changed slightly)
Eric Andersen
2001-04-10 18:35:02 +00:00
6d7fa438a7
This patch from Laurence Anderson <laurence@zxmail.com> fixes wget HTTP 1.1 support and addes chunked encoding so bb wget is now fully RFC compliant.
Eric Andersen
2001-04-10 18:17:05 +00:00
fd402941a7
Patch from Valdimir to reduce stack usage, since recursive_action is (as the name implies) is recursive, reducing stack memory usage is important to avoid exhausting available stack memory.
Eric Andersen
2001-04-10 17:53:49 +00:00
4e853560f5
Fix double quote handling.
Matt Kraai
2001-04-10 00:00:05 +00:00
2f2da90fd4
"I will always compile before I commit" x 100
Eric Andersen
2001-04-09 23:54:15 +00:00
b6b519b416
Update how we detect if libc5 is in use. -Erik
Eric Andersen
2001-04-09 23:52:18 +00:00
d3f97f1971
Fix warning generated by pod2html about unterminated list.
Matt Kraai
2001-04-09 23:27:51 +00:00
303dd28bb0
Make 'grep -l' work
Eric Andersen
2001-04-09 23:26:31 +00:00
4391a16c92
Fixed option parsing. Grep would continue grepping, even when given a bad / invalid option. Closes bug #1146.
Mark Whitley
2001-04-09 23:00:07 +00:00
a75e286743
Bump version number to 0.51
Eric Andersen
2001-04-09 22:18:14 +00:00
59aa5703ae
Enable freeramdisk and pivot_root, disable lash for the Debian .udeb -Erik
Eric Andersen
2001-04-09 22:17:10 +00:00
fc994d1cb4
make sure we auto-close debian bug #91758 -Erik
Eric Andersen
2001-04-09 22:15:27 +00:00
7cf9fed83f
update the changelog, prepatory to the 0.51 release. Please review for correctness! -Erik
Eric Andersen
2001-04-09 22:09:41 +00:00
3f8688b406
Update changelog
Eric Andersen
2001-04-09 19:00:29 +00:00
5d6f3440e6
use 'USE_SYSTEM_PWD_GRP=false' for the Debian packages so the boot-floppies do not need any of the nss crap installed. As was, things like 'id' would fail. Fixed now (with thanks to Matt Kraai for his help). -Erik
Eric Andersen
2001-04-09 18:42:52 +00:00
305fdfa755
Reorganise status field to use 3 chars instead of one bit shifted long int. Generates status file properly now, not compatable with full dpkg yet.
Glenn L McGrath
2001-04-08 13:27:39 +00:00
37849f3320
Use create_path instead of mkdir
Glenn L McGrath
2001-04-08 07:23:53 +00:00
13e9c7ad82
It now correctly backs up the (still corrupt) status file
Glenn L McGrath
2001-04-08 07:18:08 +00:00
0e757a2f3f
Some fixes, but still broken... (cont) Make better use of some libbb functions New remove dir code to avoid depending on the rm applet dont use copy_file() it doesnt fail elegantly Use getopt. Generate correct /var/lib/dpkg/info/ files Status file is broken, working on it now
Glenn L McGrath
2001-04-08 05:27:18 +00:00
f608da4288
Ignore SIGTERM prior to gz_close()
Glenn L McGrath
2001-04-07 02:40:59 +00:00
e5f3957665
Fix warning
Glenn L McGrath
2001-04-07 02:17:36 +00:00
8a9b2c6448
Note that insmod now also supports powerpc and mips. Thanks Larry.
Eric Andersen
2001-04-06 22:02:49 +00:00
aa21e0f913
An optimization from Vladimir
Eric Andersen
2001-04-06 16:02:22 +00:00
250a221768
more FILE_OFFSET_BITS == 64 adjustments.
Eric Andersen
2001-04-05 23:26:44 +00:00
83f173b61e
A first pass at making D_FILE_OFFSET_BITS=64 work, from Jari Ruusu <jari.ruusu@pp.inet.fi>
Eric Andersen
2001-04-05 23:07:25 +00:00
c270ec1fa2
Add support of /W prompts -Erik
Eric Andersen
2001-04-05 23:00:47 +00:00
831ed16efc
Handle glibc 2.0.7 as well
Eric Andersen
2001-04-05 22:38:32 +00:00
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
Eric Andersen
2001-04-05 21:45:54 +00:00
ea9065072c
Some cleanups/fixes for the syslogd circular buffer code from Gennady Feldman.
Eric Andersen
2001-04-05 20:55:17 +00:00
79359d87e8
- autodocifier.pl :: continuation() was modified such that '#' is handled correctly.
John Beppu
2001-04-05 20:03:33 +00:00
94e505485e
- use docs/autodocifier.pl to merge POD together
John Beppu
2001-04-05 19:42:03 +00:00
5bca0afb31
- split busybox.pod into a header and footer. the body will be generated by docs/autodocifier.pl
John Beppu
2001-04-05 19:41:23 +00:00
9a1395b9fd
- documentation updates and a minor tweak to POD generation
John Beppu
2001-04-05 19:35:17 +00:00
4e2439ad27
It seems all the stdout munging was useless anyways, since deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik
Eric Andersen
2001-04-05 18:30:38 +00:00
911af57ff8
Be more generic for libc5. We don't need to know struct definitions to make the syscall finction -- use a generic pointer instead.
Eric Andersen
2001-04-05 07:41:51 +00:00
64c8b1762c
Another iteration -- adjust the init_module syscall a bit. -Erik
Eric Andersen
2001-04-05 07:33:10 +00:00
a2a978ae23
Some further syscall adjustments. Split the module syscalls out of insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik
Eric Andersen
2001-04-05 06:08:14 +00:00
fdefbbbe85
dpkg_deb had not been updated for the new gunzip interface. Fix it. -Erik
Eric Andersen
2001-04-05 06:04:11 +00:00
e76c3b08e1
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
Eric Andersen
2001-04-05 03:14:39 +00:00
3c0364f391
Patch from Larry Doolittle to eliminate needless thrashing about when trimming long strings with lots of trailing white space.
Eric Andersen
2001-04-04 22:49:01 +00:00
4fd382ea29
Remove unused optarg variable
Eric Andersen
2001-04-04 19:33:32 +00:00
06070532ba
Failed to name "Electric-fence" explicitly
Eric Andersen
2001-04-04 19:32:00 +00:00
d402edfd63
Some cleanups for libc5 support
Eric Andersen
2001-04-04 19:29:48 +00:00
14fe392dde
Fix a warning with libc5. -Erik
Eric Andersen
2001-04-04 19:26:22 +00:00
b2e3e9b0c9
Seems that stupid libc5 doesn't implement daemon(), so conditionally inclde that here. -Erik
Eric Andersen
2001-04-04 19:25:57 +00:00
2129f97cd9
Avoid segfault when export is invoked with no arguments. Thanks to Gennady Feldman.
Matt Kraai
2001-04-04 17:50:04 +00:00
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!
Eric Andersen
2001-04-04 17:31:15 +00:00
91c9388715
Place a temporary bandaid on the ls/du/df human-readable issue. This method is not going to scale up as well as I would like, and Matt Kraai and I have discussed a better long term solution. But for now this will at least make all the human-readable apps give correct answers.
Eric Andersen
2001-04-03 23:14:29 +00:00
24073c7665
Add in easy-to-use electric-fence support. -Erik
Eric Andersen
2001-04-03 22:53:19 +00:00
60b2d8d2c8
if strlen(s) was 0, it would then end up using s[-1] as an array index. Bad, bad, bad. This was crashing the shell on powerpc boxes, though all other archs seem to have a much more forgiving malloc implementations. I finally found this bug using electric-fence on a powerpc box. -Erik
Eric Andersen
2001-04-03 22:50:52 +00:00
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.
Eric Andersen
2001-04-03 18:01:51 +00:00
0f0c0b41ce
Make 'busybox --help' work as expected, closing bug #1139 -Erik
Eric Andersen
2001-04-03 17:05:01 +00:00
c0c502e172
Fix for bug 1143 from Larry Doolittle -Erik
Eric Andersen
2001-04-03 16:38:37 +00:00
c4cef5ab06
Move the mtab support stuff into libbb -Erik
Eric Andersen
2001-04-01 16:01:11 +00:00
f77d88641d
Formatting change
Eric Andersen
2001-04-01 04:49:41 +00:00
1e117b4752
Dont try and automount devfs, rename some variables
Glenn L McGrath
2001-03-30 01:28:13 +00:00
84e229cfbe
Add in a new standalone env applet for fixing up app's environments -Erik
Eric Andersen
2001-03-29 22:48:33 +00:00
e5c24dfd01
Use daemon() to spawn syslogd and klogd daemons. -Erik
Eric Andersen
2001-03-29 21:58:33 +00:00
3a6da8c183
gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled. Fix that.
Eric Andersen
2001-03-29 14:22:45 +00:00
5f2ef46d6d
Fix zcat
Glenn L McGrath
2001-03-29 01:07:54 +00:00
ed7a776538
gunzip -c works again
Glenn L McGrath
2001-03-29 00:57:20 +00:00
ae8ad35590
Fixes from Robert Kaiser
Glenn L McGrath
2001-03-28 23:57:51 +00:00
e0a7f917c2
Applied patch from David Douthitt to re-add -print option to find. Closes bug #1144.
Mark Whitley
2001-03-28 22:04:42 +00:00
c835567914
Fix ls so it uses make_human_readable_str() the same way already used by 'du' and 'df'. Now we just need to fix make_human_readable_str so it behaves they way it used to before Matt fixed it.
Eric Andersen
2001-03-28 20:26:51 +00:00
d98e574d41
Patch bass ackwards behavior of hr flag.
Matt Kraai
2001-03-28 20:10:25 +00:00
7cd0cfeab6
Rewrite to fix bug #1140 and make it slightly smaller.
Matt Kraai
2001-03-28 16:42:27 +00:00
f957c77910
Enable tar -z support again by default
Glenn L McGrath
2001-03-28 07:48:10 +00:00
02cebebc3b
Remove cruft
Glenn L McGrath
2001-03-28 07:37:48 +00:00