74bcd16425
This incorporates Posix math support into ash. The Posix math support was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
Eric Andersen
2001-07-30 21:41:37 +00:00
dc6647201d
Simplify/clarify the shell dependant bit of Config.h
Eric Andersen
2001-07-30 19:33:00 +00:00
c126f8ffb6
This depmod script will create a modules.dep file, just like the depmod binary from modutils. This one, however, can be run on the _host_ system (need not be run on the target) and is fully cross platform, so even if your target is ARM or powerpc or whatever, this will still work. When used to support the new modprobe applet, this allows busybox to fully supplant modutils for architectures supported by busybox insmod. -Erik
Eric Andersen
2001-07-30 19:32:03 +00:00
3555fd006e
Fix up the sample inittab entry per what is current. -Erik
Eric Andersen
2001-07-30 19:28:33 +00:00
13cb842773
Rework option handling to save space.
Matt Kraai
2001-07-30 14:43:20 +00:00
547e102082
Preserve whether or not the line was previously altered when running a subst command (discovery and patch by Jim Gleason).
Matt Kraai
2001-07-30 14:05:58 +00:00
7499918f30
If filename is a '-' then read from stdin to stdout
Glenn L McGrath
2001-07-30 04:48:50 +00:00
14d7ea460f
Note my uuencode work
Glenn L McGrath
2001-07-29 06:07:35 +00:00
b6071b6341
Fix permisions when reading from stdin
Glenn L McGrath
2001-07-29 06:04:26 +00:00
eba260587a
Fix broken logic when wraping encoded data into rows, also simplifies it a bit
Glenn L McGrath
2001-07-29 05:47:33 +00:00
4e664ac51d
The src buffer size has to be a multiple of 3 (as i noted, but didnt do).
Glenn L McGrath
2001-07-28 21:34:25 +00:00
089decab65
Rewrite based on wget uuencode function. Saves aprox. 200 Bytes and in future can use common code between this and wget if BB_FEATURE_WGET_AUTHENTICATION is defined.
Glenn L McGrath
2001-07-28 21:06:13 +00:00
220238305f
PArtial Changelog update. I'm still on vacation (I'm at a campground near the Grand Teton Mountains in Montana at the moment and my connection is terribly slow) so this is a partial update only, -Erik
Eric Andersen
2001-07-28 16:35:51 +00:00
26eeb0c9da
Shorten static package description.
Matt Kraai
2001-07-26 14:45:21 +00:00
f9d6aa0a86
Rename dirname variable to pathname to eliminate namespace conflict.
Matt Kraai
2001-07-26 14:26:53 +00:00
4db35647dd
char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)
Russ Dill
2001-07-26 05:58:40 +00:00
2835efe3da
Note that m68k is supported
Eric Andersen
2001-07-25 16:58:58 +00:00
1b06419e60
Cleanup some warnings and a really obvious bug. -Erik
Eric Andersen
2001-07-25 07:23:38 +00:00
655584b07a
This fixes dos2unix and unix2dos so they behave as expected. dos2unix was broken in the 0.52 release, and unix2dos was pretty lame... -Erik
Eric Andersen
2001-07-25 07:22:55 +00:00
6c7ac21f3a
Update my email address and applets
Glenn L McGrath
2001-07-24 02:46:35 +00:00
096b151f76
note dpkg rewrite
Glenn L McGrath
2001-07-24 02:41:06 +00:00
439e3df653
Add support for devfs device names.
Matt Kraai
2001-07-23 14:52:08 +00:00
0139ca92ff
An initial modproble implementation. Quite suboptimal still, but it does work...
Eric Andersen
2001-07-22 23:01:03 +00:00
8d79ce8320
Some patches to make dietlibc work...
Eric Andersen
2001-07-22 23:00:15 +00:00
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
Eric Andersen
2001-07-19 22:28:02 +00:00
0382eb8865
The -P prefix should only be prepended to filenames which are not explicitly specified.
Matt Kraai
2001-07-19 19:13:55 +00:00
e92895c038
Note that wget fix is important.
Matt Kraai
2001-07-19 17:46:17 +00:00
c8eae6684b
The directory name should only be prepended if one was specified.
Matt Kraai
2001-07-19 17:29:38 +00:00
c1cda4a609
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c (noted by Adam Slattery).
Matt Kraai
2001-07-19 15:00:14 +00:00
c3fbec73fb
Change read_package_field interface, and rewrite using low level functions Fixes for a few bugs that have crept into dpkg in the last few days
Glenn L McGrath
2001-07-18 15:47:21 +00:00
8d3b0497a4
Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" and strip leading "./" on other files
Glenn L McGrath
2001-07-18 13:22:44 +00:00
778041f8d1
Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command
Glenn L McGrath
2001-07-18 05:17:39 +00:00
b9e4ce99d8
Update dpkg usage
Glenn L McGrath
2001-07-18 05:16:31 +00:00
ed4492a697
More feedback to user
Glenn L McGrath
2001-07-18 05:03:49 +00:00
7b0241579c
Be more verbose when configureing package, minor changes
Glenn L McGrath
2001-07-18 04:33:31 +00:00
6fc92a506a
Fail silently on failure to read tar header, its unfortunate that many tar implementations must be adding unwanted crap to the end of their archives. It makes error reporting here more trouble than its worth
Glenn L McGrath
2001-07-18 03:23:10 +00:00
4cdc607f72
Use xfopen to abort on error to prevent segfaulting later.
Glenn L McGrath
2001-07-18 03:13:49 +00:00
bc4c030023
Cleanup from vodz
Eric Andersen
2001-07-17 01:14:06 +00:00
044228d5ec
This is vodz' latest patch. Sorry it took so long... 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
Eric Andersen
2001-07-17 01:12:36 +00:00
51ded05b3b
enum entry for unarchive to be used by tar
Glenn L McGrath
2001-07-14 12:38:55 +00:00
a868ec89e8
Allow the unarchive() extract_list variable to be NULL, meaning extract all
Glenn L McGrath
2001-07-14 08:49:53 +00:00
58a5bd187d
Tolerate fields with no data, e.g. "Depends: "
Glenn L McGrath
2001-07-14 06:25:54 +00:00
06ef16563b
Allow featureless ping to compile, and featureful ping to shrink (by Adam Slattery).
Matt Kraai
2001-07-13 20:56:27 +00:00
ccd65c9be6
Total rewrite, uses hash tables for speed and low memory use.
Glenn L McGrath
2001-07-13 18:35:24 +00:00
3d46224b78
Return NULL if file doesnt open in deb_extract
Glenn L McGrath
2001-07-13 18:16:57 +00:00
cfeb08a193
Make sure there is a trailing '\0' when extracting to buffer.
Glenn L McGrath
2001-07-13 17:59:48 +00:00
5e66a26eaa
Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
Glenn L McGrath
2001-07-13 06:51:56 +00:00
26a0d9a945
Call setvbuf from here isntead of gz_open for compatability with uclibc
Glenn L McGrath
2001-07-13 06:49:18 +00:00
b028e08d35
Move setvbuf calls from gz_open() to calling functions, setvbuf is only supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
Glenn L McGrath
2001-07-13 06:43:03 +00:00
7467c8d3b6
Patch from vodz: Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
Eric Andersen
2001-07-12 20:26:32 +00:00
f69bfc76fa
Allow assignments in the export and readonly commands.
Matt Kraai
2001-07-12 19:39:59 +00:00
ab6526c8b3
Remove debugging statement.
Matt Kraai
2001-07-12 18:44:34 +00:00
3e94f729a5
Quiet mode, sometimes error messages arent wanted
Glenn L McGrath
2001-07-12 10:24:57 +00:00
c127008840
Allow unarchive to redirect stdout (tobe used by dpkg applet)
Glenn L McGrath
2001-07-11 17:32:14 +00:00
481d19b38e
Fix bug where it wasnt returning the last line of a multiline field
Glenn L McGrath
2001-07-11 15:43:03 +00:00
daf0b78e1a
Reverse part of my previous changes
Glenn L McGrath
2001-07-11 15:32:52 +00:00
93febe672a
free coniditionally, just to make it play nice with dmalloc which is incompatable with standard free()
Glenn L McGrath
2001-07-11 07:25:01 +00:00
c59fa37d40
Make the obj's generated from libbb/unarchive.c depend on the Makefile, so things like setting DODMALLOC will cause them to be recompiled -Erik
Eric Andersen
2001-07-11 07:24:05 +00:00
248c57ca43
minor dmalloc inspired cleanups
Glenn L McGrath
2001-07-11 07:22:17 +00:00
59e50f634a
Unpack the filename not the package name
Glenn L McGrath
2001-07-11 03:30:11 +00:00
8c145dc31b
Fix a stupid search and replace bug...
Eric Andersen
2001-07-10 16:57:09 +00:00
55522080c6
Patch for md5sum from Aaron Lehmann <aaronl@vitelus.com> to slim it down a little bit.
Eric Andersen
2001-07-10 16:31:29 +00:00
5c58d283bb
A traceroute applet from vodz. This could probably be slimmed down, but will do for now...
Eric Andersen
2001-07-10 16:29:00 +00:00
91b84603d3
Cleanup from vodz
Eric Andersen
2001-07-10 16:25:34 +00:00
2a46634617
Make the rev be 0.53pre...
Eric Andersen
2001-07-10 15:24:16 +00:00
5710f9f690
Read 20 512-byte blocks at a time (like GNU tar).
Matt Kraai
2001-07-10 15:05:39 +00:00
654944fc36
Reverse my previous change, still cant compile with dmalloc
Glenn L McGrath
2001-07-10 14:33:22 +00:00
c3d2f1287e
When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc
Glenn L McGrath
2001-07-10 14:04:30 +00:00
6199fa90e5
Update version number to 0.53pre.
Matt Kraai
2001-07-10 13:57:30 +00:00
6248355c6f
vodz' latest update to ash.c
Eric Andersen
2001-07-10 06:09:16 +00:00
5a4a46a251
Patch from vodz to support 'tr a-z A-Z' syntax.
Eric Andersen
2001-07-09 21:32:29 +00:00
f52947ba71
Fix the spec file so it works on redhat systems. At least I think it will work on redhat. At least it now works on my Debian box... -Erik
Eric Andersen
2001-07-09 18:34:12 +00:00
aa64ba459f
Minor working update
Eric Andersen
2001-07-07 16:36:29 +00:00
ceece81414
Move a bit more to the old news section
Eric Andersen
2001-07-07 09:38:30 +00:00
d0e5f86a10
Enable APPLETS_ALWAYS_WIN
Eric Andersen
2001-07-07 09:37:28 +00:00
d0b4d3dabf
Typo fix.
Eric Andersen
2001-07-07 08:47:21 +00:00
7b2dfc623b
Move some stuff to the oldnews area
Eric Andersen
2001-07-07 08:44:25 +00:00
40ecf7da88
Update web page...
Eric Andersen
2001-07-07 08:25:03 +00:00
5c3070b29c
Update changelogs
Eric Andersen
2001-07-07 08:13:27 +00:00
807bda4a24
Minor update to include file ordering
Eric Andersen
2001-07-07 08:13:02 +00:00
7cd5075908
This is out of date, and Glenn tells me this can be safely deleted. To be useful on Hurd will really require the new build system... -Erik
Eric Andersen
2001-07-07 05:25:12 +00:00
48dfc56b4a
This patch from Fabio Ferrari <fabio.ferrari@digitro.com.br> enables "broadcast +" for deriving the broadcast address automagically.
Eric Andersen
2001-07-07 05:19:52 +00:00
d9d75555ba
Remove rpmunpack
Eric Andersen
2001-07-07 04:43:56 +00:00
9137f2a2d1
This is obsolete -- replaced by rpm2cpio
Eric Andersen
2001-07-07 04:33:16 +00:00
5a071bcbf2
Avoid a segfault (detected by Fabio Ferrari <fabio.ferrari@digitro.com.br> in the wget applet) when concat_path_file() or last_char_is() were fed a NULL. -Erik
Eric Andersen
2001-07-07 04:27:35 +00:00
934c8ecb88
Fix sh.c so it works with DMALLOC
Eric Andersen
2001-07-07 04:24:28 +00:00
1c03923b0b
Add in a shell tagline (per lash/hush behavior) to make it easier to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
Eric Andersen
2001-07-07 00:05:55 +00:00
b7e6f13b3c
Some minor updates. Bump version number in preparation for release. -Erik
Eric Andersen
2001-07-07 00:03:00 +00:00
0279505e8c
Update the debian packaging stuff
Eric Andersen
2001-07-06 20:36:57 +00:00
d28cb03819
Forgot this
Eric Andersen
2001-07-06 19:28:49 +00:00
c308847274
Remove redundant initialization of lfile to reduce executable size by 8192 bytes (noted by Mike Castle).
Matt Kraai
2001-07-06 19:28:07 +00:00
00e56ada9c
Let people select their shell at compile time.
Eric Andersen
2001-07-06 19:24:27 +00:00
3bbcc95ac9
update the ignore list
Eric Andersen
2001-07-06 19:19:21 +00:00
d22b78ff05
Fix a stupid bug revealed by multibuild.pl
Eric Andersen
2001-07-06 18:33:04 +00:00
77b68e6f42
Add woukaround for missing struct _res in uClibc
Eric Andersen
2001-07-06 17:51:29 +00:00
3102ac4b58
This is vodz' latest ash update.
Eric Andersen
2001-07-06 04:26:23 +00:00
5009f90ea2
Removed obsolete function, strdup_substr.
Matt Kraai
2001-07-05 19:00:47 +00:00
44edeff025
Note my activities (how immodest of me).
Matt Kraai
2001-07-05 18:32:01 +00:00
8e75f6daa6
Fix a stupid thinko, and fix killall to cope with the updated find_pid_by_name() interface -Erik
Eric Andersen
2001-07-05 16:27:34 +00:00