From 610954b4cd0dc146cc9978f0f68ca36e59fd4083 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 7 Jul 2010 23:38:48 +0000 Subject: [PATCH] version bump Package-Manager: portage-2.2_rc67/cvs/Linux i686 --- net-misc/dhcpcd/ChangeLog | 7 ++- net-misc/dhcpcd/Manifest | 4 +- net-misc/dhcpcd/dhcpcd-5.2.6.ebuild | 85 +++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 net-misc/dhcpcd/dhcpcd-5.2.6.ebuild diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index e579cb25e8a1..6a10ee3f6d03 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/dhcpcd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.280 2010/06/11 16:55:31 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.281 2010/07/07 23:38:48 williamh Exp $ + +*dhcpcd-5.2.6 (07 Jul 2010) + + 07 Jul 2010; William Hubbs +dhcpcd-5.2.6.ebuild: + version bump *dhcpcd-5.2.5 (11 Jun 2010) diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index c475750e9c79..6e11c8540b62 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -4,10 +4,12 @@ DIST dhcpcd-5.0.6.tar.bz2 62535 RMD160 75ab9fb07ad09bb10f14ef5218da3ea95cceed4a DIST dhcpcd-5.1.5.tar.bz2 66618 RMD160 a0a3f0ab30c29b0ff0a8db5bc994058ea131d001 SHA1 b6a064c9dec71f2adadff9fbc61fac9bd8f379de SHA256 f944af816d7860c7e3741a38125a2a1934b9f14016cbee8a46cf18ffdb4043ab DIST dhcpcd-5.2.2.tar.bz2 67625 RMD160 7ee00a18079b6f3b1a0079a42e69062a9aa7eb37 SHA1 2739ea24091b3ede42b60affd3ea424dfa05686d SHA256 fa1b406c29a914cfbc59a5f63e7a09ce0dfcc60c916993af162efac11d36662d DIST dhcpcd-5.2.5.tar.bz2 68408 RMD160 40e026159f8d3525ca25b6f607f9634b077ebd27 SHA1 f428a796d5c8c2eaf46b33e2f9d88e04027349f0 SHA256 e22d13494907973891bd158cfcfd764f49e6013735e220c040e58f7d4e850337 +DIST dhcpcd-5.2.6.tar.bz2 68489 RMD160 8c3d9d97973ea73583b2615df870becd88df9d3e SHA1 40219474d02d28e054aa6c10985ce59a070ac0c3 SHA256 fcba1dc87d8cb4b47a9b33ac7eb6fd1059026d524023374016abfe7ac98b8562 EBUILD dhcpcd-4.0.15.ebuild 2810 RMD160 39d37802c6df0dd78ecbb9844c35ef82b186e60d SHA1 bdf95efd2cd3d7d5c6cd86e7e60765bcc9b55b6f SHA256 ac322e7beaed21907032ca660aa5713913d0470d6b014fa7613a31421a25fff6 EBUILD dhcpcd-5.0.6.ebuild 2778 RMD160 dc0e6a1f805eecd718a077818676bcbcba8f1512 SHA1 984a3966895b0bd4fcdf34a7f29b028295c9c2f6 SHA256 acf4dced24a5e75e8fd73e628cba4a1db2fa105556e25d052f3daafa91133ffb EBUILD dhcpcd-5.1.5.ebuild 2638 RMD160 14597bff996452d422515e9bdacc0f839b9d44e9 SHA1 cba54e182402fa5636cac90bec1671a007123487 SHA256 5da723094eb6e4303e3f10e08e8dd146a703b28b63c0ba65aa5d207fcd0b2ea0 EBUILD dhcpcd-5.2.2.ebuild 2655 RMD160 ef1a850fc5b989544300a32b1de9ce093d28b877 SHA1 c5c534eb28b699e22f7c6db7118314cf5dc5a415 SHA256 b10315a1b92992ccca58eaf6951ccebbbf6d36ba6d3d49b97632f0092155ffae EBUILD dhcpcd-5.2.5.ebuild 2655 RMD160 87681550aa76c867e6c6562892e6036b3c0ea24a SHA1 c6d795ffdae3680f984f1cbd412ab21d26cb7a30 SHA256 0e733a41d0af3957d20a642991eb6b0014b1cea6d366e4a61f7b34d9b218e409 -MISC ChangeLog 39793 RMD160 1b601b26ff7f56b5a9fa0105d6b03142bebbc95d SHA1 301c2540ac88286dbbc1049d5c561fd727ca2306 SHA256 b9e45ad92065ef79adb1ea807a8c2bf78ce1d099822ed561b64f2efc11a6fa30 +EBUILD dhcpcd-5.2.6.ebuild 2655 RMD160 363c5a3bede22f3c3c940d1f514f284fdd22875f SHA1 ce4e193968725d96e5695e18faaf3bc531c5edab SHA256 b96bbf3e8813d01e023ad1c2260f286b224a33c67553c16275ef25fcd925cdee +MISC ChangeLog 39911 RMD160 782998bab260bed727b9a9b20ee9bd1c0b085c2f SHA1 1d8f4180cac1e16656f9fd05d5c87e3c91b444c6 SHA256 de0a86cb41da05c5f514257c9f35d4249526174bca08818db36369d484e3e678 MISC metadata.xml 364 RMD160 76c08f52a8358f3e62f42aaa5ee53820c452a104 SHA1 e9161300025ae9ff41c7b68eec327f64be57fcac SHA256 598b041b465927b424f29c9c843a34165bd12bd75dfd2422d79907a1b3b05b32 diff --git a/net-misc/dhcpcd/dhcpcd-5.2.6.ebuild b/net-misc/dhcpcd/dhcpcd-5.2.6.ebuild new file mode 100644 index 000000000000..24aaed549668 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.2.6.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.6.ebuild,v 1.1 2010/07/07 23:38:48 williamh Exp $ + +EAPI=1 + +inherit 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 ~x86 ~sparc-fbsd ~x86-fbsd" + +SLOT="0" +IUSE="+zeroconf elibc_glibc" + +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 +} + +src_compile() { + local hooks="--with-hook=ntp.conf" + use elibc_glibc && hooks="${hooks} --with-hook=yp.conf" + econf --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd \ + --localstatedir=/var ${hooks} + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README + 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 ''" +} -- 2.26.2