summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-07-08 13:42:37 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-07-08 13:42:37 +0000
commitd297c3e1dd6d6d4f3ed3688235c5b437a579dc03 (patch)
treea8cfdb0513e8026c719feef30dbb82ef451f0cca /net-misc/dhcpcd
parentVersion bump, fixes 100% cpu usage, bug #275257, thank Michael O'Brien for re... (diff)
downloadhistorical-d297c3e1dd6d6d4f3ed3688235c5b437a579dc03.tar.gz
historical-d297c3e1dd6d6d4f3ed3688235c5b437a579dc03.tar.bz2
historical-d297c3e1dd6d6d4f3ed3688235c5b437a579dc03.zip
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/ChangeLog7
-rw-r--r--net-misc/dhcpcd/Manifest4
-rw-r--r--net-misc/dhcpcd/dhcpcd-5.0.5.ebuild89
3 files changed, 98 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index ec293ef11b96..255c1c3aa72a 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.253 2009/05/31 13:29:47 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.254 2009/07/08 13:42:37 armin76 Exp $
+
+*dhcpcd-5.0.5 (08 Jul 2009)
+
+ 08 Jul 2009; Raúl Porcel <armin76@gentoo.org> +dhcpcd-5.0.5.ebuild:
+ Version bump
31 May 2009; Brent Baude <ranger@gentoo.org> dhcpcd-4.0.13.ebuild:
Marking dhcpcd-4.0.13 ppc64 for bug 271351
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index af40606d333c..577b39559b92 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -2,8 +2,10 @@ AUX dhcpcd.initd 319 RMD160 c675c053442e2088e5ddd2ad9c528614aec088fe SHA1 33fd90
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-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b SHA1 ce958f071b5a2267149e56882a984fb1d2810803 SHA256 af75575f2369ee0c95ae2bbd9711682a37cd57fc85dadaafee1f8092159a3473
+DIST dhcpcd-5.0.5.tar.bz2 62063 RMD160 e47dd9da4c42d6fd99cf3dd9a301220197ae4b73 SHA1 c40d6f987bbf3c42c3cdbd1e6c1bece68ad2e741 SHA256 62099fc0f6aa1db6554f1d9454e0d22f86a179baacff42f7e949944ef44adbc9
EBUILD dhcpcd-4.0.13.ebuild 2797 RMD160 1258d0a8c9fefedb4e933a40a7091a618c8a81eb SHA1 397fb4efe054e47f9d725d39241d7e4eb5ed6df8 SHA256 89fd493a3272c70c8f8d8b5e014a461b6130a35d0c6a9e1a4f7a57247b41cfcb
EBUILD dhcpcd-4.0.7.ebuild 2797 RMD160 67989061e5ca8a26d40111022a0cb012dedbf1d4 SHA1 aeb95ac0cd1cc852439135ccaf4b4967d64ca871 SHA256 08a8ba25916614a7e4b8480d512cbd0a6a6147c1b75c5f169cb3cb8876176c06
EBUILD dhcpcd-5.0.4.ebuild 2767 RMD160 f5bffec2a2cea668bbbe57525e539bbb5db44c00 SHA1 a94c3ee315dd185f73a77cd409df9c7c256ad371 SHA256 a1556f3c233781d98d5b8a78fff5fdb897c4b4e677c35d1ba57d0a1ed9b1dcad
-MISC ChangeLog 35814 RMD160 03507ad4911e7908d494fb1e78768bbdbf0592da SHA1 068f62361e6a1261ce87dffbf88f1d04574faaa1 SHA256 0a51214d708197e9ba254967fa730277127d75bb74aa493f543548336e920927
+EBUILD dhcpcd-5.0.5.ebuild 2767 RMD160 0521b1cafe278ed5f6e6a6445f728a5767672540 SHA1 0cee46bd5cdb56dd3408e6549e06609b9e3f737b SHA256 2dffb8614578b9853520381cf23e4db22d1366a493abf1753ece8c90a92df122
+MISC ChangeLog 35931 RMD160 d26160724ef142c9c82949de54e9eb0325904f99 SHA1 affdc0a9f03dab33a974524fa64ec5a4a357e431 SHA256 05870f3f6ed44589060b369100f7984469dc6bafbf8f89406afe0aacc234d90c
MISC metadata.xml 535 RMD160 ac8783989581ae63d6f0c5d620f3bd13302f728c SHA1 4e309b28dd5110febef02e2208e295a7211fd089 SHA256 b7460648e716d933c13d87bea855c8052ee31602f1a4b4363d8cd882725e932a
diff --git a/net-misc/dhcpcd/dhcpcd-5.0.5.ebuild b/net-misc/dhcpcd/dhcpcd-5.0.5.ebuild
new file mode 100644
index 000000000000..319afeff0d8a
--- /dev/null
+++ b/net-misc/dhcpcd/dhcpcd-5.0.5.ebuild
@@ -0,0 +1,89 @@
+# 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-5.0.5.ebuild,v 1.1 2009/07/08 13:42:37 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="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
+}
+
+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
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
+
+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
+
+ elog
+ elog "Users transfering 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 ''"
+}