dhcpcd-discuss

dhcpcd-5.0 branch created

Roy Marples

Tue Jul 21 20:35:39 2009

Hi List

I've created a dhcpcd-5.0 branch based off the dhcpcd-5 branch. This is so that 
dhcpcd-5.1 will basically be the up and coming dhcpcd-5.0.7 but with a 
configure script so that we can detect libc features at compile time instead of 
relying on #ifdef guards.

The configure script is a basic shell script and looks like a GNU autotool 
configure - ie similar options. But fear not, it's not autotool ;)
I've also removed the mk/* stubs and moved all the logic into Makefile.
I also ship GNUmakefile so that GNU make automagically loads .depend if it 
exists, like BSD make which solves a long standing problem I had of wanting 
this basic feature on both makes without autotools.

We require this non standard libc function
getifaddrs
If not found, configure will abort.

We optionally use these non standard libc functions
getline (standard in glibc-2.10 (but we can use earlier versions via 
_BSD_SOURCE) and what will be NetBSD-6 and FreeBSD-8)
strlcpy
closefrom
arc4random
If the libc does not support these, then dhcpcd will build it's own local 
copy. Basically, trimmed the fat from common.c

Thanks

Roy

PS - You now need an OpenID to create/modify tickets on my tracker as I've 
stopped all anonymous users from doing anything.

Archive administrator: postmaster@marples.name