cifs-utils: Update to 6.12

Message ID 20210130224027.3342242-1-adolf.belka@ipfire.org
State Accepted
Commit aadf0a01e3837fb874748ebb0e32d37c64632605
Headers
Series cifs-utils: Update to 6.12 |

Commit Message

Adolf Belka Jan. 30, 2021, 10:40 p.m. UTC
  - Update cifs-utils from 5.9 to 6.12
- Changelog - URL for each change gives more details of changes
	December, 2020: Release 6.12
	    get/setcifsacl tools are improved to support changing owner, group and SACLs
	    mount.cifs is enhanced to use SUDO_UID env variable for cruid
	    smbinfo is re-written in Python language
	    https://lists.samba.org/archive/samba-technical/2020-December/136156.html
	September, 2020: Release 6.11
	    CVE-2020-14342: mount.cifs: fix shell command injection
	    https://lists.samba.org/archive/samba-technical/2020-September/135747.html
	December 16, 2019: Release 6.10
	    smb3 alias/fstype is added
	    smb2-quota tool is added to display quota information
	    smb2-secdesc UI tool to view security descriptors is added
	    smbinfo is enhanced with capabilities to dump session keys and get/set compression of files
	    smbinfo bash completion is supported
	    getcifsacl tool is improved to support multiple files
	    https://lists.samba.org/archive/samba-technical/2019-December/134662.html
	April 5, 2019: Release 6.9
	    smbinfo utility is added to query various kinds of information from the server (objectId, snapshots, different FileInfo* classes and other metadata)
	    server IP change is supported by expiring DNS key resolver entries
	    get/setcifsacl tools are improved to handle unexpected behavior
	    share snapshot are allowed to be specified by a GMT token or SMB 100-nanoseconds time
	    various new mount option are documented: bsize, handletimeout, handlecache, rdma, max_credits and others
	    https://lists.samba.org/archive/samba-technical/2019-April/133233.html
	March 9, 2018: Release 6.8
	    man pages updates (auto-negotiate protocol version by default) and cleanups (moving to .rst format)
	    setcifsacl: fix security descriptor buffer size mismatch
	    cifscreds: fix a segfault for incorrect usage
	    minor mount.cifs fixes
	    https://lists.samba.org/archive/samba-technical/2018-March/126227.html
	March 2, 2017: Release 6.7
	    fixes for regressions from cifs.upcall overhaul
	    mount.cifs cleanups
	    https://lists.samba.org/archive/samba-technical/2017-March/119036.html
	September 3, 2016: Release 6.6
	    cleanup/overhaul of cifs.upcall krb5 credcache handling
	    https://lists.samba.org/archive/samba-technical/2016-September/115974.html
	February 22, 2016: Release 6.5
	    mount.cifs: ignore x- mount options
	    minor build fixes
	    minor manpage fix
	    https://lists.samba.org/archive/samba-technical/2016-February/112372.html
	July 11, 2014: Release 6.4
	    allow PAM directory to be configurable
	    better determination of default keytab file
	    better cifscreds error handling
	    uppercase devicename when retrying mount
	    https://lists.samba.org/archive/samba-technical/2014-July/101132.html
	January 9, 2014: Release 6.3
	    fixes for various bugs turned up by Coverity
	    clean unused cruft out of upcall binary
	    add new pam_cifscreds PAM module for establishing NTLM creds on login
	    https://lists.samba.org/archive/samba-technical/2014-January/097124.html
	October 4, 2013: Release 6.2
	    setcifsacl can now work without a plugin
	    systemd-ask-password is found using $PATH now
	    cifs.upcall now works with KEYRING: credcaches
	    https://lists.samba.org/archive/samba-technical/2013-October/095287.html
	July 2, 2013: Release 6.1
	    minor bugfixes
	    allow cifs.upcall to use dedicated keytab
	    https://lists.samba.org/archive/samba-technical/2013-July/093601.html
	March 25, 2013: Release 6.0
	    minor bugfixes and documentation updates
	    support for NFS-style device names removed
	    https://lists.samba.org/archive/samba-technical/2013-March/091169.html
- Rootfile updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/cifs-utils | 6 ++++++
 lfs/cifs-utils                       | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)
  

Comments

Peter Müller Jan. 31, 2021, 7:06 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update cifs-utils from 5.9 to 6.12
> - Changelog - URL for each change gives more details of changes
> 	December, 2020: Release 6.12
> 	    get/setcifsacl tools are improved to support changing owner, group and SACLs
> 	    mount.cifs is enhanced to use SUDO_UID env variable for cruid
> 	    smbinfo is re-written in Python language
> 	    https://lists.samba.org/archive/samba-technical/2020-December/136156.html
> 	September, 2020: Release 6.11
> 	    CVE-2020-14342: mount.cifs: fix shell command injection
> 	    https://lists.samba.org/archive/samba-technical/2020-September/135747.html
> 	December 16, 2019: Release 6.10
> 	    smb3 alias/fstype is added
> 	    smb2-quota tool is added to display quota information
> 	    smb2-secdesc UI tool to view security descriptors is added
> 	    smbinfo is enhanced with capabilities to dump session keys and get/set compression of files
> 	    smbinfo bash completion is supported
> 	    getcifsacl tool is improved to support multiple files
> 	    https://lists.samba.org/archive/samba-technical/2019-December/134662.html
> 	April 5, 2019: Release 6.9
> 	    smbinfo utility is added to query various kinds of information from the server (objectId, snapshots, different FileInfo* classes and other metadata)
> 	    server IP change is supported by expiring DNS key resolver entries
> 	    get/setcifsacl tools are improved to handle unexpected behavior
> 	    share snapshot are allowed to be specified by a GMT token or SMB 100-nanoseconds time
> 	    various new mount option are documented: bsize, handletimeout, handlecache, rdma, max_credits and others
> 	    https://lists.samba.org/archive/samba-technical/2019-April/133233.html
> 	March 9, 2018: Release 6.8
> 	    man pages updates (auto-negotiate protocol version by default) and cleanups (moving to .rst format)
> 	    setcifsacl: fix security descriptor buffer size mismatch
> 	    cifscreds: fix a segfault for incorrect usage
> 	    minor mount.cifs fixes
> 	    https://lists.samba.org/archive/samba-technical/2018-March/126227.html
> 	March 2, 2017: Release 6.7
> 	    fixes for regressions from cifs.upcall overhaul
> 	    mount.cifs cleanups
> 	    https://lists.samba.org/archive/samba-technical/2017-March/119036.html
> 	September 3, 2016: Release 6.6
> 	    cleanup/overhaul of cifs.upcall krb5 credcache handling
> 	    https://lists.samba.org/archive/samba-technical/2016-September/115974.html
> 	February 22, 2016: Release 6.5
> 	    mount.cifs: ignore x- mount options
> 	    minor build fixes
> 	    minor manpage fix
> 	    https://lists.samba.org/archive/samba-technical/2016-February/112372.html
> 	July 11, 2014: Release 6.4
> 	    allow PAM directory to be configurable
> 	    better determination of default keytab file
> 	    better cifscreds error handling
> 	    uppercase devicename when retrying mount
> 	    https://lists.samba.org/archive/samba-technical/2014-July/101132.html
> 	January 9, 2014: Release 6.3
> 	    fixes for various bugs turned up by Coverity
> 	    clean unused cruft out of upcall binary
> 	    add new pam_cifscreds PAM module for establishing NTLM creds on login
> 	    https://lists.samba.org/archive/samba-technical/2014-January/097124.html
> 	October 4, 2013: Release 6.2
> 	    setcifsacl can now work without a plugin
> 	    systemd-ask-password is found using $PATH now
> 	    cifs.upcall now works with KEYRING: credcaches
> 	    https://lists.samba.org/archive/samba-technical/2013-October/095287.html
> 	July 2, 2013: Release 6.1
> 	    minor bugfixes
> 	    allow cifs.upcall to use dedicated keytab
> 	    https://lists.samba.org/archive/samba-technical/2013-July/093601.html
> 	March 25, 2013: Release 6.0
> 	    minor bugfixes and documentation updates
> 	    support for NFS-style device names removed
> 	    https://lists.samba.org/archive/samba-technical/2013-March/091169.html
> - Rootfile updated
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/packages/cifs-utils | 6 ++++++
>  lfs/cifs-utils                       | 6 +++---
>  2 files changed, 9 insertions(+), 3 deletions(-)
> 
> diff --git a/config/rootfiles/packages/cifs-utils b/config/rootfiles/packages/cifs-utils
> index e26e37e88..fe8109a62 100644
> --- a/config/rootfiles/packages/cifs-utils
> +++ b/config/rootfiles/packages/cifs-utils
> @@ -1,3 +1,9 @@
>  sbin/mount.cifs
> +sbin/mount.smb3
> +#usr/local/bin/smb2-quota
> +#usr/local/bin/smbinfo
>  #usr/local/include/cifsidmap.h
> +#usr/local/share/man/man1/smb2-quota.1
> +#usr/local/share/man/man1/smbinfo.1
>  #usr/local/share/man/man8/mount.cifs.8
> +#usr/local/share/man/man8/mount.smb3.8
> diff --git a/lfs/cifs-utils b/lfs/cifs-utils
> index 7502cb021..05705393c 100644
> --- a/lfs/cifs-utils
> +++ b/lfs/cifs-utils
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 5.9
> +VER        = 6.12
>  
>  THISAPP    = cifs-utils-$(VER)
>  DL_FILE    = $(THISAPP).tar.bz2
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = cifs-utils
> -PAK_VER    = 1
> +PAK_VER    = 2
>  
>  DEPS       =
>  
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 7164ad6f7963a31fcbffbe4f14a7cfc6
> +$(DL_FILE)_MD5 = b49b10692bcae7f28669173a472077dd
>  
>  install : $(TARGET)
>  
>
  

Patch

diff --git a/config/rootfiles/packages/cifs-utils b/config/rootfiles/packages/cifs-utils
index e26e37e88..fe8109a62 100644
--- a/config/rootfiles/packages/cifs-utils
+++ b/config/rootfiles/packages/cifs-utils
@@ -1,3 +1,9 @@ 
 sbin/mount.cifs
+sbin/mount.smb3
+#usr/local/bin/smb2-quota
+#usr/local/bin/smbinfo
 #usr/local/include/cifsidmap.h
+#usr/local/share/man/man1/smb2-quota.1
+#usr/local/share/man/man1/smbinfo.1
 #usr/local/share/man/man8/mount.cifs.8
+#usr/local/share/man/man8/mount.smb3.8
diff --git a/lfs/cifs-utils b/lfs/cifs-utils
index 7502cb021..05705393c 100644
--- a/lfs/cifs-utils
+++ b/lfs/cifs-utils
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 5.9
+VER        = 6.12
 
 THISAPP    = cifs-utils-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cifs-utils
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       =
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 7164ad6f7963a31fcbffbe4f14a7cfc6
+$(DL_FILE)_MD5 = b49b10692bcae7f28669173a472077dd
 
 install : $(TARGET)