Eric Andersen
068b6b07ff
Don't build the ncurses stuff unless it is specifically asked for
...
-Erik
2002-12-13 22:53:28 +00:00
Glenn L McGrath
919798d5a8
err.. Make clean in the scripts/config directory to remove some binaries
2002-12-09 21:16:39 +00:00
Glenn L McGrath
a94c3108b1
Make clean in the scripts directory to remove some binaries
2002-12-09 21:14:38 +00:00
Eric Andersen
c9f20d9fb9
Yet another major rework of the BusyBox config system, using the considerably
...
modified Kbuild system I put into uClibc. With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system. I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
-Erik
2002-12-05 08:41:41 +00:00
Glenn L McGrath
8f0722a53b
Move readlink, mktemp, run-parts and which to a new debianutils dir.
2002-11-11 03:00:12 +00:00
Glenn L McGrath
9a2d27249c
IP applet by Bastian Blank <waldi@debian.org>
2002-11-10 01:33:55 +00:00
Russ Dill
61fb48930f
added full udhcp integration
2002-10-14 21:41:28 +00:00
Eric Andersen
a39342b131
Remember to delete docs/busybox.pod
2002-10-08 19:31:04 +00:00
Eric Andersen
87715170cc
Be more portable with 'find' for those that prefer programming
...
on *BSD, etc. Formatting fixes, etc.
2002-07-31 03:45:05 +00:00
Robert Griebl
d378c3149c
Applied vodz' patches #49 and #50 (with a small correction in runshell.c)
...
#49 : I found one memory overflow and memory leak in "ln" applet.
Last patch reduced also 54 bytes. ;)
#50 : I found bug in loginutils/Makefile.in.
New patch have also new function to libbb and
aplied this to applets and other cosmetic changes.
2002-07-19 00:05:54 +00:00
Eric Andersen
8610f91ebf
Lets give this a try...
2002-06-06 13:00:47 +00:00
Robert Griebl
1fca558799
Bigger patch for (partial) tinylogin integration
...
- Made a new dir loginutils
- Moved all applets from pwd_grp to loginutils
- Added new applets su.c login.c to loginutils
- Made a new dir libpwdgrp
- Moved everything from pwd_grp/libpwd_grp there
- Added shadow.c to libpwdgrp
- Removed dir pwd_grp
- Added usage strings for login and su to usage.h
- Changed main Makefile to reflect the dir rearrangements
[Parts of this patch may overlap with my other two patches]
2002-06-04 20:45:46 +00:00
Eric Andersen
aba75460e4
When the .config file is missing, supply a default one
...
and run menuconfig
2002-04-27 00:06:47 +00:00
Eric Andersen
fb24eb4f47
Cleanup make clean
2002-04-13 13:52:13 +00:00
Eric Andersen
1f30a41abe
Add a 'make uninstall' target
2002-04-13 13:39:48 +00:00
Eric Andersen
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on
...
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
2002-04-12 12:05:57 +00:00
Eric Andersen
5a40651046
Update dmalloc options per suggestion from Glenn
2002-03-20 14:16:31 +00:00
Eric Andersen
3ec5c692ec
Bart Visscher noticed some spurious search and replace silliness
...
-Erik
2002-03-20 01:32:25 +00:00
Eric Andersen
de2a342289
Add a more verbose non-strip command.
2001-12-16 09:20:08 +00:00
Eric Andersen
2423b12dae
Begin moving things to busybox.net
...
-Erik
2001-12-08 01:56:15 +00:00
Eric Andersen
06656f363d
Minor adjustment to the strip command
2001-12-06 14:44:11 +00:00
Matt Kraai
4e05da89f3
Add a check target.
2001-11-19 19:47:56 +00:00
Eric Andersen
45784febaf
Some more minor build cleanups
2001-11-10 13:08:02 +00:00
Eric Andersen
30fcef430c
Only use -mpreferred-stack-boundary with gcc versions that support it
2001-11-10 11:23:47 +00:00
Eric Andersen
5abdaa9a16
Force main to always be included
2001-11-06 18:45:56 +00:00
Eric Andersen
1552ff7efb
Move usage.h to include/usage.h
2001-10-31 11:07:12 +00:00
Eric Andersen
6cf47a79ac
Run parts applet by Emanuele Aina <faina.mail@tiscalinet.it>
2001-10-31 10:24:36 +00:00
Glenn L McGrath
95ebf618b7
*** empty log message ***
2001-10-25 14:18:08 +00:00
Eric Andersen
a49b025b19
Oops. As Aaron Lehmann <aaronl@vitelus.com> just noticed,
...
I forgot to add procps to the SUBDIR list
2001-10-24 08:24:41 +00:00
Eric Andersen
3cd2760ba1
Fixup the new buildsystem a bit.
2001-10-24 07:58:02 +00:00
Eric Andersen
ca38a29c81
A couple of leftovers
2001-10-24 06:48:42 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
74400ccfd0
Scrub up some function prototypes.
...
-Erik
2001-10-18 04:11:39 +00:00
Eric Andersen
5c72104a85
Fix large file support -- 2+ gig files should now actually
...
work this time...
-Erik
2001-10-02 07:58:23 +00:00
Eric Andersen
63ae66198d
use the pedantically correct compiler for preprocessing
2001-09-26 06:20:54 +00:00
Eric Andersen
d36cdd25a5
Bump version to 0.61.pre
2001-08-22 04:16:36 +00:00
Eric Andersen
54eceffcae
some minor wording changes
2001-08-20 17:48:17 +00:00
Matt Kraai
a7cecbc917
Commit Vladimir's simplify_path.
2001-08-10 15:05:27 +00:00
Eric Andersen
0b7d70c822
Fix up some silly messups with the debian packaging, and a dumb
...
bug with chroot. I've had the package uploaded but perms set to
000, so I am going to re-tag things and re-cut the release. Folks
who pulled from CVS in the last 30 minutes with just have to cope.
-Erik
2001-08-02 20:56:16 +00:00
Eric Andersen
9e6089ee0f
Ok, here we go...
2001-08-02 19:31:08 +00:00
Eric Andersen
be0c36009a
More libc5 fixups
...
-Erik
2001-08-02 10:55:32 +00:00
Eric Andersen
3450636169
Latest patch from vodz. Adds a check for divide by zero in the posix
...
math suport, cleaner math syntax error checking, moves redundant signal
string tables (from kill and ash) into libbb and provides a few
cleanups elsewhere.
2001-08-02 05:02:46 +00:00
Matt Kraai
2d91deba45
Allow multiple shells to be enabled.
2001-08-01 17:21:35 +00:00
Eric Andersen
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
2001-07-30 21:41:37 +00:00
Eric Andersen
8d79ce8320
Some patches to make dietlibc work...
2001-07-22 23:00:15 +00:00
Eric Andersen
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
2001-07-19 22:28:02 +00:00
Eric Andersen
7467c8d3b6
Patch from vodz:
...
Changed email address
cmdedit API change
optimizations for traceroute and md5sum
added a new shared create_icmp_socket() function
2001-07-12 20:26:32 +00:00
Eric Andersen
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
2001-07-11 07:24:05 +00:00
Glenn L McGrath
654944fc36
Reverse my previous change, still cant compile with dmalloc
2001-07-10 14:33:22 +00:00
Glenn L McGrath
c3d2f1287e
When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc
2001-07-10 14:04:30 +00:00
Matt Kraai
6199fa90e5
Update version number to 0.53pre.
2001-07-10 13:57:30 +00:00
Eric Andersen
b7e6f13b3c
Some minor updates. Bump version number in preparation for release.
...
-Erik
2001-07-07 00:03:00 +00:00
Eric Andersen
d28cb03819
Forgot this
2001-07-06 19:28:49 +00:00
Eric Andersen
10175a43ee
Simplify a comment
2001-06-30 18:11:52 +00:00
Glenn L McGrath
78b0e379d7
Vladimir's last_patch_15
2001-06-26 02:06:08 +00:00
Eric Andersen
30f1eafaaa
Fix the build process so it does not do the evil #ifdef BB_FOO stuff.
...
Build exactly one .o file per function, and let the linker throw away
the junk it doesn't want.
-Erik
2001-06-22 03:00:21 +00:00
Matt Kraai
ceeff73819
Rewrote mkdir (and touched lots of things in the process).
2001-06-21 19:41:37 +00:00
Glenn L McGrath
eb1c94078f
Reorganise unarchiving functions, more code re-use, only does single pass(no more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this.
...
It effects ar, dpkg-deb applets only
2001-06-20 07:48:00 +00:00
Glenn L McGrath
9aff903603
Reorganise archive extraction code
2001-06-13 07:26:39 +00:00
Eric Andersen
f4dd6e3d1a
Do not purge the .cvsignore files on 'make release' so that
...
people can properly import into their own CVS trees.
-Erik
2001-06-04 17:26:38 +00:00
Eric Andersen
8b113f93b9
Vladimir's last_patch13, containing several bugfixes.
2001-06-01 21:47:15 +00:00
Eric Andersen
f12cc4ee68
Make hush the default shell. Ensure the applets_list gets
...
the axe on a distclean.
2001-05-30 19:09:40 +00:00
Matt Kraai
c55b8d41c1
Add xgethostbyname and herror_msg* functions.
2001-05-16 15:40:51 +00:00
Eric Andersen
55f9872616
This patch from Adam Heath <doogie@debian.org>, makes print_file
...
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15 17:48:09 +00:00
Eric Andersen
14d354312a
Per suggestion from Vladimir, eliminate check_wildcard_match(), which
...
was only being used by insmod these days.
Also, I spent a minute adjusting insmod so that it first searches
/lib/modules/`uname -r` and then (if that fails) searches /lib/modules,
which makes bb insmod behave much more like the real insmod, and should
avoid nasty surprises (such as the recent "Modutils vs. Busybox..."
thread).
-Erik
2001-05-14 17:07:32 +00:00
Eric Andersen
5f265b755a
Fix a segfault in lash, hush, and cmdedit. Each of these used
...
xgetcwd, but did not check the return for a NULL, and then continued
to call strlen on the NULL when the cwd had been removed from under it.
-Erik
2001-05-11 16:58:46 +00:00
Eric Andersen
d283e1cfe9
Bump version to 0.52pre
2001-05-09 17:31:27 +00:00
Eric Andersen
da7f095c12
Update comment re USE_SYSTEM_PWD_GRP
...
-Erik
2001-05-07 17:51:34 +00:00
Eric Andersen
abde065935
Oops. The dangers of applying patches by hand...
2001-05-01 14:37:03 +00:00
Eric Andersen
3f99b567b8
A patch from Larry to fix pristine source builds (again).
...
I just can't seem to _not_ break it. Sigh.
2001-05-01 01:40:34 +00:00
Mark Whitley
8a633268ef
Made new xreadlink function for libbb and changed applets to use it instead of
...
readlink(2).
2001-04-30 18:17:00 +00:00
Eric Andersen
defa4f93c2
Per suggestion by Matt, make sh.c a real target. There is no
...
need for the useless sh_link dummy target -- use the real thing.
-Erik
2001-04-30 17:52:36 +00:00
David Kimdon
2bf4dad7ec
fix to applet_source_list rule so Debian package continues to build
2001-04-28 16:37:23 +00:00
Eric Andersen
07e462fd6d
Matt was complaining. Hopefully this helps the sh.c link situation
2001-04-27 18:36:43 +00:00
Eric Andersen
0081466925
Be a bit more sneaky about the sh.c symlink so you don't need to
...
do a mke clean for it to happen.
-Erik
2001-04-26 23:29:10 +00:00
Eric Andersen
25f2703015
This is the initial checkin of Larry Doolittle's hush.c, using his
...
April 25, 2001 snapshot, adjusted a bit by me so it has cmdedit support.
This checkin also removes sh.c. In the future sh.c will be a symlink to
your shell of choice. For now, this symlink will default to pointing to
lash.c (as in the past). If you change the symlink to point to hush.c,
then thats what you will get. This symlink business is a temporary situation,
which will be cleaned up Real Soon Now(tm).
-Erik
2001-04-26 23:22:31 +00:00
Eric Andersen
c1bdffe99b
Another nice cleanup from Larry. This adds a new last_char_is() function and
...
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the
possible space-hogging inline of strlen() in several cases.
-Erik
2001-04-26 15:56:47 +00:00
Mark Whitley
e55987896a
Applied patch from Larry Doolittle to fix pristine build breakage.
2001-04-25 23:49:43 +00:00
Eric Andersen
04095e58fb
Move messages.c to libbb. Make each string in messages.c be its own .o file.
...
This way, we can new get rid of all that tedious #define rubbish we used to
need to enable specific messages. This way is enormously simpler, and as a
bonus also ends up saving us 96 bytes.
-Erik
2001-04-25 05:39:18 +00:00
Eric Andersen
3676374915
Cleanup more carefully after pod2html
2001-04-24 21:46:07 +00:00
Matt Kraai
8810bdbba3
Rewrote rm.
2001-04-24 20:04:18 +00:00
Matt Kraai
8a24a65d2f
Change link order so that libbb functions use libpwd.a when appropriate.
2001-04-23 16:11:57 +00:00
Eric Andersen
46cd74b9e3
This has two patches. First it moves interface.c to libbb (it is
...
support code after all). It also contains a patch from Larry Doolittle
that removes two instances of "strlen([^)]*) *- *1", un-shadows two
variables, relaxes requirement for a sprintf(3) that returns number of
bytes written, and eliminates a duplicate subroutine.
2001-04-19 16:55:27 +00:00
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