diff options
author | William Hubbs <williamh@gentoo.org> | 2011-01-03 18:38:06 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-01-03 18:38:06 +0000 |
commit | 940efc027d0069f152d4640909f82c3fd08a067e (patch) | |
tree | 895fdbab7f6103234e790c8d2de3d3ebba7a4861 /net-misc/dhcpcd | |
parent | tweak (diff) | |
download | historical-940efc027d0069f152d4640909f82c3fd08a067e.tar.gz historical-940efc027d0069f152d4640909f82c3fd08a067e.tar.bz2 historical-940efc027d0069f152d4640909f82c3fd08a067e.zip |
version bump for bug #349305.
Package-Manager: portage-2.2.0_alpha11/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.2.10.ebuild | 89 |
3 files changed, 99 insertions, 3 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 0ecd9580c114..d1027c95b427 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.295 2010/12/28 15:38:56 ranger Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.296 2011/01/03 18:38:06 williamh Exp $ + +*dhcpcd-5.2.10 (03 Jan 2011) + + 03 Jan 2011; William Hubbs <williamh@gentoo.org> +dhcpcd-5.2.10.ebuild: + version bump for bug #349305. 28 Dec 2010; Brent Baude <ranger@gentoo.org> dhcpcd-5.2.8.ebuild: stable ppc64, bug 312385 diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index e77167c13359..8989b25863e3 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -1,13 +1,15 @@ AUX dhcpcd.initd 327 RMD160 5391020a6e28fb411fde4ae1610182dcc27abc59 SHA1 2f255cce666c11b1082593e8ff2ef67ad6c3e0a0 SHA256 72b42c9939fda3fb56666813513029ed36194c1708bddce06bcb3e131e547492 DIST dhcpcd-4.0.15.tar.bz2 52767 RMD160 a6b00ed30ce850cbe58c4aed1937f4bb8dcfd043 SHA1 bb1bbbe5b97bc8fd1fc1d4bea7067fe76f59182d SHA256 8ad7619eea8414851225b2ad2e204678911aca22791941f4caa49db435b2bca0 +DIST dhcpcd-5.2.10.tar.bz2 71140 RMD160 da982b48bd5a1a9dc2a6208b1e3390d78199e923 SHA1 3ff749f8a6ebc6231a011547ffe6cc7b4267f335 SHA256 d3325c697d6e2a2d09c80cedb358bb78561da33304183874d7c44f96fd5d9f5f DIST dhcpcd-5.2.6.tar.bz2 68489 RMD160 8c3d9d97973ea73583b2615df870becd88df9d3e SHA1 40219474d02d28e054aa6c10985ce59a070ac0c3 SHA256 fcba1dc87d8cb4b47a9b33ac7eb6fd1059026d524023374016abfe7ac98b8562 DIST dhcpcd-5.2.7.tar.bz2 69019 RMD160 383eabbb3c80d499a3e0fcae7c805d24c92ea2a8 SHA1 510f7360edb426a0dafcf840aa1f35d75636a697 SHA256 99975021a5f2a02a66ce2a62a61ddda28e1d3927fc67d07b5b86adf79417c36b DIST dhcpcd-5.2.8.tar.bz2 70069 RMD160 29833dfa04e21d90ad7dbb9541d0883af275e4cd SHA1 3a7ffc6d3599fd4146791853b083dc577d8dd9c0 SHA256 8a5c3f36ded39465062328868e6e06d7cc7ccd5b011aad16256d163a6eb9d14e DIST dhcpcd-5.2.9.tar.bz2 71101 RMD160 3e5f87b6febc8644c7df34f411573aacbde7eaaa SHA1 434397b1e881ddf3a97abe44c4cbadd5ff19436b SHA256 368a931dabe91842da4fcccb9b8ef2606b72e025191e4e32856a1ba3f2516756 EBUILD dhcpcd-4.0.15.ebuild 2810 RMD160 39d37802c6df0dd78ecbb9844c35ef82b186e60d SHA1 bdf95efd2cd3d7d5c6cd86e7e60765bcc9b55b6f SHA256 ac322e7beaed21907032ca660aa5713913d0470d6b014fa7613a31421a25fff6 +EBUILD dhcpcd-5.2.10.ebuild 2857 RMD160 9334ba3ffe980c1a616c464607c52ad0022fa4de SHA1 8d539cb29d1c2aa2b025ea82b8981edf12fab69d SHA256 68082670766e401abf0c1db1fdc3b7af38d8f925d63b9e9c550a2e0f10fd616f EBUILD dhcpcd-5.2.6.ebuild 2655 RMD160 363c5a3bede22f3c3c940d1f514f284fdd22875f SHA1 ce4e193968725d96e5695e18faaf3bc531c5edab SHA256 b96bbf3e8813d01e023ad1c2260f286b224a33c67553c16275ef25fcd925cdee EBUILD dhcpcd-5.2.7.ebuild 2655 RMD160 3dd17db2d272811e6480636390a49de9706b1d32 SHA1 8f839adfcd853985d213a60b8c1b68c98032c432 SHA256 fb36f9b808e70a948010ae51b9d8654c24e0025996fc5e789e1828a23d34b733 EBUILD dhcpcd-5.2.8.ebuild 2643 RMD160 81a85411c976b76b0b4dabbd7da505b65f8ae28f SHA1 6d7d3ea3763b5938b6605415f575e6bd1f0992ea SHA256 3001cfe603ef28a839232025e22459329c124ceea775619f125159768b7edf85 EBUILD dhcpcd-5.2.9.ebuild 2653 RMD160 a4a35f9dad3866f251449201f36320cd66dc9edf SHA1 a853e61165dcb31fbfd4ca88fd8bc802a7fa7212 SHA256 e550d76d22b145667b2ced2df5c33f4d649c079821f987424ef60c1dd485e9e6 -MISC ChangeLog 41643 RMD160 5b7b5606f8bd2ff10b25d84546f0bfd577dff812 SHA1 1ee9ad2099a5565039a12d67e39faa721be1dfbf SHA256 8baf5f8c570c0553d2f88308d51f8d7fd8ca08f7847792bb6499ceb315b6a94d +MISC ChangeLog 41782 RMD160 3ca2eeffcd149186ed5f53a14dae5ab7fa6d7eaf SHA1 c910975a0dee87e345da42a91e7a346b1c3123f3 SHA256 2c9fd5fecec08040a5a00346d04c02c3ed603e5a4227c2e7f2e588cd2883dfbe MISC metadata.xml 364 RMD160 76c08f52a8358f3e62f42aaa5ee53820c452a104 SHA1 e9161300025ae9ff41c7b68eec327f64be57fcac SHA256 598b041b465927b424f29c9c843a34165bd12bd75dfd2422d79907a1b3b05b32 diff --git a/net-misc/dhcpcd/dhcpcd-5.2.10.ebuild b/net-misc/dhcpcd/dhcpcd-5.2.10.ebuild new file mode 100644 index 000000000000..9bbeec0288e8 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.2.10.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.10.ebuild,v 1.1 2011/01/03 18:38:06 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 upgrading 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 ''" + elog + elog "Also, users upgrading from 4.0 series should be aware that" + elog "the -N, -R and -Y command line options no longer exist." + elog "These are controled now by nohook options in dhcpcd.conf." +} |