Hello community,

here is the log from the commit of package dhcp for openSUSE:Factory checked in 
at 2019-09-05 12:33:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dhcp (Old)
 and      /work/SRC/openSUSE:Factory/.dhcp.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dhcp"

Thu Sep  5 12:33:27 2019 rev:114 rq:726481 version:4.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dhcp/dhcp.changes        2019-07-29 
17:23:18.526370677 +0200
+++ /work/SRC/openSUSE:Factory/.dhcp.new.7948/dhcp.changes      2019-09-05 
12:33:30.659582804 +0200
@@ -1,0 +2,11 @@
+Thu Aug  8 12:19:53 UTC 2019 - Dirk Mueller <dmuel...@suse.com>
+
+- dhclient-script: replace host(1) with getent, which is more
+  lightweight (part of glibc and does not pull in bind-utils)
+
+-------------------------------------------------------------------
+Fri Aug  2 06:58:43 UTC 2019 - Martin Liška <mli...@suse.cz>
+
+- Use FAT LTO objects in order to provide proper static library.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dhcp.spec ++++++
--- /var/tmp/diff_new_pack.CFVr09/_old  2019-09-05 12:33:32.019582538 +0200
+++ /var/tmp/diff_new_pack.CFVr09/_new  2019-09-05 12:33:32.023582537 +0200
@@ -111,7 +111,7 @@
 %package client
 Summary:        ISC DHCP Client
 Group:          Productivity/Networking/Boot/Clients
-Requires:       %{_bindir}/host
+Requires:       %{_bindir}/getent
 Requires:       %{_bindir}/touch
 Requires:       dhcp = %{version}
 Requires:       iproute2
@@ -212,6 +212,7 @@
 ##
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 CFLAGS="%{optflags} -D_GNU_SOURCE -W -Wall -Wno-unused"
 %ifarch ppc ppc64 s390x
   # bugs 134590, 171532

++++++ dhclient-script ++++++
--- /var/tmp/diff_new_pack.CFVr09/_old  2019-09-05 12:33:32.087582525 +0200
+++ /var/tmp/diff_new_pack.CFVr09/_new  2019-09-05 12:33:32.087582525 +0200
@@ -312,8 +312,8 @@
       if [ "x${new_host_name}" != "x" ]; then
         hostname "${new_host_name}"
       else
-        if [ -x /usr/bin/host ] ; then
-          if out=`host -W 2 "$new_ip_address" 2>/dev/null` ; then
+        if [ -x /usr/bin/getent ] ; then
+          if out=`timeout 2s /usr/bin/getent hosts "$new_ip_address" 
2>/dev/null` ; then
             _hostname="`echo "$out" | sed 's:^.* ::; s:\..*::; s:.*[)]::'`"
             [[ ${_hostname} =~ ${rx_host} ]] || unset _hostname
             if [ "x${_hostname}" != "x" -a \




Reply via email to