diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-07-09 05:12:55 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-07-09 05:12:55 +0000 |
commit | 938475139fc24daff5d5c38d82dd7f77c3b449ef (patch) | |
tree | a2c78055616ffbdfbaeb6eb4d7a2c4a5b62cb31a /net-misc/dhcpcd | |
parent | Version bump. (diff) | |
download | historical-938475139fc24daff5d5c38d82dd7f77c3b449ef.tar.gz historical-938475139fc24daff5d5c38d82dd7f77c3b449ef.tar.bz2 historical-938475139fc24daff5d5c38d82dd7f77c3b449ef.zip |
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-5.0.6.ebuild | 89 |
3 files changed, 98 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 255c1c3aa72a..4cb9139ffa8d 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.254 2009/07/08 13:42:37 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.255 2009/07/09 05:12:55 armin76 Exp $ + +*dhcpcd-5.0.6 (09 Jul 2009) + + 09 Jul 2009; Raúl Porcel <armin76@gentoo.org> +dhcpcd-5.0.6.ebuild: + Version bump *dhcpcd-5.0.5 (08 Jul 2009) diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index 577b39559b92..b74b18e56770 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -3,9 +3,11 @@ DIST dhcpcd-4.0.13.tar.bz2 52669 RMD160 b9addc3346f016e5625cf6c3cc82314d96995452 DIST dhcpcd-4.0.7.tar.bz2 52724 RMD160 4ca55916c9c3023c70312f0cde18c022313d6a35 SHA1 949be0a4d4dbb087cc53f5f8dc26515ef9f9dd0b SHA256 9f7941f87d55f3c70c828f0d31a78da34c0c8ed9867953eab3b1e7b601ce7fef DIST dhcpcd-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b SHA1 ce958f071b5a2267149e56882a984fb1d2810803 SHA256 af75575f2369ee0c95ae2bbd9711682a37cd57fc85dadaafee1f8092159a3473 DIST dhcpcd-5.0.5.tar.bz2 62063 RMD160 e47dd9da4c42d6fd99cf3dd9a301220197ae4b73 SHA1 c40d6f987bbf3c42c3cdbd1e6c1bece68ad2e741 SHA256 62099fc0f6aa1db6554f1d9454e0d22f86a179baacff42f7e949944ef44adbc9 +DIST dhcpcd-5.0.6.tar.bz2 62535 RMD160 75ab9fb07ad09bb10f14ef5218da3ea95cceed4a SHA1 2539dfc157f3c897959ca16a4a9eabdfa4599657 SHA256 051c905aa6036e15432fa790b17b411f3cae380840f3ad2d0d03f4f466f81e61 EBUILD dhcpcd-4.0.13.ebuild 2797 RMD160 1258d0a8c9fefedb4e933a40a7091a618c8a81eb SHA1 397fb4efe054e47f9d725d39241d7e4eb5ed6df8 SHA256 89fd493a3272c70c8f8d8b5e014a461b6130a35d0c6a9e1a4f7a57247b41cfcb EBUILD dhcpcd-4.0.7.ebuild 2797 RMD160 67989061e5ca8a26d40111022a0cb012dedbf1d4 SHA1 aeb95ac0cd1cc852439135ccaf4b4967d64ca871 SHA256 08a8ba25916614a7e4b8480d512cbd0a6a6147c1b75c5f169cb3cb8876176c06 EBUILD dhcpcd-5.0.4.ebuild 2767 RMD160 f5bffec2a2cea668bbbe57525e539bbb5db44c00 SHA1 a94c3ee315dd185f73a77cd409df9c7c256ad371 SHA256 a1556f3c233781d98d5b8a78fff5fdb897c4b4e677c35d1ba57d0a1ed9b1dcad EBUILD dhcpcd-5.0.5.ebuild 2767 RMD160 0521b1cafe278ed5f6e6a6445f728a5767672540 SHA1 0cee46bd5cdb56dd3408e6549e06609b9e3f737b SHA256 2dffb8614578b9853520381cf23e4db22d1366a493abf1753ece8c90a92df122 -MISC ChangeLog 35931 RMD160 d26160724ef142c9c82949de54e9eb0325904f99 SHA1 affdc0a9f03dab33a974524fa64ec5a4a357e431 SHA256 05870f3f6ed44589060b369100f7984469dc6bafbf8f89406afe0aacc234d90c +EBUILD dhcpcd-5.0.6.ebuild 2767 RMD160 02371d1b21bd499d921afa689e7437730749cfb4 SHA1 6bc9f2ace5b4130f05d3125cd394e1b08ff12047 SHA256 a1ab25bead617290812def6731118e01c6130e364cb9f071f35a6df90f999439 +MISC ChangeLog 36047 RMD160 faf42122b0fc8bc8b28b473e6f557fbb6135621d SHA1 dc1b66832d00d8bf4947cad33deb53a313ef2328 SHA256 497ec24778ac826dcdb0b4ba42cb3e6283ab88fea9af8617c062d3c12271ce7f MISC metadata.xml 535 RMD160 ac8783989581ae63d6f0c5d620f3bd13302f728c SHA1 4e309b28dd5110febef02e2208e295a7211fd089 SHA256 b7460648e716d933c13d87bea855c8052ee31602f1a4b4363d8cd882725e932a diff --git a/net-misc/dhcpcd/dhcpcd-5.0.6.ebuild b/net-misc/dhcpcd/dhcpcd-5.0.6.ebuild new file mode 100644 index 000000000000..1c17cd8612d4 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.0.6.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.6.ebuild,v 1.1 2009/07/09 05:12:55 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 ''" +} |