Hello community, here is the log from the commit of package dhcdbd checked in at Thu Jun 15 20:54:19 CEST 2006. -------- --- dhcdbd/dhcdbd.changes 2006-05-30 18:09:24.000000000 +0200 +++ dhcdbd/dhcdbd.changes 2006-06-15 16:26:26.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 15 16:25:21 CEST 2006 - rml@suse.de + +- Handle non-empty /etc/HOSTNAME files that only contain newlines + (Novell bug #179492) + +------------------------------------------------------------------- New: ---- dhcdbd-set-hostname-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhcdbd.spec ++++++ --- /var/tmp/diff_new_pack.Uo6NYN/_old 2006-06-15 20:47:29.000000000 +0200 +++ /var/tmp/diff_new_pack.Uo6NYN/_new 2006-06-15 20:47:29.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: dbus-1-devel Summary: DHCP D-BUS Daemon Version: 1.12 -Release: 20 +Release: 21 License: GPL Group: Productivity/Networking/Boot/Utilities URL: http://people.redhat.com/~jvdias/dhcdbd @@ -25,7 +25,8 @@ Patch3: dhcdbd-dbus-reconnect-thoenig-02.patch Patch4: dhcdbd-less-verbose-logging-rml.patch Patch5: dhcdbd-set-hostname.patch -Patch6: dhcdbd-1.14-bug-fixes.patch +Patch6: dhcdbd-set-hostname-fix.patch +Patch7: dhcdbd-1.14-bug-fixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dhcp-client >= 3.0.3 dbus-1 >= 0.60 @@ -48,6 +49,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build make CFLAGS="-Wall $RPM_OPT_FLAGS" CC='gcc' LIBDIR=%_lib @@ -71,6 +73,9 @@ %dir /var/lib/named %changelog -n dhcdbd +* Thu Jun 15 2006 - rml@suse.de +- Handle non-empty /etc/HOSTNAME files that only contain newlines + (Novell bug #179492) * Tue May 30 2006 - rml@suse.de - Send only the most significant hostname, not the entire FQDN, from /etc/HOSTNAME when DHCLIENT_HOSTNAME_OPTION is enabled ++++++ dhcdbd-set-hostname-fix.patch ++++++ diff -u dhcdbd/dhcdbd.c dhcdbd/dhcdbd.c --- dhcdbd/dhcdbd.c 2006-05-30 12:05:27.000000000 -0400 +++ dhcdbd/dhcdbd.c 2006-05-30 12:05:27.000000000 -0400 @@ -922,7 +922,7 @@ f = fopen ("/etc/HOSTNAME", "r"); if (f) { - if (fgets (hostname, HOST_NAME_MAX, f)) { + if (fgets (hostname, HOST_NAME_MAX, f) && hostname[0] != '\n') { char *p; /* just want the most significant hostname */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org