summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-29 23:29:24 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-29 23:29:24 +0000
commit93bed697139c7d2f9f032f493d97f52ef2f33f4b (patch)
treeb02feccc6ba2ae08ba0cb590a9fe4969588aa5b1 /net-misc/dhcpcd
parentVersion bump #267402 by Paul Mulders. (diff)
downloadhistorical-93bed697139c7d2f9f032f493d97f52ef2f33f4b.tar.gz
historical-93bed697139c7d2f9f032f493d97f52ef2f33f4b.tar.bz2
historical-93bed697139c7d2f9f032f493d97f52ef2f33f4b.zip
old
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/Manifest26
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.0.16-r1.ebuild37
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.5-r1.ebuild68
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.2.3.ebuild87
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.10.ebuild95
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.11.ebuild95
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.12.ebuild95
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.8.ebuild95
-rw-r--r--net-misc/dhcpcd/files/dhcpcd-3.0.16-min-message.patch24
-rw-r--r--net-misc/dhcpcd/files/dhcpcd-4.0.1-no-empty-clientid.patch18
10 files changed, 10 insertions, 630 deletions
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index 7e3997bb72ec..a9bb87155ecd 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -1,25 +1,19 @@
-AUX dhcpcd-3.0.16-min-message.patch 531 RMD160 8407d4009490cda04100456f095aed5da89f2168 SHA1 335f121022a494082afe6872c4d2c7b921fd67b8 SHA256 0229c7272be152ee6c8d2f8c0fd7e31f6cb05ac9d508b3e785739723a1acd2c9
-AUX dhcpcd-4.0.1-no-empty-clientid.patch 543 RMD160 15359a072fa874496ce7cba66984bc6398401fd4 SHA1 5a713790bf8477b9c4c542cf61db655f34952ce0 SHA256 52713ef4cd55fefb2fb6e6c826c03efc5745b2897f568e3b0c0dd7e8f0941237
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX dhcpcd.initd 319 RMD160 c675c053442e2088e5ddd2ad9c528614aec088fe SHA1 33fd906730b0c2f2abc72335dd0133a17e27b72a SHA256 eb50356068ce6ffc664104e9a7eb6169e041e1e6d434f6247b3161ea45156c6a
-DIST dhcpcd-3.0.16.tar.bz2 31639 RMD160 24ab33bf453a0eb3301fc879e7e98f607aaf14d6 SHA1 bc597e6d5b006f4ac4dc74b87ebf3b6fa8a2af91 SHA256 324318a4d9feabf313011bdf8e0152beb904e7f4611cc539f767304343639be7
-DIST dhcpcd-3.1.5.tar.bz2 40958 RMD160 a00b50c2aadcce5f23d0dcca7691dea173d219fa SHA1 17396b60ffd780c0dd08035e98e23b35c7f3ca39 SHA256 ce98a97a2002d672de67d32bb0226d12146788bd16b1c5ef1a319c82b7933e0e
-DIST dhcpcd-3.2.3.tar.bz2 45030 RMD160 4319dc97c97f08124a6466d096eeb2a21b4d069d SHA1 666d6bafd86c9986efe28076d0b7e5d3349006e2 SHA256 89d5fc05d7fd643200333116400d8a0eda9adf1c7f2a70e6cbca977c8d3843fe
-DIST dhcpcd-4.0.10.tar.bz2 52515 RMD160 adcb1bf6c5fc91a0e5908f6c3ec26e2aae3b4392 SHA1 2c2180456eb2ccbab59845f1ee5081631e1c3e08 SHA256 e48ba317f739bcdd6dbe795408fea21f1a7443d5dee84638b6ce8969e32edfe3
-DIST dhcpcd-4.0.11.tar.bz2 52549 RMD160 d9db3b6563ce2df296c021ffffeef6ada09b73ac SHA1 66a762c23f0c8be7529ac9b0443f7dc3d4cf7a2f SHA256 3f5ab0a594115078b576ae98f3ed40e1f2c6892a7d9bb5c05cf8400a01f52efd
-DIST dhcpcd-4.0.12.tar.bz2 52638 RMD160 a5b2306f8a04dc2e2b6c0c4c5c03bbc426d8c728 SHA1 02b9d0d8b3403c5f64410bf9ebefc7d5c24d9a30 SHA256 0a1427ba109f9a1a1cfaf4e9ba36bcb92eea630fd4555835471129c2687ee1ff
DIST dhcpcd-4.0.13.tar.bz2 52669 RMD160 b9addc3346f016e5625cf6c3cc82314d96995452 SHA1 bb141885a30b3b29821b406e77e091700f503434 SHA256 8a55b9a0cc1cdfcbf670eb516d229e8f687f0086a610f8e071d700a837750c47
DIST dhcpcd-4.0.7.tar.bz2 52724 RMD160 4ca55916c9c3023c70312f0cde18c022313d6a35 SHA1 949be0a4d4dbb087cc53f5f8dc26515ef9f9dd0b SHA256 9f7941f87d55f3c70c828f0d31a78da34c0c8ed9867953eab3b1e7b601ce7fef
-DIST dhcpcd-4.0.8.tar.bz2 52681 RMD160 8b57aeebd0738a3c364b417231633a3fba6e4cd0 SHA1 c6218bc9ce1d3cd951ee120b6d37512743ed0689 SHA256 17835040d387733c1cd53fb1bdda22222db5cb983f0045edf4605a1e0fd22546
DIST dhcpcd-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b SHA1 ce958f071b5a2267149e56882a984fb1d2810803 SHA256 af75575f2369ee0c95ae2bbd9711682a37cd57fc85dadaafee1f8092159a3473
-EBUILD dhcpcd-3.0.16-r1.ebuild 1006 RMD160 4771c5c4be944e73ca715c7c5b8bd00d367f66da SHA1 a4b0290f15b9b2e15142adcec59e23a553f65620 SHA256 25102aebcdd1ac140632d2d6e5f7dda5931d72f64b3794d628bc3feec4432b3c
-EBUILD dhcpcd-3.1.5-r1.ebuild 2022 RMD160 81a151a2c7954c8cb911de0237899517cbd6a9af SHA1 ae14a5c7fbf4a30631b3ec233e7966913efcd499 SHA256 f0702bac7a5b365d53224cbbb1f67a3b6ce6ba4e5d5715541d57a1e58cfc44d1
-EBUILD dhcpcd-3.2.3.ebuild 2668 RMD160 1e0e2ffff58f11af19268baa92ef855287874a52 SHA1 7d9bd4fefa2877a5cc9487c31b577413ec7ffb1f SHA256 3cb8141a8044b6cb0841f595030b116ab2ebb2612519bf5ff2358aab4d231f91
-EBUILD dhcpcd-4.0.10.ebuild 2810 RMD160 531b8ccfdd4261b294eba846b4a59590556e8c9e SHA1 4840cfcfabe42e864206418fc0ab6b3a3c30102e SHA256 269fb8f75942384f83ea4294cb7f70d7c2912e84d6895f268a33adda2d1a4c7f
-EBUILD dhcpcd-4.0.11.ebuild 2806 RMD160 8eb678b3bac94247cd37e6fdca8d78d20498f672 SHA1 00b9de968296e39587fa9df8893d384125c36f72 SHA256 616c58b5c3fd4038ce71c53c824b695ec3f02b2d4411413c704e1fdd85163162
-EBUILD dhcpcd-4.0.12.ebuild 2809 RMD160 4c84922beabd827a4234b7c861b51984cb620d8e SHA1 35458fb5b85fb00265281287874c19d9d3f6d021 SHA256 738cf06a5d88eb08e6d2680db843d4eac2d06596b663085bdf428c4f751e2a22
EBUILD dhcpcd-4.0.13.ebuild 2800 RMD160 2cf1e0e9fd5f25e7a7fe67a30b30fdc448045281 SHA1 6183da1e8bdcd164b9c06fb499324dd7cd3532fe SHA256 57835dcbb29f9353fe7840c87582b3c05ad47d1ce71da8f5227c022fc2583fd8
EBUILD dhcpcd-4.0.7.ebuild 2797 RMD160 67989061e5ca8a26d40111022a0cb012dedbf1d4 SHA1 aeb95ac0cd1cc852439135ccaf4b4967d64ca871 SHA256 08a8ba25916614a7e4b8480d512cbd0a6a6147c1b75c5f169cb3cb8876176c06
-EBUILD dhcpcd-4.0.8.ebuild 2808 RMD160 8fe176c377c0f18f6da585d6302987a9301d082b SHA1 b710df71f85a297ccedd7bdd84a37026f98f995e SHA256 fb38e0ab489fc62b64309280eee1ee254c5b543d41d7739cec46cfa2bb6ec24c
EBUILD dhcpcd-5.0.4.ebuild 2767 RMD160 f5bffec2a2cea668bbbe57525e539bbb5db44c00 SHA1 a94c3ee315dd185f73a77cd409df9c7c256ad371 SHA256 a1556f3c233781d98d5b8a78fff5fdb897c4b4e677c35d1ba57d0a1ed9b1dcad
MISC ChangeLog 35614 RMD160 581ee72af46f6ed3de8987d4f83340a538b9f669 SHA1 73380053f89ba4767dba1d7d072539c8a568d624 SHA256 e41549e623f3aa1f4c7b299d0f1d5977580a92264f7553625f4bdd8930469e1c
MISC metadata.xml 617 RMD160 9dcb9b6a980244ae943e9e53277833191faf596b SHA1 677a753db685d3c745fe2243fd9cf450bfc0651a SHA256 e2dab8044a9cf5cd0c4cd51dff524c9f74add9ca4dbb05a184f9e1ff64eb61d9
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkogb9kACgkQn/5bYzqsSmGYFQCZAdxH/hRTD+fJvI9RpXFyOLHI
+MBUAnjSxs9F84SoQbaR5ai46QQnq1ZsA
+=oyeN
+-----END PGP SIGNATURE-----
diff --git a/net-misc/dhcpcd/dhcpcd-3.0.16-r1.ebuild b/net-misc/dhcpcd/dhcpcd-3.0.16-r1.ebuild
deleted file mode 100644
index 19e3982b810a..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.0.16-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.0.16-r1.ebuild,v 1.5 2009/01/08 01:39:08 darkside Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
-HOMEPAGE="http://dhcpcd.berlios.de"
-SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Redefine the location of ntp.drift
- sed -i -e 's,#define NTPDRIFTFILE\t.*,#define NTPDRIFTFILE\t\t\"/var/lib/ntp/ntp.drift\",' \
- pathnames.h || die "sed failed"
-
- epatch "${FILESDIR}"/${P}-min-message.patch
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc ChangeLog
-}
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.5-r1.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.5-r1.ebuild
deleted file mode 100644
index fe44d94766a3..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.5-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.5-r1.ebuild,v 1.4 2009/01/08 01:39:08 darkside Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
-HOMEPAGE="http://dhcpcd.berlios.de"
-SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="vram"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Redefine the location of ntp.drift
- {
- echo
- echo "/* Gentoo stores ntpd drift file here */"
- echo "#undef NTPDRIFTFILE"
- echo "#define NTPDRIFTFILE \"/var/lib/ntp/ntp.drift\""
- } >> config.h
-
- # Disable DUID support if we have volatile storage.
- # LiveCD's *should* enable this USE flag
- if use vram; then
- einfo "Disabling DUID support in dhcpcd"
- {
- echo
- echo "/* User indicated volatile ram storage */"
- echo "#undef ENABLE_DUID"
- } >> config.h
- else
- einfo "DUID support enabled"
- fi
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc ChangeLog
-}
-
-pkg_postinst() {
- use vram && return 0
-
- ewarn "You have installed dhcpcd with DUID support."
- einfo "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
- einfo "This is generated from a MAC address of the card and a timestamp."
- einfo "It will be used in every subsequent DHCP transaction, along with a IAID"
- einfo "in the ClientID option. This is required by RFC 4361."
- echo
- ewarn "Some DHCP server implementations require a MAC address only in the"
- ewarn "ClientID field. These DHCP servers should be updated to be RFC"
- ewarn "conformant. If you cannot do this, you can revert to the old"
- ewarn "behaviour by using the -I '' option OR building dhcpcd with the"
- ewarn "vram USE flag enabled."
-}
diff --git a/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild b/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild
deleted file mode 100644
index 8b636cd616b0..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.2.3.ebuild,v 1.9 2009/01/08 01:39:08 darkside Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
-HOMEPAGE="http://roy.marples.name/dhcpcd"
-SRC_URI="http://roy.marples.name/${PN}/${P}.tar.bz2"
-LICENSE="BSD-2"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-
-SLOT="0"
-IUSE="vram zeroconf"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if use zeroconf; then
- elog "ZeroConf support enabled"
- else
- elog "Disabling zeroconf support"
- {
- echo
- echo "/* User indicated no zeroconf support */"
- echo "#undef ENABLE_IPV4LL"
- } >> config.h
- fi
-
- # Disable DUID support if we have volatile storage.
- # LiveCD's *should* enable this USE flag
- if use vram; then
- elog "Disabling DUID support"
- {
- echo
- echo "/* User indicated volatile ram storage */"
- echo "#undef ENABLE_DUID"
- } >> config.h
- else
- elog "DUID support enabled"
- fi
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-}
-
-pkg_postinst() {
- # Upgrade the duid file to the new format if needed
- local duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
- if [ -e "${duid}" ] && ! grep -q '..:..:..:..:..:..' "${duid}"; then
- sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${duid}"
- fi
-
- if use zeroconf; 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
-
- if ! use vram; then
- use zeroconf && echo
- elog "You have installed dhcpcd with DUID support."
- elog "This means that we will generate a DUID in /var/lib/dhcpcd/dhcpcd.duid"
- elog "This is generated from a MAC address of the card and a timestamp."
- elog "It will be used in every subsequent DHCP transaction, along with a IAID"
- elog "in the ClientID option. This is required by RFC 4361."
- echo
- elog "Some DHCP server implementations require a MAC address only in the"
- elog "ClientID field. These DHCP servers should be updated to be RFC"
- elog "conformant. If you cannot do this, you can revert to the old"
- elog "behaviour by using the -I '' option OR building dhcpcd with the"
- elog "vram USE flag enabled."
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.10.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.10.ebuild
deleted file mode 100644
index 222f46aac969..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.10.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.10.ebuild,v 1.1 2009/02/04 09:37:47 the_paya Exp $
-
-EAPI=1
-
-inherit toolchain-funcs eutils
-
-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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-SLOT="0"
-IUSE="+compat zeroconf"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if ! use zeroconf; then
- elog "Disabling zeroconf support"
- {
- echo
- echo "# dhcpcd ebuild requested no zeroconf"
- echo "noipv4ll"
- } >> dhcpcd.conf
- fi
-
- if use compat; then
- elog "dhcpcd-3 command line support enabled"
- {
- echo
- echo "/* User indicated command line compatability */"
- echo "#define CMDLINE_COMPAT"
- } >> config.h
- fi
-}
-
-pkg_setup() {
- MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd"
-}
-
-src_compile() {
- [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty"
- emake CC="$(tc-getCC)" ${MAKE_ARGS} || die
-}
-
-src_install() {
- local hooks="50-ntp.conf"
- use elibc_glibc && hooks="${hooks} 50-yp.conf"
- use compat && hooks="${hooks} 50-dhcpcd-compat"
- emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
-}
-
-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; 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
- if ! use compat; then
- elog
- 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 ''"
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild
deleted file mode 100644
index 7dc5e89fdb80..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild,v 1.1 2009/02/19 22:18:36 welp Exp $
-
-EAPI=1
-
-inherit toolchain-funcs eutils
-
-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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-SLOT="0"
-IUSE="+compat zeroconf"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if ! use zeroconf; then
- elog "Disabling zeroconf support"
- {
- echo
- echo "# dhcpcd ebuild requested no zeroconf"
- echo "noipv4ll"
- } >> dhcpcd.conf
- fi
-
- if use compat; then
- elog "dhcpcd-3 command line support enabled"
- {
- echo
- echo "/* User indicated command line compatability */"
- echo "#define CMDLINE_COMPAT"
- } >> config.h
- fi
-}
-
-pkg_setup() {
- MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd"
-}
-
-src_compile() {
- [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty"
- emake CC="$(tc-getCC)" ${MAKE_ARGS} || die
-}
-
-src_install() {
- local hooks="50-ntp.conf"
- use elibc_glibc && hooks="${hooks} 50-yp.conf"
- use compat && hooks="${hooks} 50-dhcpcd-compat"
- emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
-}
-
-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; 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
- if ! use compat; then
- elog
- 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 ''"
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.12.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.12.ebuild
deleted file mode 100644
index d56732803bfe..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.12.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.12.ebuild,v 1.1 2009/02/26 14:32:01 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs eutils
-
-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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-SLOT="0"
-IUSE="+compat zeroconf"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if ! use zeroconf; then
- elog "Disabling zeroconf support"
- {
- echo
- echo "# dhcpcd ebuild requested no zeroconf"
- echo "noipv4ll"
- } >> dhcpcd.conf
- fi
-
- if use compat; then
- elog "dhcpcd-3 command line support enabled"
- {
- echo
- echo "/* User indicated command line compatability */"
- echo "#define CMDLINE_COMPAT"
- } >> config.h
- fi
-}
-
-pkg_setup() {
- MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd"
-}
-
-src_compile() {
- [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty"
- emake CC="$(tc-getCC)" ${MAKE_ARGS} || die
-}
-
-src_install() {
- local hooks="50-ntp.conf"
- use elibc_glibc && hooks="${hooks} 50-yp.conf"
- use compat && hooks="${hooks} 50-dhcpcd-compat"
- emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
-}
-
-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; 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
- if ! use compat; then
- elog
- 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 ''"
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild
deleted file mode 100644
index b23347364330..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild,v 1.1 2009/01/28 08:45:19 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs eutils
-
-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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-SLOT="0"
-IUSE="+compat zeroconf"
-
-DEPEND=""
-PROVIDE="virtual/dhcpc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if ! use zeroconf; then
- elog "Disabling zeroconf support"
- {
- echo
- echo "# dhcpcd ebuild requested no zeroconf"
- echo "noipv4ll"
- } >> dhcpcd.conf
- fi
-
- if use compat; then
- elog "dhcpcd-3 command line support enabled"
- {
- echo
- echo "/* User indicated command line compatability */"
- echo "#define CMDLINE_COMPAT"
- } >> config.h
- fi
-}
-
-pkg_setup() {
- MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd"
-}
-
-src_compile() {
- [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty"
- emake CC="$(tc-getCC)" ${MAKE_ARGS} || die
-}
-
-src_install() {
- local hooks="50-ntp.conf"
- use elibc_glibc && hooks="${hooks} 50-yp.conf"
- use compat && hooks="${hooks} 50-dhcpcd-compat"
- emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
-}
-
-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; 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
- if ! use compat; then
- elog
- 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 ''"
- fi
-}
diff --git a/net-misc/dhcpcd/files/dhcpcd-3.0.16-min-message.patch b/net-misc/dhcpcd/files/dhcpcd-3.0.16-min-message.patch
deleted file mode 100644
index c1448c2c493b..000000000000
--- a/net-misc/dhcpcd/files/dhcpcd-3.0.16-min-message.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: dhcp.c
-===================================================================
---- dhcp.c (revision 188)
-+++ dhcp.c (working copy)
-@@ -38,6 +38,7 @@
- #include "logger.h"
- #include "socket.h"
-
-+#define DHCP_PACKET_LENTH_MIN 300
- #define BROADCAST_FLAG 0x8000
-
- static const char *dhcp_message[] = {
-@@ -266,6 +267,11 @@
-
- *p++ = DHCP_END;
-
-+#ifdef DHCP_PACKET_LENTH_MIN
-+ while (p - m < DHCP_PACKET_LENTH_MIN)
-+ *p++ = 0;
-+#endif
-+
- message_length = p - m;
-
- memset (&packet, 0, sizeof (struct udp_dhcp_packet));
diff --git a/net-misc/dhcpcd/files/dhcpcd-4.0.1-no-empty-clientid.patch b/net-misc/dhcpcd/files/dhcpcd-4.0.1-no-empty-clientid.patch
deleted file mode 100644
index e8de24d40f93..000000000000
--- a/net-misc/dhcpcd/files/dhcpcd-4.0.1-no-empty-clientid.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Restore the 3.x behavior of an empty -I '' argument.
-
-Bug: http://bugs.marples.name/show_bug.cgi?id=116
-Patch: http://bugs.marples.name/attachment.cgi?id=56
-
-diff --git a/dhcpcd.c b/dhcpcd.c
-index 0219b02..d492a2d 100644
---- a/dhcpcd.c
-+++ b/dhcpcd.c
-@@ -511,7 +511,7 @@ parse_option(int opt, char *oarg, struct options *options)
- case 'I':
- /* Strings have a type of 0 */;
- options->clientid[1] = 0;
-- if (oarg)
-+ if (oarg && *oarg)
- s = parse_string_hwaddr((char *)options->clientid + 1,
- CLIENTID_MAX_LEN, oarg, 1);
- else