Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ksmbd-tools for openSUSE:Factory 
checked in at 2023-08-23 14:58:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksmbd-tools (Old)
 and      /work/SRC/openSUSE:Factory/.ksmbd-tools.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksmbd-tools"

Wed Aug 23 14:58:24 2023 rev:3 rq:1105310 version:3.4.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksmbd-tools/ksmbd-tools.changes  2023-04-10 
20:16:51.568915600 +0200
+++ /work/SRC/openSUSE:Factory/.ksmbd-tools.new.1766/ksmbd-tools.changes        
2023-08-23 14:59:32.554196991 +0200
@@ -1,0 +2,10 @@
+Thu Jul 27 20:50:20 UTC 2023 - David Disseldorp <dd...@suse.com>
+
+- Update to version 3.4.9:
+  * Fix handling of max connections on config reload.
+  * Add a crossmnt parameter in smb.conf.
+
+- Remove unnecessary kernel-default BuildRequires
+- Add explicit --with-systemdsystemunitdir %configure parameter
+
+-------------------------------------------------------------------

Old:
----
  3.4.8.tar.gz

New:
----
  3.4.9.tar.gz

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

Other differences:
------------------
++++++ ksmbd-tools.spec ++++++
--- /var/tmp/diff_new_pack.XeEdjL/_old  2023-08-23 14:59:33.142198042 +0200
+++ /var/tmp/diff_new_pack.XeEdjL/_new  2023-08-23 14:59:33.146198049 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           ksmbd-tools
-Version:        3.4.8
+Version:        3.4.9
 Release:        0
 Summary:        ksmbd kernel server userspace utilities
 License:        GPL-2.0-or-later
@@ -25,13 +25,12 @@
 URL:            https://github.com/cifsd-team/ksmbd-tools
 Source:         
https://github.com/cifsd-team/ksmbd-tools/archive/refs/tags/%{version}.tar.gz
 
-# ksmbd kernel module was only added in kernel 5.15
-BuildRequires:  kernel-default >= 5.15
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  glib2-devel
 BuildRequires:  libnl3-devel
 BuildRequires:  libtool
+# ksmbd kernel module was only added in kernel 5.15
 Requires:       kmod(ksmbd.ko)
 
 %description
@@ -43,7 +42,7 @@
 
 %build
 ./autogen.sh
-%configure
+%configure --with-systemdsystemunitdir=%{_unitdir}
 %make_build
 
 %install

++++++ 3.4.8.tar.gz -> 3.4.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/include/linux/ksmbd_server.h 
new/ksmbd-tools-3.4.9/include/linux/ksmbd_server.h
--- old/ksmbd-tools-3.4.8/include/linux/ksmbd_server.h  2023-04-08 
11:16:10.000000000 +0200
+++ new/ksmbd-tools-3.4.9/include/linux/ksmbd_server.h  2023-07-25 
04:47:13.000000000 +0200
@@ -238,7 +238,8 @@
 #define KSMBD_SHARE_FLAG_STREAMS               (1 << 11)
 #define KSMBD_SHARE_FLAG_FOLLOW_SYMLINKS       (1 << 12)
 #define KSMBD_SHARE_FLAG_ACL_XATTR             (1 << 13)
-#define KSMBD_SHARE_FLAG_UPDATE                (1 << 14)
+#define KSMBD_SHARE_FLAG_UPDATE                        (1 << 14)
+#define KSMBD_SHARE_FLAG_CROSSMNT              (1 << 15)
 
 /*
  * Tree connect request flags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/include/management/share.h 
new/ksmbd-tools-3.4.9/include/management/share.h
--- old/ksmbd-tools-3.4.8/include/management/share.h    2023-04-08 
11:16:10.000000000 +0200
+++ new/ksmbd-tools-3.4.9/include/management/share.h    2023-07-25 
04:47:13.000000000 +0200
@@ -117,6 +117,7 @@
        KSMBD_SHARE_CONF_FOLLOW_SYMLINKS,
        KSMBD_SHARE_CONF_VFS_OBJECTS,
        KSMBD_SHARE_CONF_WRITABLE,
+       KSMBD_SHARE_CONF_CROSSMNT                       = 30,
        KSMBD_SHARE_CONF_MAX
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/include/version.h 
new/ksmbd-tools-3.4.9/include/version.h
--- old/ksmbd-tools-3.4.8/include/version.h     2023-04-08 11:16:10.000000000 
+0200
+++ new/ksmbd-tools-3.4.9/include/version.h     2023-07-25 04:47:13.000000000 
+0200
@@ -5,6 +5,6 @@
 
 #ifndef _VERSION_H
 
-#define KSMBD_TOOLS_VERSION "3.4.8"
+#define KSMBD_TOOLS_VERSION "3.4.9"
 
 #endif /* !_VERSION_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/ksmbd.conf.5.in 
new/ksmbd-tools-3.4.9/ksmbd.conf.5.in
--- old/ksmbd-tools-3.4.8/ksmbd.conf.5.in       2023-04-08 11:16:10.000000000 
+0200
+++ new/ksmbd-tools-3.4.9/ksmbd.conf.5.in       2023-07-25 04:47:13.000000000 
+0200
@@ -173,10 +173,16 @@
 Default: \fBmax active sessions = 1024\fR \" KSMBD_CONF_DEFAULT_SESS_CAP
 .TP
 \fBmax connections\fR (G)
+Maximum number of simultaneous connections to the server.
+With \fBmax connections = 0\fR, the value will be set to the maximum allowed 
number of 65536. \" KSMBD_CONF_MAX_CONNECTIONS
+
+Default: \fBmax connections = 128\fR \" KSMBD_CONF_DEFAULT_CONNECTIONS
+.TP
+\fBmax connections\fR (S)
 Maximum number of simultaneous connections to the share.
-The maximum value is 64k. Values greater than 64k or 0 will be silently set to 
64k.
+With \fBmax connections = 0\fR, the value will be set to the maximum allowed 
number of 65536. \" KSMBD_CONF_MAX_CONNECTIONS
 
-Default: \fBmax connections = 128\fR
+Default: \fBmax connections = 128\fR \" KSMBD_CONF_DEFAULT_CONNECTIONS
 .TP
 \fBmax open files\fR (G)
 Maximum number of simultaneous open files for a client.
@@ -340,6 +346,11 @@
 Inverted synonym for \fBread only\fP.
 
 Default: \fBwriteable = no\fR
+.TP
+\fBcrossmnt\fR (S)
+Allow path lookup to cross a mountpoint to the root of a different filesystem.
+
+Default: \fBcrossmnt = yes\fR
 .SH COPYRIGHT
 Copyright \(co 2015-2022 ksmbd-tools contributors.
 License GPLv2: GNU GPL version 2 
<https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/ksmbd.conf.example 
new/ksmbd-tools-3.4.9/ksmbd.conf.example
--- old/ksmbd-tools-3.4.8/ksmbd.conf.example    2023-04-08 11:16:10.000000000 
+0200
+++ new/ksmbd-tools-3.4.9/ksmbd.conf.example    2023-07-25 04:47:13.000000000 
+0200
@@ -11,6 +11,7 @@
        kerberos service name = 
        map to guest = never
        max active sessions = 1024
+       max connections = 128
        max open files = 10000
        netbios name = KSMBD SERVER
        restrict anonymous = 0
@@ -26,11 +27,10 @@
        smb2 max read = 4MB
        smb2 max trans = 1MB
        smb2 max write = 4MB
-       smb3 encryption = no
+       smb3 encryption = auto
        smbd max io size = 8MB
        tcp port = 445
        workgroup = WORKGROUP
-       max connections = 128
 
        ; share parameters for all sections
        browseable = yes
@@ -45,7 +45,6 @@
        hide dot files = yes
        inherit owner = no
        invalid users = 
-       max connections = 128
        oplocks = yes
        path = 
        read list = 
@@ -55,6 +54,7 @@
        vfs objects = 
        write list = 
        writeable = no
+       crossmnt = yes
 
 [example]
        ; share parameter overrides for `example' share
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/tools/config_parser.c 
new/ksmbd-tools-3.4.9/tools/config_parser.c
--- old/ksmbd-tools-3.4.8/tools/config_parser.c 2023-04-08 11:16:10.000000000 
+0200
+++ new/ksmbd-tools-3.4.9/tools/config_parser.c 2023-07-25 04:47:13.000000000 
+0200
@@ -598,6 +598,7 @@
                return;
 
        g_hash_table_remove(global_group->kv, "guest account");
+       g_hash_table_remove(global_group->kv, "max connections");
        g_hash_table_foreach(global_group->kv, append_key_value, group->kv);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksmbd-tools-3.4.8/tools/management/share.c 
new/ksmbd-tools-3.4.9/tools/management/share.c
--- old/ksmbd-tools-3.4.8/tools/management/share.c      2023-04-08 
11:16:10.000000000 +0200
+++ new/ksmbd-tools-3.4.9/tools/management/share.c      2023-07-25 
04:47:13.000000000 +0200
@@ -57,6 +57,7 @@
        "follow symlinks",
        "vfs objects",
        "writable",
+       "crossmnt",                             /* 30 */
 };
 
 static GHashTable      *shares_table;
@@ -633,6 +634,13 @@
                }
        }
 
+       if (shm_share_config(k, KSMBD_SHARE_CONF_CROSSMNT)) {
+               if (cp_get_group_kv_bool(v))
+                       set_share_flag(share, KSMBD_SHARE_FLAG_CROSSMNT);
+               else
+                       clear_share_flag(share, KSMBD_SHARE_FLAG_CROSSMNT);
+               return;
+       }
 }
 
 static void fixup_missing_fields(struct ksmbd_share *share)
@@ -660,6 +668,7 @@
        set_share_flag(share, KSMBD_SHARE_FLAG_HIDE_DOT_FILES);
        set_share_flag(share, KSMBD_SHARE_FLAG_OPLOCKS);
        set_share_flag(share, KSMBD_SHARE_FLAG_STORE_DOS_ATTRS);
+       set_share_flag(share, KSMBD_SHARE_FLAG_CROSSMNT);
 
        if (!g_ascii_strcasecmp(share->name, "ipc$"))
                set_share_flag(share, KSMBD_SHARE_FLAG_PIPE);

Reply via email to