diff options
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-4.99.15.ebuild | 87 |
3 files changed, 96 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 11b272d591b8..deba7e1c2de3 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.239 2009/02/26 14:32:01 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.240 2009/03/20 16:01:28 armin76 Exp $ + +*dhcpcd-4.99.15 (20 Mar 2009) + + 20 Mar 2009; Raúl Porcel <armin76@gentoo.org> +dhcpcd-4.99.15.ebuild: + Version bump *dhcpcd-4.0.12 (26 Feb 2009) diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index 6d83b75d8672..3404dfbd3b69 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -9,6 +9,7 @@ DIST dhcpcd-4.0.12.tar.bz2 52638 RMD160 a5b2306f8a04dc2e2b6c0c4c5c03bbc426d8c728 DIST dhcpcd-4.0.7.tar.bz2 52724 RMD160 4ca55916c9c3023c70312f0cde18c022313d6a35 SHA1 949be0a4d4dbb087cc53f5f8dc26515ef9f9dd0b SHA256 9f7941f87d55f3c70c828f0d31a78da34c0c8ed9867953eab3b1e7b601ce7fef DIST dhcpcd-4.0.8.tar.bz2 52681 RMD160 8b57aeebd0738a3c364b417231633a3fba6e4cd0 SHA1 c6218bc9ce1d3cd951ee120b6d37512743ed0689 SHA256 17835040d387733c1cd53fb1bdda22222db5cb983f0045edf4605a1e0fd22546 DIST dhcpcd-4.99.12.tar.bz2 58962 RMD160 0cbae72303d10ec53a5e7702303e32ecba0e87e9 SHA1 a004cc76f2f0a22baa8b147db34165bc8ec6f655 SHA256 452bd91943d69340a16ce212532ac70f527f1d9088efdce330089571f439d2d7 +DIST dhcpcd-4.99.15.tar.bz2 61237 RMD160 a76507e4abd8df165b89cea593edfb40ae64f068 SHA1 48eaa70c2a67881e10ecaf1718dc6f0bc636974e SHA256 29e16bbde9c1dd18f0a9e62a92fa8eb9a9af218e1fe0c6f4df11f69be9114bbf DIST dhcpcd-4.99.5.tar.bz2 56334 RMD160 e4be4ca9739647c67fe1916ccee2379739e648e9 SHA1 6cfa2d9d1eb33c204e35217652d831af9d8ac8e0 SHA256 d37be98e3eb24505fb4fc8f50666693a11ac0299114d16f422e18948592f11e0 DIST dhcpcd-4.99.6.tar.bz2 56612 RMD160 5a18b5b05ad72bde8ae3446c0c97881a0172cc53 SHA1 97255f180f25cfbe36b5db326aa5fe8ae0244b12 SHA256 838ba12d1099e96653fa7bfad276bb3b99925d1d4c97c983406d5b1eb93f1c19 EBUILD dhcpcd-3.0.16-r1.ebuild 1006 RMD160 4771c5c4be944e73ca715c7c5b8bd00d367f66da SHA1 a4b0290f15b9b2e15142adcec59e23a553f65620 SHA256 25102aebcdd1ac140632d2d6e5f7dda5931d72f64b3794d628bc3feec4432b3c @@ -20,7 +21,8 @@ EBUILD dhcpcd-4.0.12.ebuild 2809 RMD160 4c84922beabd827a4234b7c861b51984cb620d8e EBUILD dhcpcd-4.0.7.ebuild 2797 RMD160 67989061e5ca8a26d40111022a0cb012dedbf1d4 SHA1 aeb95ac0cd1cc852439135ccaf4b4967d64ca871 SHA256 08a8ba25916614a7e4b8480d512cbd0a6a6147c1b75c5f169cb3cb8876176c06 EBUILD dhcpcd-4.0.8.ebuild 2808 RMD160 8fe176c377c0f18f6da585d6302987a9301d082b SHA1 b710df71f85a297ccedd7bdd84a37026f98f995e SHA256 fb38e0ab489fc62b64309280eee1ee254c5b543d41d7739cec46cfa2bb6ec24c EBUILD dhcpcd-4.99.12.ebuild 2726 RMD160 594c94663f1bc14930bf37dc6a4b6fd171c210c8 SHA1 3fb8d85832539adad5d6d128698e7dd0a5eb764d SHA256 7dcff9ea040d0d459894e26c27028efb764b98e146cd1aa4fe7e13a3770b01eb +EBUILD dhcpcd-4.99.15.ebuild 2726 RMD160 24291584d24cc9d8efbefdebec051be6b040e098 SHA1 819f3a79aaef2446838fffc32006fb9be26c124e SHA256 298af5e9905fc3e83a0a6da80acaf4068c801caa3ae98c19b600728d523d8eae EBUILD dhcpcd-4.99.5.ebuild 2677 RMD160 fc3da836d93c97129a9d4e7b1acf978f82dd2cfc SHA1 9df6266f34a5f8e8caf48410d4e7354a4a9adf22 SHA256 7be040795228395f983266bace57e6ed9bacd6585143f41e5116b3106d7717b7 EBUILD dhcpcd-4.99.6.ebuild 2726 RMD160 43310bf53318ddbb6c46f1c7c07d87c9946bf081 SHA1 0cf4b6ce075938ad296dfb5793e629e2e6570db7 SHA256 5f904455041081d1a02e0aac15962755fc8635f659233b9830d4dd78039ed519 -MISC ChangeLog 34013 RMD160 bcd9e1f5c7250b30f4038958784ceabd48cd5434 SHA1 194c020447cf2ed4a755a47c65c4d2eb8e85b337 SHA256 5294554a355e4b13d8931d620f9cb0ac0a51b1a935d79ac622ba0abc510b3d3d +MISC ChangeLog 34133 RMD160 d554c2686c3fb9a5e921562447227bdb43d16340 SHA1 4bbf7424b9596e0ed420a4ece0a0c0203f3e419d SHA256 8816f35fd5e67b21e36fc57ec60bdfe2371db4549fce81a19b64d39450369537 MISC metadata.xml 617 RMD160 9dcb9b6a980244ae943e9e53277833191faf596b SHA1 677a753db685d3c745fe2243fd9cf450bfc0651a SHA256 e2dab8044a9cf5cd0c4cd51dff524c9f74add9ca4dbb05a184f9e1ff64eb61d9 diff --git a/net-misc/dhcpcd/dhcpcd-4.99.15.ebuild b/net-misc/dhcpcd/dhcpcd-4.99.15.ebuild new file mode 100644 index 000000000000..3dfa184b538e --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-4.99.15.ebuild @@ -0,0 +1,87 @@ +# 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-4.99.15.ebuild,v 1.1 2009/03/20 16:01:28 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 +} + +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 ''" +} |