Rob Landley
9ffd42317b
Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessary
...
memset, collate variable declarations...
2006-05-21 18:30:35 +00:00
Bernhard Reutner-Fischer
0a8812bdc5
- replace _PATH_DEVNULL with bb_dev_null
2006-05-19 13:12:21 +00:00
Mike Frysinger
d9b6b844e5
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
2006-05-13 02:33:41 +00:00
Mike Frysinger
49f6afc0a0
rename
2006-05-11 02:10:13 +00:00
Mike Frysinger
e3412d8331
remove files not related to busybox
2006-05-11 02:09:39 +00:00
Bernhard Reutner-Fischer
72c4d64d20
- add helptext for --retries
2006-05-10 16:11:02 +00:00
Mike Frysinger
7031f62d9b
add back in udhcp support
2006-05-08 03:20:50 +00:00
Mike Frysinger
787140df39
remove in place of external link
2006-03-23 23:44:29 +00:00
Mike Frysinger
dce5809ebc
make the makefile a little more flexible so we can store in either location
2006-03-23 03:47:19 +00:00
Mike Frysinger
13c8327b79
sync busybox and udhcp trees
2006-03-23 03:05:05 +00:00
Eric Andersen
28a6afe975
Roy Walker writes:
...
Here is a patch against the current subversion repository, that makes
udhcpc have an adjustable timeout. Works for both foreground and before
it drops to the background. This brings it more in-line with ISC dhcpc.
Use like so:
udhcpc --timeout=10 ...
or
udhcpc -T 10 ...
Still shooting for 1.1.1 this month? Would really be great if you could
get this in that release.
Please give credit to Paul Pacheco - ppacheco@gmail.com .
2006-03-20 17:37:00 +00:00
Bernhard Reutner-Fischer
df10094870
- revert back to r14406
2006-03-13 19:04:00 +00:00
Bernhard Reutner-Fischer
07a79e75f5
- backout using features which are not available with the previous stable
...
version of make (3.71.1).
2006-03-09 09:03:37 +00:00
Bernhard Reutner-Fischer
022eb311d5
- use absolute path for top_builddir and top_srcdir.
...
Fixes make trying to include the very same file in an endless loop.
2006-03-02 17:33:25 +00:00
Bernhard Reutner-Fischer
5d26126b9e
- fixes parallel builds (make -j)
...
- use less resources for the buildsystem itself
2006-03-01 22:54:48 +00:00
Rob Landley
e7c43b66d7
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
...
from before "if(x) free(x)".
2006-03-01 16:39:45 +00:00
Rob Landley
0a7c8ef6e2
Patch from Denis Vlasenko to constify things and fix a few typos.
2006-02-22 17:01:00 +00:00
Rob Landley
e8f504e86d
Bug 751: file handle leaks can add up until available filehandles for the
...
process are exhausted.
2006-02-22 02:10:34 +00:00
Rob Landley
d6e14d8bee
Don't build directory libraries unless we're building an applet that needs it.
...
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-21 19:11:35 +00:00
Rob Landley
ea6360e393
Missed a file in the last checkin, won't build without this...
2006-02-21 03:12:15 +00:00
Rob Landley
a2841e6d4b
Patch from Giuseppe Ciotta to specify retry count.
2006-02-20 23:26:38 +00:00
Mike Frysinger
b38673fb9f
make the build system puuuuuuuuuuurty
2006-02-02 01:41:53 +00:00
Eric Andersen
a68ea1cb93
fix up yet more annoying signed/unsigned and mixed type errors
2006-01-30 22:48:39 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Bernhard Reutner-Fischer
86f5c9906b
- add platform.h.
...
- use shorter boilerplate while at it.
2006-01-22 22:55:11 +00:00
Bernhard Reutner-Fischer
7ca61b6f33
- shared libbusybox.
...
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..
2006-01-15 14:04:57 +00:00
"Vladimir N. Oleynik"
b628409b1e
more make safe the exported namespace for udhcp. Move to bb-specific file for reduce change into udhcp-CVS
2005-09-23 11:25:29 +00:00
"Vladimir N. Oleynik"
53ad366fe7
remove 1 exported
2005-09-23 10:44:02 +00:00
Paul Fox
b6f71645f4
move a couple of functions from common code (options.c) to udhcpd private
...
code (files.c) to make udhcpc a little smaller.
2005-09-22 19:03:24 +00:00
Paul Fox
28de951b02
add support for setting the dhcp vendor class option (option 60).
...
udhcpc now has a -V (--vendorclass), which will replace the default
"udhcpRELEASE" string in this option.
2005-09-22 18:59:13 +00:00
"Vladimir N. Oleynik"
2f9c30a2d5
safe exported namespace for udhcp. Not full, bore :-(
2005-09-22 15:07:33 +00:00
Rob Landley
230b411de8
Fix the warning by rewriting the function to be smaller and simpler.
...
I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't
got the hardware...
2005-09-08 03:22:09 +00:00
Rob Landley
37adefc670
Off by one error in max_leases sanity check. Bug 349, apparently.
2005-09-01 02:43:39 +00:00
Paul Fox
a39bba33c8
allow suppression of default client-id. fixes bug 000037. allows
...
busybox to match kernel and u-boot behavior with respect to client-id.
2005-08-01 14:31:13 +00:00
Mike Frysinger
4d00896d05
use toplevel ARFLAGS and update default ARFLAGS to be quiet
2005-07-27 01:09:24 +00:00
Paul Fox
7b86134032
remove duplicate check against chaddr.
2005-07-21 20:23:56 +00:00
Paul Fox
01f67987e0
applying fix for:
...
0000260: udhcpc doesn't validate client hardware address
2005-07-20 19:13:21 +00:00
Rob Landley
0b1ff5a606
Tobias Krawutschke found a bug where the DHCP client would accept packets
...
with the wrong ARP address, meaning we could easily get somebody else's IP.
That is a bad thing, and this is the minimal two-line fix.
2005-05-26 05:25:12 +00:00
Rob Landley
918f2ab3d7
Revert the uptime() removal. Let the list sort it out...
2005-05-04 02:15:23 +00:00
Rob Landley
8b80c71d70
Patch from Shaun Jackman:
...
Replace uptime with time(NULL). time is more portable than uptime and
eliminates the need to define uptime, reducing code size slightly.
2005-05-04 00:38:15 +00:00
Eric Andersen
14f5c8d764
Patch from Bernhard Fischer to make a bunch of symbols static
...
which were otherwise cluttering the global namespace.
2005-04-16 19:39:00 +00:00
Mike Frysinger
3cc01a80a3
In Bug 209, bernhardf writes:
...
struct named {
named_field: init,
};
appear to be depraced by now; rather use C{99} format as in
struct named {
.named_field = init,
};
2005-04-16 04:17:39 +00:00
Mike Frysinger
d824853de3
merge from udhcp module
2004-12-06 14:59:45 +00:00
Eric Andersen
abf58d6ba5
Wade Berrier writes:
...
Hello,
Here's a patch for a first attempt at static leases for udhcpd.
Included in the tarball are 2 files (static_leases.c, static_leases.h)
and a patch against the latest cvs.
In the config file you can configure static leases with the following
format:
static_lease 00:60:08:11:CE:4E 192.168.0.54
static_lease 00:60:08:11:CE:3E 192.168.0.44
Comments/suggestions/improvements are welcome.
Wade
2004-10-08 08:49:26 +00:00
Eric Andersen
7daa076d3e
egor duda writes:
...
Hi!
I've created a patch to busybox' build system to allow building it in
separate tree in a manner similar to kbuild from kernel version 2.6.
That is, one runs command like
'make O=/build/some/where/for/specific/target/and/options'
and everything is built in this exact directory, provided that it exists.
I understand that applyingc such invasive changes during 'release
candidates' stage of development is at best unwise. So, i'm currently
asking for comments about this patch, starting from whether such thing
is needed at all to whether it coded properly.
'make check' should work now, and one make creates Makefile in build
directory, so one can run 'make' in build directory after that.
One possible caveat is that if we build in some directory other than
source one, the source directory should be 'distclean'ed first.
egor
2004-10-08 07:46:08 +00:00
Russ Dill
5c9323f4e6
use busybox sysinfo struct
2004-05-19 09:18:04 +00:00
Eric Andersen
28885c3f20
Fix a compile problem
2004-05-19 08:54:28 +00:00
Russ Dill
309c7b71e6
fix timewarp in client (server fix later)
2004-05-19 08:29:05 +00:00
Russ Dill
91e006c1ad
remove uneccessary check (already done in pidfile.c)
2004-05-19 07:46:23 +00:00
Russ Dill
57f49d3185
fix memory leak caused by switch to vfork
2004-05-19 07:45:47 +00:00