From 80f4da3f8c79ba9e86246eea3434a08d231f8407 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Thu, 24 Sep 2009 03:53:27 +0000 Subject: version bump to dhcpcd-5.1.1 Package-Manager: portage-2.1.6.13/cvs/Linux x86_64 --- net-misc/dhcpcd/ChangeLog | 7 +++- net-misc/dhcpcd/Manifest | 4 +- net-misc/dhcpcd/dhcpcd-5.1.1.ebuild | 84 +++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 net-misc/dhcpcd/dhcpcd-5.1.1.ebuild diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 4bf693b11a44..6b0f18dc3224 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.258 2009/09/05 13:28:45 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.259 2009/09/24 03:53:27 darkside Exp $ + +*dhcpcd-5.1.1 (24 Sep 2009) + + 24 Sep 2009; Jeremy Olexa +dhcpcd-5.1.1.ebuild: + version bump to dhcpcd-5.1.1 05 Sep 2009; Jeremy Olexa dhcpcd-5.1.0.ebuild: Set localstatedir=/var to econf so /var/run is used instead of diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index 09afcff2b69e..5a1bc6a88a2f 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -5,11 +5,13 @@ DIST dhcpcd-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b DIST dhcpcd-5.0.5.tar.bz2 62063 RMD160 e47dd9da4c42d6fd99cf3dd9a301220197ae4b73 SHA1 c40d6f987bbf3c42c3cdbd1e6c1bece68ad2e741 SHA256 62099fc0f6aa1db6554f1d9454e0d22f86a179baacff42f7e949944ef44adbc9 DIST dhcpcd-5.0.6.tar.bz2 62535 RMD160 75ab9fb07ad09bb10f14ef5218da3ea95cceed4a SHA1 2539dfc157f3c897959ca16a4a9eabdfa4599657 SHA256 051c905aa6036e15432fa790b17b411f3cae380840f3ad2d0d03f4f466f81e61 DIST dhcpcd-5.1.0.tar.bz2 63589 RMD160 d22e3d4b8f4d16b9cb0a7743a63cbb3057ac17d1 SHA1 4c5c729e1e8fb7ca5fa8a0ab336d9adcbca5c40f SHA256 bb761bc9eefa7f528fd74d9a10518ebd5f99c18fc2b0a98196c8cd106eb9188b +DIST dhcpcd-5.1.1.tar.bz2 63701 RMD160 ff5d199d642bc309614e305b93c4396768a63f55 SHA1 4ffb9ce39620809f31f894eff4ce3c78f5ecf75e SHA256 93b926d48b8eb1cd0588a06e1dd71432264f06583406d8c355b5152b30d7f9a6 EBUILD dhcpcd-4.0.13.ebuild 2801 RMD160 72e5fafca539465767da2e45eb561d6e682210f9 SHA1 d01f26974096f6bde0ba7d88a68c4395ddcaed71 SHA256 a0481f0affe87ab79b03d9e76961fb9ecfc77e3f191408832d6fd11c8c35ec0c EBUILD dhcpcd-4.0.7.ebuild 2801 RMD160 528a1d33c21b4b8f955f838ce1b6c649d2333a0f SHA1 ff9adf79b34698a05c2907dd23e22fb33a04b946 SHA256 eb90479dfd1042c05d7c252acee706d8b5da3031965f352adfe450b65ed05e7e EBUILD dhcpcd-5.0.4.ebuild 2770 RMD160 9e0e09c86dc6d3ab4ff1f1504e8f71c7dd1b6bd4 SHA1 fdf2b8075930d969054aead9418d005982f6df5e SHA256 e66e05f91342ff1bab9ecccb2657fe8e87760806c8bfb94d1e2449356ba57814 EBUILD dhcpcd-5.0.5.ebuild 2770 RMD160 eb046b02f731731bc2f379e3c0725f19e4588847 SHA1 29ca204cfccae99d30f738d7b90b59a77b8167ea SHA256 360c50efa52c6606a0fe0de0835ef47ea92f2b6391d7a125b5e1d100b4fae9fb EBUILD dhcpcd-5.0.6.ebuild 2770 RMD160 5f5e06305ddff40413311ac041e2fd7b7ffdd4a5 SHA1 faacb61e8f93c141d29b83901ee2b584d3f9f020 SHA256 a168ca3b2180f3a3501a9f3e315a3449992160a2a547fb3d179275b985369003 EBUILD dhcpcd-5.1.0.ebuild 2629 RMD160 57d10537061730f5dac1f53fa0180181d7b78e1b SHA1 2e00a1358fea752286101dfe09f5c03bb56a25ae SHA256 108de946164f973c64abf61762f72c4a30e575913e4141f0ffbd7cb992d1b718 -MISC ChangeLog 36608 RMD160 cb0b58bf4c32eadfcd0c236915b287300a0bbd1a SHA1 c2f8976f347c629c5ffe1af2654be39255275bea SHA256 b75b5397f8fdef2abaece32647d1292e87e70024dddd6052e64273fd3b7f8fd4 +EBUILD dhcpcd-5.1.1.ebuild 2629 RMD160 dbba526561f1919c380d0f69b784bd91249fc9d6 SHA1 8b4a374405560874f8d935912c88b23fa0042cb6 SHA256 6d622b874b8f579997d728c7ded1268bc9819dc903bd3e5582279927fe5b2e36 +MISC ChangeLog 36741 RMD160 6d3a839173d313e81895764d5e0f64f8f991892f SHA1 e194c5d52e0e8dbb47206e1fff593874c0a7fe1f SHA256 d98c31ae10f19540d71742beb4894acb5263af684e89171339151420404d384f MISC metadata.xml 357 RMD160 b4bef9d1c14522e2223ba92804cc04329cca999f SHA1 15bce697e4cf7a4bdc0f6b44046bc800818c4d29 SHA256 ac2928e35bee8f52aea5b76ee307794a5c134bba68793b7b37400907a41a5881 diff --git a/net-misc/dhcpcd/dhcpcd-5.1.1.ebuild b/net-misc/dhcpcd/dhcpcd-5.1.1.ebuild new file mode 100644 index 000000000000..5d419462a64f --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.1.1.ebuild @@ -0,0 +1,84 @@ +# 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.1.1.ebuild,v 1.1 2009/09/24 03:53:27 darkside 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 ~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 +} + +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 + 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 ''" +} -- cgit v1.2.3-65-gdbad