Gentoo Archives: gentoo-commits

From: "Joe Peterson (lavajoe)" <lavajoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dhcpcd: ChangeLog dhcpcd-3.1.8.ebuild
Date: Mon, 26 Nov 2007 14:43:33
Message-Id: E1IwfBD-0005Rw-0q@stork.gentoo.org
1 lavajoe 07/11/26 14:43:23
2
3 Modified: ChangeLog
4 Added: dhcpcd-3.1.8.ebuild
5 Log:
6 Bump version
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.171 net-misc/dhcpcd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.171&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.171&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.170&r2=1.171
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
19 retrieving revision 1.170
20 retrieving revision 1.171
21 diff -u -r1.170 -r1.171
22 --- ChangeLog 22 Oct 2007 08:26:14 -0000 1.170
23 +++ ChangeLog 26 Nov 2007 14:43:22 -0000 1.171
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.170 2007/10/22 08:26:14 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.171 2007/11/26 14:43:22 lavajoe Exp $
29 +
30 +*dhcpcd-3.1.8 (26 Nov 2007)
31 +
32 + 26 Nov 2007; Joe Peterson <lavajoe@g.o> +dhcpcd-3.1.8.ebuild:
33 + Bump version
34
35 22 Oct 2007; Roy Marples <uberlord@g.o> dhcpcd-3.1.7.ebuild:
36 einfo -> elog, #196662
37
38
39
40 1.1 net-misc/dhcpcd/dhcpcd-3.1.8.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dhcpcd-3.1.8.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.8.ebuild,v 1.1 2007/11/26 14:43:22 lavajoe 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 if use zeroconf; then
71 einfo "ZeroConf support enabled"
72 else
73 einfo "Disabling zeroconf support"
74 {
75 echo
76 echo "/* User indicated no zeroconf support */"
77 echo "#undef ENABLE_IPV4LL"
78 } >> config.h
79 fi
80
81 # Disable DUID support if we have volatile storage.
82 # LiveCD's *should* enable this USE flag
83 if use vram; then
84 einfo "Disabling DUID support"
85 {
86 echo
87 echo "/* User indicated volatile ram storage */"
88 echo "#undef ENABLE_DUID"
89 } >> config.h
90 else
91 einfo "DUID support enabled"
92 fi
93 }
94
95 src_compile() {
96 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die
101 dodoc ChangeLog
102 }
103
104 pkg_postinst() {
105 if use zeroconf; then
106 ewarn "You have installed dhcpcd with zeroconf support."
107 elog "This means that it will always obtain an IP address even if no"
108 elog "DHCP server can be contacted, which will break any existing"
109 elog "failover support you may have configured in your net configuration."
110 elog "This behaviour can be controlled with the -L flag."
111 elog "See the dhcpcd man page for more details."
112 fi
113
114 if ! use vram; then
115 use zeroconf && echo
116 ewarn "You have installed dhcpcd with DUID support."
117 elog "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
118 elog "This is generated from a MAC address of the card and a timestamp."
119 elog "It will be used in every subsequent DHCP transaction, along with a IAID"
120 elog "in the ClientID option. This is required by RFC 4361."
121 echo
122 ewarn "Some DHCP server implementations require a MAC address only in the"
123 ewarn "ClientID field. These DHCP servers should be updated to be RFC"
124 ewarn "conformant. If you cannot do this, you can revert to the old"
125 ewarn "behaviour by using the -I '' option OR building dhcpcd with the"
126 ewarn "vram USE flag enabled."
127 fi
128 }
129
130
131
132 --
133 gentoo-commits@g.o mailing list