Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" |
15 |
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" |
16 |
IUSE="build static" |
16 |
IUSE="build static dhc-fqdn" |
17 |
|
17 |
|
18 |
DEPEND="virtual/libc" |
18 |
DEPEND="virtual/libc" |
19 |
PROVIDE="virtual/dhcpc" |
19 |
PROVIDE="virtual/dhcpc" |
Lines 37-42
Link Here
|
37 |
#This patch remove the iface down instruction from dhcpcd allowing us |
37 |
#This patch remove the iface down instruction from dhcpcd allowing us |
38 |
#to have physical iface scripts (gmsoft, 11 Nov 2003) |
38 |
#to have physical iface scripts (gmsoft, 11 Nov 2003) |
39 |
epatch ${FILESDIR}/${P}-no-iface-down.diff |
39 |
epatch ${FILESDIR}/${P}-no-iface-down.diff |
|
|
40 |
#Add support for draft-ietf-dhc-fqdn to support DNS |
41 |
#updates from Microsoft DHCP servers, which ignore the normal |
42 |
#hostname option 12 and use the draft option 81 instead. |
43 |
#(kevquinn, 12 July 2004) |
44 |
epatch ${DISTDIR}/${P}-optionFQDN.diff.bz2 |
45 |
|
40 |
#remove hard-coded arch stuff (drobbins, 06 Sep 2003) |
46 |
#remove hard-coded arch stuff (drobbins, 06 Sep 2003) |
41 |
sed -i "s/ -march=i.86//g" configure |
47 |
sed -i "s/ -march=i.86//g" configure |
42 |
sed -i 's:/etc/ntp\.drift:/var/lib/ntp/ntp.drift:' dhcpconfig.c |
48 |
sed -i 's:/etc/ntp\.drift:/var/lib/ntp/ntp.drift:' dhcpconfig.c |
Lines 44-49
Link Here
|
44 |
|
50 |
|
45 |
src_compile() { |
51 |
src_compile() { |
46 |
use static && append-flags -static |
52 |
use static && append-flags -static |
|
|
53 |
use dhc-fqdn && append-flags -DDRAFT_OPTION_FQDN |
47 |
|
54 |
|
48 |
./configure \ |
55 |
./configure \ |
49 |
--prefix="" \ |
56 |
--prefix="" \ |