Hello community,

here is the log from the commit of package yast2-nis-client for 
openSUSE:Factory checked in at 2018-12-31 09:42:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-nis-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-nis-client.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-nis-client"

Mon Dec 31 09:42:07 2018 rev:66 rq:653866 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-nis-client/yast2-nis-client.changes        
2018-07-03 23:33:20.328495928 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-nis-client.new.28833/yast2-nis-client.changes 
    2018-12-31 09:42:09.670424337 +0100
@@ -1,0 +2,19 @@
+Tue Dec  4 11:09:02 UTC 2018 - jreidin...@suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- escape properly shell arguments (bsc#1118291)
+- 4.1.0
+
+-------------------------------------------------------------------
+Sun Nov 25 20:08:26 UTC 2018 - Noah Davis <noaha...@gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.0.4
+
+-------------------------------------------------------------------
+Mon Aug 20 16:01:46 CEST 2018 - sch...@suse.de
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------

Old:
----
  yast2-nis-client-4.0.3.tar.bz2

New:
----
  yast2-nis-client-4.1.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-nis-client.spec ++++++
--- /var/tmp/diff_new_pack.FxZAmJ/_old  2018-12-31 09:42:10.434423710 +0100
+++ /var/tmp/diff_new_pack.FxZAmJ/_new  2018-12-31 09:42:10.434423710 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-nis-client
-Version:        4.0.3
+Version:        4.1.0
 Release:        0
 Url:            https://github.com/yast/yast-nis-client
 
@@ -57,7 +57,7 @@
 Requires:       yp-tools
 
 Summary:        YaST2 - Network Information Services (NIS, YP) Configuration
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/YaST
 
 %description
@@ -91,8 +91,8 @@
 %{yast_scrconfdir}/ypserv.scr
 %{yast_scrconfdir}/etc_defaultdomain.scr
 %{yast_schemadir}/autoyast/rnc/nis.rnc
-
+%{yast_icondir}
 %dir %{yast_docdir}
-%doc %{yast_docdir}/COPYING
+%license %{yast_docdir}/COPYING
 
 %changelog

++++++ yast2-nis-client-4.0.3.tar.bz2 -> yast2-nis-client-4.1.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nis-client-4.0.3/package/yast2-nis-client.changes 
new/yast2-nis-client-4.1.0/package/yast2-nis-client.changes
--- old/yast2-nis-client-4.0.3/package/yast2-nis-client.changes 2018-07-02 
18:12:05.000000000 +0200
+++ new/yast2-nis-client-4.1.0/package/yast2-nis-client.changes 2018-12-04 
14:50:47.000000000 +0100
@@ -1,4 +1,23 @@
 -------------------------------------------------------------------
+Tue Dec  4 11:09:02 UTC 2018 - jreidin...@suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- escape properly shell arguments (bsc#1118291)
+- 4.1.0
+
+-------------------------------------------------------------------
+Sun Nov 25 20:08:26 UTC 2018 - Noah Davis <noaha...@gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.0.4
+
+-------------------------------------------------------------------
+Mon Aug 20 16:01:46 CEST 2018 - sch...@suse.de
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------
 Thu Jun 28 15:18:37 CEST 2018 - sch...@suse.de
 
 - Added additional searchkeys to desktop file (fate#321043).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.0.3/package/yast2-nis-client.spec 
new/yast2-nis-client-4.1.0/package/yast2-nis-client.spec
--- old/yast2-nis-client-4.0.3/package/yast2-nis-client.spec    2018-07-02 
18:12:05.000000000 +0200
+++ new/yast2-nis-client-4.1.0/package/yast2-nis-client.spec    2018-12-04 
14:50:47.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-nis-client
-Version:        4.0.3
+Version:        4.1.0
 Release:        0
 Url:            https://github.com/yast/yast-nis-client
 
@@ -25,7 +25,7 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 Group:          System/YaST
-License:        GPL-2.0
+License:        GPL-2.0-only
 # SuSEfirewall2_* services merged into one service yast2-2.23.17
 BuildRequires: yast2 >= 2.23.17
 BuildRequires: gcc-c++ perl-XML-Writer doxygen yast2-core-devel 
yast2-testsuite yast2-pam update-desktop-files libtool
@@ -82,6 +82,6 @@
 %{yast_scrconfdir}/ypserv.scr
 %{yast_scrconfdir}/etc_defaultdomain.scr
 %{yast_schemadir}/autoyast/rnc/nis.rnc
-
+%{yast_icondir}
 %dir %{yast_docdir}
-%doc %{yast_docdir}/COPYING
+%license %{yast_docdir}/COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.0.3/src/Makefile.am 
new/yast2-nis-client-4.1.0/src/Makefile.am
--- old/yast2-nis-client-4.0.3/src/Makefile.am  2018-07-02 18:12:05.000000000 
+0200
+++ new/yast2-nis-client-4.1.0/src/Makefile.am  2018-12-04 14:50:47.000000000 
+0100
@@ -28,6 +28,10 @@
 desktop_DATA = \
   desktop/nis.desktop
 
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(agent_SCRIPTS) $(schemafiles_DATA) $(desktop_DATA)
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA = \
+  icons/hicolor/scalable/apps/yast-nis.svg
+
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(agent_SCRIPTS) $(schemafiles_DATA) $(desktop_DATA) $(scalable_DATA)
 
 include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nis-client-4.0.3/src/icons/hicolor/scalable/apps/yast-nis.svg 
new/yast2-nis-client-4.1.0/src/icons/hicolor/scalable/apps/yast-nis.svg
--- old/yast2-nis-client-4.0.3/src/icons/hicolor/scalable/apps/yast-nis.svg     
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-nis-client-4.1.0/src/icons/hicolor/scalable/apps/yast-nis.svg     
2018-12-04 14:50:47.000000000 +0100
@@ -0,0 +1 @@
+<svg height="128" width="128" 
xmlns="http://www.w3.org/2000/svg";><radialGradient id="b" cx="64" cy="48" 
gradientUnits="userSpaceOnUse" r="40"><stop offset="0" stop-color="#999"/><stop 
offset=".6" stop-color="#c0bfbc"/><stop offset=".9" stop-color="#deddda"/><stop 
offset="1" stop-color="#c0bfbc"/></radialGradient><linearGradient id="a" 
gradientUnits="userSpaceOnUse" x1="24" x2="104" y1="60" y2="60"><stop 
offset="0" stop-color="#c0bfbc"/><stop offset=".05" stop-color="#deddda"/><stop 
offset=".2" stop-color="#c0bfbc"/><stop offset=".8" stop-color="#c0bfbc"/><stop 
offset=".95" stop-color="#deddda"/><stop offset="1" 
stop-color="#c0bfbc"/></linearGradient><linearGradient id="c" 
gradientUnits="userSpaceOnUse" x1="104" x2="104" y1="112" y2="56"><stop 
offset="0" stop-color="#e5a50a"/><stop offset="1" stop-color="#e5a50a" 
stop-opacity="0"/></linearGradient><g stroke-width="4"><path d="M24 
48v8h16v-8zm64 0v8h16v-8z" fill="url(#a)"/><rect fill="#e5a50a" height="64" 
ry="4" width="96" x="16" y="56"/><path d="M64 8C41.84 8 24 25.84 24 
48h16c0-13.296 10.704-24 24-24s24 10.704 24 24h16c0-22.16-17.84-40-40-40z" 
fill="url(#b)"/><rect fill="#f6d32d" height="56" ry="4" width="96" x="16" 
y="56"/><path d="M16 64v8h16v-8zm80 0v8h16v-8zM16 80v8h16v-8zm80 0v8h16v-8zM16 
96v8h16v-8zm80 0v8h16v-8z" fill="url(#c)"/></g><g fill="#3d3846" 
transform="matrix(4 0 0 4 -32 -8)"><rect height="6" ry="3" width="6" x="21" 
y="18"/><rect height="4" ry="1.477" width="8" x="20" y="25"/><path d="M20 
27h8v3h-8z"/></g></svg>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.0.3/src/modules/Nis.rb 
new/yast2-nis-client-4.1.0/src/modules/Nis.rb
--- old/yast2-nis-client-4.0.3/src/modules/Nis.rb       2018-07-02 
18:12:05.000000000 +0200
+++ new/yast2-nis-client-4.1.0/src/modules/Nis.rb       2018-12-04 
14:50:47.000000000 +0100
@@ -37,6 +37,7 @@
 #
 require "yast"
 require "y2firewall/firewalld"
+require "shellwords"
 
 module Yast
   class NisClass < Module
@@ -918,7 +919,7 @@
 
       @dhcpcd_running = SCR.Execute(
         path(".target.bash"),
-        "ls /var/run/dhcpcd-*.pid"
+        "/usr/bin/ls /var/run/dhcpcd-*.pid"
       ) == 0
 
       @local_only = SCR.Read(path(".sysconfig.ypbind.YPBIND_LOCAL_ONLY")) == 
"yes"
@@ -981,7 +982,7 @@
       0 ==
         SCR.Execute(
           path(".target.bash"),
-          Ops.add("/usr/bin/grep -q '^[+-]' ", file)
+          "/usr/bin/grep -q '^[+-]' #{file.shellescape}"
         )
     end
 
@@ -995,11 +996,11 @@
         # backup the file:
         SCR.Execute(
           path(".target.bash"),
-          Builtins.sformat("/bin/cp %1 %1.YaST2save", file)
+          Builtins.sformat("/usr/bin/cp %1 %1.YaST2save", file.shellescape)
         )
         if SCR.Execute(
             path(".target.bash"),
-            Builtins.sformat("/bin/echo '%1' >> %2", what, file)
+            Builtins.sformat("/usr/bin/echo %1 >> %2", what.shellescape, 
file.shellescape)
           ) != 0
           ok = false
         end
@@ -1007,14 +1008,14 @@
       # replace the 'nologin' occurence (#40571)
       elsif SCR.Execute(
           path(".target.bash"),
-          Builtins.sformat("/bin/grep -q '^%1/sbin/nologin' %2", what, file)
+          Builtins.sformat("/usr/bin/grep -q ^%1/sbin/nologin %2", 
what.shellescape, file.shellescape)
         ) == 0
         ok = SCR.Execute(
           path(".target.bash"),
           Builtins.sformat(
-            "/usr/bin/sed -i.YaST2save -e 's@%1/sbin/nologin@%1@' %2",
-            what,
-            file
+            "/usr/bin/sed -i.YaST2save -e s@%1/sbin/nologin@%1@ %2",
+            what.shellescape,
+            file.shellescape
           )
         ) == 0
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.0.3/testsuite/tests/readwrite.out 
new/yast2-nis-client-4.1.0/testsuite/tests/readwrite.out
--- old/yast2-nis-client-4.0.3/testsuite/tests/readwrite.out    2018-07-02 
18:12:05.000000000 +0200
+++ new/yast2-nis-client-4.1.0/testsuite/tests/readwrite.out    2018-12-04 
14:50:47.000000000 +0100
@@ -2,7 +2,7 @@
 Read   .sysconfig.network.config.NETCONFIG_NIS_POLICY ""
 Dir    .sysconfig.network.config: ["NETCONFIG_NIS_POLICY"]
 Execute        .target.bash_output "/usr/bin/ypdomainname" $["exit":0, 
"stderr":"", "stdout":"mydomain\n"]
-Execute        .target.bash "ls /var/run/dhcpcd-*.pid" 0
+Execute        .target.bash "/usr/bin/ls /var/run/dhcpcd-*.pid" 0
 Read   .sysconfig.ypbind.YPBIND_LOCAL_ONLY "no"
 Read   .sysconfig.ypbind.YPBIND_BROADCAST "no"
 Read   .sysconfig.ypbind.YPBIND_BROKEN_SERVER "no"
@@ -28,7 +28,7 @@
 Read   .sysconfig.network.config.NETCONFIG_NIS_POLICY "auto"
 Dir    .sysconfig.network.config: ["NETCONFIG_NIS_POLICY"]
 Execute        .target.bash_output "/usr/bin/ypdomainname" $["exit":0, 
"stderr":"", "stdout":"mydomain\n"]
-Execute        .target.bash "ls /var/run/dhcpcd-*.pid" 0
+Execute        .target.bash "/usr/bin/ls /var/run/dhcpcd-*.pid" 0
 Read   .sysconfig.ypbind.YPBIND_LOCAL_ONLY "no"
 Read   .sysconfig.ypbind.YPBIND_BROADCAST "no"
 Read   .sysconfig.ypbind.YPBIND_BROKEN_SERVER "no"


Reply via email to