Glenn L McGrath
87470def24
* Since busybox binary is unnecessary, deleted it from prerequisites.
...
* Changed so that not only links but /bin/busybox might be deleted.
* When double quoted PREFIX is defined by `.config' is used,
`make uninstall' does not work correctly.
When default PREFIX `pwd`/_install defined by Rules.mak is used,
similarly it does not work correctly.
Changed $$PREFIX into $(PREFIX) in order to fix this.
Patch by Hideki IWAMOTO
2003-08-29 12:20:31 +00:00
Eric Andersen
24e098a77d
Fixup 'make clean' to properly clean the _install directory
2003-08-22 20:53:38 +00:00
Eric Andersen
eac20451d2
Set libbb dead last in the link order
2003-07-29 07:45:05 +00:00
Eric Andersen
d4fcb80609
Yet more preparation to make a release...
2003-07-15 00:28:26 +00:00
Eric Andersen
cb81e6484d
Update a bunch of docs. Run a script to update my email addr.
2003-07-14 21:21:08 +00:00
Eric Andersen
9e48045e45
Patch from Russell Coker:
...
I've attached my latest SE Linux patch for busybox against the latest CVS
version of busybox.
2003-07-03 10:07:04 +00:00
Eric Andersen
1c25ba9de1
Oops. As Andrew Dennison just noticed, I left a stray
...
space in the Makefile, thereby totally breaking it.
2003-06-25 05:18:48 +00:00
Eric Andersen
b6071ea5cb
Regenerate the busybox.links file when the .config changes
2003-06-25 03:26:04 +00:00
Manuel Novoa III
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
Glenn L McGrath
3238ea1673
Merge fileutils, textutils and shellutils into coreuils
2003-02-15 10:53:40 +00:00
Eric Andersen
a99534354a
Don't wipe the config system on 'make clean'
2003-01-27 22:11:59 +00:00
Eric Andersen
92a06d0943
Clean config binsries on 'make clean'
2003-01-14 08:52:18 +00:00
Eric Andersen
aaab46baba
Fix an obvious mistake
2003-01-11 18:02:51 +00:00
Glenn L McGrath
4d7f965c8e
Adjust for new .depend target
2002-12-20 10:06:38 +00:00
Glenn L McGrath
e86e4a2282
busybox target wasnt checking .depend, clean kbuild binaries only on distclean
2002-12-20 06:03:47 +00:00
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