diff options
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 19 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-2.0.8-r2.ebuild | 52 | ||||
-rw-r--r-- | net-misc/dhcpcd/files/dhcpcd-2.0.8-no_resolve_hostname.patch | 13 | ||||
-rw-r--r-- | net-misc/dhcpcd/files/digest-dhcpcd-2.0.8-r2 | 3 |
5 files changed, 90 insertions, 5 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index d26061c0b2cc..0cc49a9ae39e 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/dhcpcd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.101 2006/07/21 09:59:52 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.102 2006/07/22 16:33:49 uberlord Exp $ + +*dhcpcd-2.0.8-r2 (22 Jul 2006) + + 22 Jul 2006; Roy Marples <uberlord@gentoo.org> + +files/dhcpcd-2.0.8-no_resolve_hostname.patch, +dhcpcd-2.0.8-r2.ebuild: + Fix incorrect resolving of hostname, thanks to Bert Van Leeuwen, #141207. *dhcpcd-2.0.8-r1 (21 Jul 2006) diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index d2796f5bb578..32e01a0e2bf0 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -6,6 +6,10 @@ AUX dhcpcd-2.0.8-loglevel.patch 358 RMD160 9a3815bb0581d04e15ebdb8ce8141deffe790 MD5 f59f9970fa2322e08b102b2c97850367 files/dhcpcd-2.0.8-loglevel.patch 358 RMD160 9a3815bb0581d04e15ebdb8ce8141deffe790585 files/dhcpcd-2.0.8-loglevel.patch 358 SHA256 c419bc6cc70298547c6de2624b67149034d5aa9c8c9bb6ba68886da82e2bce3c files/dhcpcd-2.0.8-loglevel.patch 358 +AUX dhcpcd-2.0.8-no_resolve_hostname.patch 469 RMD160 14216b14dcf5499842d0a837ce03b8f9c80dd9c5 SHA1 fc2150df415ebe4ae34782c7fa525932480a0d19 SHA256 adaa5323811e44a334de429bfe8361b0c1c39666b18fdc9d6e35dc22d9098e61 +MD5 56afc76092c3c2ecb7abe181cd6e09a2 files/dhcpcd-2.0.8-no_resolve_hostname.patch 469 +RMD160 14216b14dcf5499842d0a837ce03b8f9c80dd9c5 files/dhcpcd-2.0.8-no_resolve_hostname.patch 469 +SHA256 adaa5323811e44a334de429bfe8361b0c1c39666b18fdc9d6e35dc22d9098e61 files/dhcpcd-2.0.8-no_resolve_hostname.patch 469 DIST dhcpcd-2.0.0.tar.bz2 122497 RMD160 0b5b766fad5e1c1f2a82d5ed850b4569ada04854 SHA256 f8c79e6a72a2b34ab05a5370fda582ea1ceb436924c911a09a8c69850b4cd673 DIST dhcpcd-2.0.3.tar.bz2 123176 RMD160 f66d1017b193c409dde624618cdfcd95d0b34429 SHA256 9dd7358f1f7e6a72ba218860abd9f44535cacf6084f34dbb8da15963a62ddcc4 DIST dhcpcd-2.0.5.tar.bz2 124838 RMD160 205632ea754c51d39827cfbdb9839368a4f17a78 SHA1 f2480d142dfce4128b13d434497ad933f4c337d1 SHA256 0b3acf8306f5ad1fb036703c9ede302c416d9f118950903306c647357113a411 @@ -36,14 +40,18 @@ EBUILD dhcpcd-2.0.8-r1.ebuild 1235 RMD160 7af341b26f881b8665c12e470fb2621e917d4e MD5 fdbf3716735593f4777ad6d8e8a0e173 dhcpcd-2.0.8-r1.ebuild 1235 RMD160 7af341b26f881b8665c12e470fb2621e917d4e51 dhcpcd-2.0.8-r1.ebuild 1235 SHA256 19c7f5959cd522ffcf4c5c29d41c17dd8e0e99024d0a9099cb33b8cdcc8f7718 dhcpcd-2.0.8-r1.ebuild 1235 +EBUILD dhcpcd-2.0.8-r2.ebuild 1288 RMD160 95063c8b9ee13cc507e1d1512d8d023b4ac39f3e SHA1 48822a50e0c1ba7a4e8f513c9caaf4decce4e918 SHA256 a27cdd0b43e758ac0a9cd66e0597531e51953441be621250cb85016976752148 +MD5 ee25d34f7d0d03d43f9b1a95a76d979a dhcpcd-2.0.8-r2.ebuild 1288 +RMD160 95063c8b9ee13cc507e1d1512d8d023b4ac39f3e dhcpcd-2.0.8-r2.ebuild 1288 +SHA256 a27cdd0b43e758ac0a9cd66e0597531e51953441be621250cb85016976752148 dhcpcd-2.0.8-r2.ebuild 1288 EBUILD dhcpcd-2.0.8.ebuild 1189 RMD160 64700f0155e21604df1ca46f8008ce56f74f8878 SHA1 e76f1b966dd474b922b9f596f8db549ba01a7b1a SHA256 dcbdaefa7491dc2214a8a941693fa39d3fbc84b02698c959d184c1183902acb8 MD5 f276f237612d871e727de47c79e7241d dhcpcd-2.0.8.ebuild 1189 RMD160 64700f0155e21604df1ca46f8008ce56f74f8878 dhcpcd-2.0.8.ebuild 1189 SHA256 dcbdaefa7491dc2214a8a941693fa39d3fbc84b02698c959d184c1183902acb8 dhcpcd-2.0.8.ebuild 1189 -MISC ChangeLog 15086 RMD160 80a369bf3d63ef186f438035a94afb4e3afdae58 SHA1 bdf2af9ca0db7ef0b288515e2899666e19efa197 SHA256 0ff512e37548747cf674f398182e6572494b85f2306b28324c9ebfff983127cf -MD5 5016bd239b79ae80b6bcc3597c5e9a8a ChangeLog 15086 -RMD160 80a369bf3d63ef186f438035a94afb4e3afdae58 ChangeLog 15086 -SHA256 0ff512e37548747cf674f398182e6572494b85f2306b28324c9ebfff983127cf ChangeLog 15086 +MISC ChangeLog 15318 RMD160 f7db0055e47d6d7f148c55127bf4d5317a8457fd SHA1 414e47dc18fba0d56e902df44406dcc467943a70 SHA256 bef00f5d3ab543756a2225fcc740d4ee9599525b829d25a06fa1a708b13c54d2 +MD5 0f0c47d963527a8402c65accf2303a3f ChangeLog 15318 +RMD160 f7db0055e47d6d7f148c55127bf4d5317a8457fd ChangeLog 15318 +SHA256 bef00f5d3ab543756a2225fcc740d4ee9599525b829d25a06fa1a708b13c54d2 ChangeLog 15318 MISC metadata.xml 308 RMD160 c00f6df0a19d2da9e194f53c7d16a506f0edc3ca SHA1 33f109e79a78de9a2baa8eff8b9251ca4b894674 SHA256 6b61ce7b8fead175e30dd71a5aa43158854e4f054a5fc5ba4b5a452420ec4bf7 MD5 8f5546891831502f0667f11299937b8f metadata.xml 308 RMD160 c00f6df0a19d2da9e194f53c7d16a506f0edc3ca metadata.xml 308 @@ -69,3 +77,6 @@ SHA256 62fffd9075232cee5b1f57b56ec121b0b8eaf4f9b346abe985e604e7ce9326bd files/di MD5 2123cc1ac75d5a441be4a7632fe561b2 files/digest-dhcpcd-2.0.8-r1 241 RMD160 e56d70d7e8371d56bfc54afa1a38d1ec2e26c3c0 files/digest-dhcpcd-2.0.8-r1 241 SHA256 62fffd9075232cee5b1f57b56ec121b0b8eaf4f9b346abe985e604e7ce9326bd files/digest-dhcpcd-2.0.8-r1 241 +MD5 2123cc1ac75d5a441be4a7632fe561b2 files/digest-dhcpcd-2.0.8-r2 241 +RMD160 e56d70d7e8371d56bfc54afa1a38d1ec2e26c3c0 files/digest-dhcpcd-2.0.8-r2 241 +SHA256 62fffd9075232cee5b1f57b56ec121b0b8eaf4f9b346abe985e604e7ce9326bd files/digest-dhcpcd-2.0.8-r2 241 diff --git a/net-misc/dhcpcd/dhcpcd-2.0.8-r2.ebuild b/net-misc/dhcpcd/dhcpcd-2.0.8-r2.ebuild new file mode 100644 index 000000000000..eed115e75def --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-2.0.8-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-2.0.8-r2.ebuild,v 1.1 2006/07/22 16:33:49 uberlord Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="A DHCP client only" +HOMEPAGE="http://developer.berlios.de/projects/dhcpcd/" +SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="build debug static" + +DEPEND="" +PROVIDE="virtual/dhcpc" + +pkg_setup() { + if use debug ; then + ewarn "WARNING: dhcpcd will provide good debugging output with the" + ewarn "debug USE flag enabled but will not actually configure the" + ewarn "interface or setup /etc/resolv.conf" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Redefine the location of ntp.drift + sed -i 's:/etc/ntp\.drift:/var/lib/ntp/ntp.drift:' src/dhcpconfig.c + + epatch "${FILESDIR}/${P}-loglevel.patch" + epatch "${FILESDIR}/${P}-no_resolve_hostname.patch" +} + +src_compile() { + use static && append-flags -static + econf $(use_enable debug) || die + emake || die +} + +src_install() { + into / + dosbin src/dhcpcd || die + + if ! use build ; then + dodoc AUTHORS ChangeLog NEWS README + doman src/dhcpcd.8 + fi +} diff --git a/net-misc/dhcpcd/files/dhcpcd-2.0.8-no_resolve_hostname.patch b/net-misc/dhcpcd/files/dhcpcd-2.0.8-no_resolve_hostname.patch new file mode 100644 index 000000000000..ec1917a23091 --- /dev/null +++ b/net-misc/dhcpcd/files/dhcpcd-2.0.8-no_resolve_hostname.patch @@ -0,0 +1,13 @@ +Index: src/dhcpconfig.c +=================================================================== +--- src/dhcpconfig.c (revision 70) ++++ src/dhcpconfig.c (working copy) +@@ -511,7 +511,7 @@ + else + logger(LOG_ERR,"dhcpConfig: fopen %s: %s", ntp_file, strerror(errno)); + } +- if ( ! DhcpOptions.len[hostName] ) ++ if ( SetHostName && ! DhcpOptions.len[hostName] ) + { + hp=gethostbyaddr((char *)&DhcpIface.ciaddr, + sizeof(DhcpIface.ciaddr),AF_INET); diff --git a/net-misc/dhcpcd/files/digest-dhcpcd-2.0.8-r2 b/net-misc/dhcpcd/files/digest-dhcpcd-2.0.8-r2 new file mode 100644 index 000000000000..2177e02191bf --- /dev/null +++ b/net-misc/dhcpcd/files/digest-dhcpcd-2.0.8-r2 @@ -0,0 +1,3 @@ +MD5 ec91c33b6d9cb46a42f9564e573fd249 dhcpcd-2.0.8.tar.bz2 125090 +RMD160 719d65e257bea28db58a0ee6a4c200da88e616d2 dhcpcd-2.0.8.tar.bz2 125090 +SHA256 bf7b09f26be60485d888f88f63688d16feeb022cd7954cfc05a912e273757db1 dhcpcd-2.0.8.tar.bz2 125090 |