summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-06 14:35:08 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-06 14:35:08 +0000
commit9fede9dedbe4e6b035efc85252cf866b9380fc1a (patch)
treef19a6f6859436056608b7090c8bab15f134dc74c
parentstable x86/amd64, bug 220535 (diff)
downloadgentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.tar.gz
gentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.tar.bz2
gentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.zip
old
(Portage version: 2.1.5_rc6)
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.5.ebuild60
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.6-r1.ebuild92
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.6.ebuild60
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.7.ebuild90
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.8.ebuild82
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.9.ebuild81
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.2.0.ebuild87
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.2.1.ebuild87
-rw-r--r--net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch67
9 files changed, 0 insertions, 706 deletions
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild
deleted file mode 100644
index f641891089a9..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2008 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.ebuild,v 1.11 2008/01/10 09:15:26 vapier Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A 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
- sed -i -e 's,#define NTPDRIFTFILE[:space:]*,#define NTPDRIFTFILE\t\"/var/lib/ntp/ntp.drift\",' \
- config.h || die "sed failed"
-
- # 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 "#undef ENABLE_DUID" >> config.h
- else
- einfo "DUID support enabled"
- fi
-}
-
-src_compile() {
- make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
-}
-
-src_install() {
- make 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.1.6-r1.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.6-r1.ebuild
deleted file mode 100644
index 0dc558c2cb1b..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.6-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.6-r1.ebuild,v 1.4 2007/10/17 16:57:05 uberlord Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A DHCP client"
-HOMEPAGE="http://dhcpcd.berlios.de"
-SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
-LICENSE="GPL-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}"
-
- epatch "${FILESDIR}/${P}"-zeroconf.patch
-
- # 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
-
- if use zeroconf; then
- einfo "ZeroConf support enabled"
- else
- einfo "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
- einfo "Disabling DUID support"
- {
- 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() {
- if use zeroconf; then
- ewarn "You have installed dhcpcd with zeroconf support."
- einfo "This means that it will always obtain an IP address even if no"
- einfo "DHCP server can be contacted, which will break any existing"
- einfo "failover support you may have configured in your net configuration."
- einfo "This behaviour can be controlled with the -L flag."
- einfo "See the dhcpcd man page for more details."
- fi
-
- if ! use vram; then
- use zeroconf && echo
- 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."
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild
deleted file mode 100644
index 8affb3fdac8b..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.6.ebuild,v 1.2 2007/10/04 11:58:17 uberlord Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A 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
- sed -i -e 's,#define NTPDRIFTFILE[:space:]*,#define NTPDRIFTFILE\t\"/var/lib/ntp/ntp.drift\",' \
- config.h || die "sed failed"
-
- # 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 "#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.1.7.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild
deleted file mode 100644
index be235d0fcedb..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.7.ebuild,v 1.2 2007/10/22 08:26:14 uberlord Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A DHCP client"
-HOMEPAGE="http://dhcpcd.berlios.de"
-SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
-LICENSE="GPL-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}"
-
- # 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
-
- if use zeroconf; then
- einfo "ZeroConf support enabled"
- else
- einfo "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
- einfo "Disabling DUID support"
- {
- 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() {
- if use zeroconf; then
- ewarn "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
- ewarn "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
- 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."
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild
deleted file mode 100644
index 43dddd92f76e..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.8.ebuild,v 1.1 2007/11/26 14:43:22 lavajoe Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A DHCP client"
-HOMEPAGE="http://dhcpcd.berlios.de"
-SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
-LICENSE="GPL-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
- einfo "ZeroConf support enabled"
- else
- einfo "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
- einfo "Disabling DUID support"
- {
- 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() {
- if use zeroconf; then
- ewarn "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
- ewarn "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
- 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."
- fi
-}
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild
deleted file mode 100644
index 9205397dfe7a..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.9.ebuild,v 1.2 2008/01/09 19:44:57 welp Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A 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() {
- 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-3.2.0.ebuild b/net-misc/dhcpcd/dhcpcd-3.2.0.ebuild
deleted file mode 100644
index f2af5eb52a95..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.2.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.2.0.ebuild,v 1.2 2008/01/26 17:04:49 flameeyes Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A 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-3.2.1.ebuild b/net-misc/dhcpcd/dhcpcd-3.2.1.ebuild
deleted file mode 100644
index c33830bca2de..000000000000
--- a/net-misc/dhcpcd/dhcpcd-3.2.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.2.1.ebuild,v 1.1 2008/01/29 12:04:25 armin76 Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A 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/files/dhcpcd-3.1.6-zeroconf.patch b/net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch
deleted file mode 100644
index 2b76e1c3f72c..000000000000
--- a/net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Index: interface.h
-===================================================================
---- interface.h (revision 289)
-+++ interface.h (working copy)
-@@ -53,6 +53,14 @@
-
- #define HWADDR_LEN 20
-
-+#define LINKLOCAL_ADDR 0xa9fe0000
-+#define LINKLOCAL_MASK 0xffff0000
-+#define LINKLOCAL_BRDC 0xa9feffff
-+
-+#ifndef IN_LINKLOCAL
-+# define IN_LINKLOCAL(addr) ((ntohl (addr) & IN_CLASSB_NET) == LINKLOCAL_ADDR)
-+#endif
-+
- typedef struct route_t
- {
- struct in_addr destination;
-Index: client.c
-===================================================================
---- client.c (revision 289)
-+++ client.c (working copy)
-@@ -489,9 +489,7 @@
- switch (state) {
- case STATE_INIT:
- if (iface->previous_address.s_addr != 0 &&
--#ifdef ENABLE_IPV4LL
- ! IN_LINKLOCAL (iface->previous_address.s_addr) &&
--#endif
- ! options->doinform) {
- logger (LOG_ERR, "lost lease");
- xid = 0;
-@@ -598,14 +596,12 @@
- break;
- case STATE_BOUND:
- case STATE_RENEW_REQUESTED:
--#ifdef ENABLE_IPV4LL
- if (IN_LINKLOCAL (dhcp->address.s_addr)) {
- memset (&dhcp->address, 0, sizeof (struct in_addr));
- state = STATE_INIT;
- xid = 0;
- break;
- }
--#endif
- state = STATE_RENEWING;
- xid = random ();
- case STATE_RENEWING:
-Index: ipv4ll.h
-===================================================================
---- ipv4ll.h (revision 289)
-+++ ipv4ll.h (working copy)
-@@ -25,14 +25,6 @@
- #include "dhcp.h"
- #include "interface.h"
-
--#define LINKLOCAL_ADDR 0xa9fe0000
--#define LINKLOCAL_MASK 0xffff0000
--#define LINKLOCAL_BRDC 0xa9feffff
--
--#ifndef IN_LINKLOCAL
--# define IN_LINKLOCAL(addr) ((ntohl (addr) & IN_CLASSB_NET) == LINKLOCAL_ADDR)
--#endif
--
- int ipv4ll_get_address (interface_t *iface, dhcp_t *dhcp);
-
- #endif