Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cifs-utils for openSUSE:Factory checked in at 2021-03-10 08:46:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cifs-utils (Old) and /work/SRC/openSUSE:Factory/.cifs-utils.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cifs-utils" Wed Mar 10 08:46:53 2021 rev:66 rq:877264 version:6.12 Changes: -------- --- /work/SRC/openSUSE:Factory/cifs-utils/cifs-utils.changes 2020-11-23 18:39:49.440704972 +0100 +++ /work/SRC/openSUSE:Factory/.cifs-utils.new.2378/cifs-utils.changes 2021-03-10 08:47:11.394265618 +0100 @@ -1,0 +2,50 @@ +Tue Feb 23 12:15:39 UTC 2021 - Aurelien Aptel <aap...@suse.com> + +- Update to cifs-utils 6.12 + * remove cifs-utils-6.11.tar.bz2 + * remove cifs-utils-6.11.tar.bz2.asc + * add cifs-utils-6.12.tar.bz2 + * add cifs-utils-6.12.tar.bz2.asc +- Remove backports already in 6.12 + * remove 0001-cifs-utils-Respect-DESTDIR-when-installing-smb3-stuf.patch + * remove 0002-cifs-utils-fix-probabilistic-compiling-error.patch +- Refresh Makefile.am install fix + * modify fix-sbin-install-error.patch +- Hardcode python3 interpreter in shebang of smbinfo instead of + /usr/bin/env to let rpm runtime dependency detect it. + +------------------------------------------------------------------- +Thu Jan 14 15:34:45 UTC 2021 - Ludwig Nussel <lnus...@suse.de> + +- use new %_pamdir macro to avoid hardcoding pam module path + +------------------------------------------------------------------- +Fri Dec 11 18:00:50 UTC 2020 - Aurelien Aptel <aap...@suse.com> + +- Update to cifs-utils 6.11 + * remove cifs-utils-6.9.tar.bz2 + * remove cifs-utils-6.9.tar.bz2.asc + * add cifs-utils-6.11.tar.bz2 + * add cifs-utils-6.11.tar.bz2.asc +- Remove backports already in 6.11 + * remove 0001-smbinfo-Improve-help-usage-and-add-h-option.patch + * remove 0002-smbinfo-Add-bash-completion-support-for-smbinfo.patch + * remove 0003-getcifsacl-Add-support-to-accept-more-paths.patch + * remove 0004-getcifsacl-Fix-usage-message-to-include-multiple-fil.patch + * remove 0005-smbinfo-add-GETCOMPRESSION-support.patch + * remove 0006-getcifsacl-Add-support-for-R-recursive-option.patch + * remove 0007-smbinfo-add-bash-completion-support-for-getcompressi.patch + * remove 0008-mount.cifs.c-fix-memory-leaks-in-main-func.patch + * remove 0009-Zero-fill-the-allocated-memory-for-new-struct-cifs_n.patch + * remove 0010-Zero-fill-the-allocated-memory-for-a-new-ACE.patch + * remove 0011-fix-doublefree.patch + * remove 0012-mount.cifs-Fix-invalid-free.patch + * remove 0013-CVE-2020-14342-mount.cifs-fix-shell-command-injectio.patch +- Add fixes for autoconf and make install issues + * add fix-sbin-install-error.patch + * add 0001-cifs-utils-Respect-DESTDIR-when-installing-smb3-stuf.patch + * add 0002-cifs-utils-fix-probabilistic-compiling-error.patch +- Hardcode python3 interpreter in shebang of smb2-quota instead of + /usr/bin/env to let rpm runtime dependency detect it. + +------------------------------------------------------------------- Old: ---- 0001-smbinfo-Improve-help-usage-and-add-h-option.patch 0002-smbinfo-Add-bash-completion-support-for-smbinfo.patch 0003-getcifsacl-Add-support-to-accept-more-paths.patch 0004-getcifsacl-Fix-usage-message-to-include-multiple-fil.patch 0005-smbinfo-add-GETCOMPRESSION-support.patch 0006-getcifsacl-Add-support-for-R-recursive-option.patch 0007-smbinfo-add-bash-completion-support-for-getcompressi.patch 0008-mount.cifs.c-fix-memory-leaks-in-main-func.patch 0009-Zero-fill-the-allocated-memory-for-new-struct-cifs_n.patch 0010-Zero-fill-the-allocated-memory-for-a-new-ACE.patch 0011-fix-doublefree.patch 0012-mount.cifs-Fix-invalid-free.patch 0013-CVE-2020-14342-mount.cifs-fix-shell-command-injectio.patch cifs-utils-6.9.tar.bz2 cifs-utils-6.9.tar.bz2.asc New: ---- cifs-utils-6.12.tar.bz2 cifs-utils-6.12.tar.bz2.asc fix-sbin-install-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cifs-utils.spec ++++++ --- /var/tmp/diff_new_pack.VdFHNt/_old 2021-03-10 08:47:13.938268244 +0100 +++ /var/tmp/diff_new_pack.VdFHNt/_new 2021-03-10 08:47:13.942268248 +0100 @@ -1,7 +1,7 @@ # # spec file for package cifs-utils # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,12 @@ # +%if %{undefined _pamdir} + %define _pamdir /%{_lib}/security +%endif + Name: cifs-utils -Version: 6.9 +Version: 6.12 Release: 0 Summary: Utilities for doing and managing mounts of the Linux CIFS filesystem License: GPL-3.0-or-later @@ -32,19 +36,7 @@ Source100: README.cifstab.migration Source1: cifs.init -Patch0: 0001-smbinfo-Improve-help-usage-and-add-h-option.patch -Patch1: 0002-smbinfo-Add-bash-completion-support-for-smbinfo.patch -Patch2: 0003-getcifsacl-Add-support-to-accept-more-paths.patch -Patch3: 0004-getcifsacl-Fix-usage-message-to-include-multiple-fil.patch -Patch4: 0005-smbinfo-add-GETCOMPRESSION-support.patch -Patch5: 0006-getcifsacl-Add-support-for-R-recursive-option.patch -Patch6: 0007-smbinfo-add-bash-completion-support-for-getcompressi.patch -Patch7: 0008-mount.cifs.c-fix-memory-leaks-in-main-func.patch -Patch8: 0009-Zero-fill-the-allocated-memory-for-new-struct-cifs_n.patch -Patch9: 0010-Zero-fill-the-allocated-memory-for-a-new-ACE.patch -Patch10: 0011-fix-doublefree.patch -Patch11: 0012-mount.cifs-Fix-invalid-free.patch -Patch12: 0013-CVE-2020-14342-mount.cifs-fix-shell-command-injectio.patch +Patch1: fix-sbin-install-error.patch # cifs-utils 6.8 switched to python for man page generation # we need to require either py2 or py3 package @@ -121,19 +113,14 @@ %prep %setup -q cp -a ${RPM_SOURCE_DIR}/README.cifstab.migration . -%patch0 -p1 +pyscripts="smb2-quota smbinfo" +for i in $pyscripts; do + if [ -e $i ]; then + sed -i 's,^#!/usr/bin/env python.*$,#!/usr/bin/python3,' $i + fi +done + %patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 %build export CFLAGS="%{optflags} -D_GNU_SOURCE -fpie" @@ -143,7 +130,7 @@ export ROOTSBINDIR="%{_sbindir}" %endif %configure \ - --with-pamdir=/%{_lib}/security + --with-pamdir=%{_pamdir} make %{?_smp_mflags} %install @@ -180,8 +167,10 @@ %files %if 0%{?usrmerged} %{_sbindir}/mount.cifs +%{_sbindir}/mount.smb3 %else /sbin/mount.cifs +/sbin/mount.smb3 %endif %{_bindir}/getcifsacl %{_bindir}/setcifsacl @@ -192,10 +181,13 @@ %{_bindir}/cifscreds %{_sbindir}/cifs.upcall %{_bindir}/smbinfo +%{_bindir}/smb2-quota %{_mandir}/man1/cifscreds.1%{ext_man} %{_mandir}/man1/smbinfo.1%{ext_man} +%{_mandir}/man1/smb2-quota.1%{ext_man} %{_mandir}/man8/cifs.upcall.8%{ext_man} %{_mandir}/man8/mount.cifs.8%{ext_man} +%{_mandir}/man8/mount.smb3.8%{ext_man} %dir %{_sysconfdir}/request-key.d %config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf %config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf @@ -218,7 +210,7 @@ %{_includedir}/cifsidmap.h %files -n pam_cifscreds -/%{_lib}/security/pam_cifscreds.so +/%{_pamdir}/pam_cifscreds.so %{_mandir}/man8/pam_cifscreds.8%{ext_man} %changelog ++++++ cifs-utils-6.9.tar.bz2 -> cifs-utils-6.12.tar.bz2 ++++++ ++++ 8050 lines of diff (skipped) ++++++ fix-sbin-install-error.patch ++++++ Index: cifs-utils-6.12/Makefile.am =================================================================== --- cifs-utils-6.12.orig/Makefile.am +++ cifs-utils-6.12/Makefile.am @@ -118,7 +118,7 @@ endif SUBDIRS = contrib install-exec-hook: install-sbinPROGRAMS - (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) + (mkdir -p $(DESTDIR)$(ROOTSBINDIR) && cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) install-data-hook: if CONFIG_MAN