version bump for bug #307505, thanks to Jeremy Olexa.
authorWilliam Hubbs <williamh@gentoo.org>
Tue, 2 Mar 2010 18:14:07 +0000 (18:14 +0000)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 2 Mar 2010 18:14:07 +0000 (18:14 +0000)
Package-Manager: portage-2.2_rc63/cvs/Linux i686

net-misc/dhcpcd/ChangeLog
net-misc/dhcpcd/Manifest
net-misc/dhcpcd/dhcpcd-5.2.1.ebuild [new file with mode: 0644]

index 0923f891d23982bb266b59f1bfaf7c4177b36fd3..c7eb8d1403830e89b71c019413f44c50254ec3a5 100644 (file)
@@ -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.276 2010/01/31 22:02:28 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.277 2010/03/02 18:14:07 williamh Exp $
+
+*dhcpcd-5.2.1 (02 Mar 2010)
+
+  02 Mar 2010; William Hubbs <williamh@gentoo.org> +dhcpcd-5.2.1.ebuild:
+  version bump for bug #307505, thanks to Jeremy Olexa.
 
 *dhcpcd-5.1.5 (31 Jan 2010)
 
index cff28c5879e55f31b9009546cb34ea5702e10e5f..668b4f6e1ca229d5db3095533557d431c1b645b4 100644 (file)
@@ -9,6 +9,7 @@ DIST dhcpcd-5.1.2.tar.bz2 64570 RMD160 d6eb56c1164526cf987be8ea6d8705286be09585
 DIST dhcpcd-5.1.3.tar.bz2 64742 RMD160 de8b94974ffc67ebaa45bb9b146421ae07c9cdcf SHA1 a42a52b663dc803f2128de67f5dbc385ad39ea0c SHA256 fa67ea8da9c1bb44d47075d44ae3266c2e22d32b9a0b86e36d0a978436df3077
 DIST dhcpcd-5.1.4.tar.bz2 65198 RMD160 231604bccf0702c904f343e70600a7b61a526c53 SHA1 125505c85ca45db2901bb80fdd11cfe4441fef1b SHA256 affcac3f56ebddd8ba5e2837eab7fe9b798d728aed59ed4a788a723c36cc0c28
 DIST dhcpcd-5.1.5.tar.bz2 66618 RMD160 a0a3f0ab30c29b0ff0a8db5bc994058ea131d001 SHA1 b6a064c9dec71f2adadff9fbc61fac9bd8f379de SHA256 f944af816d7860c7e3741a38125a2a1934b9f14016cbee8a46cf18ffdb4043ab
+DIST dhcpcd-5.2.1.tar.bz2 67473 RMD160 d93e440698cde6e690edcec71e0f5a46ff6f36a6 SHA1 698742d22359b6b57526996fc93d88b44fa467d2 SHA256 39c3e5eb29fcc64cb86964065bb245036856289714d81ca19f98db63364930c1
 EBUILD dhcpcd-4.0.15.ebuild 2798 RMD160 62f64c1e70fe9bba59dff511b3eaf695c7c92599 SHA1 0ab906f27f049b59443cb9116660946c630c0e24 SHA256 190052a92134c2ef93ecabe68885cfe75dcc9839c8306f2cbf14baef07e5c592
 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
@@ -20,5 +21,6 @@ EBUILD dhcpcd-5.1.3-r1.ebuild 2632 RMD160 19b10e0bafe7e0972372da7f97343260600536
 EBUILD dhcpcd-5.1.3.ebuild 2629 RMD160 b9660a42fc4e5bbc6349e049b7fe1d6aacd99d0b SHA1 48ed0949bdcd38d5a0908197c7f2345a03f02e5c SHA256 7d75e4685a11272d34030b925c455c6f56f634266c388ac3d86338e865d12fc9
 EBUILD dhcpcd-5.1.4.ebuild 2629 RMD160 44883b571e552dd34ade3d1e73549a4ea51139d8 SHA1 8832cb1bc657aadafc0c0bd2f7d4d96b298fcbc8 SHA256 c7801e17cbebc30990bf5c00ab2ccf1dadb459eb133d5569bade1712024ddc65
 EBUILD dhcpcd-5.1.5.ebuild 2629 RMD160 10964f6c1f5226ee193999f2f8d0efa67e92dc8a SHA1 95d466bd55fb715df0f40d2c2b4d235422baa191 SHA256 8fb3893a809dc1f885b59cb36230f17e5e7bbe3dc4d3edd21d704c02ae396dcd
-MISC ChangeLog 38744 RMD160 e611f1a62404753ea3e308276111a8b4f8a95c78 SHA1 679c3953e4739b718d256c5301ed16259949b691 SHA256 cb0b57c051f955bf350b9dbe32771db93775402d457659792468af2edd962ea8
+EBUILD dhcpcd-5.2.1.ebuild 2629 RMD160 6f0c0488a5dab5894fa5b1810d2f8a5d00e4e7e4 SHA1 6314cc5a369133250ac0293775d087c8e8b3aacf SHA256 6ac1bb25f686c348c2b20e0e4ddb892000b7e819d65b30cd6cd361fa8b5f6633
+MISC ChangeLog 38903 RMD160 aaf23f0cf8f7e54a89a9b1439c10fae8ee5f3cea SHA1 4fe277d924dfc934839e4601fbe0fd18ef1b53ba SHA256 abe54199656cbc3bf8425fa73800baeb86fdc734636f3a400433a658c0c88baa
 MISC metadata.xml 358 RMD160 ae0420264f59788ff6e4cae56716b13addc6a540 SHA1 f8b88eb2046ca3bfa133a0080b4227e51fdfe1b3 SHA256 baad8d970239985600e14d402ffc6d790a9c326b4b5a4be579864094234ce057
diff --git a/net-misc/dhcpcd/dhcpcd-5.2.1.ebuild b/net-misc/dhcpcd/dhcpcd-5.2.1.ebuild
new file mode 100644 (file)
index 0000000..fe50be7
--- /dev/null
@@ -0,0 +1,84 @@
+# 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.1.ebuild,v 1.1 2010/03/02 18:14:07 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 ~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 ''"
+}