966b3a6f79
More updates from Larry Doolittle. Don't use basedir, Don't assume random makefiles are going to work with busybox.
Eric Andersen
2001-02-17 15:56:52 +00:00
1cf8166329
More updates.
Eric Andersen
2001-02-17 15:55:15 +00:00
47aea4ee71
Ignore applet_source_list
Eric Andersen
2001-02-17 03:08:32 +00:00
19f86207f5
Update the build system for pristine source directory builds. This update is primarily work done by Larry Doolittle, but I did some touchups of my own to make it work for me, -Erik
Eric Andersen
2001-02-17 00:42:47 +00:00
69c8572f29
Update the debian build stuff -Erik
Eric Andersen
2001-02-17 00:41:05 +00:00
f6a7227fd6
Throw out the obsolete INIT_CHROOT junk
Eric Andersen
2001-02-17 00:40:32 +00:00
28a78ab62c
Several features were hard coded on. Stop that. List tab completion as working (thanks Vladimir!) and taking 4k. -Erik
Eric Andersen
2001-02-16 20:26:50 +00:00
6faae7deb4
Commit Vladimir's latest cmdedit. I modified it slightly to ensure parse_prompt() would be called before cmdedit_init(), since cmdedit_init() calls cmdedit_setwidth() which uses cmdedit_prmt_len, which is set by parse_prompt(). Also, added a mod, so very narrow terminals should now wrap properly... This is working very nicely for me -- Vladimir has done some very good work.
Eric Andersen
2001-02-16 20:09:17 +00:00
361ee514c6
Revert multibuild.pl change.
Eric Andersen
2001-02-16 19:07:21 +00:00
ca0f458ada
Regression testing bugfixes from Larry Doolittle. As an aside, can I just say how much I am looking forward to having 0.50 released, so we can address this #define stupidness properly by building a static libbusybox, and then letting the linker sort out the dependancies.... Ahh, that will be much nicer. -Erik
Eric Andersen
2001-02-16 18:43:54 +00:00
733c4ad6eb
Do usage messages the same way all other apps fo them. Skip printing of available options (can't do this easily). Based on a patch by Larry Doolittle. -Erik
Eric Andersen
2001-02-16 18:41:12 +00:00
fa4f146d7d
Patch from Larry Doolittle to cross things in multibuild.pl
Eric Andersen
2001-02-16 18:37:00 +00:00
5f2c79d8c7
Make ar be crossed.
Eric Andersen
2001-02-16 18:36:04 +00:00
af12bc6de4
Make dpkg require dpkg-deb
Eric Andersen
2001-02-16 18:35:06 +00:00
3f5bcbfa3c
Fix warning for implicit declaration of time()
Glenn L McGrath
2001-02-16 10:33:30 +00:00
825ae5a166
Another small formatting change from Larry Doolittle.
Mark Whitley
2001-02-15 23:31:40 +00:00
99806ad2bd
Applied patch from Larry Doolittle that does the following: - style changes - It actually returns the code computed by INET_setroute (wasn't being done properly before) - The displayroute() format string now matches net-tools
Mark Whitley
2001-02-15 23:00:48 +00:00
d69d2da165
use perror_msg instead of perror to print the applet name. -Erik
Eric Andersen
2001-02-15 20:12:05 +00:00
b50d707633
fix a few mallocs to be xmallocs. -Erik
Eric Andersen
2001-02-15 19:50:11 +00:00
02b9f42a27
Patch from Matt Kraai to fix bug #1103. I've tested it, and it indeed seems to fix things. -Erik
Eric Andersen
2001-02-15 19:07:43 +00:00
81bcc92c32
Fixed 'ls -s' so it actually displays block sizes again. -Erik
Eric Andersen
2001-02-15 18:59:02 +00:00
8305006f7c
Make usage.c depend on usage.h -Erik
Eric Andersen
2001-02-14 21:52:18 +00:00
c1c43113b4
Fins find message.
Eric Andersen
2001-02-14 21:51:54 +00:00
3ec8ffb121
I forgot to add usage.h, so here it is, with a few extra cleanups. Also update show_usage to handle the updated usage.h. Again, nearly all the work to get usage.h into shape was done by Manuel Novoa III. -Erik
Eric Andersen
2001-02-14 21:46:30 +00:00
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
Eric Andersen
2001-02-14 21:23:06 +00:00
68be2ab914
implemented displayroute() based on a patch from Vladimir N. Oleynik, so now route behaves as expected w/o any arguments.
Eric Andersen
2001-02-14 19:26:39 +00:00
98e599ca06
Commit Vladimir's latest version of stty.c. Nice work. -Erik
Eric Andersen
2001-02-14 18:47:33 +00:00
ec45595300
Add in ifconfig and route
Eric Andersen
2001-02-14 08:11:27 +00:00
88a5ceb450
Bump rev to 0.50pre.
Eric Andersen
2001-02-14 07:55:19 +00:00
fc83c4c353
Several cleanups from Manuel Novoa III.
Eric Andersen
2001-02-14 07:15:30 +00:00
6fd8c664c1
Apply a patch from Evin Robertson -- new pivot_root applet. -Erik
Eric Andersen
2001-02-13 20:04:30 +00:00
3af1f88725
Closer integration with dpkg-deb and other busybox functions. Hopefully simplified some code (works for me).
Glenn L McGrath
2001-02-12 11:33:09 +00:00
dadf9c6dcd
New dpkg-deb option, warning about dpkg usage
Glenn L McGrath
2001-02-12 11:27:45 +00:00
821fbf0f42
New option 'list' produces output that can be used for the packages .list file. Will be used be bb dpkg
Glenn L McGrath
2001-02-12 11:16:26 +00:00
bc9afadecd
New function, deb-extract to be used by dpkg, code cleanups. saves some bytes
Glenn L McGrath
2001-02-11 03:32:41 +00:00
728875f340
Consmetic changes
Glenn L McGrath
2001-02-11 03:15:57 +00:00
631064613f
More style changes
Glenn L McGrath
2001-02-11 01:40:23 +00:00
0c9d77ccfd
Style changes; use get_line_from_file from utilities
Glenn L McGrath
2001-02-11 00:17:22 +00:00
de556615dc
BB_DPKG uses copy_file
Glenn L McGrath
2001-02-10 14:53:44 +00:00
510f0ddafa
Use copy_file from utilty.c, remove some char defines
Glenn L McGrath
2001-02-10 14:53:08 +00:00
649968ceb1
Bug fix, rename status file, cleanups
Glenn L McGrath
2001-02-10 14:26:48 +00:00
af8c65deaa
Replace status defines with const int to conform to sytle guide, adds 32 bytes
Glenn L McGrath
2001-02-10 03:19:51 +00:00
c900575dc4
Initial import
Glenn L McGrath
2001-02-10 02:05:24 +00:00
c30ab0f4a8
New applet: dpkg
Glenn L McGrath
2001-02-10 02:04:40 +00:00
e78fd0f721
Fix typo.
Matt Kraai
2001-02-09 18:10:53 +00:00
2fd52989f7
Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.
Mark Whitley
2001-02-09 00:41:10 +00:00
d238a7bcc8
Minor cleanups and clarifications.
Mark Whitley
2001-02-09 00:28:59 +00:00
1d70267450
Add listening support.
Matt Kraai
2001-02-07 04:09:23 +00:00
df8ccb6350
Added documentation for new find options.
Matt Kraai
2001-02-07 04:05:35 +00:00
096370d349
Reworked find with David Douthitt to support -type, -perm, -mtime, and other improvements.
Matt Kraai
2001-02-07 03:52:38 +00:00
a164c647ac
Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.
Matt Kraai
2001-02-05 17:50:03 +00:00
925edb828d
Added some more on paren spacing and a section on testing guidelines.
Mark Whitley
2001-02-03 00:20:14 +00:00
c3fc3c5e7a
It seems I stupidly checked in a silly test I was making. -Erik
Eric Andersen
2001-02-02 15:15:36 +00:00
29cff26f32
After testing multi-build, I stupidly committed Config.h with nearly everything turned off. Doh! -Erik
Eric Andersen
2001-02-02 01:08:22 +00:00
76c5e60d54
Patch from Chris Jaeger that makes turning on and off options in the makefile a bit less error prone by calling 'strip' on makefile vars before performing truth tests against them.
Mark Whitley
2001-02-02 01:07:17 +00:00
af4ac77d9d
Apply a patch from Larry Doolittle to add "-all" and "-none" switches to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik
Eric Andersen
2001-02-01 22:43:49 +00:00
b5c29850e3
Tightened things up a bit, saved 20 bytes, and made the code a bit clearer in the process.
Mark Whitley
2001-02-01 21:02:41 +00:00
065c7e779a
Applied patch from Chris Jaeger <cjaeger@ensim.com> to do better checking for NFS_MOUNT_VERSION, depending on which kernel you're running.
Mark Whitley
2001-02-01 19:51:13 +00:00
9b300d0b1f
Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.
Mark Whitley
2001-02-01 19:39:43 +00:00
f2cc2762bb
Create find_applet_by_name function. Save 32 bytes.
Matt Kraai
2001-02-01 19:21:20 +00:00
05e782ddd3
Fix wget error message and add (and use) chomp library function.
Matt Kraai
2001-02-01 16:49:30 +00:00
bd018b1bab
Make old compilers not choke -- define the attribute in the func prototype.
Eric Andersen
2001-01-31 23:00:46 +00:00
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
Matt Kraai
2001-01-31 19:00:21 +00:00
63ec273245
Added floppyfw to list of known projects using BusyBox.
Mark Whitley
2001-01-31 18:33:20 +00:00
82d5e59ea2
xfopen now used by wget -Erik
Eric Andersen
2001-01-31 17:50:35 +00:00
79e898ac0e
Patch from Vladimir N. Oleynik to simplify wget file opening using xfopen (which is what everything should be using).
Eric Andersen
2001-01-31 17:49:47 +00:00
65225df2dc
Cleanup patch from Vladimir N. Oleynik. * mkdir: remove 3 lines in source code. * mkfs_minix: save 32 bytes, remove 4 bugs. * mkswap: save 64 bytes, remove 1 bug.
Eric Andersen
2001-01-31 17:35:02 +00:00
53cfb7e231
Patch from Vladimir N. Oleynik to simplify/cleanup a few things in init.c
Eric Andersen
2001-01-31 17:29:47 +00:00
704d2a6c43
Patch from Vladimir N. Oleynik to simplify how it decides which app was invoked. This removes several strcmp calls.
Eric Andersen
2001-01-31 17:29:12 +00:00
39573f7130
Wrap a table (bg set to black, width=80%) around the screenshot so it doesn't look like crap in Netscape. Should look fine in Mozilla either way. I think. -Erik
Eric Andersen
2001-01-31 17:14:17 +00:00
18d5064c47
Make it validate.
Matt Kraai
2001-01-31 02:13:05 +00:00
9ba0daf4ba
Close IMG tag.
Matt Kraai
2001-01-31 01:59:46 +00:00
93a8e2e64b
Patch from Larry Doolittle to reduce the chance that fussing with VPATH will break cross-compilation. -Erik
Eric Andersen
2001-01-31 01:38:05 +00:00
306f4fe480
If the ioctl fails to tell us the winsize, default to 79. -Erik
Eric Andersen
2001-01-31 00:30:45 +00:00
22332fd26f
Patch from Bryan Rittmeyer -- be more conservative by default with the lash prompt. -Erik
Eric Andersen
2001-01-30 23:40:39 +00:00
ac21e93a3f
Added a new screenshot of Busybox. :-)
Mark Whitley
2001-01-30 23:37:15 +00:00
4bbdd788e0
Fix the pwd and group functions. The bb_ stuff was a leftover from a brief past that mercifully (except for this) never made it into CVS. -Erik
Eric Andersen
2001-01-30 22:23:17 +00:00
30f64c3aa2
Fix a stupid typo -- bug found by Larry Doolittle.
Eric Andersen
2001-01-30 19:23:46 +00:00
8526067336
Applied patch from Larry Doolittle to use preprocessor for defining NFS_MOUNT_VERSION.
Mark Whitley
2001-01-30 18:53:42 +00:00
e57d54b456
Fix ls behavior for broken or very narrow terminals. Fix my_* functions so they comply with the original interface (i.e. don't exit on error, stringify uids and gids when no amtching name found). -Erik
Eric Andersen
2001-01-30 18:03:11 +00:00
201dc0d5a9
Test applets containing numbers in their name. Thanks to Larry Doolittle.
Matt Kraai
2001-01-29 19:00:48 +00:00
ceade5c856
Fix missing header file.
Matt Kraai
2001-01-29 18:41:12 +00:00
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for a release. Update the website with release details. -Erik
Eric Andersen
2001-01-27 09:33:39 +00:00
90ca2848fd
Fix some formatting
Eric Andersen
2001-01-27 08:32:57 +00:00
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
Eric Andersen
2001-01-27 08:24:39 +00:00
ab050f5522
Add in a patch to make busybox use the normal pwd.h and grp.h functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
Eric Andersen
2001-01-27 06:01:43 +00:00
3654ca56fa
Applied patch from Larry Doolittle to list supported arches, libcs and kernels
Mark Whitley
2001-01-26 20:58:23 +00:00
4e33875759
Applied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completion in Busybox shell. (Thanks, Vlad.)
Mark Whitley
2001-01-26 20:42:23 +00:00
a68b21a28e
Cleanup patch from larry doolittle -Erik
Eric Andersen
2001-01-26 20:31:02 +00:00
6e25f92636
Fixed a li'l thinko.
Mark Whitley
2001-01-26 19:19:23 +00:00
a528dc7071
Fix my braindamage -- remove termios and sighandling since they are not needed at all. My bad. -Erik
Eric Andersen
2001-01-26 18:30:12 +00:00
1e4b957ac3
I am an idiot. Looking over my patch, ls doesn't need to do anything more then the ioctl to get the win size. None of the termios handling crap is needed. -Erik
Eric Andersen
2001-01-26 18:09:13 +00:00