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.5.ebuild
Date: Mon, 01 Oct 2007 09:45:03
Message-Id: E1IcHh9-0004Gy-Ln@stork.gentoo.org
1 uberlord 07/10/01 09:36:07
2
3 Modified: ChangeLog dhcpcd-3.1.5.ebuild
4 Log:
5 Add a warning about DUID behaviour vs buggy servers.
6 (Portage version: 2.1.3.11)
7
8 Revision Changes Path
9 1.163 net-misc/dhcpcd/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.163&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.163&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.162&r2=1.163
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
18 retrieving revision 1.162
19 retrieving revision 1.163
20 diff -u -r1.162 -r1.163
21 --- ChangeLog 29 Sep 2007 09:20:54 -0000 1.162
22 +++ ChangeLog 1 Oct 2007 09:36:07 -0000 1.163
23 @@ -1,6 +1,9 @@
24 # ChangeLog for net-misc/dhcpcd
25 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.162 2007/09/29 09:20:54 armin76 Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.163 2007/10/01 09:36:07 uberlord Exp $
28 +
29 + 01 Oct 2007; Roy Marples <uberlord@g.o> dhcpcd-3.1.5.ebuild:
30 + Add a warning about DUID behaviour vs buggy servers.
31
32 29 Sep 2007; Raúl Porcel <armin76@g.o> dhcpcd-3.1.5.ebuild:
33 alpha/ia64/sparc stable wrt #188284
34
35
36
37 1.9 net-misc/dhcpcd/dhcpcd-3.1.5.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild?rev=1.9&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild?rev=1.9&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild?r1=1.8&r2=1.9
42
43 Index: dhcpcd-3.1.5.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild,v
46 retrieving revision 1.8
47 retrieving revision 1.9
48 diff -u -r1.8 -r1.9
49 --- dhcpcd-3.1.5.ebuild 29 Sep 2007 09:20:54 -0000 1.8
50 +++ dhcpcd-3.1.5.ebuild 1 Oct 2007 09:36:07 -0000 1.9
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild,v 1.8 2007/09/29 09:20:54 armin76 Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild,v 1.9 2007/10/01 09:36:07 uberlord Exp $
56
57 inherit toolchain-funcs
58
59 @@ -26,7 +26,12 @@
60
61 # Disable DUID support if we have volatile storage.
62 # LiveCD's *should* enable this USE flag
63 - use vram && echo "#undef ENABLE_DUID" >> config.h
64 + if use vram; then
65 + einfo "Disabling DUID support in dhcpcd"
66 + echo "#undef ENABLE_DUID" >> config.h
67 + else
68 + einfo "DUID support enabled"
69 + fi
70 }
71
72 src_compile() {
73 @@ -37,3 +42,19 @@
74 make DESTDIR="${D}" install || die
75 dodoc ChangeLog
76 }
77 +
78 +pkg_postinst() {
79 + use vram && return 0
80 +
81 + ewarn "You have installed dhcpcd with DUID support."
82 + einfo "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
83 + einfo "This is generated from a MAC address of the card and a timestamp."
84 + einfo "It will be used in every subsequent DHCP transaction, along with a IAID"
85 + einfo "in the ClientID option. This is required by RFC 4361."
86 + echo
87 + ewarn "Some DHCP server implementations require a MAC address only in the"
88 + ewarn "ClientID field. These DHCP servers should be updated to be RFC"
89 + ewarn "conformant. If you cannot do this, you can revert to the old"
90 + ewarn "behaviour by using the -I '' option OR building dhcpcd with the"
91 + ewarn "vram USE flag enabled."
92 +}
93
94
95
96 --
97 gentoo-commits@g.o mailing list