Gentoo Archives: gentoo-commits

From: "Roy Marples (uberlord)" <uberlord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dhcpcd: ChangeLog dhcpcd-3.1.7.ebuild
Date: Sun, 21 Oct 2007 19:39:53
Message-Id: E1IjgTu-0007DN-Lz@stork.gentoo.org
1 uberlord 07/10/21 19:29:02
2
3 Modified: ChangeLog
4 Added: dhcpcd-3.1.7.ebuild
5 Log:
6 Release new version, should fix #196178 and a few link local issues.
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.169 net-misc/dhcpcd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.169&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.169&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.168&r2=1.169
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
19 retrieving revision 1.168
20 retrieving revision 1.169
21 diff -u -r1.168 -r1.169
22 --- ChangeLog 17 Oct 2007 15:52:13 -0000 1.168
23 +++ ChangeLog 21 Oct 2007 19:29:02 -0000 1.169
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/dhcpcd
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.168 2007/10/17 15:52:13 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.169 2007/10/21 19:29:02 uberlord Exp $
29 +
30 +*dhcpcd-3.1.7 (21 Oct 2007)
31 +
32 + 21 Oct 2007; Roy Marples <uberlord@g.o> +dhcpcd-3.1.7.ebuild:
33 + Release new version, should fix #196178 and a few link local issues.
34
35 17 Oct 2007; Roy Marples <uberlord@g.o>
36 +files/dhcpcd-3.1.6-zeroconf.patch, dhcpcd-3.1.6-r1.ebuild:
37
38
39
40 1.1 net-misc/dhcpcd/dhcpcd-3.1.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dhcpcd-3.1.7.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild,v 1.1 2007/10/21 19:29:02 uberlord Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="A DHCP client"
54 HOMEPAGE="http://dhcpcd.berlios.de"
55 SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
56 LICENSE="GPL-2"
57
58 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
59
60 SLOT="0"
61 IUSE="vram zeroconf"
62
63 DEPEND=""
64 PROVIDE="virtual/dhcpc"
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 # Redefine the location of ntp.drift
71 {
72 echo
73 echo "/* Gentoo stores ntpd drift file here */"
74 echo "#undef NTPDRIFTFILE"
75 echo "#define NTPDRIFTFILE \"/var/lib/ntp/ntp.drift\""
76 } >> config.h
77
78 if use zeroconf; then
79 einfo "ZeroConf support enabled"
80 else
81 einfo "Disabling zeroconf support"
82 {
83 echo
84 echo "/* User indicated no zeroconf support */"
85 echo "#undef ENABLE_IPV4LL"
86 } >> config.h
87 fi
88
89 # Disable DUID support if we have volatile storage.
90 # LiveCD's *should* enable this USE flag
91 if use vram; then
92 einfo "Disabling DUID support"
93 {
94 echo
95 echo "/* User indicated volatile ram storage */"
96 echo "#undef ENABLE_DUID"
97 } >> config.h
98 else
99 einfo "DUID support enabled"
100 fi
101 }
102
103 src_compile() {
104 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" install || die
109 dodoc ChangeLog
110 }
111
112 pkg_postinst() {
113 if use zeroconf; then
114 ewarn "You have installed dhcpcd with zeroconf support."
115 einfo "This means that it will always obtain an IP address even if no"
116 einfo "DHCP server can be contacted, which will break any existing"
117 einfo "failover support you may have configured in your net configuration."
118 einfo "This behaviour can be controlled with the -L flag."
119 einfo "See the dhcpcd man page for more details."
120 fi
121
122 if ! use vram; then
123 use zeroconf && echo
124 ewarn "You have installed dhcpcd with DUID support."
125 einfo "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
126 einfo "This is generated from a MAC address of the card and a timestamp."
127 einfo "It will be used in every subsequent DHCP transaction, along with a IAID"
128 einfo "in the ClientID option. This is required by RFC 4361."
129 echo
130 ewarn "Some DHCP server implementations require a MAC address only in the"
131 ewarn "ClientID field. These DHCP servers should be updated to be RFC"
132 ewarn "conformant. If you cannot do this, you can revert to the old"
133 ewarn "behaviour by using the -I '' option OR building dhcpcd with the"
134 ewarn "vram USE flag enabled."
135 fi
136 }
137
138
139
140 --
141 gentoo-commits@g.o mailing list