diff options
author | William Hubbs <williamh@gentoo.org> | 2010-01-31 22:02:28 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2010-01-31 22:02:28 +0000 |
commit | 3b61cf70de27d722844ebcb81f51d66a762d99ba (patch) | |
tree | e010e6f1cfb5e92126aca77e80e897921be812bf /net-misc/dhcpcd | |
parent | old (diff) | |
download | historical-3b61cf70de27d722844ebcb81f51d66a762d99ba.tar.gz historical-3b61cf70de27d722844ebcb81f51d66a762d99ba.tar.bz2 historical-3b61cf70de27d722844ebcb81f51d66a762d99ba.zip |
version bump
Package-Manager: portage-2.2_rc62/cvs/Linux i686
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-5.1.5.ebuild | 84 |
3 files changed, 94 insertions, 3 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 7e9c91e400bd..0923f891d239 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.275 2009/12/30 06:26:30 williamh Exp $ +# 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 $ + +*dhcpcd-5.1.5 (31 Jan 2010) + + 31 Jan 2010; William Hubbs <williamh@gentoo.org> +dhcpcd-5.1.5.ebuild: + version bump 30 Dec 2009; William Hubbs <williamh@gentoo.org> -dhcpcd-4.0.13.ebuild: removed old version diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index e948c468ea25..cff28c5879e5 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -8,6 +8,7 @@ DIST dhcpcd-5.1.1.tar.bz2 63701 RMD160 ff5d199d642bc309614e305b93c4396768a63f55 DIST dhcpcd-5.1.2.tar.bz2 64570 RMD160 d6eb56c1164526cf987be8ea6d8705286be09585 SHA1 a68915e7033e3b196d28f97e70aadc0469a20031 SHA256 0ea254c78cebeed2d322543206a17b93a594bb59782c6d14723e135e8de6766a 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 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 @@ -18,5 +19,6 @@ EBUILD dhcpcd-5.1.2.ebuild 2629 RMD160 83c6ff18233bf0579091ac59a6fbdc5447615775 EBUILD dhcpcd-5.1.3-r1.ebuild 2632 RMD160 19b10e0bafe7e0972372da7f97343260600536a6 SHA1 f931429c8caafbe1b4431c40d613c486b7ae807a SHA256 a9286acf8e9addcaa5e371c1d89f01a8cd11ed4d46d56ab16b4390bcc0806b76 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 -MISC ChangeLog 38626 RMD160 2a8ffd0362e83892e16d20ca631167f7df1fa972 SHA1 6c6ba961ccc85e25f77ffd73fc34372324e06bf2 SHA256 9eccdb090299b47b1388bd0199d044e4643f91df775fa40116ab378f640a70cd +EBUILD dhcpcd-5.1.5.ebuild 2629 RMD160 10964f6c1f5226ee193999f2f8d0efa67e92dc8a SHA1 95d466bd55fb715df0f40d2c2b4d235422baa191 SHA256 8fb3893a809dc1f885b59cb36230f17e5e7bbe3dc4d3edd21d704c02ae396dcd +MISC ChangeLog 38744 RMD160 e611f1a62404753ea3e308276111a8b4f8a95c78 SHA1 679c3953e4739b718d256c5301ed16259949b691 SHA256 cb0b57c051f955bf350b9dbe32771db93775402d457659792468af2edd962ea8 MISC metadata.xml 358 RMD160 ae0420264f59788ff6e4cae56716b13addc6a540 SHA1 f8b88eb2046ca3bfa133a0080b4227e51fdfe1b3 SHA256 baad8d970239985600e14d402ffc6d790a9c326b4b5a4be579864094234ce057 diff --git a/net-misc/dhcpcd/dhcpcd-5.1.5.ebuild b/net-misc/dhcpcd/dhcpcd-5.1.5.ebuild new file mode 100644 index 000000000000..d74a022fe09c --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.1.5.ebuild @@ -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.1.5.ebuild,v 1.1 2010/01/31 22:02:28 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 ''" +} |