Gentoo Archives: gentoo-commits

From: "Peter Weller (welp)" <welp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dhcpcd: ChangeLog dhcpcd-3.1.9.ebuild
Date: Wed, 09 Jan 2008 16:17:55
Message-Id: E1JCdck-0001Oh-Q4@stork.gentoo.org
1 welp 08/01/09 16:17:50
2
3 Modified: ChangeLog
4 Added: dhcpcd-3.1.9.ebuild
5 Log:
6 Bump
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.173 net-misc/dhcpcd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.173&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.173&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.172&r2=1.173
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
19 retrieving revision 1.172
20 retrieving revision 1.173
21 diff -u -r1.172 -r1.173
22 --- ChangeLog 25 Dec 2007 16:25:50 -0000 1.172
23 +++ ChangeLog 9 Jan 2008 16:17:50 -0000 1.173
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.172 2007/12/25 16:25:50 phreak Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.173 2008/01/09 16:17:50 welp Exp $
30 +
31 +*dhcpcd-3.1.9 (09 Jan 2008)
32 +
33 + 09 Jan 2008; <welp@g.o> +dhcpcd-3.1.9.ebuild:
34 + Bump
35
36 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
37 Removing uberlord from metadata.xml as per #199318.
38
39
40
41 1.1 net-misc/dhcpcd/dhcpcd-3.1.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dhcpcd-3.1.9.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild,v 1.1 2008/01/09 16:17:50 welp Exp $
51
52 inherit toolchain-funcs
53
54 DESCRIPTION="A DHCP client"
55 HOMEPAGE="http://roy.marples.name/dhcpcd"
56 SRC_URI="http://roy.marples.name/${PN}/${P}.tar.bz2"
57 LICENSE="BSD-2"
58
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60
61 SLOT="0"
62 IUSE="vram zeroconf"
63
64 DEPEND=""
65 PROVIDE="virtual/dhcpc"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70
71 if use zeroconf; then
72 einfo "ZeroConf support enabled"
73 else
74 einfo "Disabling zeroconf support"
75 {
76 echo
77 echo "/* User indicated no zeroconf support */"
78 echo "#undef ENABLE_IPV4LL"
79 } >> config.h
80 fi
81
82 # Disable DUID support if we have volatile storage.
83 # LiveCD's *should* enable this USE flag
84 if use vram; then
85 einfo "Disabling DUID support"
86 {
87 echo
88 echo "/* User indicated volatile ram storage */"
89 echo "#undef ENABLE_DUID"
90 } >> config.h
91 else
92 einfo "DUID support enabled"
93 fi
94 }
95
96 src_compile() {
97 emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die
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@l.g.o mailing list