Hello community,

here is the log from the commit of package yast2-nfs-server for 
openSUSE:Factory checked in at 2019-11-20 10:25:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-nfs-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-nfs-server.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-nfs-server"

Wed Nov 20 10:25:25 2019 rev:57 rq:744489 version:4.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-nfs-server/yast2-nfs-server.changes        
2019-08-30 14:37:34.933459988 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-nfs-server.new.26869/yast2-nfs-server.changes 
    2019-11-20 10:25:26.502540813 +0100
@@ -1,0 +2,8 @@
+Fri Oct 25 11:38:41 UTC 2019 - Knut Anderssen <kanders...@suse.com>
+
+- Do not use Builtins.regexpmatch when checking the options as the
+  match is failing with default options depending on the locale
+  used (bsc#1151637)
+- 4.2.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-nfs-server-4.2.1.tar.bz2

New:
----
  yast2-nfs-server-4.2.2.tar.bz2

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

Other differences:
------------------
++++++ yast2-nfs-server.spec ++++++
--- /var/tmp/diff_new_pack.cHVnYS/_old  2019-11-20 10:25:27.018540916 +0100
+++ /var/tmp/diff_new_pack.cHVnYS/_new  2019-11-20 10:25:27.018540916 +0100
@@ -20,7 +20,7 @@
 Summary:        YaST2 - NFS Server Configuration
 License:        GPL-2.0-or-later
 Group:          System/YaST
-Version:        4.2.1
+Version:        4.2.2
 Release:        0
 URL:            https://github.com/yast/yast-nfs-server
 

++++++ yast2-nfs-server-4.2.1.tar.bz2 -> yast2-nfs-server-4.2.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nfs-server-4.2.1/package/yast2-nfs-server.changes 
new/yast2-nfs-server-4.2.2/package/yast2-nfs-server.changes
--- old/yast2-nfs-server-4.2.1/package/yast2-nfs-server.changes 2019-08-27 
19:39:43.000000000 +0200
+++ new/yast2-nfs-server-4.2.2/package/yast2-nfs-server.changes 2019-10-31 
14:17:15.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Fri Oct 25 11:38:41 UTC 2019 - Knut Anderssen <kanders...@suse.com>
+
+- Do not use Builtins.regexpmatch when checking the options as the
+  match is failing with default options depending on the locale
+  used (bsc#1151637)
+- 4.2.2
+
+-------------------------------------------------------------------
 Tue Aug 27 18:20:56 CEST 2019 - sch...@suse.de
 
 - Set X-SuSE-YaST-AutoInstResource in desktop file (bsc#144894).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nfs-server-4.2.1/package/yast2-nfs-server.spec 
new/yast2-nfs-server-4.2.2/package/yast2-nfs-server.spec
--- old/yast2-nfs-server-4.2.1/package/yast2-nfs-server.spec    2019-08-27 
19:39:43.000000000 +0200
+++ new/yast2-nfs-server-4.2.2/package/yast2-nfs-server.spec    2019-10-31 
14:17:15.000000000 +0100
@@ -18,7 +18,7 @@
 
 Name:           yast2-nfs-server
 Summary:        YaST2 - NFS Server Configuration
-Version:        4.2.1
+Version:        4.2.2
 Release:        0
 URL:            https://github.com/yast/yast-nfs-server
 Group:          System/YaST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nfs-server-4.2.1/src/include/nfs_server/routines.rb 
new/yast2-nfs-server-4.2.2/src/include/nfs_server/routines.rb
--- old/yast2-nfs-server-4.2.1/src/include/nfs_server/routines.rb       
2019-08-27 19:39:43.000000000 +0200
+++ new/yast2-nfs-server-4.2.2/src/include/nfs_server/routines.rb       
2019-10-31 14:17:15.000000000 +0100
@@ -347,7 +347,7 @@
     # @return          whether valid
     def CheckExportOptions(options)
       # colon is allowed for sec= option, see man 5 exports
-      if Builtins.regexpmatch(options, "[^A-Za-z0-9=/.:,_-]")
+      if options.match?(/[^[:alnum:]=\/\.:,_-]/)
         # error popup message
         Report.Error(
           _(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nfs-server-4.2.1/src/include/nfs_server/ui.rb 
new/yast2-nfs-server-4.2.2/src/include/nfs_server/ui.rb
--- old/yast2-nfs-server-4.2.1/src/include/nfs_server/ui.rb     2019-08-27 
19:39:43.000000000 +0200
+++ new/yast2-nfs-server-4.2.2/src/include/nfs_server/ui.rb     2019-10-31 
14:17:15.000000000 +0100
@@ -200,6 +200,9 @@
         end
 
         if ret == :optsent
+          # Update the opts value when changed, otherwise the value validated
+          # later could be the cached one.
+          opts = Convert.to_string(UI.QueryWidget(Id(:optsent), :Value))
           # check to see if user has changed options entry in the dialogue
           # thrown due to a "Add Hosts" (as opposed to editing existing ones).
           # If yes, suggest the user with a suitable default option set.


Reply via email to