Hello community,
here is the log from the commit of package yast2-ftp-server for
openSUSE:Factory checked in at 2020-01-04 19:20:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ftp-server (Old)
and /work/SRC/openSUSE:Factory/.yast2-ftp-server.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ftp-server"
Sat Jan 4 19:20:51 2020 rev:69 rq:760062 version:4.2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ftp-server/yast2-ftp-server.changes
2019-10-03 14:08:00.564324111 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-ftp-server.new.6675/yast2-ftp-server.changes
2020-01-04 19:20:57.741127164 +0100
@@ -1,0 +2,6 @@
+Mon Dec 30 16:11:40 UTC 2019 - Josef Reidinger <[email protected]>
+
+- fix crash with undefined method mkdir (bsc#1158421)
+- 4.2.3
+
+-------------------------------------------------------------------
Old:
----
yast2-ftp-server-4.2.2.tar.bz2
New:
----
yast2-ftp-server-4.2.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ftp-server.spec ++++++
--- /var/tmp/diff_new_pack.rdWfWQ/_old 2020-01-04 19:20:58.993127719 +0100
+++ /var/tmp/diff_new_pack.rdWfWQ/_new 2020-01-04 19:20:58.997127720 +0100
@@ -17,7 +17,7 @@
Name: yast2-ftp-server
-Version: 4.2.2
+Version: 4.2.3
Release: 0
Summary: YaST2 - FTP configuration
License: GPL-2.0-only
++++++ yast2-ftp-server-4.2.2.tar.bz2 -> yast2-ftp-server-4.2.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ftp-server-4.2.2/package/yast2-ftp-server.changes
new/yast2-ftp-server-4.2.3/package/yast2-ftp-server.changes
--- old/yast2-ftp-server-4.2.2/package/yast2-ftp-server.changes 2019-10-03
12:56:49.000000000 +0200
+++ new/yast2-ftp-server-4.2.3/package/yast2-ftp-server.changes 2019-12-30
17:22:43.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Dec 30 16:11:40 UTC 2019 - Josef Reidinger <[email protected]>
+
+- fix crash with undefined method mkdir (bsc#1158421)
+- 4.2.3
+
+-------------------------------------------------------------------
Thu Oct 3 10:45:18 UTC 2019 - Josef Reidinger <[email protected]>
- Fix autoyast client (bsc#1149932)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ftp-server-4.2.2/package/yast2-ftp-server.spec
new/yast2-ftp-server-4.2.3/package/yast2-ftp-server.spec
--- old/yast2-ftp-server-4.2.2/package/yast2-ftp-server.spec 2019-10-03
12:56:49.000000000 +0200
+++ new/yast2-ftp-server-4.2.3/package/yast2-ftp-server.spec 2019-12-30
17:22:43.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-ftp-server
-Version: 4.2.2
+Version: 4.2.3
Release: 0
Summary: YaST2 - FTP configuration
License: GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ftp-server-4.2.2/src/include/ftp-server/wid_functions.rb
new/yast2-ftp-server-4.2.3/src/include/ftp-server/wid_functions.rb
--- old/yast2-ftp-server-4.2.2/src/include/ftp-server/wid_functions.rb
2019-10-03 12:56:49.000000000 +0200
+++ new/yast2-ftp-server-4.2.3/src/include/ftp-server/wid_functions.rb
2019-12-30 17:22:43.000000000 +0100
@@ -20,7 +20,6 @@
Yast.import "Service"
Yast.import "Users"
Yast.import "Mode"
- Yast.import "FileUtils"
Yast.import "Label"
Yast.import "FtpServer"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ftp-server-4.2.2/src/modules/FtpServer.rb
new/yast2-ftp-server-4.2.3/src/modules/FtpServer.rb
--- old/yast2-ftp-server-4.2.2/src/modules/FtpServer.rb 2019-10-03
12:56:49.000000000 +0200
+++ new/yast2-ftp-server-4.2.3/src/modules/FtpServer.rb 2019-12-30
17:22:43.000000000 +0100
@@ -518,19 +518,19 @@
dir = @anon_homedir + upload
- if !File.exist?(dir)
- FileUtils.mkdir(dir)
- FileUtils.chown(user, user, dir) if user
+ if !::File.exist?(dir)
+ ::FileUtils.mkdir(dir)
+ ::FileUtils.chown(user, user, dir) if user
end
- FileUtils.chmod(0o766, dir)
+ ::FileUtils.chmod(0o766, dir)
end
# restart/reaload daemons...
Service.restart("vsftpd") if Service.active?("vsftpd")
# update permissions for home directory if upload is enabled...
if @pure_ftp_allowed_permissios_upload != -1 && @change_permissions
- FileUtils.chmod(0o755, @anon_homedir)
+ ::FileUtils.chmod(0o755, @anon_homedir)
end
true