1 |
welp 08/02/25 08:44:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-3.2.3.ebuild |
5 |
Log: |
6 |
Bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.179 net-misc/dhcpcd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.179&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.179&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.178&r2=1.179 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
19 |
retrieving revision 1.178 |
20 |
retrieving revision 1.179 |
21 |
diff -u -r1.178 -r1.179 |
22 |
--- ChangeLog 20 Feb 2008 20:48:51 -0000 1.178 |
23 |
+++ ChangeLog 25 Feb 2008 08:44:01 -0000 1.179 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/dhcpcd |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.178 2008/02/20 20:48:51 welp Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.179 2008/02/25 08:44:01 welp Exp $ |
29 |
+ |
30 |
+*dhcpcd-3.2.3 (25 Feb 2008) |
31 |
+ |
32 |
+ 25 Feb 2008; <welp@g.o> +dhcpcd-3.2.3.ebuild: |
33 |
+ Bump |
34 |
|
35 |
*dhcpcd-3.2.2 (20 Feb 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 net-misc/dhcpcd/dhcpcd-3.2.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: dhcpcd-3.2.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 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.2.3.ebuild,v 1.1 2008/02/25 08:44:01 welp Exp $ |
50 |
|
51 |
inherit toolchain-funcs |
52 |
|
53 |
DESCRIPTION="A DHCP client" |
54 |
HOMEPAGE="http://roy.marples.name/dhcpcd" |
55 |
SRC_URI="http://roy.marples.name/${PN}/${P}.tar.bz2" |
56 |
LICENSE="BSD-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 |
elog "ZeroConf support enabled" |
72 |
else |
73 |
elog "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 |
elog "Disabling DUID support" |
85 |
{ |
86 |
echo |
87 |
echo "/* User indicated volatile ram storage */" |
88 |
echo "#undef ENABLE_DUID" |
89 |
} >> config.h |
90 |
else |
91 |
elog "DUID support enabled" |
92 |
fi |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
emake DESTDIR="${D}" install || die |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
# Upgrade the duid file to the new format if needed |
105 |
local duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
106 |
if [ -e "${duid}" ] && ! grep -q '..:..:..:..:..:..' "${duid}"; then |
107 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${duid}" |
108 |
fi |
109 |
|
110 |
if use zeroconf; then |
111 |
elog "You have installed dhcpcd with zeroconf support." |
112 |
elog "This means that it will always obtain an IP address even if no" |
113 |
elog "DHCP server can be contacted, which will break any existing" |
114 |
elog "failover support you may have configured in your net configuration." |
115 |
elog "This behaviour can be controlled with the -L flag." |
116 |
elog "See the dhcpcd man page for more details." |
117 |
fi |
118 |
|
119 |
if ! use vram; then |
120 |
use zeroconf && echo |
121 |
elog "You have installed dhcpcd with DUID support." |
122 |
elog "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid" |
123 |
elog "This is generated from a MAC address of the card and a timestamp." |
124 |
elog "It will be used in every subsequent DHCP transaction, along with a IAID" |
125 |
elog "in the ClientID option. This is required by RFC 4361." |
126 |
echo |
127 |
elog "Some DHCP server implementations require a MAC address only in the" |
128 |
elog "ClientID field. These DHCP servers should be updated to be RFC" |
129 |
elog "conformant. If you cannot do this, you can revert to the old" |
130 |
elog "behaviour by using the -I '' option OR building dhcpcd with the" |
131 |
elog "vram USE flag enabled." |
132 |
fi |
133 |
} |
134 |
|
135 |
|
136 |
|
137 |
-- |
138 |
gentoo-commits@l.g.o mailing list |