diff options
author | William Hubbs <williamh@gentoo.org> | 2010-04-02 04:01:52 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2010-04-02 04:01:52 +0000 |
commit | 651410a45af4ee2b385cac4a2075a285a06d3e18 (patch) | |
tree | 26c8438f2a0029c62340b57b53198310f8359e05 /net-misc | |
parent | initial commit - ebuild submitted by Chris Coleman via bug #312473 (diff) | |
download | historical-651410a45af4ee2b385cac4a2075a285a06d3e18.tar.gz historical-651410a45af4ee2b385cac4a2075a285a06d3e18.tar.bz2 historical-651410a45af4ee2b385cac4a2075a285a06d3e18.zip |
version bump
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-5.2.2.ebuild | 85 |
3 files changed, 94 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index e0f5e68638e4..0138723683a5 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.278 2010/03/31 18:03:50 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.279 2010/04/02 04:01:52 williamh Exp $ + +*dhcpcd-5.2.2 (02 Apr 2010) + + 02 Apr 2010; William Hubbs <williamh@gentoo.org> +dhcpcd-5.2.2.ebuild: + version bump 31 Mar 2010; <solar@gentoo.org> dhcpcd-4.0.15.ebuild, dhcpcd-5.0.4.ebuild, dhcpcd-5.0.5.ebuild, dhcpcd-5.0.6.ebuild, dhcpcd-5.1.0.ebuild, diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index f106983dbed1..26ebcb3ec260 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -10,6 +10,7 @@ DIST dhcpcd-5.1.3.tar.bz2 64742 RMD160 de8b94974ffc67ebaa45bb9b146421ae07c9cdcf 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 +DIST dhcpcd-5.2.2.tar.bz2 67625 RMD160 7ee00a18079b6f3b1a0079a42e69062a9aa7eb37 SHA1 2739ea24091b3ede42b60affd3ea424dfa05686d SHA256 fa1b406c29a914cfbc59a5f63e7a09ce0dfcc60c916993af162efac11d36662d EBUILD dhcpcd-4.0.15.ebuild 2810 RMD160 39d37802c6df0dd78ecbb9844c35ef82b186e60d SHA1 bdf95efd2cd3d7d5c6cd86e7e60765bcc9b55b6f SHA256 ac322e7beaed21907032ca660aa5713913d0470d6b014fa7613a31421a25fff6 EBUILD dhcpcd-5.0.4.ebuild 2778 RMD160 7b14287d8c405cad166a035a599fb0dd84431cf4 SHA1 f8158b2707324e340506c422494f1f385f183ea1 SHA256 062369560af58340a12f0d05bb057cb11380d42b27311aebb9126a20adf106b4 EBUILD dhcpcd-5.0.5.ebuild 2778 RMD160 0a740a8f637076938aa247c124dfd44c16c69b1b SHA1 9d46b0f75533f59b9ef4afce12ca0c65f6e19514 SHA256 e31280509c7a9dfd0d233c80b59b55c68594a55b53e4d87ae144b19b43025d89 @@ -22,5 +23,6 @@ EBUILD dhcpcd-5.1.3.ebuild 2638 RMD160 68fb5ebd55278545c06a53d1a201e7226dd6b50e EBUILD dhcpcd-5.1.4.ebuild 2638 RMD160 3ddfe5a3982cc4dc421a281f4edc4a3358a62d2d SHA1 e9411677b55c69c8a99a7e9457983e1d3cc4050b SHA256 6638344f35a1c8df4c3108190328725cf9031926d46127f653ba4206cfe67a4a EBUILD dhcpcd-5.1.5.ebuild 2638 RMD160 14597bff996452d422515e9bdacc0f839b9d44e9 SHA1 cba54e182402fa5636cac90bec1671a007123487 SHA256 5da723094eb6e4303e3f10e08e8dd146a703b28b63c0ba65aa5d207fcd0b2ea0 EBUILD dhcpcd-5.2.1.ebuild 2638 RMD160 7c992fa92ce26e968695b2ac96ee2396dbc3ce45 SHA1 0d56a8275f5fa418559233eebcfe48a1c9903831 SHA256 7870245d5c5991dc63a6b95c7ca6cda8475a5923e3b1bdcd054687f799e8bd46 -MISC ChangeLog 39308 RMD160 f1edf00bb962635d4e49a5a12c4e54a3111aab90 SHA1 57e9ad14ce180737a3dba9d4b7dc9a56dc871fb8 SHA256 d0cee984bd994ff8430ec632c03a47260d5c6b94375e5501ce319404e89d2332 +EBUILD dhcpcd-5.2.2.ebuild 2655 RMD160 ef1a850fc5b989544300a32b1de9ce093d28b877 SHA1 c5c534eb28b699e22f7c6db7118314cf5dc5a415 SHA256 b10315a1b92992ccca58eaf6951ccebbbf6d36ba6d3d49b97632f0092155ffae +MISC ChangeLog 39429 RMD160 287817ff5314e093b22ae0fa9ac98f8a4013b213 SHA1 630febcbd63978444cb067202ddd7568830ab4fe SHA256 01f0344e20d462217190b6ac5a7e9478003a6d3c39a7b333754472d6013ab3c6 MISC metadata.xml 364 RMD160 76c08f52a8358f3e62f42aaa5ee53820c452a104 SHA1 e9161300025ae9ff41c7b68eec327f64be57fcac SHA256 598b041b465927b424f29c9c843a34165bd12bd75dfd2422d79907a1b3b05b32 diff --git a/net-misc/dhcpcd/dhcpcd-5.2.2.ebuild b/net-misc/dhcpcd/dhcpcd-5.2.2.ebuild new file mode 100644 index 000000000000..d95cd792f2c8 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.2.2.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.2.ebuild,v 1.1 2010/04/02 04:01:52 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 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 ''" +} |