commit yast2-network for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at Fri Mar 26 01:59:23 CET 2010. -------- --- yast2-network/yast2-network.changes 2010-03-17 09:13:26.000000000 +0100 +++ yast2-network/yast2-network.changes 2010-03-24 15:12:59.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Mar 24 15:10:33 CET 2010 - mzugec@suse.cz + +- store hostname from installation proposal dialog (bnc#588938) +- 2.19.18 + +------------------------------------------------------------------- +Tue Mar 23 10:44:20 CET 2010 - mzugec@suse.cz + +- fixed description for IP/netmask (bnc#588590) +- 2.19.17 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-network-2.19.16.tar.bz2 New: ---- yast2-network-2.19.18.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.rGlV2e/_old 2010-03-26 01:54:48.000000000 +0100 +++ /var/tmp/diff_new_pack.rGlV2e/_new 2010-03-26 01:54:48.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-network (Version 2.19.16) +# spec file for package yast2-network (Version 2.19.18) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,11 @@ Name: yast2-network -Version: 2.19.16 +Version: 2.19.18 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-network-2.19.16.tar.bz2 +Source0: yast2-network-2.19.18.tar.bz2 Prefix: /usr @@ -73,7 +73,7 @@ This package contains autogenerated documentation for yast2-network %prep -%setup -n yast2-network-2.19.16 +%setup -n yast2-network-2.19.18 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-network-2.19.16.tar.bz2 -> yast2-network-2.19.18.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.19.16/VERSION new/yast2-network-2.19.18/VERSION --- old/yast2-network-2.19.16/VERSION 2010-03-17 09:11:52.000000000 +0100 +++ new/yast2-network-2.19.18/VERSION 2010-03-24 15:10:11.000000000 +0100 @@ -1 +1 @@ -2.19.16 +2.19.18 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.19.16/src/modules/DNS.ycp new/yast2-network-2.19.18/src/modules/DNS.ycp --- old/yast2-network-2.19.16/src/modules/DNS.ycp 2010-02-08 16:19:14.000000000 +0100 +++ new/yast2-network-2.19.18/src/modules/DNS.ycp 2010-03-24 15:11:58.000000000 +0100 @@ -4,7 +4,7 @@ * Summary: Hostname and DNS data * Authors: Michal Svec <msvec@suse.cz> * - * $Id: DNS.ycp 60556 2010-01-27 14:21:30Z kmachalkova $ + * $Id: DNS.ycp 61468 2010-03-24 14:11:57Z mzugec $ * * Manages resolv.conf and (fully qualified) hostname, also * respecting DHCP. @@ -127,6 +127,12 @@ fqhostname = ""; } + // We have non-empty hostname by now => we must set DNS modified flag + // in order to get the setting actually written (bnc#588938) + if (size(fqhostname) > 0) + DNS::modified = true; + + // /etc/HOSTNAME // the usual location if (fqhostname == "") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.19.16/src/modules/LanItems.ycp new/yast2-network-2.19.18/src/modules/LanItems.ycp --- old/yast2-network-2.19.16/src/modules/LanItems.ycp 2010-03-17 09:11:46.000000000 +0100 +++ new/yast2-network-2.19.18/src/modules/LanItems.ycp 2010-03-23 10:42:06.000000000 +0100 @@ -510,12 +510,14 @@ if (ip != "NONE") { string prefixlen = NetworkInterfaces::Current["PREFIXLEN"]:""; - string descr = sformat("%1 %2", _("IP address assigned using"), ip); - if (!issubstring(ip, "DHCP")) descr=(size(prefixlen)>0) ? + if (size(ip)>0){ + string descr = sformat("%1 %2", _("IP address assigned using"), ip); + if (!issubstring(ip, "DHCP")) descr=(size(prefixlen)>0) ? sformat(_("IP address: %1/%2"), ip, prefixlen) : sformat(_("IP address: %1, subnet mask %2") , ip, NetworkInterfaces::Current["NETMASK"]:""); - bullets = bullets + [ descr ]; + bullets = bullets + [ descr ]; + } } // build aliases overview if (size(NetworkInterfaces::Current["_aliases"]:$[])>0 && !NetworkService::IsManaged()){ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de