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.6.ebuild
Date: Thu, 04 Oct 2007 12:06:17
Message-Id: E1IdPKC-0004lj-O1@stork.gentoo.org
1 uberlord 07/10/04 11:57:04
2
3 Modified: ChangeLog
4 Added: dhcpcd-3.1.6.ebuild
5 Log:
6 Bumpage.
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.164 net-misc/dhcpcd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.164&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.164&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.163&r2=1.164
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
19 retrieving revision 1.163
20 retrieving revision 1.164
21 diff -u -r1.163 -r1.164
22 --- ChangeLog 1 Oct 2007 09:36:07 -0000 1.163
23 +++ ChangeLog 4 Oct 2007 11:57:04 -0000 1.164
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.163 2007/10/01 09:36:07 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.164 2007/10/04 11:57:04 uberlord Exp $
29 +
30 +*dhcpcd-3.1.6 (04 Oct 2007)
31 +
32 + 04 Oct 2007; Roy Marples <uberlord@g.o> +dhcpcd-3.1.6.ebuild:
33 + Bumpage.
34
35 01 Oct 2007; Roy Marples <uberlord@g.o> dhcpcd-3.1.5.ebuild:
36 Add a warning about DUID behaviour vs buggy servers.
37
38
39
40 1.1 net-misc/dhcpcd/dhcpcd-3.1.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dhcpcd-3.1.6.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.6.ebuild,v 1.1 2007/10/04 11:57:04 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
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="vram"
61
62 DEPEND=""
63 PROVIDE="virtual/dhcpc"
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68
69 # Redefine the location of ntp.drift
70 sed -i -e 's,#define NTPDRIFTFILE[:space:]*,#define NTPDRIFTFILE\t\"/var/lib/ntp/ntp.drift\",' \
71 config.h || die "sed failed"
72
73 # Disable DUID support if we have volatile storage.
74 # LiveCD's *should* enable this USE flag
75 if use vram; then
76 einfo "Disabling DUID support in dhcpcd"
77 echo "#undef ENABLE_DUID" >> config.h
78 else
79 einfo "DUID support enabled"
80 fi
81 }
82
83 src_compile() {
84 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install || die
89 dodoc ChangeLog
90 }
91
92 pkg_postinst() {
93 use vram && return 0
94
95 ewarn "You have installed dhcpcd with DUID support."
96 einfo "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
97 einfo "This is generated from a MAC address of the card and a timestamp."
98 einfo "It will be used in every subsequent DHCP transaction, along with a IAID"
99 einfo "in the ClientID option. This is required by RFC 4361."
100 echo
101 ewarn "Some DHCP server implementations require a MAC address only in the"
102 ewarn "ClientID field. These DHCP servers should be updated to be RFC"
103 ewarn "conformant. If you cannot do this, you can revert to the old"
104 ewarn "behaviour by using the -I '' option OR building dhcpcd with the"
105 ewarn "vram USE flag enabled."
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list