bump(net-misc/dhcpcd): sync with upstream

This commit is contained in:
mischief 2015-05-06 15:35:37 -07:00
parent b21e3d48a9
commit c6b351a426
25 changed files with 878 additions and 782 deletions

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=configure install postinst preinst prepare
DEPEND=virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=4
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=+zeroconf elibc_glibc
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
LICENSE=BSD-2
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-5.6.4.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=0df3bba447cdc8d906af34d6e41eee1b

View File

@ -4,10 +4,10 @@ DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc ipv6 kernel_linux +udev
KEYWORDS=~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.2.0.tar.bz2
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.4.3.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=73312326bdbcc4a609aefb343c887e09
_md5_=4e9b4e5cbee81d07602a7047b96559f6

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=udev? ( virtual/udev ) virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc ipv6 kernel_linux +udev
KEYWORDS=alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.4.7.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=9926b73f460efc4f1417fec729bb0e4b

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=udev? ( virtual/udev ) virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc ipv6 kernel_linux +udev
KEYWORDS=~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.6.7.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=25c6fd2a8eb19398fd64265b103dc16c

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=udev? ( virtual/udev ) virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc +embedded ipv6 kernel_linux +udev
KEYWORDS=~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.7.1.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=1c42db52576b5230a9a0d4adf00d20de

View File

@ -3,11 +3,11 @@ DEPEND=udev? ( virtual/udev ) virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc ipv6 kernel_linux +udev
IUSE=elibc_glibc +embedded ipv6 kernel_linux +udev
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.3.2.tar.bz2
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.8.1.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=ee4d43c2c2d60627726d0848da08b3e8
_md5_=fc950ed656c00769e07f84abddf0777c

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=udev? ( virtual/udev ) virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc +embedded ipv6 kernel_linux +udev
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
SRC_URI=http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.8.2.tar.bz2
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=e9d961ca4f435794b901180e3a763135

View File

@ -3,9 +3,9 @@ DEPEND=udev? ( virtual/udev ) dev-vcs/fossil virtual/pkgconfig
DESCRIPTION=A fully featured, yet light weight RFC2131 compliant DHCP client
EAPI=5
HOMEPAGE=http://roy.marples.name/projects/dhcpcd/
IUSE=elibc_glibc ipv6 kernel_linux +udev
IUSE=elibc_glibc +embedded ipv6 kernel_linux +udev
LICENSE=BSD-2
RDEPEND=udev? ( virtual/udev )
SLOT=0
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=93ac50418fc8fd4f09764ecca048ea46
_md5_=289c202f40f3af9666a4aaff7c16e061

View File

@ -1,6 +1,227 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.399 2014/04/20 23:21:06 williamh Exp $
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.455 2015/05/05 13:20:12 williamh Exp $
*dhcpcd-6.8.2 (05 May 2015)
05 May 2015; William Hubbs <williamh@gentoo.org> +dhcpcd-6.8.2.ebuild:
version bump
26 Apr 2015; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.6.7.ebuild:
ia64 stable wrt bug #538418
22 Apr 2015; Jeroen Roovers <jer@gentoo.org> dhcpcd-6.6.7.ebuild:
Stable for PPC64 (bug #538418).
17 Apr 2015; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.6.7.ebuild:
sparc stable wrt bug #538418
27 Mar 2015; William Hubbs <williamh@gentoo.org> -dhcpcd-6.4.5.ebuild,
-dhcpcd-6.5.0.ebuild, -dhcpcd-6.5.1.ebuild, -dhcpcd-6.6.6.ebuild:
remove unstable versions
*dhcpcd-6.8.1 (27 Mar 2015)
27 Mar 2015; William Hubbs <williamh@gentoo.org> +dhcpcd-6.8.1.ebuild:
version bump
02 Mar 2015; Agostino Sarubbo <ago@gentoo.org> dhcpcd-6.6.7.ebuild:
Stable for ppc, wrt bug #538418
28 Feb 2015; <tgall@gentoo.org> dhcpcd-6.7.1.ebuild:
stable on arm64
22 Feb 2015; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.6.7.ebuild:
x86 stable wrt bug #538418
17 Feb 2015; Markus Meier <maekke@gentoo.org> dhcpcd-6.6.7.ebuild:
arm stable, bug #538418
02 Feb 2015; Jeroen Roovers <jer@gentoo.org> dhcpcd-6.6.7.ebuild:
Stable for HPPA (bug #538418).
01 Feb 2015; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.6.7.ebuild:
amd64 stable wrt bug #538418
30 Jan 2015; William Hubbs <williamh@gentoo.org> dhcpcd-6.7.1.ebuild,
dhcpcd-9999.ebuild:
Add the embedded use flag for #535960.
*dhcpcd-6.7.1 (30 Jan 2015)
30 Jan 2015; Lars Wendler <polynomial-c@gentoo.org> -dhcpcd-6.6.0.ebuild,
-dhcpcd-6.6.1.ebuild, -dhcpcd-6.6.2.ebuild, -dhcpcd-6.6.4.ebuild,
-dhcpcd-6.6.5.ebuild, +dhcpcd-6.7.1.ebuild:
Version bump. Removed old.
10 Jan 2015; Tobias Klausmann <klausman@gentoo.org> dhcpcd-6.4.7.ebuild:
Stable on alpha, bug 523900
*dhcpcd-6.6.7 (06 Jan 2015)
06 Jan 2015; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.7.ebuild:
version bump
*dhcpcd-6.6.6 (18 Dec 2014)
18 Dec 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.6.ebuild:
version bump
*dhcpcd-6.6.5 (10 Dec 2014)
10 Dec 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.5.ebuild:
version bump
*dhcpcd-6.6.4 (29 Nov 2014)
29 Nov 2014; Jason Zaman <perfinon@gentoo.org> +dhcpcd-6.6.4.ebuild:
Version bump on behalf of rsmarples
*dhcpcd-6.6.2 (14 Nov 2014)
14 Nov 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.2.ebuild:
version bump
*dhcpcd-6.6.1 (07 Nov 2014)
07 Nov 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.1.ebuild:
version bump
*dhcpcd-6.6.0 (29 Oct 2014)
29 Oct 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.6.0.ebuild:
version bump
*dhcpcd-6.5.1 (17 Oct 2014)
17 Oct 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.5.1.ebuild:
version bump
10 Oct 2014; Markus Meier <maekke@gentoo.org> dhcpcd-6.4.7.ebuild:
arm stable, bug #523900
*dhcpcd-6.5.0 (06 Oct 2014)
06 Oct 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.5.0.ebuild:
version bump
28 Sep 2014; Jeroen Roovers <jer@gentoo.org> dhcpcd-6.4.7.ebuild:
Stable for HPPA (bug #523900).
28 Sep 2014; Agostino Sarubbo <ago@gentoo.org> dhcpcd-6.4.7.ebuild:
Stable for ppc64, wrt bug #523900
28 Sep 2014; Agostino Sarubbo <ago@gentoo.org> dhcpcd-6.4.7.ebuild:
Stable for ppc, wrt bug #523900
27 Sep 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.4.7.ebuild:
x86 stable wrt bug #523900
27 Sep 2014; William Hubbs <williamh@gentoo.org> dhcpcd-6.4.7.ebuild:
amd64 stable for bug #523900
*dhcpcd-6.4.7 (27 Sep 2014)
27 Sep 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.7.ebuild:
version bump
20 Sep 2014; William Hubbs <williamh@gentoo.org> dhcpcd-6.4.3.ebuild,
dhcpcd-6.4.5.ebuild, dhcpcd-9999.ebuild:
Pass the value of CC as an argument to configure instead of using tc-export.
20 Sep 2014; William Hubbs <williamh@gentoo.org> dhcpcd-6.4.3.ebuild,
dhcpcd-6.4.5.ebuild, dhcpcd-9999.ebuild:
make sure we use the correct compiler by running tc-export CC
*dhcpcd-6.4.5 (18 Sep 2014)
18 Sep 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.5.ebuild,
-dhcpcd-6.4.4-r1.ebuild, -files/dhcpcd-6.4.4-fix-ipv6.patch:
new upstream release
18 Sep 2014; William Hubbs <williamh@gentoo.org> -dhcpcd-6.4.4.ebuild:
remove old
*dhcpcd-6.4.4-r1 (18 Sep 2014)
18 Sep 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.4-r1.ebuild,
+files/dhcpcd-6.4.4-fix-ipv6.patch:
import upstream patch to fix ipv6 related segmentation fault for bug #523128
*dhcpcd-6.4.4 (16 Sep 2014)
16 Sep 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.4.ebuild:
version bump
11 Sep 2014; William Hubbs <williamh@gentoo.org>
+files/dhcpcd-6.4.3-uclibc-fix.patch, dhcpcd-6.4.3.ebuild:
Add build-time fix for uclibc for bug #522158, thanks to David Flogeras for
the patch; Roy suggested that I should use this one for 6.4.3 instead of what
he has added to upstream.
01 Aug 2014; William Hubbs <williamh@gentoo.org> -dhcpcd-5.6.4.ebuild,
-dhcpcd-6.2.0-r1.ebuild, -files/dhcpcd-6.2.0-dynamic-init.patch,
-files/dhcpcd-6.2.0-no_ipv6_fix.patch:
remove vulnerable versions wrt bug #518596
01 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.4.3.ebuild:
arm stable wrt bug #518596
01 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.4.3.ebuild:
sparc stable wrt bug #518596
01 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.4.3.ebuild:
ia64 stable wrt bug #518596
31 Jul 2014; Joseph Jezak <josejx@gentoo.org> dhcpcd-6.4.3.ebuild:
Marked ppc/ppc64 stable for bug #518596.
31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> dhcpcd-6.4.3.ebuild:
Stable on alpha, bug #518596
30 Jul 2014; Jeroen Roovers <jer@gentoo.org> dhcpcd-6.4.3.ebuild:
Stable for HPPA (bug #518596).
30 Jul 2014; William Hubbs <williamh@gentoo.org> -dhcpcd-6.4.2.ebuild:
remove unstable version
30 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.4.3.ebuild:
x86 stable wrt bug #518596
30 Jul 2014; William Hubbs <williamh@gentoo.org> dhcpcd-6.4.3.ebuild:
amd64 stable for bug #518596.
*dhcpcd-6.4.3 (30 Jul 2014)
30 Jul 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.3.ebuild:
version bump
14 Jul 2014; William Hubbs <williamh@gentoo.org> -dhcpcd-6.3.2.ebuild,
-dhcpcd-6.4.0.ebuild, -files/dhcpcd-6.3.2-fix-cc-setting.patch,
-files/dhcpcd-6.3.2-fix-host.patch, -files/dhcpcd-6.3.2-gettime-dlopen.patch:
remove old unstable versions
14 Jul 2014; William Hubbs <williamh@gentoo.org> dhcpcd-9999.ebuild:
sync live ebuild
*dhcpcd-6.4.2 (14 Jul 2014)
14 Jul 2014; William Hubbs <williamh@gentoo.org> +dhcpcd-6.4.2.ebuild:
version bump to fix compile errors, bug #516228.
05 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.2.0-r1.ebuild:
ppc64 stable wrt bug #499262
05 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> dhcpcd-6.2.0-r1.ebuild:
ia64 stable wrt bug #499262
05 Jul 2014; Tobias Klausmann <klausman@gentoo.org> dhcpcd-6.2.0-r1.ebuild:
Stable on alpha, bug #499262
*dhcpcd-6.4.0 (20 Jun 2014)
20 Jun 2014; William Hubbs <william@gentoo.org> +dhcpcd-6.4.0.ebuild:
version bump
20 Apr 2014; William Hubbs <williamh@gentoo.org>
+files/dhcpcd-6.3.2-fix-cc-setting.patch, +files/dhcpcd-6.3.2-fix-host.patch,

View File

@ -1,26 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX dhcpcd-6.2.0-dynamic-init.patch 6421 SHA256 5edeaf1322dab4dbc71efb4e7c4618561e606bdd2e71fb9230628c4208f35103 SHA512 e2aff69966c0fdd2b16bff1aef59e2c50068095a9afe8e9e634e1309e50d4c277734a2651078fc1bbac0b23a57187ecc46a557304e60b54e983aef65a8bfc84e WHIRLPOOL 6d9d97ce737b3cdbb41d608a4aebb1971ffd70c9fa08e3f0bc00c77ee15cef343fb0feed31a4bfeef0d8fd2be14deb6cbd70f1402f271170f849c073a4db4db3
AUX dhcpcd-6.2.0-no_ipv6_fix.patch 1269 SHA256 cd26e5d587a833d9826a86b2eae832c3ad371ce695b933ba8e03bdc1debf411d SHA512 90763d8a0d63949f53166609a702176217fce32a27125ef7f5c095d571d1a6a65fca5434e6ceded258773d80867a90609bc5af67727d7b06086c3a6b4ad8f632 WHIRLPOOL 9b3328e6db8304794ec2aeaec3cd883ed2cde975cda606ac2d3e03b3455a7fad495f88297f1cccea2a821972df2ee33bc88c2d3d57235d0cada2b443c1ba643f
AUX dhcpcd-6.3.2-fix-cc-setting.patch 2369 SHA256 52cf0e7af4f401004d9d52f138d4e215c4e7bedf2866128273d386b6e60e1406 SHA512 f80ca4bff961535f2701e78ae87fb7bc9ef44079cfb904a49fa3dc39818cdfa2a6ce6896c8b01721a6ce9f0dbfc930f9866ca0a7fcfbc2f3dc7c007b0ae837bf WHIRLPOOL 98579b8002868707fbfb7ab183de75dd54b9e72dd22ee305415c1b00a9e8c80d2d1001518b14eadbd367b1aff07f56e3dd2e829782f82983d15f451218fee8fe
AUX dhcpcd-6.3.2-fix-host.patch 1957 SHA256 4a292c09160802489b285261088146a48fa6b96aa93338c461ca06d448140ea9 SHA512 a1c550ec27f30cc8703663b8a5f5cf1950daad3c72c4a1aa5759ed04e54755515e1e7bb1f53a47653992d4fdc40981692d4280b0cd46d14c29d628f702d19744 WHIRLPOOL 8841efed908fff7b010010460e8342d7530406d94f174626650e812377e7330b61c60157aba3a8bf30cefba78a17cecb0e31dbb551f196af55a217ee5f7f1fb5
AUX dhcpcd-6.3.2-gettime-dlopen.patch 2347 SHA256 a801da20f1baf5b16847fb8998c58fe5c6ad39d383ed6d3343812f7df51b3dc7 SHA512 4196917bf17cf9847f70ecd6ee39ae8c7e65ee6eeedff79d5cbcc228937d47a2b807618202448feab423aab3ba60d7d5b6dbfc62d4e89e9846adf192cea2d787 WHIRLPOOL 781e37252b9388d3ad9d8a6958d24dbdefa12f91a4ab3f1580fa876559c9857359fa028bf6423a3d02be0445f154e833f55a11528dd30ae330ecc20c0fbf6c8b
AUX dhcpcd-6.4.3-uclibc-fix.patch 310 SHA256 6c78a9ae78a1701e28ac3fbfddb5c63cc464c7434bbf0701d1c7dcd726f0c1f8 SHA512 e3777c74a7a86462ca45e8a468f8d15a257c9744abc7b16cfcf2f2a33541972e1d024c64418a1f99109a1892dc754d7740776ad90bf094f934eff91e749ef618 WHIRLPOOL 99373c5625e49a74e84a563bdc3de43ef9eb156a9c90a1761e63c5d79b7a7d12a75fab28bbc6f57f153a265a33059d1fbe276a9657551b2a8c5800997019ac3b
AUX dhcpcd.initd 327 SHA256 72b42c9939fda3fb56666813513029ed36194c1708bddce06bcb3e131e547492 SHA512 0a188b67f0641a480ac6d3cf6a634dddc4b72b1b9b47df33b05fba5d802693dd88e0cece0bfe9b641009c03022c620595b1ce35cd53d5024ee87f4c81e9acf63 WHIRLPOOL b97b0cd52b52561e6726d5decd094a02dd046107b0647833f00635e3fc126ab9679b2a7f883f4d880c1221cdbd91b0b52efaaccfdfa44a5048cb28d47d022351
AUX dhcpcd.service 183 SHA256 06aaf350b11b1cea6ced9e2b5c69011e1daf6eb0ac9b2a9f2c9f81a9be31f463 SHA512 9d4c99e984906fc80fca7f7dd436d2f12dfebec870e19cbc3c03c14b394ed81c664403c0ca3f3e3138572c54d1278c1a43d5495f963b442b1bbef229248b1dd4 WHIRLPOOL 1176c2d763f55a65a97a973bdfa907dfaa2e9b88e93013d749c1a492e06382a7f42fa23eb2bfe86f6eaabea6c65c34db138b6bf600e6c522336ec2d07f7d7044
DIST dhcpcd-5.6.4.tar.bz2 85671 SHA256 4072999704585c16ac45458d459eb50186c3de91c3c14c3288896963cc30b594 SHA512 eb3892604b2f889b4f34835f4d8e0bb2d129f7d0d91da39760eeaf3f75883a6db0e1397ac65084a3ddc4a2968a389fc723e9f031a844ef5333451527be8cb7a2 WHIRLPOOL f8fba52a6f6d4e1822175069f6a636e83b09a1532bd258a4ec9b610e9eb196d35f1cfa0e855521f5d37edb840fb2dd4d46bffc8bf86ded0b205367711f4484ff
DIST dhcpcd-6.2.0.tar.bz2 121614 SHA256 16ef25e8b6b15dcc0e53ff97a131b09828723dffb12a885f0da91b275296b362 SHA512 bf9394aa23c1b2978ac4b3bad1c7774798e99b6d6b147f57b94b5c1fba7edf80ac769cb8cab7f66203ebc0e93f81d7a05a44dc52f08344b68e8141bbbf1c33a9 WHIRLPOOL bff258cd8a0d2eea14bbc8bac792d4ad69e36d72ffced448f6d6081750ec52d99cb3f1f0aaf1bca42135c2969b2c7defaafa7d0ce875b96db9bbf1277f6bd982
DIST dhcpcd-6.3.2.tar.bz2 136924 SHA256 b69c1ef06a92f327993ee1cc4cfd9145c296aa1ac6070ba2f9ac74931b2f55ec SHA512 fa5d3287e658064df39c426eaa960567d916dd8241be6b69315f5fa39bdf51c97fbd306222b3e062fa83ec54acd63481bac4c3f52a2f2e5e2a077c76e0bb4326 WHIRLPOOL f318061510a527a28ef6793ae262f09c1276ac96c72e4d49d217509b17baf53ffb9a11b8ceeecd7535d0274a87521090e5fd54c176bbf9f2622c1fd6d36436df
EBUILD dhcpcd-5.6.4.ebuild 3431 SHA256 0210e4b9dd27d8334eb4cb5781ba10de8c084aeef740ccddb7d8ff2a228c303d SHA512 a0834bc94a795f059244b59b7f8abbaab73cdb79339a1bf14b9f62a0c5c2efdcbdfae42659810413a1c6ef963d40ef8c9defbf354d53208935dc6e392b79908f WHIRLPOOL b981b64477e43075c004a81471ccea70f1a0faa14a38f8a6cc70829cec15225f35c69f726a8cc635e2fe5c88eaf69b127afe2678ece7f31292cfae47df211036
EBUILD dhcpcd-6.2.0-r1.ebuild 2964 SHA256 501cf08e4d24325a8f5d74abd5ea78b813c814a746253ebc399fc06e641e3e35 SHA512 cba3db39abcddace5e2a632151ec69455f65bd31402cd9a3baec65f56d3edda809341c54c3e83e49f3ffb0407b9d4742f190d5cadd21e02346e78d945eb05434 WHIRLPOOL a93c38313302f4453681ffa77fe94ec9f346f55b253fb135417681fcaa8909ba5d3a53192d41d562b538718e049184cb88fbd022bd8dd104db4e40f1d13aff20
EBUILD dhcpcd-6.3.2.ebuild 3471 SHA256 da98850800cf81b86ce482905b9d5aeeeaf2b7929d1e55e833f1a461729c6ad5 SHA512 01a52afedd6a3d31aacc25d5477f17b20342e2147b60454533716c345cda1029e96ce25c27b60d4083afda6630404cf3bef72ebab0fd130e11ff7dc6bff388dc WHIRLPOOL b1ef214731acf4c0c5601ded3c9e8850cd730724e4df74f08d3099895fcad646c1a4637c27ed9258bc61e4ca41119083f0fc84fc45fffabbc9d83016650925b5
EBUILD dhcpcd-9999.ebuild 3333 SHA256 3995da0eaaaf8fb7c79340a01dbfbf70e8459b2b30ad91856edc08a1d6a5b074 SHA512 4ca3b7aad47225d3a0a4e28baa70b34a5eb413aabcb1b8f510c699fe36d1aa6d621220334ed5190996dd216cd7897ca5e45666f4d583c337fdfdf8dda55a2062 WHIRLPOOL 8d167b02658ab7f2e808ed2778c03de340fb18e0a4130dce1b0200d62974b8f19300b8e8b68e7f9f25fc000525c57a5654ece9123ea82bccc1606fdc85d613d3
MISC ChangeLog 56285 SHA256 cb2878bb2052de6fa501430bdb309ffe283f183a99aa1d4e40311ab295f35810 SHA512 352d63a10864205bcf54c7f06cd5b7289e65b3cb8636ca173da54dd1e0b81fb70182e0c58858cc8b5fa74c712c8cfa3e8fbf4d802d3f5b32eaa992e84db9b595 WHIRLPOOL e053451bc755c8d113493aa3b54ed19739dd337cbb85e943fa8be6e84b4c08cd59a15e6b579ebe0b84bbc541572502439b34ab0035eb1c7f73b0b98cb65872c9
MISC metadata.xml 358 SHA256 d2755afa7df7488d44b4904fd1922746bd9ecae448fd73496600e03fd0938707 SHA512 a592a6368f8dc90795b2972fff1c79775de8739d214a4c4403f0528aa1caf993f6e10eb374cb1a38accc915b5cd26c7fac723a712c4570f8a71848d3d9854eac WHIRLPOOL 481a14009c01f31e40ee09d81c273adc1da21b45b5976167cbada8a774775679de5b8233d3effc3f043794cc9f78b7a1705eaa59de4829c150ebe786c46097a6
DIST dhcpcd-6.4.3.tar.bz2 149927 SHA256 36ad01619ee81ac3815467d0157c38a14f5db464371326e97f719be362d5ab9c SHA512 1dbc57b3fba001f7ed1d36a4efb611178db02aa2b83999b82de1a9c6fef62bc81d55dade83582fe2442469948a88f47e39edc0350f97866d5a8c6f468ae8d70d WHIRLPOOL 87b11e66b1bee81155d63e769bba9285396276da369240363de6eea9597580ab46d523a20b8148f22854ca6ceae8e942ec9b426c8647faae815be305ba679827
DIST dhcpcd-6.4.7.tar.bz2 155396 SHA256 bb0880968671436b2cf85dcda4d4cf9b9e25045a274832bf18e28534bb25e187 SHA512 cccf5ef0e025f56f87f530ddcf518f550bf3ffa662bc7514f4cedf92a6f01bdfd7d87d4e41cad3c41d1c99a307eda2e8663344ca403fc8c23043ef1fc0f0298a WHIRLPOOL 98c00ea889585a110c631344a06c1eb03430c36379e388f5ef86857ae21c17de5812f303ddf58c8f7e7be2bbd4af4b64aa842d541c84c124822024e35dc4d335
DIST dhcpcd-6.6.7.tar.bz2 158093 SHA256 43f93a0a536b93e26e4c7733582df7595d73aff9acfef298323e59dd8db8cdab SHA512 793e937ace790669f1e55d1974f11cfd4f4300f5ede2b31b8ac880ab316f47317a8256f40f87228d415653090873158a67a8ecd7eeefd9791475f1dcfadd01b6 WHIRLPOOL 55991f7112b9f0be9055fdbf7f38d3deb331ef05d39f23ac02b175d6ce128a68b279644c6015c80ab3484b996b30e451d5990eb6b23853daecb1bc808e09d550
DIST dhcpcd-6.7.1.tar.bz2 162396 SHA256 cb65d3e783fa5484ed095bb940c3274a5a91d3ed4a9d9ae66a49d9637165bd98 SHA512 24c6fa296a169f4a8146b346947067e542993c8cee914fca7ebfcb1923b8c9f0af4df21b9df38a6ea2b67f393544f46356a6650d435ed42beb4d3783013cb15c WHIRLPOOL 4d78f601a775b1c2bc9c288f68ff3a3f6129bb6e2c8ab04a53cbd9ab3dff8485cb42051e6bd76d66af1ac2d3a9a92b20fa1eefc77f1a8aab2756cdac70e2364f
DIST dhcpcd-6.8.1.tar.bz2 173030 SHA256 27b60cbf726a8319e6f1e7691132082c9cdac473317ea47cb093d0dd3d32af82 SHA512 b3ac554b40cfc3aa8c810f5579dd0c5f2c2aec870f142ac10b8a00cfd1c4934f171b12b5cc3197bf17761feba66e2ca463a9c2c3bb4e558e5bd1b033cebebae6 WHIRLPOOL a3a68c1bb8b12af657d7bb18ed37529b13b258d8afc07c84fa5e9a49b7469b450760be2c564b94192792f6bd9d73db514c130f62fab3935bf741bcda0b085469
DIST dhcpcd-6.8.2.tar.bz2 175355 SHA256 a72187fe1f31553264571720d47ebf919cf484f04c2fa974e57a10e16a505cb2 SHA512 cef488618c2bab398adb4b5021745ca9a8319067400604d087cb2c62142449adc40f25a14d90c87147c9412ffa1a85e6253374e98fea2de8024c94e3771e1c41 WHIRLPOOL c1464776cbccc96513ad544408ef9156f755fb3c81903536628c7b16bf18d8e373afe395e1137e998980e56585d571aa7abaac8820164d8f013e82c1ae8adc99
EBUILD dhcpcd-6.4.3.ebuild 3445 SHA256 ee9e740e2f7319d34f5ccdf2aff5a4b0f95f7c0009bb2ba731c8cf390a6f9b1a SHA512 5b68c33cc45e1765cd5d972f13f7bf7bcb4999d47948999c2322c7365782db79489eebcd6ce501496534ffc803fa092f3123bd2ea216d79dd7517ba00ad84ecf WHIRLPOOL 9acf74efd528158b11f68bcb846cc00e45a7f0f6de3bb495f494ecedfe2e17e3a5d8faecda921432f18105b601c3e7e84d96112b27e0fffbde80b2e64007dfac
EBUILD dhcpcd-6.4.7.ebuild 3402 SHA256 846101acbfc9663fd6fe8c265fc9b04469cf62c63c495ce6106cd791197cdcad SHA512 00fd515223af61c373e6346536e51494f7ea973093442de7dc9bdc525909f7fd018ea6bffa06f245e65773724195b1459a55cc17a9dcd10146d973ee40e1b6fb WHIRLPOOL 133179fb52ef93ea1701f3f5a3699bffdd7b303bb3c8c69b63b83a1f7b110632b99c683e135ef8a9d0272eeb10c8c33475358c0e9f35a21ef0d31f6190e54fcd
EBUILD dhcpcd-6.6.7.ebuild 3400 SHA256 26cd73d33725f4fc1f0c6db5b92c146f0d89d2edeb55addc13b8a3bbf087857e SHA512 fed93edd02b02b02ea833979688bf39e0b7e6a7c168a0f89c5be758b8d1118b43dfe1864b82b4e2117f57f63df4a2e736f7c96d2f041d057427bec01571f0bea WHIRLPOOL 3bb9524500321cc23c8cc80a93eb36561e58551db494ce0c494906fc5a64be158f5a95c971965a71ed635862fe879238d8b7de896b8d1273c0dfafe6391a34f6
EBUILD dhcpcd-6.7.1.ebuild 3442 SHA256 b364d1fba21ddec1c0599e939e351b6673c238eceab1374d9be82c4213a235d3 SHA512 5f16cc139ab8e4cbe73f05ab40830cd183a4ac0d49c77d1fc1acb59e645e4774484cfbe37bc54b9cb69066645476cc751cddb95f86b901b6c52a92c9651c5c61 WHIRLPOOL 38788b775640c13a5e73fcd9949deed0a73249f6f8c9cbab35bf9d6d9b2323e0a0cf2cc2d2f01cc9019e1f7c53f6e1730558dca213ad253881753be73aa63b78
EBUILD dhcpcd-6.8.1.ebuild 3446 SHA256 3eb866a839eb553cae8e6c190ac02f22987d51e81332de3c0d76d2a160b0111d SHA512 2350bad309f32383b224d6754c0e9b7b98dbc572926046d9b25df386ecf5d5c5308971e2f5240e0e801c96c70a6f633add7c0c209eb38da54b8583a60c143ae8 WHIRLPOOL 09e63cd6503ee140c69f6e6801efa5737f1e1645711497136b64300985a6d02f8ddb37d2429ac1baf050e7b3fd5476045ce8cbd381c8da2808c385715df4f52b
EBUILD dhcpcd-6.8.2.ebuild 3446 SHA256 c9824ab049a1c7fb215ed2dc262a594b93e9e22835e0e5b6a1cf42f9de6a85d7 SHA512 337b314b5b98da7e0b4e0696e0b2fc44108b873a8f4484dd15ab0bea5768d553c9da825ab7cbe2bdfca8bce5aff9d0b8f11a148d3c295e6d625a2c5d8fb69cf5 WHIRLPOOL a0734f91975be35c0a14b73244b7247e9d02b0adb1b8fb07140c80c125726454d71acb67337458e27eeafa0a35a6c74e6e5445c43ababfccbdd43eace6de9a8b
EBUILD dhcpcd-9999.ebuild 3446 SHA256 d34c08565121508ca1b0fa71705dc4850c820cee9c6a89a8726c7e9d2b0158e6 SHA512 e267c4a6aac40f72dfcae2a5118b247449fdc6613a8ed2338edafa7195537153ea05c23eefb64006636894ee815b6fdea8a7b3e6c6d87534e4827a813b31b493 WHIRLPOOL 5e19a1ec77667ce044f3fa97c11fd446e4de786d88110f5ec594ff0230be25788e67f028e90c4450d01c9054d272f8b950b194ce95da582e5ba512e44bd7ed8c
MISC ChangeLog 63394 SHA256 7f2ecbed1105ef3a748e2185ea38594fec57535bd08cbd82e274aef52ff8d31b SHA512 0296678195c89dc251a98a7549ac542c53c0370ccc8ffa36975331a25e1cc35a2eda07fdcad0a2fcaad40b2a3dd0c3704a88a531d7a0d0848e637e59b8f58695 WHIRLPOOL c23bda22c0fcd772e525018163fa9c0ba315f6c489061800ae1964a85d53d4a85d029d2d2adbea9f2050ac2570d8bdb7f90bc9a1cdeb2cbd7c8f9a3924dc5ee3
MISC metadata.xml 467 SHA256 91b68a773dadc21672f7caea36dea4881b2345bd181df980deedd2fa109da021 SHA512 0f693eda66de5e8b4deecdaa722a9dfeb4b528a665b5488bb5d4a3a002094de0be1f9e48378051040174e98d884327d936d3191fa13a4263ddd19f1ed088bc06 WHIRLPOOL ced605f59979086352451940b6d8517efa7cafb9b080369bd8237f3b418e4bdfae3d4cd9c6f7ce051a4f906e09f0fc3777cee65ffbae5bcdadf638fc1c422c2d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Version: GnuPG v2
iEYEAREIAAYFAlNUVmYACgkQblQW9DDEZThDfACeMLDrmuC3vdJj+ntnH3rBC5g9
WLMAn0BhDpjgQg/u96hRrWxVlx6KPoLS
=QCqG
iEYEAREIAAYFAlVIw5cACgkQblQW9DDEZTiXUACgu3tXN/x3t165cOTWk0zCYtCP
E5gAoKrFZapiTXbM3d5Sly4gjZ7UaePu
=DJY6
-----END PGP SIGNATURE-----

View File

@ -1,104 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.6.4.ebuild,v 1.9 2014/01/18 10:25:23 vapier Exp $
EAPI=4
inherit eutils systemd
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
LICENSE="BSD-2"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="+zeroconf elibc_glibc"
DEPEND=""
RDEPEND=""
src_prepare() {
epatch_user
if ! use zeroconf; then
elog "Disabling zeroconf support"
{
echo
echo "# dhcpcd ebuild requested no zeroconf"
echo "noipv4ll"
} >> dhcpcd.conf
fi
}
src_configure() {
local hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${hooks}
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_preinst() {
has_version 'net-misc/dhcpcd[zeroconf]' && prev_zero=true || prev_zero=false
}
pkg_postinst() {
# Upgrade the duid file to the new format if needed
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
local new_duid="${ROOT}"/etc/dhcpcd.duid
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
fi
# Move the duid to /etc, a more sensible location
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
cp -p "${old_duid}" "${new_duid}"
fi
if use zeroconf && ! $prev_zero; then
elog "You have installed dhcpcd with zeroconf support."
elog "This means that it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the -L flag."
elog "See the dhcpcd man page for more details."
fi
elog
elog "Users upgrading from 4.0 series should pay attention to removal"
elog "of compat useflag. This changes behavior of dhcp in wide manner:"
elog "dhcpcd no longer sends a default ClientID for ethernet interfaces."
elog "This is so we can re-use the address the kernel DHCP client found."
elog "To retain the old behaviour of sending a default ClientID based on the"
elog "hardware address for interface, simply add the keyword clientid"
elog "to dhcpcd.conf or use commandline parameter -I ''"
elog
elog "Also, users upgrading from 4.0 series should be aware that"
elog "the -N, -R and -Y command line options no longer exist."
elog "These are controled now by nohook options in dhcpcd.conf."
# Mea culpa, feel free to remove that after some time --mgorny.
if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${PN}.service ]]
then
ebegin "Moving ${PN}.service to multi-user.target"
mv "${ROOT}"/etc/systemd/system/network.target.wants/${PN}.service \
"${ROOT}"/etc/systemd/system/multi-user.target.wants/
eend ${?} \
"Please try to re-enable dhcpcd.service"
fi
}

View File

@ -1,22 +1,21 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.2.0-r1.ebuild,v 1.8 2014/04/06 14:41:57 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.4.3.ebuild,v 1.12 2014/09/20 16:44:51 williamh Exp $
EAPI=5
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://roy.marples.name/${PN}.git"
inherit git-r3
FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
else
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi
inherit eutils systemd
inherit eutils systemd toolchain-funcs
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
@ -28,10 +27,32 @@ COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
if [[ ${PV} == "9999" ]]; then
DEPEND+=" dev-vcs/fossil"
src_unpack()
{
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
local repo=${distdir}/fossil/${PN}.fossil
addwrite "${distdir}"
if [[ -e "${repo}" ]]; then
fossil pull "${FOSSIL_URI}" -R "${repo}" || die
else
mkdir -p "${distdir}/fossil" || die
fossil clone "${FOSSIL_URI}" "${repo}" || die
fi
mkdir -p "${S}" || die
cd "${S}" || die
fossil open "${repo}" || die
}
fi
src_prepare()
{
epatch "${FILESDIR}/${P}-dynamic-init.patch" #496870
epatch "${FILESDIR}/${P}-no_ipv6_fix.patch" #497098
epatch "${FILESDIR}"/${P}-uclibc-fix.patch
epatch_user
}
@ -50,6 +71,7 @@ src_configure()
${rundir} \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
@ -74,19 +96,21 @@ pkg_postinst()
cp -p "${old_duid}" "${new_duid}"
fi
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog

View File

@ -0,0 +1,119 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.4.7.ebuild,v 1.8 2015/01/10 21:06:54 klausman Exp $
EAPI=5
if [[ ${PV} == "9999" ]]; then
FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
else
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi
inherit eutils systemd toolchain-funcs
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
if [[ ${PV} == "9999" ]]; then
DEPEND+=" dev-vcs/fossil"
src_unpack()
{
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
local repo=${distdir}/fossil/${PN}.fossil
addwrite "${distdir}"
if [[ -e "${repo}" ]]; then
fossil pull "${FOSSIL_URI}" -R "${repo}" || die
else
mkdir -p "${distdir}/fossil" || die
fossil clone "${FOSSIL_URI}" "${repo}" || die
fi
mkdir -p "${S}" || die
cd "${S}" || die
fossil open "${repo}" || die
}
fi
src_prepare()
{
epatch_user
}
src_configure()
{
local dev hooks rundir
use udev || dev="--without-dev --without-udev"
hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
use kernel_linux && rundir="--rundir=${EPREFIX}/run"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
src_install()
{
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst()
{
# Upgrade the duid file to the new format if needed
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
local new_duid="${ROOT}"/etc/dhcpcd.duid
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
fi
# Move the duid to /etc, a more sensible location
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
cp -p "${old_duid}" "${new_duid}"
fi
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog
elog "If you activate the lookup-hostname hook to look up your hostname"
elog "using the dns, you need to install net-dns/bind-tools."
fi
}

View File

@ -0,0 +1,119 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.6.7.ebuild,v 1.9 2015/04/26 19:17:11 zlogene Exp $
EAPI=5
if [[ ${PV} == "9999" ]]; then
FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
else
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi
inherit eutils systemd toolchain-funcs
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
if [[ ${PV} == "9999" ]]; then
DEPEND+=" dev-vcs/fossil"
src_unpack()
{
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
local repo=${distdir}/fossil/${PN}.fossil
addwrite "${distdir}"
if [[ -e "${repo}" ]]; then
fossil pull "${FOSSIL_URI}" -R "${repo}" || die
else
mkdir -p "${distdir}/fossil" || die
fossil clone "${FOSSIL_URI}" "${repo}" || die
fi
mkdir -p "${S}" || die
cd "${S}" || die
fossil open "${repo}" || die
}
fi
src_prepare()
{
epatch_user
}
src_configure()
{
local dev hooks rundir
use udev || dev="--without-dev --without-udev"
hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
use kernel_linux && rundir="--rundir=${EPREFIX}/run"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
src_install()
{
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst()
{
# Upgrade the duid file to the new format if needed
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
local new_duid="${ROOT}"/etc/dhcpcd.duid
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
fi
# Move the duid to /etc, a more sensible location
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
cp -p "${old_duid}" "${new_duid}"
fi
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog
elog "If you activate the lookup-hostname hook to look up your hostname"
elog "using the dns, you need to install net-dns/bind-tools."
fi
}

View File

@ -0,0 +1,120 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.7.1.ebuild,v 1.3 2015/02/28 21:53:34 tgall Exp $
EAPI=5
if [[ ${PV} == "9999" ]]; then
FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
else
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi
inherit eutils systemd toolchain-funcs
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
if [[ ${PV} == "9999" ]]; then
DEPEND+=" dev-vcs/fossil"
src_unpack()
{
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
local repo=${distdir}/fossil/${PN}.fossil
addwrite "${distdir}"
if [[ -e "${repo}" ]]; then
fossil pull "${FOSSIL_URI}" -R "${repo}" || die
else
mkdir -p "${distdir}/fossil" || die
fossil clone "${FOSSIL_URI}" "${repo}" || die
fi
mkdir -p "${S}" || die
cd "${S}" || die
fossil open "${repo}" || die
}
fi
src_prepare()
{
epatch_user
}
src_configure()
{
local dev hooks rundir
use udev || dev="--without-dev --without-udev"
hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
use kernel_linux && rundir="--rundir=${EPREFIX}/run"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable embedded) \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
src_install()
{
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst()
{
# Upgrade the duid file to the new format if needed
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
local new_duid="${ROOT}"/etc/dhcpcd.duid
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
fi
# Move the duid to /etc, a more sensible location
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
cp -p "${old_duid}" "${new_duid}"
fi
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog
elog "If you activate the lookup-hostname hook to look up your hostname"
elog "using the dns, you need to install net-dns/bind-tools."
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.3.2.ebuild,v 1.2 2014/04/20 23:21:06 williamh Exp $
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.8.1.ebuild,v 1.1 2015/03/27 15:42:51 williamh Exp $
EAPI=5
@ -21,7 +21,7 @@ DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc ipv6 kernel_linux +udev"
IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
@ -52,9 +52,6 @@ fi
src_prepare()
{
epatch "${FILESDIR}"/${P}-gettime-dlopen.patch
epatch "${FILESDIR}"/${P}-fix-cc-setting.patch
epatch "${FILESDIR}"/${P}-fix-host.patch
epatch_user
}
@ -71,8 +68,10 @@ src_configure()
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable embedded) \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
@ -97,19 +96,21 @@ pkg_postinst()
cp -p "${old_duid}" "${new_duid}"
fi
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog

View File

@ -0,0 +1,120 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.8.2.ebuild,v 1.1 2015/05/05 13:20:12 williamh Exp $
EAPI=5
if [[ ${PV} == "9999" ]]; then
FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
else
MY_P="${P/_alpha/-alpha}"
MY_P="${MY_P/_beta/-beta}"
MY_P="${MY_P/_rc/-rc}"
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi
inherit eutils systemd toolchain-funcs
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
if [[ ${PV} == "9999" ]]; then
DEPEND+=" dev-vcs/fossil"
src_unpack()
{
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
local repo=${distdir}/fossil/${PN}.fossil
addwrite "${distdir}"
if [[ -e "${repo}" ]]; then
fossil pull "${FOSSIL_URI}" -R "${repo}" || die
else
mkdir -p "${distdir}/fossil" || die
fossil clone "${FOSSIL_URI}" "${repo}" || die
fi
mkdir -p "${S}" || die
cd "${S}" || die
fossil open "${repo}" || die
}
fi
src_prepare()
{
epatch_user
}
src_configure()
{
local dev hooks rundir
use udev || dev="--without-dev --without-udev"
hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
use kernel_linux && rundir="--rundir=${EPREFIX}/run"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable embedded) \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
src_install()
{
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst()
{
# Upgrade the duid file to the new format if needed
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
local new_duid="${ROOT}"/etc/dhcpcd.duid
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
fi
# Move the duid to /etc, a more sensible location
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
cp -p "${old_duid}" "${new_duid}"
fi
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog
elog "If you activate the lookup-hostname hook to look up your hostname"
elog "using the dns, you need to install net-dns/bind-tools."
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-9999.ebuild,v 1.14 2014/03/24 04:43:33 williamh Exp $
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-9999.ebuild,v 1.18 2015/01/30 18:18:34 williamh Exp $
EAPI=5
@ -21,7 +21,7 @@ DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
IUSE="elibc_glibc ipv6 kernel_linux +udev"
IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
@ -68,8 +68,10 @@ src_configure()
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
${rundir} \
$(use_enable embedded) \
$(use_enable ipv6) \
${dev} \
CC="$(tc-getCC)" \
${hooks}
}
@ -94,19 +96,21 @@ pkg_postinst()
cp -p "${old_duid}" "${new_duid}"
fi
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
if [ -z "$REPLACING_VERSIONS" ]; then
elog
elog "dhcpcd has zeroconf support active by default."
elog "This means it will always obtain an IP address even if no"
elog "DHCP server can be contacted, which will break any existing"
elog "failover support you may have configured in your net configuration."
elog "This behaviour can be controlled with the noipv4ll configuration"
elog "file option or the -L command line switch."
elog "See the dhcpcd and dhcpcd.conf man pages for more details."
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
elog
elog "Dhcpcd has duid enabled by default, and this may cause issues"
elog "with some dhcp servers. For more information, see"
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
fi
if ! has_version net-dns/bind-tools; then
elog

View File

@ -1,242 +0,0 @@
Index: configure
==================================================================
--- configure
+++ configure
@@ -681,94 +681,27 @@
echo "SRCS+= dev.c" >>$CONFIG_MK
echo "CPPFLAGS+= -DPLUGIN_DEV" >>$CONFIG_MK
echo "MKDIRS+= dev" >>$CONFIG_MK
fi
-if [ -z "$SERVICECMD" ]; then
- printf "Checking for OpenRC ... "
- if [ -x /sbin/rc-service ]; then
- SERVICEEXISTS="/sbin/rc-service -e \$1"
- SERVICECMD="/sbin/rc-service \$1 -- -D \$2"
- echo "yes"
- else
- echo "no"
- fi
-fi
-if [ -z "$SERVICECMD" ]; then
- printf "Checking for invoke-rc.d ... "
- if [ -x /usr/sbin/invoke-rc.d ]; then
- SERVICEEXISTS="/usr/sbin/invoke-rc.d --query --quiet \$1 start >/dev/null 2>&1 || [ \$? = 104 ]"
- SERVICECMD="/usr/sbin/invoke-rc.d \$1 \$2"
- echo "yes"
- else
- echo "no"
- fi
-fi
-if [ -z "$SERVICECMD" ]; then
- printf "Checking for service ... "
- if [ -x /sbin/service ]; then
- SERVICEEXISTS="/sbin/service \$1 >/dev/null 2>&1"
- SERVICECMD="/sbin/service \$1 \$2"
- echo "yes"
- else
- echo "no"
- fi
-fi
-if [ -z "$SERVICECMD" ]; then
- printf "Checking for Slackware ... "
- if [ -e /etc/slackware-version -a -d /etc/rc.d ]; then
- SERVICEEXISTS="[ -x /etc/rc.d/rc.\$1 ]"
- SERVICECMD="/etc/rc.d/rc.\$1 \$2"
- SERVICESTATUS="/etc/rc.d/rc.\$1 status 1>/dev/null 2>&1"
- echo "yes"
- else
- echo "no"
- fi
-fi
-if [ -z "$SERVICECMD" ]; then
- for x in /etc/init.d/rc.d /etc/rc.d /etc/init.d; do
- printf "Checking for $x ... "
- if [ -d $x ]; then
- SERVICEEXISTS="[ -x $x/\$1 ]"
- SERVICECMD="$x/\$1 \$2"
- echo "yes"
- break
- else
- echo "no"
- fi
- done
-fi
-if [ -e /etc/arch-release ]; then
- echo "Overriding service status check for Arch Linux"
- SERVICESTATUS="[ -e /var/run/daemons/\$1 ]"
-fi
-
-if [ -z "$SERVICEEXISTS" -o -z "$SERVICECMD" ]; then
- echo "$0: WARNING: No means of interacting with system services detected!"
- SERVICEEXISTS="return 1"
- SERVICECMD="return 1"
-fi
-if [ -z "$SERVICESTATUS" ]; then
- SERVICESTATUS="service_command \$1 status >/dev/null 2>&1"
-fi
# Transform for a make file
SERVICEEXISTS=$(echo "$SERVICEEXISTS" | $SED \
-e 's:\\:\\\\:g' \
-e 's:\&:\\\&:g' \
- -e 's:\$:\$\$:g' \
+ -e 's:\$:\\\\\$\$:g' \
)
echo "SERVICEEXISTS= $SERVICEEXISTS" >>config.mk
SERVICECMD=$(echo "$SERVICECMD" | $SED \
-e 's:\\:\\\\:g' \
-e 's:\&:\\\&:g' \
- -e 's:\$:\$\$:g' \
+ -e 's:\$:\\\\\$\$:g' \
)
echo "SERVICECMD= $SERVICECMD" >>config.mk
SERVICESTATUS=$(echo "$SERVICESTATUS" | $SED \
-e 's:\\:\\\\:g' \
-e 's:\&:\\\&:g' \
- -e 's:\$:\$\$:g' \
+ -e 's:\$:\\\\\$\$:g' \
)
echo "SERVICESTATUS= $SERVICESTATUS" >>config.mk
HOOKS=
if ! $HOOKSET; then
Index: dhcpcd-run-hooks.in
==================================================================
--- dhcpcd-run-hooks.in
+++ dhcpcd-run-hooks.in
@@ -16,10 +16,11 @@
signature_base="# Generated by dhcpcd"
signature="$signature_base $from $ifname"
signature_base_end="# End of dhcpcd"
signature_end="$signature_base_end $from $ifname"
state_dir=@RUNDIR@/dhcpcd
+_detected_init=false
: ${if_up:=false}
: ${if_down:=false}
# Ensure that all arguments are unique
@@ -190,36 +191,118 @@
case "$@" in
*[![:alnum:]#%+-_:\.,@~\\/\[\]=\ ]*) return 1;;
esac
return 0
}
+
+# With the advent of alternative init systems, it's possible to have
+# more than one installed. So we need to try and guess what one we're
+# using unless overriden by configure.
+detect_init()
+{
+ _service_exists="@SERVICEEXISTS@"
+ _service_cmd="@SERVICECMD@"
+ _service_status="@SERVICESTATUS@"
+
+ [ -n "$_service_cmd" ] && return 0
+
+ if ${_detected_init}; then
+ [ -n "$_service_cmd" ]
+ return $?
+ fi
+
+ # Detect the running init system.
+ # As systemd and OpenRC can be installed on top of legacy init
+ # systems we try to detect them first.
+ _service_status=
+ if [ -x /bin/systemctl -a -S /run/systemd/private ]; then
+ _service_exists="/bin/systemctl --quiet is-enabled \$1.service"
+ _service_status="/bin/systemctl --quiet is-active \$1.service"
+ _service_cmd="/bin/systemctl \$2 \$1.service"
+ elif [ -x /usr/bin/systemctl -a -S /run/systemd/private ]; then
+ _service_exists="/usr/bin/systemctl --quiet is-enabled \$1.service"
+ _service_status="/usr/bin/systemctl --quiet is-active \$1.service"
+ _service_cmd="/usr/bin/systemctl \$2 \$1.service"
+ elif [ -x /sbin/rc-service -a \
+ -s /libexec/rc/init.d/softlevel -o -s /run/openrc/softlevel ]
+ then
+ _service_exists="/sbin/rc-service -e \$1"
+ _service_cmd="/sbin/rc-service \$1 -- -D \$2"
+ elif [ -x /usr/sbin/invoke-rc.d ]; then
+ _service_exists="/usr/sbin/invoke-rc.d --query --quiet \$1 start >/dev/null 2>&1 || [ \$? = 104 ]"
+ _service_cmd="/usr/sbin/invoke-rc.d \$1 \$2"
+ elif [ -x /sbin/service ]; then
+ _service_exists="/sbin/service \$1 >/dev/null 2>&1"
+ _service_cmd="/sbin/service \$1 \$2"
+ elif [ -e /etc/slackware-version -a -d /etc/rc.d ]; then
+ _service_exists="[ -x /etc/rc.d/rc.\$1 ]"
+ _service_cmd="/etc/rc.d/rc.\$1 \$2"
+ _service_status="/etc/rc.d/rc.\$1 status 1>/dev/null 2>&1"
+ else
+ for x in /etc/init.d/rc.d /etc/rc.d /etc/init.d; do
+ if [ -d $x ]; then
+ _service_exists="[ -x $x/\$1 ]"
+ _service_cmd="$x/\$1 \$2"
+ break
+ fi
+ done
+ if [ -e /etc/arch-release ]; then
+ _service_status="[ -e /var/run/daemons/\$1 ]"
+ fi
+ fi
+
+ _detected_init=true
+ if [ -z "$_service_cmd" ]; then
+ syslog err "could not detect a useable init system"
+ return 1
+ fi
+ return 0
+}
# Check a system service exists
service_exists()
{
- @SERVICEEXISTS@
+
+ if [ -z "$_service_exists" ]; then
+ detect_init || return 1
+ fi
+ eval $_service_exists
}
# Send a command to a system service
service_cmd()
{
- @SERVICECMD@
+
+ if [ -z "$_service_cmd" ]; then
+ detect_init || return 1
+ fi
+ eval $_service_cmd
}
# Send a command to a system service if it is running
service_status()
{
- @SERVICESTATUS@
+
+ if [ -z "$_service_cmd" ]; then
+ detect_init || return 1
+ fi
+ if [ -n "$_service_status" ]; then
+ eval $_service_status
+ else
+ service_command $1 status >/dev/null 2>&1
+ fi
}
# Handy macros for our hooks
service_command()
{
+
service_exists $1 && service_cmd $1 $2
}
service_condcommand()
{
+
service_exists $1 && service_status $1 && service_cmd $1 $2
}
# We source each script into this one so that scripts run earlier can
# remove variables from the environment so later scripts don't see them.

View File

@ -1,57 +0,0 @@
Index: dhcp-common.c
==================================================================
--- dhcp-common.c
+++ dhcp-common.c
@@ -349,14 +349,20 @@
else
/* If we don't know the size, assume it's valid */
return dl;
return (dl < sz ? 0 : sz);
}
+
+#ifdef INET6
+#define PO_IFNAME
+#else
+#define PO_IFNAME __unused
+#endif
ssize_t
print_option(char *s, ssize_t len, int type, int dl, const uint8_t *data,
- const char *ifname)
+ PO_IFNAME const char *ifname)
{
const uint8_t *e, *t;
uint16_t u16;
int16_t s16;
uint32_t u32;
Index: if-options.c
==================================================================
--- if-options.c
+++ if-options.c
@@ -1550,10 +1550,11 @@
char *buf;
const char **e;
size_t buflen, ol;
#endif
#if !defined(INET) || !defined(INET6)
+ size_t i;
struct dhcp_opt *opt;
#endif
/* Seed our default options */
ifo = calloc(1, sizeof(*ifo));
@@ -1667,11 +1668,11 @@
#ifdef INET6
dhcp6_opts = ifo->dhcp6_override;
dhcp6_opts_len = ifo->dhcp6_override_len;
#else
for (i = 0, opt = ifo->dhcp6_override;
- i < ifo->dhcp_override6_len;
+ i < ifo->dhcp6_override_len;
i++, opt++)
free_dhcp_opt_embenc(opt);
free(ifo->dhcp6_override);
#endif
ifo->dhcp6_override = NULL;

View File

@ -1,109 +0,0 @@
Index: configure
==================================================================
--- configure
+++ configure
@@ -14,10 +14,11 @@
UDEV=
OS=
BUILD=
HOST=
TARGET=
+TARGETCC=
DEBUG=
FORK=
STATIC=
INCLUDEDIR=
DEVS=
@@ -49,10 +50,11 @@
--statedir|--localstatedir) STATEDIR=$var;;
--dbdir) DBDIR=$var;;
--rundir) RUNDIR=$var;;
--mandir) MANDIR=$var;;
--with-ccopts|CFLAGS) CFLAGS=$var;;
+ CC) CC=$var;;
CPPFLAGS) CPPFLAGS=$var;;
--with-hook) HOOKSCRIPTS="$HOOKSCRIPTS${HOOKSCRIPTS:+ }$var";;
--with-hooks|HOOKSCRIPTS) HOOKSCRIPTS=$var; HOOKSET=true;;
--build) BUILD=$var;;
--host) HOST=$var;;
@@ -186,17 +188,19 @@
CONFIG_MK=config.mk
if [ -z "$BUILD" ]; then
# autoconf target triplet: cpu-vendor-os
BUILD=$(uname -m)-unknown-$(uname -s | tr '[:upper:]' '[:lower:]')
+else
+ TARGETCC=$BUILD-
fi
-if [ -z "$HOST" ]; then
- [ -z "$TARGET" ] && TARGET=$BUILD
- HOST=$TARGET
-fi
-if [ -z "$TARGET" ]; then
- [ -z "$HOST" ] && HOST=$BUILD
+if [ -n "$TARGET" ]; then
+ TARGETCC=$TARGET-
+elif [ -n "$HOST" ]; then
+ TARGET=$HOST
+else
+ HOST=$BUILD
TARGET=$HOST
fi
if [ -z "$OS" ]; then
echo "Deriving operating system from ... $TARGET"
@@ -243,20 +247,37 @@
echo "#define $x$t \"$v\"" >>$CONFIG_H
done
echo "LIBDIR= $LIBDIR" >>$CONFIG_MK
echo "MANDIR= $MANDIR" >>$CONFIG_MK
-: ${CC:=cc}
+# Always obey CC.
+# However, if CC is not specified and we are given GNU style
+# --host or --build targets the expectation is we try and match that
+# to a compiler.
+if [ -n "$CC" ]; then
+ TARGETCC=
+else
+ CC=cc
+ _COMPILERS="cc clang gcc pcc icc"
+fi
+if [ -n "$TARGETCC" ]; then
+ for _CC in $_COMPILERS; do
+ _CC=$(_which "$TARGETCC$_CC")
+ if [ -x "$_CC" ]; then
+ CC=$_CC
+ break
+ fi
+ done
+fi
if ! type "$CC" >/dev/null 2>&1; then
- for _CC in clang gcc pcc icc; do
+ for _CC in $_COMPILERS; do
_CC=$(_which "$_CC")
if [ -x "$_CC" ]; then
CC=$_CC
break
fi
done
-
fi
echo "Using compiler .. $CC"
if ! type "$CC" >/dev/null 2>&1; then
echo "$CC is not an executable"
@@ -415,11 +436,11 @@
else
echo "no"
echo "libc support for clock_getttime is required - aborting" >&2
abort=true
fi
-rm -f _clock_gettime.c _clockgettime
+rm -f _clock_gettime.c _clock_gettime
$abort && exit 1
if [ -z "$ARC4RANDOM" ]; then
printf "Testing for arc4random ... "
cat <<EOF >_arc4random.c

View File

@ -1,88 +0,0 @@
Index: configure
==================================================================
--- configure
+++ configure
@@ -11,14 +11,13 @@
CLOSEFROM=
GETLINE=
STRLCPY=
UDEV=
OS=
-BUILD=
+BUILDCC=
HOST=
TARGET=
-TARGETCC=
DEBUG=
FORK=
STATIC=
INCLUDEDIR=
DEVS=
@@ -55,11 +54,11 @@
CC) CC=$var;;
CPPFLAGS) CPPFLAGS=$var;;
--with-hook) HOOKSCRIPTS="$HOOKSCRIPTS${HOOKSCRIPTS:+ }$var";;
--with-hooks|HOOKSCRIPTS) HOOKSCRIPTS=$var; HOOKSET=true;;
--build) BUILD=$var;;
- --host) HOST=$var;;
+ --host) HOST=$var; HOSTCC=$var-;;
--target) TARGET=$var;;
--libdir) LIBDIR=$var;;
--without-arc4random) ARC4RANDOM=no;;
--without-closefrom) CLOSEFROM=no;;
--without-getline) GETLINE=no;;
@@ -188,27 +187,18 @@
CONFIG_MK=config.mk
if [ -z "$BUILD" ]; then
# autoconf target triplet: cpu-vendor-os
BUILD=$(uname -m)-unknown-$(uname -s | tr '[:upper:]' '[:lower:]')
-else
- TARGETCC=$BUILD-
fi
-if [ -n "$TARGET" ]; then
- TARGETCC=$TARGET-
-elif [ -n "$HOST" ]; then
- TARGET=$HOST
-else
- HOST=$BUILD
- TARGET=$HOST
-fi
+: ${HOST:=$BUILD}
if [ -z "$OS" ]; then
- echo "Deriving operating system from ... $TARGET"
+ echo "Deriving operating system from ... $HOST"
# Derive OS from cpu-vendor-[kernel-]os
- CPU=${TARGET%%-*}
- REST=${TARGET#*-}
+ CPU=${HOST%%-*}
+ REST=${HOST#*-}
if [ "$CPU" != "$REST" ]; then
VENDOR=${REST%%-*}
REST=${REST#*-}
if [ "$VENDOR" != "$REST" ]; then
# Use kernel if given, otherwise os
@@ -252,18 +242,18 @@
# Always obey CC.
# However, if CC is not specified and we are given GNU style
# --host or --build targets the expectation is we try and match that
# to a compiler.
if [ -n "$CC" ]; then
- TARGETCC=
+ HOSTCC=
else
CC=cc
_COMPILERS="cc clang gcc pcc icc"
fi
-if [ -n "$TARGETCC" ]; then
+if [ -n "$HOSTCC" ]; then
for _CC in $_COMPILERS; do
- _CC=$(_which "$TARGETCC$_CC")
+ _CC=$(_which "$HOSTCC$_CC")
if [ -x "$_CC" ]; then
CC=$_CC
break
fi
done

View File

@ -1,90 +0,0 @@
Index: configure
==================================================================
--- configure
+++ configure
@@ -338,20 +338,18 @@
if [ -z "$INET" -o "$INET" = yes ]; then
echo "DHCPCD_SRCS+= lpf.c" >>$CONFIG_MK
fi
echo "DHCPCD_SRCS+= if-linux.c if-linux-wireless.c" >>$CONFIG_MK
echo "DHCPCD_SRCS+= platform-linux.c" >>$CONFIG_MK
- echo "LDADD+= -lrt -ldl" >>$CONFIG_MK
;;
kfreebsd*)
echo "CPPFLAGS+= -D_GNU_SOURCE" >>$CONFIG_MK
if [ -z "$INET" -o "$INET" = yes ]; then
echo "DHCPCD_SRCS+= bpf.c" >>$CONFIG_MK
fi
echo "DHCPCD_SRCS+= if-bsd.c platform-bsd.c" >>$CONFIG_MK
echo "COMPAT_SRCS+= compat/linkaddr.c" >>$CONFIG_MK
- echo "LDADD+= -lrt -ldl" >>$CONFIG_MK
;;
*)
if [ -z "$INET" -o "$INET" = yes ]; then
echo "DHCPCD_SRCS+= bpf.c" >>$CONFIG_MK
fi
@@ -398,10 +396,31 @@
echo "libc support for getifaddrs is required - aborting" >&2
abort=true
fi
rm -f _getifaddrs.c _getifaddrs
$abort && exit 1
+
+printf "Testing for clock_gettime ... "
+cat <<EOF >_clock_gettime.c
+#include <time.h>
+int main(void) {
+ struct timespec ts;
+ return clock_gettime(CLOCK_MONOTONIC, &ts);
+}
+EOF
+if $XCC _clock_gettime.c -o _clock_gettime 2>/dev/null; then
+ echo "yes"
+elif $XCC _clock_gettime.c -lrt -o _clock_gettime 2>/dev/null; then
+ echo "yes (-lrt)"
+ echo "LDADD+= -lrt" >>$CONFIG_MK
+else
+ echo "no"
+ echo "libc support for clock_getttime is required - aborting" >&2
+ abort=true
+fi
+rm -f _clock_gettime.c _clockgettime
+$abort && exit 1
if [ -z "$ARC4RANDOM" ]; then
printf "Testing for arc4random ... "
cat <<EOF >_arc4random.c
#include <stdlib.h>
@@ -749,10 +768,31 @@
if [ "$DEV" = yes ]; then
echo "DHCPCD_SRCS+= dev.c" >>$CONFIG_MK
echo "CPPFLAGS+= -DPLUGIN_DEV" >>$CONFIG_MK
echo "MKDIRS+= dev" >>$CONFIG_MK
+
+ printf "Testing for dlopen ... "
+ cat <<EOF >_dlopen.c
+#include <dlfcn.h>
+#include <stdlib.h>
+int main(void) {
+ dlopen(NULL, 0);
+ return 0;
+}
+EOF
+ if $XCC _dlopen.c -o _dlopen 2>/dev/null; then
+ echo "yes"
+ elif $XCC _dlopen.c -ldl -o _dlopen 2>/dev/null; then
+ echo "yes (-ldl)"
+ echo "LDADD+= -ldl" >>$CONFIG_MK
+ else
+ echo "no"
+ echo "libc for dlopen is required - aborting"
+ fi
+ rm -f _dlopen.c _dlopen
+ $abort && exit 1
fi
# Transform for a make file
SERVICEEXISTS=$(echo "$SERVICEEXISTS" | $SED \
-e 's:\\:\\\\:g' \

View File

@ -0,0 +1,11 @@
diff -Naur a/dhcpcd-6.4.3/configure b/dhcpcd-6.4.3/configure
--- a/dhcpcd-6.4.3/configure 2014-07-30 12:13:12.000000000 -0300
+++ b/dhcpcd-6.4.3/configure 2014-09-04 16:37:06.604044374 -0300
@@ -493,6 +493,7 @@
#include <stdlib.h>
int main(void) {
arc4random();
+ arc4random_uniform();
return 0;
}
EOF

View File

@ -8,5 +8,10 @@
</maintainer>
<upstream>
<remote-id type="cpe">cpe:/a:roy_marples:dhcpcd</remote-id>
</upstream>
</upstream>
<use>
<flag name="embedded">
Embed the definitions of dhcp options in the dhcpcd executable
</flag>
</use>
</pkgmetadata>