Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd/
Date: Tue, 24 Jul 2018 17:38:41
Message-Id: 1532453854.9ae03c4637e33ac400f5ca15fac9b17a5b46eb41.williamh@gentoo
1 commit: 9ae03c4637e33ac400f5ca15fac9b17a5b46eb41
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 24 17:37:34 2018 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 24 17:37:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae03c46
7
8 net-misc/dhcpcd: remove several unstable versions
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-misc/dhcpcd/Manifest | 6 --
13 net-misc/dhcpcd/dhcpcd-7.0.0.ebuild | 148 ----------------------------------
14 net-misc/dhcpcd/dhcpcd-7.0.2.ebuild | 149 -----------------------------------
15 net-misc/dhcpcd/dhcpcd-7.0.3.ebuild | 149 -----------------------------------
16 net-misc/dhcpcd/dhcpcd-7.0.4.ebuild | 149 -----------------------------------
17 net-misc/dhcpcd/dhcpcd-7.0.5.ebuild | 149 -----------------------------------
18 net-misc/dhcpcd/dhcpcd-7.0.5b.ebuild | 149 -----------------------------------
19 7 files changed, 899 deletions(-)
20
21 diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
22 index 41053bf9d76..bf33f9bf85e 100644
23 --- a/net-misc/dhcpcd/Manifest
24 +++ b/net-misc/dhcpcd/Manifest
25 @@ -1,11 +1,5 @@
26 DIST dhcpcd-6.11.3.tar.xz 194892 BLAKE2B 08253879221f2cbccf69caf06ccbde960103fdf4de194f746572f4fa10497ab23dc1a41b6a849fe75f68a1d7a653e5358a7976581da0a92c8f19e2627b921440 SHA512 249185532cb239124f847c28e6bfb3e8a85e818e05a07eb0c6ac6843fbbab8afa8d6ebce4032b3537ccfb7fafb306dd0dc51c0e97f337f12f5071ba499686a70
27 DIST dhcpcd-6.11.5.tar.xz 198080 BLAKE2B 3172fcb1c09c3bb7fcf4896c6e9896744a8f4f6ae0292bfedb3a96ce435a774b42fdc1a1e9d288edc786c544c17c21fd7d3c8c6e6a6832acdad7e1f5edfa8c0b SHA512 a23d5dde66567c4addbc86c8b3fbf2c5d4dba3b463659729778a310306ab0e949be8998154ef15401ac2d289bde2f090d44492bba6a1becd2f01890d4efe7051
28 -DIST dhcpcd-7.0.0.tar.xz 207924 BLAKE2B bd24f22b4852596ef4a076d1ab15ac4411dd676ba8cbfdb4b1ba29ffe1bff2d18be40369c1f8804bc01988bb30b89ee1030ea95ddb48fbfc04ca06372b317d9d SHA512 f2ab1fcb2dad0c93da757c15d0b772b40cc15c8e59161d91684f06961cf7b515473d7c3fc5973b7755ac525e6851abdf8a5f27760bb5d28fe17e90ff0feaf904
29 DIST dhcpcd-7.0.1.tar.xz 207908 BLAKE2B 1a9350a0c4a9eb1eb6f5a7be78beb4a5fecd802ee90a4649ab17db69eabc75a913b9f3db97ea6260bcad3516b9613c20f74d9d68a7ac98b508458e5cd30cf15f SHA512 d2a9b053aa663dd1ed38a10a73ee3377a3a076c9638bdda9331a4c161c2ba87f5f68f366ac8e1f1015404f617b74261a03a97ac7cdfd642b4a41b87b54984c34
30 -DIST dhcpcd-7.0.2.tar.xz 208736 BLAKE2B 958118a7acdb6d55e06b88ec8b1fe342600e49caefc7e0e6745a20aafb9588f1c83af171c47e7b6ba1faa664290b052530271f5dd588f82db5933af315b8eea7 SHA512 f5b1407199163fb994519bc1b5a70ad043f00f263e3b254da5d519d1c6b689a4a5a8bcef3bf42401826984e273c2ead38249fcfe99129b87034f90de2fc46ecd
31 -DIST dhcpcd-7.0.3.tar.xz 208856 BLAKE2B d11f1845cae74470cd9982f5957911ac5fd7cc284b455254fef5c462e516018d94d56f970d758e81cd86a7f918e5cf0d3bd6d2087bda701b299436c4253220f4 SHA512 a2d4e8ea6a310090c2795c596c80a76f0e42dc6654ba50d2900e2af4239dbc542e857d20b2983ea97675903b85cdbd0e9212424390a62081837821bbdaf7ce83
32 -DIST dhcpcd-7.0.4.tar.xz 209860 BLAKE2B 12c9524d6cd012665479a91f2966ae8123cc38bd3a47d81490f3dc0efecda2a787a0d55e883906e536c989054d25e00fa96d06d11062013d154de88882f31414 SHA512 32382b17a00e6ff7a80868a35424d1cc25410f012048ef099a90fbcb15a43ef6e73d2e65094ac90ccb18ecd92c6fc2c7e2116e19669ad0084ee39182b5cbd7db
33 -DIST dhcpcd-7.0.5.tar.xz 210088 BLAKE2B bd10e09eb160e09067a3cf0472417a191f05216dbae5e5b65255a6e212fdff099b178a331dc44cf420830d1aaa581629d669f491d4acb099d646a5969d621dee SHA512 b9d5a1c9306ff86544f0a74a0e61f9a78a643087da8cbee2bf09155a745c6815a2078be7f7a400f31f760355eae2177c5760ce4ca55e83cee615a343671d9b41
34 -DIST dhcpcd-7.0.5b.tar.xz 210024 BLAKE2B 38073a761d93b0cc1ece2f5a87791b50d40740796794852dfdba10a7e8e4264e77fa554c1a2e1192430dee791be7856b707889406bdb1e1d508c56187eb61348 SHA512 f2d9a6930a31e169ae63356c06ed7b6d642d03f13c555512a8cbac4e95430a8fdc7e5eecb2fffb795947e4f6a6e7a9db239fa85f12801833e553000a732879f6
35 DIST dhcpcd-7.0.6.tar.xz 210392 BLAKE2B c343ebfd42cfd0c76d3524cab799d05e3ec0c1735fde1703613a60cd4e3a656d4a1428ed8a84f7d66ef4d39ffb519ab7eabf4d7c765e6dec93386ccf7d84f363 SHA512 5885739e60d6eb4fded117cb87f59a073ae6e8da8454dee56d8e7c5d33778e413e121d28a22163ebf31e4508a21d3a21c1d17ee6d4551081db2ee8e5384d44c9
36 DIST dhcpcd-7.0.7.tar.xz 210572 BLAKE2B 4ba70c32fe012930928a8c3363c8fe3f655943883ff521fcfb3b5b75950be2e7432ca79e52298a119fc70c1dd8095a28f59d4cabe62da3ad8179c0dc73af0aac SHA512 04c316f7b180bbbf48aa58273d3a28d659824e474d1ce48325f610ed2c5d2a01117f5b65b4a9697f3e8e1b85d4bdcc0b8ab75a928a8cd5723a865d8c0a065269
37
38 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.0.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.0.ebuild
39 deleted file mode 100644
40 index c77b8fed58c..00000000000
41 --- a/net-misc/dhcpcd/dhcpcd-7.0.0.ebuild
42 +++ /dev/null
43 @@ -1,148 +0,0 @@
44 -# Copyright 1999-2018 Gentoo Foundation
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI=6
48 -
49 -if [[ ${PV} == "9999" ]]; then
50 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
51 - inherit git-r3
52 -else
53 - MY_P="${P/_alpha/-alpha}"
54 - MY_P="${MY_P/_beta/-beta}"
55 - MY_P="${MY_P/_rc/-rc}"
56 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
57 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
58 - S="${WORKDIR}/${MY_P}"
59 -fi
60 -
61 -inherit eutils systemd toolchain-funcs
62 -
63 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
64 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
65 -LICENSE="BSD-2"
66 -SLOT="0"
67 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
68 -
69 -COMMON_DEPEND="udev? ( virtual/udev )"
70 -DEPEND="${COMMON_DEPEND}"
71 -RDEPEND="${COMMON_DEPEND}"
72 -
73 -src_configure()
74 -{
75 - local dev hooks rundir
76 - use udev || dev="--without-dev --without-udev"
77 - hooks="--with-hook=ntp.conf"
78 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
79 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
80 - econf \
81 - --prefix="${EPREFIX}" \
82 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
83 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
84 - --localstatedir="${EPREFIX}/var" \
85 - ${rundir} \
86 - $(use_enable embedded) \
87 - $(use_enable ipv6) \
88 - ${dev} \
89 - CC="$(tc-getCC)" \
90 - ${hooks}
91 -}
92 -
93 -src_install()
94 -{
95 - default
96 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
97 - systemd_dounit "${FILESDIR}"/${PN}.service
98 -}
99 -
100 -pkg_postinst()
101 -{
102 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
103 -
104 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
105 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
106 - local new_duid="${dbdir}"/duid
107 - if [ -e "${old_old_duid}" ]; then
108 - # Upgrade the duid file to the new format if needed
109 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
110 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
111 - fi
112 -
113 - # Move the duid to /etc, a more sensible location
114 - if [ ! -e "${old_duid}" ]; then
115 - cp -p "${old_old_duid}" "${new_duid}"
116 - fi
117 - old_files="${old_files} ${old_old_duid}"
118 - fi
119 -
120 - # dhcpcd-7 moves the files out of /etc
121 - if [ -e "${old_duid}" ]; then
122 - if [ ! -e "${new_duid}" ]; then
123 - cp -p "${old_duid}" "${new_duid}"
124 - fi
125 - old_files="${old_files} ${old_duid}"
126 - fi
127 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
128 - local new_secret="${dbdir}"/secret
129 - if [ -e "${old_secret}" ]; then
130 - if [ ! -e "${new_secret}" ]; then
131 - cp -p "${old_secret}" "${new_secret}"
132 - fi
133 - old_files="${old_files} ${old_secret}"
134 - fi
135 -
136 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
137 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
138 - local new_rdm="${dbdir}"/rdm_monotonic
139 - if [ -e "${old_rdm}" ]; then
140 - if [ ! -e "${new_rdm}" ]; then
141 - cp -p "${old_rdm}" "${new_rdm}"
142 - fi
143 - old_files="${old_files} ${old_rdm}"
144 - fi
145 - local lease=
146 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
147 - [ -f "$lease" ] || continue
148 - old_files="${old_files} ${lease}"
149 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
150 - [ -e "${dbdir}/${new_lease}" ] && continue
151 - cp "${lease}" "${dbdir}/${new_lease}"
152 - done
153 -
154 - # Warn about removing stale files
155 - if [ -n "${old_files}" ]; then
156 - elog
157 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
158 - elog "${EROOT%/}/etc to ${dbdir}"
159 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
160 - elog "prefix dropped."
161 - elog
162 - elog "You should remove these files if you don't plan on reverting"
163 - elog "to an older version:"
164 - local old_file=
165 - for old_file in ${old_files}; do
166 - elog " ${old_file}"
167 - done
168 - fi
169 -
170 - if [ -z "$REPLACING_VERSIONS" ]; then
171 - elog
172 - elog "dhcpcd has zeroconf support active by default."
173 - elog "This means it will always obtain an IP address even if no"
174 - elog "DHCP server can be contacted, which will break any existing"
175 - elog "failover support you may have configured in your net configuration."
176 - elog "This behaviour can be controlled with the noipv4ll configuration"
177 - elog "file option or the -L command line switch."
178 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
179 -
180 - elog
181 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
182 - elog "with some dhcp servers. For more information, see"
183 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
184 - fi
185 -
186 - if ! has_version net-dns/bind-tools; then
187 - elog
188 - elog "If you activate the lookup-hostname hook to look up your hostname"
189 - elog "using the dns, you need to install net-dns/bind-tools."
190 - fi
191 -}
192
193 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.2.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.2.ebuild
194 deleted file mode 100644
195 index bca59ecd5d7..00000000000
196 --- a/net-misc/dhcpcd/dhcpcd-7.0.2.ebuild
197 +++ /dev/null
198 @@ -1,149 +0,0 @@
199 -# Copyright 1999-2018 Gentoo Foundation
200 -# Distributed under the terms of the GNU General Public License v2
201 -
202 -EAPI=6
203 -
204 -if [[ ${PV} == "9999" ]]; then
205 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
206 - inherit git-r3
207 -else
208 - MY_P="${P/_alpha/-alpha}"
209 - MY_P="${MY_P/_beta/-beta}"
210 - MY_P="${MY_P/_rc/-rc}"
211 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
212 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
213 - S="${WORKDIR}/${MY_P}"
214 -fi
215 -
216 -inherit eutils systemd toolchain-funcs
217 -
218 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
219 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
220 -LICENSE="BSD-2"
221 -SLOT="0"
222 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
223 -
224 -COMMON_DEPEND="udev? ( virtual/udev )"
225 -DEPEND="${COMMON_DEPEND}"
226 -RDEPEND="${COMMON_DEPEND}"
227 -
228 -src_configure()
229 -{
230 - local dev hooks rundir
231 - use udev || dev="--without-dev --without-udev"
232 - hooks="--with-hook=ntp.conf"
233 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
234 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
235 - econf \
236 - --prefix="${EPREFIX}" \
237 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
238 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
239 - --localstatedir="${EPREFIX}/var" \
240 - ${rundir} \
241 - $(use_enable embedded) \
242 - $(use_enable ipv6) \
243 - ${dev} \
244 - CC="$(tc-getCC)" \
245 - ${hooks}
246 -}
247 -
248 -src_install()
249 -{
250 - default
251 - keepdir /var/lib/dhcpcd
252 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
253 - systemd_dounit "${FILESDIR}"/${PN}.service
254 -}
255 -
256 -pkg_postinst()
257 -{
258 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
259 -
260 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
261 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
262 - local new_duid="${dbdir}"/duid
263 - if [ -e "${old_old_duid}" ]; then
264 - # Upgrade the duid file to the new format if needed
265 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
266 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
267 - fi
268 -
269 - # Move the duid to /etc, a more sensible location
270 - if [ ! -e "${old_duid}" ]; then
271 - cp -p "${old_old_duid}" "${new_duid}"
272 - fi
273 - old_files="${old_files} ${old_old_duid}"
274 - fi
275 -
276 - # dhcpcd-7 moves the files out of /etc
277 - if [ -e "${old_duid}" ]; then
278 - if [ ! -e "${new_duid}" ]; then
279 - cp -p "${old_duid}" "${new_duid}"
280 - fi
281 - old_files="${old_files} ${old_duid}"
282 - fi
283 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
284 - local new_secret="${dbdir}"/secret
285 - if [ -e "${old_secret}" ]; then
286 - if [ ! -e "${new_secret}" ]; then
287 - cp -p "${old_secret}" "${new_secret}"
288 - fi
289 - old_files="${old_files} ${old_secret}"
290 - fi
291 -
292 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
293 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
294 - local new_rdm="${dbdir}"/rdm_monotonic
295 - if [ -e "${old_rdm}" ]; then
296 - if [ ! -e "${new_rdm}" ]; then
297 - cp -p "${old_rdm}" "${new_rdm}"
298 - fi
299 - old_files="${old_files} ${old_rdm}"
300 - fi
301 - local lease=
302 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
303 - [ -f "$lease" ] || continue
304 - old_files="${old_files} ${lease}"
305 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
306 - [ -e "${dbdir}/${new_lease}" ] && continue
307 - cp "${lease}" "${dbdir}/${new_lease}"
308 - done
309 -
310 - # Warn about removing stale files
311 - if [ -n "${old_files}" ]; then
312 - elog
313 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
314 - elog "${EROOT%/}/etc to ${dbdir}"
315 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
316 - elog "prefix dropped."
317 - elog
318 - elog "You should remove these files if you don't plan on reverting"
319 - elog "to an older version:"
320 - local old_file=
321 - for old_file in ${old_files}; do
322 - elog " ${old_file}"
323 - done
324 - fi
325 -
326 - if [ -z "$REPLACING_VERSIONS" ]; then
327 - elog
328 - elog "dhcpcd has zeroconf support active by default."
329 - elog "This means it will always obtain an IP address even if no"
330 - elog "DHCP server can be contacted, which will break any existing"
331 - elog "failover support you may have configured in your net configuration."
332 - elog "This behaviour can be controlled with the noipv4ll configuration"
333 - elog "file option or the -L command line switch."
334 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
335 -
336 - elog
337 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
338 - elog "with some dhcp servers. For more information, see"
339 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
340 - fi
341 -
342 - if ! has_version net-dns/bind-tools; then
343 - elog
344 - elog "If you activate the lookup-hostname hook to look up your hostname"
345 - elog "using the dns, you need to install net-dns/bind-tools."
346 - fi
347 -}
348
349 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.3.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.3.ebuild
350 deleted file mode 100644
351 index bca59ecd5d7..00000000000
352 --- a/net-misc/dhcpcd/dhcpcd-7.0.3.ebuild
353 +++ /dev/null
354 @@ -1,149 +0,0 @@
355 -# Copyright 1999-2018 Gentoo Foundation
356 -# Distributed under the terms of the GNU General Public License v2
357 -
358 -EAPI=6
359 -
360 -if [[ ${PV} == "9999" ]]; then
361 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
362 - inherit git-r3
363 -else
364 - MY_P="${P/_alpha/-alpha}"
365 - MY_P="${MY_P/_beta/-beta}"
366 - MY_P="${MY_P/_rc/-rc}"
367 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
368 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
369 - S="${WORKDIR}/${MY_P}"
370 -fi
371 -
372 -inherit eutils systemd toolchain-funcs
373 -
374 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
375 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
376 -LICENSE="BSD-2"
377 -SLOT="0"
378 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
379 -
380 -COMMON_DEPEND="udev? ( virtual/udev )"
381 -DEPEND="${COMMON_DEPEND}"
382 -RDEPEND="${COMMON_DEPEND}"
383 -
384 -src_configure()
385 -{
386 - local dev hooks rundir
387 - use udev || dev="--without-dev --without-udev"
388 - hooks="--with-hook=ntp.conf"
389 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
390 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
391 - econf \
392 - --prefix="${EPREFIX}" \
393 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
394 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
395 - --localstatedir="${EPREFIX}/var" \
396 - ${rundir} \
397 - $(use_enable embedded) \
398 - $(use_enable ipv6) \
399 - ${dev} \
400 - CC="$(tc-getCC)" \
401 - ${hooks}
402 -}
403 -
404 -src_install()
405 -{
406 - default
407 - keepdir /var/lib/dhcpcd
408 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
409 - systemd_dounit "${FILESDIR}"/${PN}.service
410 -}
411 -
412 -pkg_postinst()
413 -{
414 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
415 -
416 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
417 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
418 - local new_duid="${dbdir}"/duid
419 - if [ -e "${old_old_duid}" ]; then
420 - # Upgrade the duid file to the new format if needed
421 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
422 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
423 - fi
424 -
425 - # Move the duid to /etc, a more sensible location
426 - if [ ! -e "${old_duid}" ]; then
427 - cp -p "${old_old_duid}" "${new_duid}"
428 - fi
429 - old_files="${old_files} ${old_old_duid}"
430 - fi
431 -
432 - # dhcpcd-7 moves the files out of /etc
433 - if [ -e "${old_duid}" ]; then
434 - if [ ! -e "${new_duid}" ]; then
435 - cp -p "${old_duid}" "${new_duid}"
436 - fi
437 - old_files="${old_files} ${old_duid}"
438 - fi
439 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
440 - local new_secret="${dbdir}"/secret
441 - if [ -e "${old_secret}" ]; then
442 - if [ ! -e "${new_secret}" ]; then
443 - cp -p "${old_secret}" "${new_secret}"
444 - fi
445 - old_files="${old_files} ${old_secret}"
446 - fi
447 -
448 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
449 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
450 - local new_rdm="${dbdir}"/rdm_monotonic
451 - if [ -e "${old_rdm}" ]; then
452 - if [ ! -e "${new_rdm}" ]; then
453 - cp -p "${old_rdm}" "${new_rdm}"
454 - fi
455 - old_files="${old_files} ${old_rdm}"
456 - fi
457 - local lease=
458 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
459 - [ -f "$lease" ] || continue
460 - old_files="${old_files} ${lease}"
461 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
462 - [ -e "${dbdir}/${new_lease}" ] && continue
463 - cp "${lease}" "${dbdir}/${new_lease}"
464 - done
465 -
466 - # Warn about removing stale files
467 - if [ -n "${old_files}" ]; then
468 - elog
469 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
470 - elog "${EROOT%/}/etc to ${dbdir}"
471 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
472 - elog "prefix dropped."
473 - elog
474 - elog "You should remove these files if you don't plan on reverting"
475 - elog "to an older version:"
476 - local old_file=
477 - for old_file in ${old_files}; do
478 - elog " ${old_file}"
479 - done
480 - fi
481 -
482 - if [ -z "$REPLACING_VERSIONS" ]; then
483 - elog
484 - elog "dhcpcd has zeroconf support active by default."
485 - elog "This means it will always obtain an IP address even if no"
486 - elog "DHCP server can be contacted, which will break any existing"
487 - elog "failover support you may have configured in your net configuration."
488 - elog "This behaviour can be controlled with the noipv4ll configuration"
489 - elog "file option or the -L command line switch."
490 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
491 -
492 - elog
493 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
494 - elog "with some dhcp servers. For more information, see"
495 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
496 - fi
497 -
498 - if ! has_version net-dns/bind-tools; then
499 - elog
500 - elog "If you activate the lookup-hostname hook to look up your hostname"
501 - elog "using the dns, you need to install net-dns/bind-tools."
502 - fi
503 -}
504
505 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.4.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.4.ebuild
506 deleted file mode 100644
507 index bca59ecd5d7..00000000000
508 --- a/net-misc/dhcpcd/dhcpcd-7.0.4.ebuild
509 +++ /dev/null
510 @@ -1,149 +0,0 @@
511 -# Copyright 1999-2018 Gentoo Foundation
512 -# Distributed under the terms of the GNU General Public License v2
513 -
514 -EAPI=6
515 -
516 -if [[ ${PV} == "9999" ]]; then
517 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
518 - inherit git-r3
519 -else
520 - MY_P="${P/_alpha/-alpha}"
521 - MY_P="${MY_P/_beta/-beta}"
522 - MY_P="${MY_P/_rc/-rc}"
523 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
524 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
525 - S="${WORKDIR}/${MY_P}"
526 -fi
527 -
528 -inherit eutils systemd toolchain-funcs
529 -
530 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
531 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
532 -LICENSE="BSD-2"
533 -SLOT="0"
534 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
535 -
536 -COMMON_DEPEND="udev? ( virtual/udev )"
537 -DEPEND="${COMMON_DEPEND}"
538 -RDEPEND="${COMMON_DEPEND}"
539 -
540 -src_configure()
541 -{
542 - local dev hooks rundir
543 - use udev || dev="--without-dev --without-udev"
544 - hooks="--with-hook=ntp.conf"
545 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
546 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
547 - econf \
548 - --prefix="${EPREFIX}" \
549 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
550 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
551 - --localstatedir="${EPREFIX}/var" \
552 - ${rundir} \
553 - $(use_enable embedded) \
554 - $(use_enable ipv6) \
555 - ${dev} \
556 - CC="$(tc-getCC)" \
557 - ${hooks}
558 -}
559 -
560 -src_install()
561 -{
562 - default
563 - keepdir /var/lib/dhcpcd
564 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
565 - systemd_dounit "${FILESDIR}"/${PN}.service
566 -}
567 -
568 -pkg_postinst()
569 -{
570 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
571 -
572 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
573 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
574 - local new_duid="${dbdir}"/duid
575 - if [ -e "${old_old_duid}" ]; then
576 - # Upgrade the duid file to the new format if needed
577 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
578 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
579 - fi
580 -
581 - # Move the duid to /etc, a more sensible location
582 - if [ ! -e "${old_duid}" ]; then
583 - cp -p "${old_old_duid}" "${new_duid}"
584 - fi
585 - old_files="${old_files} ${old_old_duid}"
586 - fi
587 -
588 - # dhcpcd-7 moves the files out of /etc
589 - if [ -e "${old_duid}" ]; then
590 - if [ ! -e "${new_duid}" ]; then
591 - cp -p "${old_duid}" "${new_duid}"
592 - fi
593 - old_files="${old_files} ${old_duid}"
594 - fi
595 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
596 - local new_secret="${dbdir}"/secret
597 - if [ -e "${old_secret}" ]; then
598 - if [ ! -e "${new_secret}" ]; then
599 - cp -p "${old_secret}" "${new_secret}"
600 - fi
601 - old_files="${old_files} ${old_secret}"
602 - fi
603 -
604 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
605 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
606 - local new_rdm="${dbdir}"/rdm_monotonic
607 - if [ -e "${old_rdm}" ]; then
608 - if [ ! -e "${new_rdm}" ]; then
609 - cp -p "${old_rdm}" "${new_rdm}"
610 - fi
611 - old_files="${old_files} ${old_rdm}"
612 - fi
613 - local lease=
614 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
615 - [ -f "$lease" ] || continue
616 - old_files="${old_files} ${lease}"
617 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
618 - [ -e "${dbdir}/${new_lease}" ] && continue
619 - cp "${lease}" "${dbdir}/${new_lease}"
620 - done
621 -
622 - # Warn about removing stale files
623 - if [ -n "${old_files}" ]; then
624 - elog
625 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
626 - elog "${EROOT%/}/etc to ${dbdir}"
627 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
628 - elog "prefix dropped."
629 - elog
630 - elog "You should remove these files if you don't plan on reverting"
631 - elog "to an older version:"
632 - local old_file=
633 - for old_file in ${old_files}; do
634 - elog " ${old_file}"
635 - done
636 - fi
637 -
638 - if [ -z "$REPLACING_VERSIONS" ]; then
639 - elog
640 - elog "dhcpcd has zeroconf support active by default."
641 - elog "This means it will always obtain an IP address even if no"
642 - elog "DHCP server can be contacted, which will break any existing"
643 - elog "failover support you may have configured in your net configuration."
644 - elog "This behaviour can be controlled with the noipv4ll configuration"
645 - elog "file option or the -L command line switch."
646 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
647 -
648 - elog
649 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
650 - elog "with some dhcp servers. For more information, see"
651 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
652 - fi
653 -
654 - if ! has_version net-dns/bind-tools; then
655 - elog
656 - elog "If you activate the lookup-hostname hook to look up your hostname"
657 - elog "using the dns, you need to install net-dns/bind-tools."
658 - fi
659 -}
660
661 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.5.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.5.ebuild
662 deleted file mode 100644
663 index bca59ecd5d7..00000000000
664 --- a/net-misc/dhcpcd/dhcpcd-7.0.5.ebuild
665 +++ /dev/null
666 @@ -1,149 +0,0 @@
667 -# Copyright 1999-2018 Gentoo Foundation
668 -# Distributed under the terms of the GNU General Public License v2
669 -
670 -EAPI=6
671 -
672 -if [[ ${PV} == "9999" ]]; then
673 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
674 - inherit git-r3
675 -else
676 - MY_P="${P/_alpha/-alpha}"
677 - MY_P="${MY_P/_beta/-beta}"
678 - MY_P="${MY_P/_rc/-rc}"
679 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
680 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
681 - S="${WORKDIR}/${MY_P}"
682 -fi
683 -
684 -inherit eutils systemd toolchain-funcs
685 -
686 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
687 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
688 -LICENSE="BSD-2"
689 -SLOT="0"
690 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
691 -
692 -COMMON_DEPEND="udev? ( virtual/udev )"
693 -DEPEND="${COMMON_DEPEND}"
694 -RDEPEND="${COMMON_DEPEND}"
695 -
696 -src_configure()
697 -{
698 - local dev hooks rundir
699 - use udev || dev="--without-dev --without-udev"
700 - hooks="--with-hook=ntp.conf"
701 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
702 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
703 - econf \
704 - --prefix="${EPREFIX}" \
705 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
706 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
707 - --localstatedir="${EPREFIX}/var" \
708 - ${rundir} \
709 - $(use_enable embedded) \
710 - $(use_enable ipv6) \
711 - ${dev} \
712 - CC="$(tc-getCC)" \
713 - ${hooks}
714 -}
715 -
716 -src_install()
717 -{
718 - default
719 - keepdir /var/lib/dhcpcd
720 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
721 - systemd_dounit "${FILESDIR}"/${PN}.service
722 -}
723 -
724 -pkg_postinst()
725 -{
726 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
727 -
728 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
729 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
730 - local new_duid="${dbdir}"/duid
731 - if [ -e "${old_old_duid}" ]; then
732 - # Upgrade the duid file to the new format if needed
733 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
734 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
735 - fi
736 -
737 - # Move the duid to /etc, a more sensible location
738 - if [ ! -e "${old_duid}" ]; then
739 - cp -p "${old_old_duid}" "${new_duid}"
740 - fi
741 - old_files="${old_files} ${old_old_duid}"
742 - fi
743 -
744 - # dhcpcd-7 moves the files out of /etc
745 - if [ -e "${old_duid}" ]; then
746 - if [ ! -e "${new_duid}" ]; then
747 - cp -p "${old_duid}" "${new_duid}"
748 - fi
749 - old_files="${old_files} ${old_duid}"
750 - fi
751 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
752 - local new_secret="${dbdir}"/secret
753 - if [ -e "${old_secret}" ]; then
754 - if [ ! -e "${new_secret}" ]; then
755 - cp -p "${old_secret}" "${new_secret}"
756 - fi
757 - old_files="${old_files} ${old_secret}"
758 - fi
759 -
760 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
761 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
762 - local new_rdm="${dbdir}"/rdm_monotonic
763 - if [ -e "${old_rdm}" ]; then
764 - if [ ! -e "${new_rdm}" ]; then
765 - cp -p "${old_rdm}" "${new_rdm}"
766 - fi
767 - old_files="${old_files} ${old_rdm}"
768 - fi
769 - local lease=
770 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
771 - [ -f "$lease" ] || continue
772 - old_files="${old_files} ${lease}"
773 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
774 - [ -e "${dbdir}/${new_lease}" ] && continue
775 - cp "${lease}" "${dbdir}/${new_lease}"
776 - done
777 -
778 - # Warn about removing stale files
779 - if [ -n "${old_files}" ]; then
780 - elog
781 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
782 - elog "${EROOT%/}/etc to ${dbdir}"
783 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
784 - elog "prefix dropped."
785 - elog
786 - elog "You should remove these files if you don't plan on reverting"
787 - elog "to an older version:"
788 - local old_file=
789 - for old_file in ${old_files}; do
790 - elog " ${old_file}"
791 - done
792 - fi
793 -
794 - if [ -z "$REPLACING_VERSIONS" ]; then
795 - elog
796 - elog "dhcpcd has zeroconf support active by default."
797 - elog "This means it will always obtain an IP address even if no"
798 - elog "DHCP server can be contacted, which will break any existing"
799 - elog "failover support you may have configured in your net configuration."
800 - elog "This behaviour can be controlled with the noipv4ll configuration"
801 - elog "file option or the -L command line switch."
802 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
803 -
804 - elog
805 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
806 - elog "with some dhcp servers. For more information, see"
807 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
808 - fi
809 -
810 - if ! has_version net-dns/bind-tools; then
811 - elog
812 - elog "If you activate the lookup-hostname hook to look up your hostname"
813 - elog "using the dns, you need to install net-dns/bind-tools."
814 - fi
815 -}
816
817 diff --git a/net-misc/dhcpcd/dhcpcd-7.0.5b.ebuild b/net-misc/dhcpcd/dhcpcd-7.0.5b.ebuild
818 deleted file mode 100644
819 index bca59ecd5d7..00000000000
820 --- a/net-misc/dhcpcd/dhcpcd-7.0.5b.ebuild
821 +++ /dev/null
822 @@ -1,149 +0,0 @@
823 -# Copyright 1999-2018 Gentoo Foundation
824 -# Distributed under the terms of the GNU General Public License v2
825 -
826 -EAPI=6
827 -
828 -if [[ ${PV} == "9999" ]]; then
829 - EGIT_REPO_URI="https://roy.marples.name/git/dhcpcd.git"
830 - inherit git-r3
831 -else
832 - MY_P="${P/_alpha/-alpha}"
833 - MY_P="${MY_P/_beta/-beta}"
834 - MY_P="${MY_P/_rc/-rc}"
835 - SRC_URI="https://roy.marples.name/downloads/${PN}/${MY_P}.tar.xz"
836 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
837 - S="${WORKDIR}/${MY_P}"
838 -fi
839 -
840 -inherit eutils systemd toolchain-funcs
841 -
842 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
843 -HOMEPAGE="https://roy.marples.name/projects/dhcpcd"
844 -LICENSE="BSD-2"
845 -SLOT="0"
846 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
847 -
848 -COMMON_DEPEND="udev? ( virtual/udev )"
849 -DEPEND="${COMMON_DEPEND}"
850 -RDEPEND="${COMMON_DEPEND}"
851 -
852 -src_configure()
853 -{
854 - local dev hooks rundir
855 - use udev || dev="--without-dev --without-udev"
856 - hooks="--with-hook=ntp.conf"
857 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
858 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
859 - econf \
860 - --prefix="${EPREFIX}" \
861 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
862 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
863 - --localstatedir="${EPREFIX}/var" \
864 - ${rundir} \
865 - $(use_enable embedded) \
866 - $(use_enable ipv6) \
867 - ${dev} \
868 - CC="$(tc-getCC)" \
869 - ${hooks}
870 -}
871 -
872 -src_install()
873 -{
874 - default
875 - keepdir /var/lib/dhcpcd
876 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
877 - systemd_dounit "${FILESDIR}"/${PN}.service
878 -}
879 -
880 -pkg_postinst()
881 -{
882 - local dbdir="${EROOT%/}"/var/lib/dhcpcd old_files=
883 -
884 - local old_old_duid="${EROOT%/}"/var/lib/dhcpcd/dhcpcd.duid
885 - local old_duid="${EROOT%/}"/etc/dhcpcd.duid
886 - local new_duid="${dbdir}"/duid
887 - if [ -e "${old_old_duid}" ]; then
888 - # Upgrade the duid file to the new format if needed
889 - if ! grep -q '..:..:..:..:..:..' "${old_old_duid}"; then
890 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_old_duid}"
891 - fi
892 -
893 - # Move the duid to /etc, a more sensible location
894 - if [ ! -e "${old_duid}" ]; then
895 - cp -p "${old_old_duid}" "${new_duid}"
896 - fi
897 - old_files="${old_files} ${old_old_duid}"
898 - fi
899 -
900 - # dhcpcd-7 moves the files out of /etc
901 - if [ -e "${old_duid}" ]; then
902 - if [ ! -e "${new_duid}" ]; then
903 - cp -p "${old_duid}" "${new_duid}"
904 - fi
905 - old_files="${old_files} ${old_duid}"
906 - fi
907 - local old_secret="${EROOT%/}"/etc/dhcpcd.secret
908 - local new_secret="${dbdir}"/secret
909 - if [ -e "${old_secret}" ]; then
910 - if [ ! -e "${new_secret}" ]; then
911 - cp -p "${old_secret}" "${new_secret}"
912 - fi
913 - old_files="${old_files} ${old_secret}"
914 - fi
915 -
916 - # dhcpcd-7 renames some files in /var/lib/dhcpcd
917 - local old_rdm="${dbdir}"/dhcpcd-rdm.monotonic
918 - local new_rdm="${dbdir}"/rdm_monotonic
919 - if [ -e "${old_rdm}" ]; then
920 - if [ ! -e "${new_rdm}" ]; then
921 - cp -p "${old_rdm}" "${new_rdm}"
922 - fi
923 - old_files="${old_files} ${old_rdm}"
924 - fi
925 - local lease=
926 - for lease in "${dbdir}"/dhcpcd-*.lease*; do
927 - [ -f "$lease" ] || continue
928 - old_files="${old_files} ${lease}"
929 - local new_lease=$(basename "$lease" | sed -e "s/dhcpcd-//")
930 - [ -e "${dbdir}/${new_lease}" ] && continue
931 - cp "${lease}" "${dbdir}/${new_lease}"
932 - done
933 -
934 - # Warn about removing stale files
935 - if [ -n "${old_files}" ]; then
936 - elog
937 - elog "dhcpcd-7 has copied dhcpcd.duid and dhcpcd.secret from"
938 - elog "${EROOT%/}/etc to ${dbdir}"
939 - elog "and copied leases in ${dbdir} to new files with the dhcpcd-"
940 - elog "prefix dropped."
941 - elog
942 - elog "You should remove these files if you don't plan on reverting"
943 - elog "to an older version:"
944 - local old_file=
945 - for old_file in ${old_files}; do
946 - elog " ${old_file}"
947 - done
948 - fi
949 -
950 - if [ -z "$REPLACING_VERSIONS" ]; then
951 - elog
952 - elog "dhcpcd has zeroconf support active by default."
953 - elog "This means it will always obtain an IP address even if no"
954 - elog "DHCP server can be contacted, which will break any existing"
955 - elog "failover support you may have configured in your net configuration."
956 - elog "This behaviour can be controlled with the noipv4ll configuration"
957 - elog "file option or the -L command line switch."
958 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
959 -
960 - elog
961 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
962 - elog "with some dhcp servers. For more information, see"
963 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
964 - fi
965 -
966 - if ! has_version net-dns/bind-tools; then
967 - elog
968 - elog "If you activate the lookup-hostname hook to look up your hostname"
969 - elog "using the dns, you need to install net-dns/bind-tools."
970 - fi
971 -}