From 68aee0d83d56889d6d5c96a6ae9131ca9d537a3e Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Thu, 14 May 2009 16:51:22 +0000 Subject: Version bump Package-Manager: portage-2.1.6.11/cvs/Linux ia64 --- net-misc/dhcpcd/ChangeLog | 7 ++- net-misc/dhcpcd/Manifest | 4 +- net-misc/dhcpcd/dhcpcd-5.0.4.ebuild | 89 +++++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 net-misc/dhcpcd/dhcpcd-5.0.4.ebuild (limited to 'net-misc/dhcpcd') diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 0803b1ab3fdf..db460616162e 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/dhcpcd # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.244 2009/05/11 12:56:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.245 2009/05/14 16:51:22 armin76 Exp $ + +*dhcpcd-5.0.4 (14 May 2009) + + 14 May 2009; Raúl Porcel +dhcpcd-5.0.4.ebuild: + Version bump *dhcpcd-5.0.3 (11 May 2009) diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index 1f2b8fa0ed03..b425ab0e7631 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -17,6 +17,7 @@ DIST dhcpcd-4.99.5.tar.bz2 56334 RMD160 e4be4ca9739647c67fe1916ccee2379739e648e9 DIST dhcpcd-4.99.6.tar.bz2 56612 RMD160 5a18b5b05ad72bde8ae3446c0c97881a0172cc53 SHA1 97255f180f25cfbe36b5db326aa5fe8ae0244b12 SHA256 838ba12d1099e96653fa7bfad276bb3b99925d1d4c97c983406d5b1eb93f1c19 DIST dhcpcd-5.0.1.tar.bz2 61698 RMD160 876d6a3e116fd167c12fe473a6f1c3d20f9550cb SHA1 5d4cc5ef5578354d3dbe7807e85fcd2de9595b1e SHA256 8d2a8caa411edf18e9689e54242c6f9874e476e8c20b371e4f4627e9938f466b DIST dhcpcd-5.0.3.tar.bz2 61865 RMD160 449732ed2f6ec9505ebad69d5966a58be7beb15b SHA1 7287710f71965712b007452c67154cbd494a6f61 SHA256 8f6ce94d96191eb72742624aab5ba90e0697e58951dfb35e9e196f77ee3185a7 +DIST dhcpcd-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b SHA1 ce958f071b5a2267149e56882a984fb1d2810803 SHA256 af75575f2369ee0c95ae2bbd9711682a37cd57fc85dadaafee1f8092159a3473 EBUILD dhcpcd-3.0.16-r1.ebuild 1006 RMD160 4771c5c4be944e73ca715c7c5b8bd00d367f66da SHA1 a4b0290f15b9b2e15142adcec59e23a553f65620 SHA256 25102aebcdd1ac140632d2d6e5f7dda5931d72f64b3794d628bc3feec4432b3c EBUILD dhcpcd-3.1.5-r1.ebuild 2022 RMD160 81a151a2c7954c8cb911de0237899517cbd6a9af SHA1 ae14a5c7fbf4a30631b3ec233e7966913efcd499 SHA256 f0702bac7a5b365d53224cbbb1f67a3b6ce6ba4e5d5715541d57a1e58cfc44d1 EBUILD dhcpcd-3.2.3.ebuild 2668 RMD160 1e0e2ffff58f11af19268baa92ef855287874a52 SHA1 7d9bd4fefa2877a5cc9487c31b577413ec7ffb1f SHA256 3cb8141a8044b6cb0841f595030b116ab2ebb2612519bf5ff2358aab4d231f91 @@ -33,5 +34,6 @@ EBUILD dhcpcd-4.99.5.ebuild 2677 RMD160 fc3da836d93c97129a9d4e7b1acf978f82dd2cfc EBUILD dhcpcd-4.99.6.ebuild 2726 RMD160 43310bf53318ddbb6c46f1c7c07d87c9946bf081 SHA1 0cf4b6ce075938ad296dfb5793e629e2e6570db7 SHA256 5f904455041081d1a02e0aac15962755fc8635f659233b9830d4dd78039ed519 EBUILD dhcpcd-5.0.1.ebuild 2767 RMD160 0f86a2b2060043df6eb5bb7059307529f416bd60 SHA1 0eb83006579f094bf83422073b730283b69a3947 SHA256 b448f15895c308d84aef01d7607ec20d9551159a5b322b2d893ac1c30a260f45 EBUILD dhcpcd-5.0.3.ebuild 2767 RMD160 083b8ed2208caa5ccd392097cf81102df8ac2279 SHA1 c8ea4ed72e5525ae0b2b6d83aafecb0a332f99c1 SHA256 a77b7571581a738e2efb65d0029a9f0b79118aac86c83407865516521738c58b -MISC ChangeLog 34626 RMD160 6ec418a058fc0eae35d2a21b2f2812f3e6051b24 SHA1 7e4ba086b710d12c7d3a47da3cf8cdd871452f1f SHA256 a8e6d468280b3dfe6c37e62b970e7e9dc855994f0bf60951bf6d8dd6818ac286 +EBUILD dhcpcd-5.0.4.ebuild 2767 RMD160 f5bffec2a2cea668bbbe57525e539bbb5db44c00 SHA1 a94c3ee315dd185f73a77cd409df9c7c256ad371 SHA256 a1556f3c233781d98d5b8a78fff5fdb897c4b4e677c35d1ba57d0a1ed9b1dcad +MISC ChangeLog 34742 RMD160 8154207ef690c4242344edd4ad5f1460e6fb2ff0 SHA1 6a68b1a31b37860540e481719b4886c87a40c844 SHA256 9bd1a809deede5cea1bc6fbd3026096facc6fb630353ac912ff366cf01f3b7da MISC metadata.xml 617 RMD160 9dcb9b6a980244ae943e9e53277833191faf596b SHA1 677a753db685d3c745fe2243fd9cf450bfc0651a SHA256 e2dab8044a9cf5cd0c4cd51dff524c9f74add9ca4dbb05a184f9e1ff64eb61d9 diff --git a/net-misc/dhcpcd/dhcpcd-5.0.4.ebuild b/net-misc/dhcpcd/dhcpcd-5.0.4.ebuild new file mode 100644 index 000000000000..c84858a1ccfd --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.0.4.ebuild @@ -0,0 +1,89 @@ +# 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.0.4.ebuild,v 1.1 2009/05/14 16:51:22 armin76 Exp $ + +EAPI=1 + +inherit toolchain-funcs 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 +} + +pkg_setup() { + MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" +} + +src_compile() { + [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" + emake CC="$(tc-getCC)" ${MAKE_ARGS} || die +} + +src_install() { + local hooks="50-ntp.conf" + use elibc_glibc && hooks="${hooks} 50-yp.conf" + use compat && hooks="${hooks} 50-dhcpcd-compat" + emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" 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