Hello community, here is the log from the commit of package dhcpcd checked in at Fri Nov 21 15:15:12 CET 2008. -------- --- dhcpcd/dhcpcd.changes 2008-10-20 14:27:59.000000000 +0200 +++ /mounts/work_src_done/STABLE/dhcpcd/dhcpcd.changes 2008-11-21 10:19:48.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Nov 21 10:18:18 CET 2008 - varkoly@suse.de + +- (bnc#447237) - dhcpcd -E (--lastlease) does not work + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- dhcpcd-3.2.3-lastlease.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhcpcd.spec ++++++ --- /var/tmp/diff_new_pack.qN5909/_old 2008-11-21 15:14:56.000000000 +0100 +++ /var/tmp/diff_new_pack.qN5909/_new 2008-11-21 15:14:56.000000000 +0100 @@ -19,7 +19,7 @@ Name: dhcpcd Version: 3.2.3 -Release: 39 +Release: 40 Summary: A DHCP Client Daemon Url: http://developer.berlios.de/projects/dhcpcd/ #Source: http://prdownload.berlios.de/dhcpcd/dhcpcd-3.2.3.tar.bz2 @@ -33,6 +33,7 @@ Patch4: dhcpcd-%{version}-set-route.diff Patch5: dhcpcd-%{version}-clientid.diff Patch6: dhcpcd-%{version}-netconfig.diff +Patch7: dhcpcd-%{version}-lastlease.diff License: GPL v2 or later Group: Productivity/Networking/Boot/Clients Provides: dhcp_client @@ -60,6 +61,7 @@ %patch4 -p1 %patch5 %patch6 -p1 +%patch7 cp %{S:1} . cp %{S:3} . @@ -92,6 +94,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Nov 21 2008 varkoly@suse.de +- (bnc#447237) - dhcpcd -E (--lastlease) does not work * Mon Oct 20 2008 varkoly@suse.de - (bnc#436047) - dhcpcd has no prereq for perl binary * Thu Sep 25 2008 varkoly@suse.de @@ -149,7 +153,7 @@ - fix unalignment messages on ia64 (#146764) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Sep 29 2005 dmueller@suse.de +* Wed Sep 28 2005 dmueller@suse.de - add norootforbuild * Mon Sep 05 2005 poeml@suse.de - fix parsing of resolv.conf file when no 'search' line is present, @@ -163,7 +167,7 @@ - Fix the value of the "Maximum message size" option. This value includes the IP and UDP headers, and it's minium value is therefore 576, according to RFC2131. (patch from Debian) -* Fri Jun 24 2005 poeml@suse.de +* Thu Jun 23 2005 poeml@suse.de - build with -fPIE/-pie - (hopefully) fix creation of debug package - add %%clean section @@ -289,7 +293,7 @@ DHCPNAK, and an old cache file is present. It works also in the rebinding state. So a large value for -t can still be used, to keep the daemon running. -* Sun Feb 10 2002 poeml@suse.de +* Sat Feb 09 2002 poeml@suse.de - strip the DNS domain before setting the hostname. We don't want 'hostname' to return the FQDN -- which can be and has to be the resolver's job. @@ -449,7 +453,7 @@ /sbin/init.d/dhclient. (same as in package dhclient) * Thu Jul 06 2000 zoz@suse.de - removed a lost and lonly "fi" from rcdhclient (Bug 3208) -* Wed Jul 05 2000 zoz@suse.de +* Tue Jul 04 2000 zoz@suse.de - changed /sbin/init.d/dhclient: - It now starts without "DHCLIENT". Just setting IFCONFIG_x with NETCONFIG contains _x is enough. ++++++ dhcpcd-3.2.3-lastlease.diff ++++++ --- client.c-orig 2008-11-21 09:23:21.119833000 +0100 +++ client.c 2008-11-21 10:07:38.617577000 +0100 @@ -217,20 +217,23 @@ #ifdef ENABLE_ARP /* Check that no-one is using the address */ - if ((options->dolastlease || - (IN_LINKLOCAL (ntohl (dhcp->address.s_addr)) && + if (IN_LINKLOCAL (ntohl (dhcp->address.s_addr)) && (! options->doipv4ll || - arp_claim (iface, dhcp->address))))) + arp_claim (iface, dhcp->address))) { memset (&dhcp->address, 0, sizeof (dhcp->address)); memset (&dhcp->netmask, 0, sizeof (dhcp->netmask)); memset (&dhcp->broadcast, 0, sizeof (dhcp->broadcast)); + logger (LOG_ERR, "Sombody uses our IP"); return (false); } /* Ok, lets use this */ if (IN_LINKLOCAL (dhcp->address.s_addr)) + { + logger (LOG_ERR, "We are link local"); return (true); + } #endif /* Ensure that we can still use the lease */ @@ -252,6 +255,7 @@ offset = 0; state->timeout = dhcp->renewaltime - offset; iface->start_uptime = uptime (); + logger (LOG_INFO, "Successfuly read last lease"); return (true); } #endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org