Hello community,

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

Package is "yast2-nis-server"

Mon Dec 31 09:42:35 2018 rev:40 rq:655869 version:4.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-nis-server/yast2-nis-server.changes        
2018-07-03 23:34:24.904403295 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-nis-server.new.28833/yast2-nis-server.changes 
    2018-12-31 09:42:36.686402228 +0100
@@ -1,0 +2,19 @@
+Thu Dec  6 18:21:57 UTC 2018 - [email protected]
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Sun Nov 25 20:25:01 UTC 2018 - Noah Davis <[email protected]>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Aug 20 11:19:37 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------

Old:
----
  yast2-nis-server-4.0.1.tar.bz2

New:
----
  yast2-nis-server-4.1.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-nis-server.spec ++++++
--- /var/tmp/diff_new_pack.kWjWlF/_old  2018-12-31 09:42:37.206401802 +0100
+++ /var/tmp/diff_new_pack.kWjWlF/_new  2018-12-31 09:42:37.210401799 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-nis-server
-Version:        4.0.1
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -49,7 +49,7 @@
 Requires:       yast2-ruby-bindings >= 1.0.0
 
 Summary:        YaST2 - Network Information Services (NIS) Server Configuration
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/YaST
 
 %description 
@@ -65,6 +65,11 @@
 %install
 %yast_install
 
+# Remove the license from the /usr/share/doc/packages directory,
+# it is also included in the /usr/share/licenses directory by using
+# the %license tag.
+rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING
+
 %files
 %defattr(-,root,root)
 %dir %{yast_yncludedir}/nis_server
@@ -82,8 +87,8 @@
 %{yast_scrconfdir}/var_yp_securenets.scr
 %{yast_scrconfdir}/var_yp_ypservers.scr
 %{yast_schemadir}/autoyast/rnc/nis_server.rnc
-
+%{yast_icondir}
 %dir %{yast_docdir}
-%{yast_docdir}/COPYING
+%license COPYING
 
 %changelog

++++++ yast2-nis-server-4.0.1.tar.bz2 -> yast2-nis-server-4.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nis-server-4.0.1/package/yast2-nis-server.changes 
new/yast2-nis-server-4.1.1/package/yast2-nis-server.changes
--- old/yast2-nis-server-4.0.1/package/yast2-nis-server.changes 2018-07-02 
18:09:27.000000000 +0200
+++ new/yast2-nis-server-4.1.1/package/yast2-nis-server.changes 2018-12-06 
20:28:23.000000000 +0100
@@ -1,4 +1,23 @@
 -------------------------------------------------------------------
+Thu Dec  6 18:21:57 UTC 2018 - [email protected]
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Sun Nov 25 20:25:01 UTC 2018 - Noah Davis <[email protected]>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Aug 20 11:19:37 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------
 Wed Jun 27 17:37:54 CEST 2018 - [email protected]
 
 - Added additional searchkeys to desktop file (fate#321043).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-server-4.0.1/package/yast2-nis-server.spec 
new/yast2-nis-server-4.1.1/package/yast2-nis-server.spec
--- old/yast2-nis-server-4.0.1/package/yast2-nis-server.spec    2018-07-02 
18:09:27.000000000 +0200
+++ new/yast2-nis-server-4.1.1/package/yast2-nis-server.spec    2018-12-06 
20:28:23.000000000 +0100
@@ -17,14 +17,14 @@
 
 
 Name:           yast2-nis-server
-Version:        4.0.1
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        %{name}-%{version}.tar.bz2
 
 Group:          System/YaST
-License:        GPL-2.0
+License:        GPL-2.0-only
 BuildRequires:  doxygen perl-XML-Writer update-desktop-files yast2-network 
yast2-nis-client yast2-testsuite
 # SuSEFirewall2 replaced by firewalld (fate#323460)
 BuildRequires:  yast2 >= 4.0.39
@@ -59,7 +59,10 @@
 %install
 %yast_install
 
-
+# Remove the license from the /usr/share/doc/packages directory,
+# it is also included in the /usr/share/licenses directory by using
+# the %license tag.
+rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING
 
 
 %files
@@ -79,6 +82,6 @@
 %{yast_scrconfdir}/var_yp_securenets.scr
 %{yast_scrconfdir}/var_yp_ypservers.scr
 %{yast_schemadir}/autoyast/rnc/nis_server.rnc
-
+%{yast_icondir}
 %dir %{yast_docdir}
-%{yast_docdir}/COPYING
+%license COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-server-4.0.1/src/Makefile.am 
new/yast2-nis-server-4.1.1/src/Makefile.am
--- old/yast2-nis-server-4.0.1/src/Makefile.am  2018-07-02 18:09:27.000000000 
+0200
+++ new/yast2-nis-server-4.1.1/src/Makefile.am  2018-12-06 20:28:23.000000000 
+0100
@@ -33,6 +33,10 @@
 desktop_DATA = \
   desktop/nis_server.desktop
 
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(schemafiles_DATA) $(desktop_DATA)
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA =\
+  icons/hicolor/scalable/apps/yast-nis-server.svg
 
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(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-server-4.0.1/src/desktop/nis_server.desktop 
new/yast2-nis-server-4.1.1/src/desktop/nis_server.desktop
--- old/yast2-nis-server-4.0.1/src/desktop/nis_server.desktop   2018-07-02 
18:09:27.000000000 +0200
+++ new/yast2-nis-server-4.1.1/src/desktop/nis_server.desktop   2018-12-06 
20:28:23.000000000 +0100
@@ -16,7 +16,7 @@
 X-SuSE-YaST-AutoInstSchema=nis_server.rnc
 X-SuSE-YaST-Keywords=authentication,network,users
 
-Icon=yast-nis_server
+Icon=yast-nis-server
 Exec=xdg-su -c "/sbin/yast2 nis_server"
 
 Name=NIS Server
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nis-server-4.0.1/src/icons/hicolor/scalable/apps/yast-nis-server.svg 
new/yast2-nis-server-4.1.1/src/icons/hicolor/scalable/apps/yast-nis-server.svg
--- 
old/yast2-nis-server-4.0.1/src/icons/hicolor/scalable/apps/yast-nis-server.svg  
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/yast2-nis-server-4.1.1/src/icons/hicolor/scalable/apps/yast-nis-server.svg  
    2018-12-06 20:28:23.000000000 +0100
@@ -0,0 +1 @@
+<svg height="128" width="128" 
xmlns="http://www.w3.org/2000/svg";><linearGradient id="a" 
gradientUnits="userSpaceOnUse" x1="8" x2="120" y1="104" y2="104"><stop 
offset="0" stop-color="#5e5c64"/><stop offset=".036" 
stop-color="#9a9996"/><stop offset=".071" stop-color="#5e5c64"/><stop 
offset=".929" stop-color="#5e5c64"/><stop offset=".964" 
stop-color="#9a9996"/><stop offset="1" 
stop-color="#5e5c64"/></linearGradient><linearGradient id="c" 
gradientUnits="userSpaceOnUse" x1="20" x2="28" y1="124.5" y2="124.5"><stop 
offset="0" stop-color="#241f31"/><stop offset=".125" 
stop-color="#5e5c64"/><stop offset=".25" stop-color="#241f31"/><stop 
offset=".75" stop-color="#241f31"/><stop offset=".875" 
stop-color="#5e5c64"/><stop offset="1" 
stop-color="#241f31"/></linearGradient><linearGradient id="b" 
gradientUnits="userSpaceOnUse" x1="52" x2="76" y1="56" y2="56"><stop offset="0" 
stop-color="#241f31"/><stop offset=".167" stop-color="#5e5c64"/><stop 
offset=".333" stop-color="#241f31"/><stop offset=".667" 
stop-color="#241f31"/><stop offset=".833" stop-color="#5e5c64"/><stop 
offset="1" stop-color="#241f31"/></linearGradient><g stroke-width="4"><g 
fill="#5e5c64"><rect height="24" ry="4" width="112" x="8" y="24"/><rect 
height="24" ry="4" width="112" x="8" y="48"/><rect height="24" ry="4.236" 
width="112" x="8" y="72"/></g><rect fill="url(#a)" height="20" ry="4" 
width="112" x="8" y="92"/><g fill="#9a9996"><rect height="20" ry="4" 
width="112" x="8" y="12"/><rect height="20" ry="4" width="112" x="8" 
y="36"/><rect height="20" ry="4" width="112" x="8" y="60"/><rect height="20" 
ry="4" width="112" x="8" y="84"/></g><path d="M56 16h60v12H56zm0 24h60v12H56zm0 
24h60v12H56zm0 24h60v12H56z" fill="#3d3846"/></g><g fill="#5e5c64" 
transform="scale(4)"><path d="M14 5h15v2H14zm0 6h15v2H14zm0 6h15v2H14zm0 
6h15v2H14z"/><rect height="2" ry=".5" width="1" x="4" y="4"/><rect height="2" 
ry=".5" width="1" x="6" y="4"/><rect height="2" ry=".5" width="1" x="4" 
y="10"/><rect height="2" ry=".5" width="1" x="6" y="10"/><rect height="2" 
ry=".5" width="1" x="4" y="16"/><rect height="2" ry=".5" width="1" x="6" 
y="16"/><rect height="2" ry=".5" width="1" x="4" y="22"/><rect height="2" 
ry=".5" width="1" x="6" y="22"/></g><g stroke-width="4"><rect fill="#e01b24" 
height="4" ry="2" width="4" x="24" y="44"/><rect fill="#e01b24" height="4" 
ry="2" width="4" x="16" y="68"/><g fill="#f6d32d"><rect height="4" ry="2" 
width="4" x="16" y="20"/><rect height="4" ry="2" width="4" x="24" y="68"/><rect 
height="4" ry="2" width="4" x="16" y="92"/></g><g fill="#33d17a"><rect 
height="4" ry="2" width="4" x="24" y="20"/><rect height="4" ry="2" width="4" 
x="16" y="44"/><rect height="4" ry="2" width="4" x="24" y="92"/></g><path 
d="M60 44h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 
0h4v8h-4zM60 20h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 
0h4v8h-4zm8 0h4v8h-4zM60 68h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 
0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zM60 92h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 
0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4zm8 0h4v8h-4z" fill="#3d3846"/><path d="M60 
40h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 
0h4v4h-4zM60 16h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 
0h4v4h-4zm8 0h4v4h-4zM60 64h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 
0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zM60 88h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 
0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4z" fill="#241f31"/></g><g 
fill="#3d3846" transform="matrix(4 0 0 4 -32 -28)"><path d="M64 44a11.964 
11.964 0 0 0-11.309 8H52v4c0 6.648 5.352 12 12 12s12-5.352 
12-12v-4h-.691A11.964 11.964 0 0 0 64 44z" fill="url(#b)" transform="matrix(.25 
0 0 .25 8 7)"/><rect height="4" ry="1.477" width="8" x="20" y="25"/><path 
d="M20 27h8v3h-8z" fill="url(#c)"/></g><g fill="#deddda" transform="matrix(4 0 
0 4 -32 -32)"><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-server-4.0.1/src/modules/NisServer.rb 
new/yast2-nis-server-4.1.1/src/modules/NisServer.rb
--- old/yast2-nis-server-4.0.1/src/modules/NisServer.rb 2018-07-02 
18:09:27.000000000 +0200
+++ new/yast2-nis-server-4.1.1/src/modules/NisServer.rb 2018-12-06 
20:28:23.000000000 +0100
@@ -31,6 +31,7 @@
 # Input and output routines.
 require "yast"
 require "y2firewall/firewalld"
+require "shellwords"
 
 module Yast
   class NisServerClass < Module
@@ -284,7 +285,7 @@
         # a DHCP client may set the domainname too:
         # /etc/sysconfig/network/dhcp:DHCLIENT_SET_DOMAINNAME
         out = Convert.to_map(
-          SCR.Execute(path(".target.bash_output"), "/bin/ypdomainname")
+          SCR.Execute(path(".target.bash_output"), "/usr/bin/ypdomainname")
         )
         @domain = Builtins.deletechars(Ops.get_string(out, "stdout", ""), "\n")
       end
@@ -414,8 +415,8 @@
       return nil if any_map == nil
       command = Builtins.sformat(
         "/usr/lib/yp/makedbm -u /var/yp/%1/%2 | grep ^YP_MASTER_NAME",
-        dn,
-        any_map
+        dn.shellescape,
+        any_map.shellescape
       )
 
       out = Convert.to_map(SCR.Execute(path(".target.bash_output"), command))
@@ -444,7 +445,7 @@
     # @return Checks if the YP server software is installed
     # by querying RPM for ypserv
     def isYPServerInstalled
-      SCR.Execute(path(".target.bash"), "/bin/rpm -q ypserv") == 0
+      SCR.Execute(path(".target.bash"), "/usr/bin/rpm -q ypserv") == 0
     end
 
     # Adds an error to error_msg
@@ -559,7 +560,7 @@
         output = Convert.to_map(
           SCR.Execute(
             path(".target.bash_output"),
-            Builtins.sformat("/bin/rm -rf %1", file)
+            Builtins.sformat("/usr/bin/rm -rf %1", file.shellescape)
           )
         )
         if Ops.greater_than(
@@ -585,7 +586,7 @@
         output = Convert.to_map(
           SCR.Execute(
             path(".target.bash_output"),
-            Builtins.sformat("/bin/mkdir %1", directory)
+            Builtins.sformat("/usr/bin/mkdir %1", directory.shellescape)
           )
         )
         if Ops.greater_than(
@@ -618,8 +619,8 @@
           path(".target.bash_output"),
           Builtins.sformat(
             "/usr/lib/yp/yphelper --maps %1 --domainname %2",
-            master,
-            dn
+            master.shellescape,
+            dn.shellescape
           )
         )
       )
@@ -646,9 +647,9 @@
             path(".target.bash_output"),
             Builtins.sformat(
               "/usr/lib/yp/ypxfr -f -h %1 -d %2 %3",
-              master,
-              dn,
-              map_name
+              master.shellescape,
+              dn.shellescape,
+              map_name.shellescape
             )
           )
         )
@@ -672,7 +673,7 @@
         output = Convert.to_map(
           SCR.Execute(
             path(".target.bash_output"),
-            Builtins.sformat("/usr/lib/yp/makedbm -u %1/ypservers", dndir)
+            Builtins.sformat("/usr/lib/yp/makedbm -u %1/ypservers", 
dndir.shellescape)
           )
         )
         slaves = Ops.get_string(output, "stdout")
@@ -720,7 +721,7 @@
     def SaveSecurenets
       SCR.Execute(
         path(".target.bash"),
-        Builtins.sformat("/bin/cp %1 %1.YaST2.save", "/var/yp/securenets")
+        Builtins.sformat("/usr/bin/cp %1 %1.YaST2.save", "/var/yp/securenets")
       )
       if !SCR.Write(path(".var.yp.securenets"), @securenets)
         # To translators: message in the popup dialog
@@ -877,7 +878,7 @@
                 path(".target.bash"),
                 Builtins.sformat(
                   "/usr/bin/touch %1; /bin/chmod 0644 %1; /bin/chown root.root 
%1",
-                  p2
+                  p2.shellescape
                 )
               )
         end
@@ -890,7 +891,7 @@
               path(".target.bash"),
               Builtins.sformat(
                 "/usr/bin/touch %1; /bin/chmod 0640 %1; /bin/chown root.shadow 
%1",
-                p
+                p.shellescape
               )
             )
       end
@@ -910,7 +911,7 @@
           path(".target.bash_output"),
           Builtins.sformat(
             "/usr/bin/make -C /var/yp/%1 -f ../Makefile NOPUSH=true ypservers",
-            dn
+            dn.shellescape
           )
         )
       )
@@ -929,7 +930,7 @@
           path(".target.bash_output"),
           Builtins.sformat(
             "/usr/bin/make -C /var/yp NOPUSH=true LOCALDOMAIN=%1",
-            dn
+            dn.shellescape
           )
         )
       )


Reply via email to