Commit Graph

237 Commits

Author SHA1 Message Date
Glenn L McGrath
a529d885d2 NEw functions read_package_field and read_text_file_to_buffer 2001-04-15 12:50:15 +00:00
Matt Kraai
6ba1a80c26 Use date -u instead of date --utc and consolidate version string.
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-04-12 20:11:55 +00:00
Glenn L McGrath
a6ce670a87 use tmpfile() and revert my previous changes... convert() belongs here 2001-04-12 02:26:04 +00:00
Glenn L McGrath
4949faf4b2 copy_file_chunk uses streams now. 2001-04-11 16:23:35 +00:00
Glenn L McGrath
7fd92949d0 Move unzip, gz_open, gz_close to libbb 2001-04-11 03:11:33 +00:00
Glenn L McGrath
d22e560ad6 Move deb_extract() to libbb, dpkg now independent of dpkg-deb 2001-04-11 02:12:08 +00:00
Glenn L McGrath
9d53c8ab74 Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c 2001-04-11 01:37:03 +00:00
Eric Andersen
b9af894264 Fix up the uClibc compiler name (its format was recently changed slightly) 2001-04-10 18:35:02 +00:00
Eric Andersen
e5dfced23a Apply Vladimir's latest cleanup patch.
-Erik
2001-04-09 22:48:12 +00:00
Eric Andersen
a75e286743 Bump version number to 0.51 2001-04-09 22:18:14 +00:00
John Beppu
94e505485e - use docs/autodocifier.pl to merge POD together 2001-04-05 19:42:03 +00:00
Eric Andersen
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
2001-04-05 06:08:14 +00:00
Eric Andersen
06070532ba Failed to name "Electric-fence" explicitly 2001-04-04 19:32:00 +00:00
Eric Andersen
b2e3e9b0c9 Seems that stupid libc5 doesn't implement daemon(), so conditionally
inclde that here.
 -Erik
2001-04-04 19:25:57 +00:00
Eric Andersen
24073c7665 Add in easy-to-use electric-fence support.
-Erik
2001-04-03 22:53:19 +00:00
Eric Andersen
c0c502e172 Fix for bug 1143 from Larry Doolittle
-Erik
2001-04-03 16:38:37 +00:00
Eric Andersen
c4cef5ab06 Move the mtab support stuff into libbb
-Erik
2001-04-01 16:01:11 +00:00
Mark Whitley
2b549c3be0 Fixed the Makefile so busybox can link against libc5 again. Putting libbb.a at
the end broke it.
2001-03-27 18:22:41 +00:00
Eric Andersen
36eff9ac55 Bump version number to 0.51pre 2001-03-24 06:34:59 +00:00
Eric Andersen
1ca20a7747 A nice patch from Larry Doolittle that adds -Wshadow and
cleans up most of the now-revealed problems.
2001-03-21 07:34:27 +00:00
Eric Andersen
b183dfad2d Split error messages into separate files.
Update libbb.h, per suggestion from Vladimir, to include __attribute__((format
(printf ...))) stuff
 -Erik
2001-03-19 19:24:06 +00:00
Eric Andersen
c75586e06d Split libbb/pwd_grp_wrappers.c into 5 different libbb/my_* files.
-Erik
2001-03-19 18:37:42 +00:00
Eric Andersen
aad1a88c76 Convert utility.c into libbb.a. It is now a whole pile of .c
files.  Clean up the resulting damage and fix up the makefile.
 -Erik
2001-03-16 22:47:14 +00:00
Eric Andersen
53b55ac08d Fix the make release target. 2001-03-16 07:43:53 +00:00
Eric Andersen
0d5051def0 Update files and version number prepratory to cutting a release.
-Erik
2001-03-15 22:12:43 +00:00
Eric Andersen
bdc8db9685 Use the system passwd and group stuff by default 2001-03-14 01:49:10 +00:00
Eric Andersen
b3d6e2df95 Update the lash shell (hopefully the last time...) so things like
echo "foo   bar" and echo -n "foo\t\\\\\tbar" work as expected.
Merge prompt printing work from Vladimir.
 -Erik
2001-03-13 22:57:56 +00:00
Mark Whitley
d2117e9c82 Created new regression testing framework with a number of testcases (many more
can be added). Also changed 'test' target in makefile to run the new
tester.sh. (Hopefully, we should be able to remove all the tests/*.mk files
soon.)
2001-03-10 00:51:29 +00:00
Eric Andersen
dd91724aa0 patch from Larry to fix pristine source builds 2001-03-09 20:47:27 +00:00
Eric Andersen
c27b9544b6 Make sure libpwd.a is linked _last_ so it overrides the system pwd/grp
implementation.  It wasn't doing that as expected...
2001-03-05 17:57:34 +00:00
Eric Andersen
47cdcdd359 Try to do a little better at documenting how to use
alternate C libraries, thanks to David Douthitt.
2001-03-05 17:08:52 +00:00
Eric Andersen
1b6cff3df4 libpwd was getting added twice. 2001-02-27 22:24:45 +00:00
Mark Whitley
4f76bb6f3e Little patchlet to make linking against libc5 work a little better 2001-02-27 19:53:48 +00:00
Eric Andersen
adea7a6101 Fix up Makefile -- uClibc nfs works these days 2001-02-22 23:36:30 +00:00
Eric Andersen
a183f05825 Cleanup the use of 'find' to prevent error msgs.
-Erik
2001-02-20 06:22:54 +00:00
Eric Andersen
1cf8166329 More updates. 2001-02-17 15:55:15 +00:00
Eric Andersen
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
2001-02-17 00:42:47 +00:00
Eric Andersen
5f2c79d8c7 Make ar be crossed. 2001-02-16 18:36:04 +00:00
Eric Andersen
8305006f7c Make usage.c depend on usage.h
-Erik
2001-02-14 21:52:18 +00:00
Eric Andersen
88a5ceb450 Bump rev to 0.50pre. 2001-02-14 07:55:19 +00:00
Mark Whitley
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.
2001-02-02 01:07:17 +00:00
Eric Andersen
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
2001-02-01 22:43:49 +00:00
Eric Andersen
93a8e2e64b Patch from Larry Doolittle to reduce the chance that fussing with VPATH will
break cross-compilation.
 -Erik
2001-01-31 01:38:05 +00:00
Eric Andersen
8ec10a9483 Fix up copyright msgs. Bump version to 0.49 in preparation for
a release.  Update the website with release details.
 -Erik
2001-01-27 09:33:39 +00:00
Eric Andersen
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
2001-01-27 08:24:39 +00:00
Eric Andersen
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
2001-01-27 06:01:43 +00:00
Eric Andersen
54e9457920 Oops. I am an idiot. Put CFLAGS_EXTRA back. Sorry 'bout that.
-Erik
2001-01-24 23:53:43 +00:00
Eric Andersen
0d5a08ed92 Patch from Larry Doolittle to close bug #1086.
-Erik
2001-01-22 01:05:04 +00:00
Matt Kraai
8392acd8fc All files include busybox.h, which includes applets.h, so the Makefile
should reflect this.  Thanks to Vladimir N. Oleynik for the idea.
2001-01-18 03:03:09 +00:00
Eric Andersen
9aa23ba5a8 Show an example of how to compile with uClibc.
-Erik
2001-01-16 21:20:46 +00:00
Eric Andersen
a6cd07099d Bump the version number to 0.49pre 2000-12-20 23:22:29 +00:00
Eric Andersen
46948366fa Update the version number to 0.48 (no longer pre). 2000-12-13 16:42:24 +00:00
Eric Andersen
4d4b3b1d88 Fix so cross compiling works again... 2000-12-12 23:23:32 +00:00
Eric Andersen
9962cd9f78 Add a linker warning for symbol conflicts. 2000-12-11 16:20:40 +00:00
Randolph Chung
1e1d9d1c95 oops, didn't mean to commit that last one... reverting 2000-12-07 03:56:10 +00:00
Randolph Chung
da7b82981b Write progress meter to stderr instead of stdout 2000-12-07 03:55:35 +00:00
Eric Andersen
868c057d25 Patch from Larry Doolittle so it will build the newdocs right. 2000-12-02 00:44:48 +00:00
Eric Andersen
29be79c5f6 More doc handling updates 2000-12-01 22:57:44 +00:00
Eric Andersen
b8b8d81c24 Fix yet another blunder. Create symlink correctly this time. 2000-12-01 20:26:30 +00:00
Eric Andersen
4d449c42f2 I forgot a "/". Oops. 2000-12-01 20:02:10 +00:00
Eric Andersen
e2f6e12213 More pristine source directory updates. It now works
for me (including doing install).  How about you?
 -Erik
2000-12-01 19:55:04 +00:00
Eric Andersen
09a34e5368 More updates for the Makefile to do BB_SRC_DIR. This is
primarily a patch from Larry Doolittle, but with updates
from me to handle docs and link creation properly...
2000-12-01 19:40:18 +00:00
Eric Andersen
20ea5c3352 Patch form Larry Doolittle <ldoolitt@recycle.lbl.gov> (in collaboration
with Matt Kraai <kraai@alumni.carnegiemellon.edu>) to allow for a
pristine source directory -- where all the .o files and such are
not placed into the source tree.  Thanks Larry!
2000-11-29 22:08:35 +00:00
Eric Andersen
c559d30776 Add in -lgcc to add needed symbold when linking vs uclibc. 2000-10-27 18:26:18 +00:00
Eric Andersen
b344c21709 Oops. I never committed this. Update version to 0.48pre... 2000-10-27 18:09:53 +00:00
Eric Andersen
3570a34de4 Renamed "internal.h" to the more sensible "busybox.h".
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
caffb6eff0 Gratuitously changed the file "busybox.defs.h" to the more
sensible and noticable "Config.h".
 -Erik
2000-09-25 21:28:07 +00:00
Eric Andersen
488aac2e2a Update newdoc dependancy 2000-09-24 02:42:48 +00:00
Matt Kraai
810d38f850 Fix loop.h dependencies. 2000-09-22 02:33:29 +00:00
Eric Andersen
2c1faecba7 Decouple DODEBUG and DOSTATIC 2000-09-21 22:26:02 +00:00
Eric Andersen
8a2e56c5df Large file >2Gib support. 2000-09-21 02:23:30 +00:00
Eric Andersen
624cc771da More portable handling of loop header files, as done in util-linux 2000-09-21 02:04:51 +00:00
Eric Andersen
080d51bf45 Minor fix to clean target
-Erik
2000-08-01 22:44:32 +00:00
Pavel Roskin
43c17b3d96 New variable WARNINGS to hold all warning options 2000-07-28 19:41:32 +00:00
Eric Andersen
7df345e149 Bump version number.
-Erik
2000-07-21 21:27:11 +00:00
Eric Andersen
51154bacbe Adjusted install.sh to use relative symlinks, and to optionally
create hardlinks.  Added a makefile target to create hardlinks.
 -Erik
2000-07-20 21:57:11 +00:00
Eric Andersen
1d255be78d Updated to add support for dmalloc, and adjusted for better cross
compiler support.
 -Erik
2000-07-19 17:33:54 +00:00
Matt Kraai
bf181b9338 Extract usage information into a separate file. 2000-07-16 20:57:15 +00:00
Eric Andersen
aec27bca98 Final updates for release.
-Erik
2000-07-11 18:18:40 +00:00
Mark Whitley
cc54d12ef7 Removed all trace of hand-tooled regexp routines. Bye bye, baby. 2000-07-10 23:07:54 +00:00
Mark Whitley
dd23b8bb43 Added a rule to make tags files for vi(m). 2000-07-10 23:00:47 +00:00
Eric Andersen
a2c83d885e Fix a dependancy bug for the docs.
-Erik
2000-07-07 20:52:56 +00:00
Eric Andersen
b0b732bfe4 Update 'make release' to remove all the .#filename files
the CVS leaves lying about...
 -Erik
2000-07-06 23:17:16 +00:00
Eric Andersen
67536ffa43 Fix doc building so the dependancies work properly.
-Erik
2000-07-06 22:53:22 +00:00
Eric Andersen
1e03add675 a few minor cleanups.
-Erik
2000-07-06 09:56:35 +00:00
Eric Andersen
2086e3d679 Some cosmetic updates. Changed "OPTIONS" to "Options".
-Erik
2000-07-04 22:17:01 +00:00
Eric Andersen
5331025f79 A first pass at integrating the SGML docs into the Makefile.
A first pass a cleaning up the current SGML (lots more cleanup
is needed though).
 -Erik
2000-07-04 19:42:23 +00:00
Eric Andersen
a44790f539 Better cross libc support.
-Erik
2000-06-28 20:11:28 +00:00
Eric Andersen
c6cdf58747 Bump version number to 0.45
-Erik
2000-06-21 22:50:59 +00:00
Eric Andersen
28c88a9430 Some makefile fixes to allow compiling with ucLibc (stuff turned off
by default of course).
 -Erik
2000-06-20 21:03:24 +00:00
Eric Andersen
854e11581f Urgh. revert Makefile. again. Forgot to do the 'cvs update -d now' trick
on my home box.
2000-06-13 06:57:56 +00:00
Eric Andersen
2b6ab3cbf8 Add new apps md5sum uudecode uuencode, fix some minor formatting things.
-Erik
2000-06-13 06:54:53 +00:00
Eric Andersen
0b66577368 Debug should be off in the Makefile. I will now do (per Pavel's
suggestion) a "cvs up -D now Makefile" so I stop updating the
Makefile by accident.
 -Erik
2000-06-07 17:33:30 +00:00
Eric Andersen
815e904470 Fixed a bunch of stuff:
* Fixed segfault caused by "touch -c"
	* Fixed segfault caused by "rm -f"
	* Fixed segfault caused by "ln -s -s" and similar abuses.
	* Fixed segfault caused by "cp -a -a" and similar abuses.
	* Implemented "rm -- <foo>"
updated docs accordingly.
 -Erik
2000-06-06 16:15:23 +00:00
Eric Andersen
832000f7f3 Turn off debugging in the Makefile.
-Erik
2000-06-03 05:22:31 +00:00
Eric Andersen
6082917e34 Some Makefile fixes for the docs.
-Erik
2000-06-02 03:35:22 +00:00
Eric Andersen
86ab8a32bd A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list.  Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
 -Erik
2000-06-02 03:21:42 +00:00
Eric Andersen
77bd2db325 Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
 -Erik
2000-06-02 03:21:32 +00:00
Erik Andersen
330fd2b576 More libc portability updates, add in the website (which has not been
archived previously).  Wrote 'which' during the meeting today.
 -Erik
2000-05-19 05:35:19 +00:00
Erik Andersen
499f65fb98 Some updates for better portability.
-Erik
2000-05-16 20:07:38 +00:00