1 |
scarabeus 08/11/21 13:08:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-4.99.5.ebuild dhcpcd-4.0.5.ebuild |
5 |
Removed: dhcpcd-4.99.2.ebuild dhcpcd-4.99.4.ebuild |
6 |
dhcpcd-4.99.3.ebuild |
7 |
Log: |
8 |
Version bump. Remove old. Proxy commit for Roy. |
9 |
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.224 net-misc/dhcpcd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.224&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.224&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.223&r2=1.224 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
21 |
retrieving revision 1.223 |
22 |
retrieving revision 1.224 |
23 |
diff -u -r1.223 -r1.224 |
24 |
--- ChangeLog 10 Nov 2008 11:40:06 -0000 1.223 |
25 |
+++ ChangeLog 21 Nov 2008 13:08:25 -0000 1.224 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for net-misc/dhcpcd |
28 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.223 2008/11/10 11:40:06 armin76 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.224 2008/11/21 13:08:25 scarabeus Exp $ |
31 |
+ |
32 |
+*dhcpcd-4.99.5 (21 Nov 2008) |
33 |
+*dhcpcd-4.0.5 (21 Nov 2008) |
34 |
+ |
35 |
+ 21 Nov 2008; Tomas Chvatal <scarabeus@g.o> |
36 |
+ -files/dhcpcd-4.99.2-no-empty-clientid.patch, +dhcpcd-4.0.5.ebuild, |
37 |
+ -dhcpcd-4.99.2.ebuild, -dhcpcd-4.99.3.ebuild, -dhcpcd-4.99.4.ebuild, |
38 |
+ +dhcpcd-4.99.5.ebuild: |
39 |
+ Version bump for 4.0 and 5.0 series. Cleanup 5.0. |
40 |
|
41 |
*dhcpcd-4.99.4 (10 Nov 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 net-misc/dhcpcd/dhcpcd-4.99.5.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.99.5.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.99.5.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: dhcpcd-4.99.5.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.99.5.ebuild,v 1.1 2008/11/21 13:08:25 scarabeus Exp $ |
56 |
|
57 |
EAPI=1 |
58 |
|
59 |
inherit toolchain-funcs eutils |
60 |
|
61 |
MY_P="${P/_alpha/-alpha}" |
62 |
MY_P="${MY_P/_beta/-beta}" |
63 |
MY_P="${MY_P/_rc/-rc}" |
64 |
S="${WORKDIR}/${MY_P}" |
65 |
|
66 |
DESCRIPTION="A DHCP client" |
67 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
68 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
69 |
LICENSE="BSD-2" |
70 |
|
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
72 |
|
73 |
SLOT="0" |
74 |
IUSE="zeroconf" |
75 |
|
76 |
DEPEND="" |
77 |
PROVIDE="virtual/dhcpc" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}" |
82 |
|
83 |
if ! use zeroconf; then |
84 |
elog "Disabling zeroconf support" |
85 |
{ |
86 |
echo |
87 |
echo "# dhcpcd ebuild requested no zeroconf" |
88 |
echo "noipv4ll" |
89 |
} >> dhcpcd.conf |
90 |
fi |
91 |
} |
92 |
|
93 |
pkg_setup() { |
94 |
MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
[ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" |
99 |
emake CC="$(tc-getCC)" ${MAKE_ARGS} || die |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
local hooks="50-ntp.conf" |
104 |
use elibc_glibc && hooks="${hooks} 50-yp.conf" |
105 |
emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
# Upgrade the duid file to the new format if needed |
110 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
111 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
112 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
113 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
114 |
fi |
115 |
|
116 |
# Move the duid to /etc, a more sensible location |
117 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
118 |
cp -p "${old_duid}" "${new_duid}" |
119 |
fi |
120 |
|
121 |
if use zeroconf; then |
122 |
elog "You have installed dhcpcd with zeroconf support." |
123 |
elog "This means that it will always obtain an IP address even if no" |
124 |
elog "DHCP server can be contacted, which will break any existing" |
125 |
elog "failover support you may have configured in your net configuration." |
126 |
elog "This behaviour can be controlled with the -L flag." |
127 |
elog "See the dhcpcd man page for more details." |
128 |
fi |
129 |
|
130 |
elog |
131 |
elog "Users transfering from 4.0 series should pay attention to removal" |
132 |
elog "of compat useflag. This changes behavior of dhcp in wide manner:" |
133 |
elog "dhcpcd no longer sends a default ClientID for ethernet interfaces." |
134 |
elog "This is so we can re-use the address the kernel DHCP client found." |
135 |
elog "To retain the old behaviour of sending a default ClientID based on the" |
136 |
elog "hardware address for interface, simply add the keyword clientid" |
137 |
elog "to dhcpcd.conf or use commandline parameter -I ''" |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
1.1 net-misc/dhcpcd/dhcpcd-4.0.5.ebuild |
143 |
|
144 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.5.ebuild?rev=1.1&view=markup |
145 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.5.ebuild?rev=1.1&content-type=text/plain |
146 |
|
147 |
Index: dhcpcd-4.0.5.ebuild |
148 |
=================================================================== |
149 |
# Copyright 1999-2008 Gentoo Foundation |
150 |
# Distributed under the terms of the GNU General Public License v2 |
151 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.5.ebuild,v 1.1 2008/11/21 13:08:25 scarabeus Exp $ |
152 |
|
153 |
EAPI=1 |
154 |
|
155 |
inherit toolchain-funcs eutils |
156 |
|
157 |
MY_P="${P/_alpha/-alpha}" |
158 |
MY_P="${MY_P/_beta/-beta}" |
159 |
MY_P="${MY_P/_rc/-rc}" |
160 |
S="${WORKDIR}/${MY_P}" |
161 |
|
162 |
DESCRIPTION="A DHCP client" |
163 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd" |
164 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
165 |
LICENSE="BSD-2" |
166 |
|
167 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
168 |
|
169 |
SLOT="0" |
170 |
IUSE="+compat zeroconf" |
171 |
|
172 |
DEPEND="" |
173 |
PROVIDE="virtual/dhcpc" |
174 |
|
175 |
src_unpack() { |
176 |
unpack ${A} |
177 |
cd "${S}" |
178 |
|
179 |
if ! use zeroconf; then |
180 |
elog "Disabling zeroconf support" |
181 |
{ |
182 |
echo |
183 |
echo "# dhcpcd ebuild requested no zeroconf" |
184 |
echo "noipv4ll" |
185 |
} >> dhcpcd.conf |
186 |
fi |
187 |
|
188 |
if use compat; then |
189 |
elog "dhcpcd-3 command line support enabled" |
190 |
{ |
191 |
echo |
192 |
echo "/* User indicated command line compatability */" |
193 |
echo "#define CMDLINE_COMPAT" |
194 |
} >> config.h |
195 |
fi |
196 |
} |
197 |
|
198 |
pkg_setup() { |
199 |
MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" |
200 |
} |
201 |
|
202 |
src_compile() { |
203 |
[ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" |
204 |
emake CC="$(tc-getCC)" ${MAKE_ARGS} || die |
205 |
} |
206 |
|
207 |
src_install() { |
208 |
local hooks="50-ntp.conf" |
209 |
use elibc_glibc && hooks="${hooks} 50-yp.conf" |
210 |
emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die |
211 |
} |
212 |
|
213 |
pkg_postinst() { |
214 |
# Upgrade the duid file to the new format if needed |
215 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
216 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
217 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
218 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
219 |
fi |
220 |
|
221 |
# Move the duid to /etc, a more sensible location |
222 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
223 |
cp -p "${old_duid}" "${new_duid}" |
224 |
fi |
225 |
|
226 |
if use zeroconf; then |
227 |
elog "You have installed dhcpcd with zeroconf support." |
228 |
elog "This means that it will always obtain an IP address even if no" |
229 |
elog "DHCP server can be contacted, which will break any existing" |
230 |
elog "failover support you may have configured in your net configuration." |
231 |
elog "This behaviour can be controlled with the -L flag." |
232 |
elog "See the dhcpcd man page for more details." |
233 |
fi |
234 |
if ! use compat; then |
235 |
elog |
236 |
elog "dhcpcd no longer sends a default ClientID for ethernet interfaces." |
237 |
elog "This is so we can re-use the address the kernel DHCP client found." |
238 |
elog "To retain the old behaviour of sending a default ClientID based on the" |
239 |
elog "hardware address for interface, simply add the keyword clientid" |
240 |
elog "to dhcpcd.conf or use commandline parameter -I ''" |
241 |
fi |
242 |
} |