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