cifs-utils/cifs-utils.spec

250 lines
7.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package cifs-utils
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if %{undefined _pamdir}
%define _pamdir /%{_lib}/security
%endif
Name: cifs-utils
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
Version: 6.12
Release: 0
Summary: Utilities for doing and managing mounts of the Linux CIFS filesystem
License: GPL-3.0-or-later
Group: System/Filesystems
URL: http://www.samba.org/linux-cifs/cifs-utils/
# origin git://git.samba.org/cifs-utils.git
# for-next https://github.com/piastry/cifs-utils.git
Source: https://ftp.samba.org/pub/linux-cifs/%{name}/%{name}-%{version}.tar.bz2
Source5: https://ftp.samba.org/pub/linux-cifs/%{name}/%{name}-%{version}.tar.bz2.asc
# http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-pubkey_70F3B981.asc
Source6: cifs-utils.keyring
Source100: README.cifstab.migration
Source1: cifs.init
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
Patch1: fix-sbin-install-error.patch
Patch2: 0001-cifs.upcall-try-to-use-container-ipc-uts-net-pid-mnt.patch
Patch3: 0001-cifs.upcall-fix-regression-in-kerberos-mount.patch
# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko
# /etc/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins
# * cifs-utils one is the default (priority 20)
# * installing SSSD should NOT switch to SSSD plugin (priority 10)
%define cifs_idmap_plugin %{_sysconfdir}/cifs-utils/idmap-plugin
%define cifs_idmap_lib %{_libdir}/cifs-utils/idmapwb.so
%define cifs_idmap_name cifs-idmap-plugin
%define cifs_idmap_priority 20
BuildRequires: update-alternatives
Requires(post): update-alternatives
Requires(preun): update-alternatives
# cifs-utils 6.8 switched to python for man page generation
# we need to require either py2 or py3 package
# some products do not have a py2/py3 versions
%if 0%{?suse_version} >= 1500
BuildRequires: python3-docutils
%else
BuildRequires: python-docutils
%endif
%if 0%{?suse_version} >= 1221
%define systemd 1
%else
%define systemd 0
%endif
%if 0%{?suse_version} < 1221
PreReq: insserv %{?fillup_prereq}
%endif
%define initdir %{_sysconfdir}/init.d
Provides: cifs-mount = %{version}
Obsoletes: cifs-mount < %{version}
%if 0%{?suse_version} > 1140
BuildRequires: autoconf
%endif
BuildRequires: automake
BuildRequires: keyutils-devel
BuildRequires: krb5-devel
%if 0%{?suse_version} > 1120
BuildRequires: libcap-ng-devel
%else
BuildRequires: libcap-devel
%endif
#!BuildIgnore: samba-client
BuildRequires: libtalloc-devel
%if 0%{?suse_version} > 1110
BuildRequires: fdupes
%endif
BuildRequires: libwbclient-devel
BuildRequires: pam-devel
BuildRequires: pkg-config
Requires: keyutils
%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
%description
The cifs-utils package consist of utilities for doing and managing mounts of
the Linux CIFS filesystem.
%package devel
Summary: Files needed for building plugins for cifs-utils
Group: Development/Libraries/C and C++
%description devel
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
on Microsoft Windows machines. This package contains the header file
necessary for building ID mapping plugins for cifs-utils.
%package -n pam_cifscreds
Summary: PAM module to manage NTLM credentials in kernel keyring
Group: System/Libraries
%description -n pam_cifscreds
The pam_cifscreds PAM module is a tool for automatically adding
credentials (username and password) for the purpose of establishing
sessions in multiuser mounts.
When a cifs filesystem is mounted with the "multiuser" option, and does
not use krb5 authentication, it needs to be able to get the credentials
for each user from somewhere. The pam_cifscreds module can be used to
provide these credentials to the kernel automatically at login.
%prep
%setup -q
cp -a ${RPM_SOURCE_DIR}/README.cifstab.migration .
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
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
%build
export CFLAGS="%{optflags} -D_GNU_SOURCE -fpie"
export LDFLAGS="-pie"
autoreconf -i
%if 0%{?usrmerged}
export ROOTSBINDIR="%{_sbindir}"
%endif
%configure \
--with-pamdir=%{_pamdir}
make %{?_smp_mflags}
%install
%if ! %{systemd}
mkdir -p %{buildroot}/%{_sysconfdir}/init.d
%endif
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
install -m 644 -p contrib/request-key.d/cifs.idmap.conf %{buildroot}%{_sysconfdir}/request-key.d
install -m 644 -p contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
%if 0%{?suse_version} > 1221
mkdir -p \
%{buildroot}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d \
%{buildroot}/%{_sysconfdir}/samba \
%{buildroot}/%{_sbindir} \
%{buildroot}/%{_rundir}
%if ! %{systemd}
install -m 0755 -p ${RPM_SOURCE_DIR}/cifs.init %{buildroot}/%{_sysconfdir}/init.d/cifs
ln -s service %{buildroot}/%{_sbindir}/rccifs
%endif
# dummy target for cifs-idmap-plugin
mkdir -p %{buildroot}%{_sysconfdir}/alternatives %{buildroot}%{_sysconfdir}/cifs-utils
ln -s -f %{_sysconfdir}/alternatives/%{cifs_idmap_name} %{buildroot}%{cifs_idmap_plugin}
touch %{buildroot}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d/${script} \
%{buildroot}%{_rundir}/cifs
%endif
# Hardlink duplicate files
%if 0%{?suse_version} > 1110
%fdupes %{buildroot}
%endif
%post
# install cifs-utils cifs-idmap plugin using alternatives system
update-alternatives --install %{cifs_idmap_plugin} %{cifs_idmap_name} %{cifs_idmap_lib} %{cifs_idmap_priority}
%postun
if [ ! -f %{cifs_idmap_lib} ] ; then
update-alternatives --remove %{cifs_idmap_name} %{cifs_idmap_lib}
fi
%files
%if 0%{?usrmerged}
%{_sbindir}/mount.cifs
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
%{_sbindir}/mount.smb3
%else
/sbin/mount.cifs
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
/sbin/mount.smb3
%endif
%{_bindir}/getcifsacl
%{_bindir}/setcifsacl
%{_sbindir}/cifs.idmap
%{_mandir}/man1/getcifsacl.1%{ext_man}
%{_mandir}/man1/setcifsacl.1%{ext_man}
%{_mandir}/man8/cifs.idmap.8%{ext_man}
%{_bindir}/cifscreds
%{_sbindir}/cifs.upcall
%{_bindir}/smbinfo
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
%{_bindir}/smb2-quota
%{_mandir}/man1/cifscreds.1%{ext_man}
%{_mandir}/man1/smbinfo.1%{ext_man}
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
%{_mandir}/man1/smb2-quota.1%{ext_man}
%{_mandir}/man8/cifs.upcall.8%{ext_man}
%{_mandir}/man8/mount.cifs.8%{ext_man}
Accepting request 877262 from home:aaptel:cifs-utils-next - 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. - 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. OBS-URL: https://build.opensuse.org/request/show/877262 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=188
2021-03-05 16:46:11 +01:00
%{_mandir}/man8/mount.smb3.8%{ext_man}
# request keys
%dir %{_sysconfdir}/request-key.d
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
# idmap plugin
%dir %_sysconfdir/cifs-utils
%{cifs_idmap_plugin}
%dir %_libdir/cifs-utils
%{cifs_idmap_lib}
%ghost %_sysconfdir/alternatives/%{cifs_idmap_name}
%{_mandir}/man8/idmapwb.8%{ext_man}
%if 0%{?suse_version} > 1221
%if ! %{systemd}
%attr(0754,root,root) %config %{_sysconfdir}/init.d/cifs
%{_sbindir}/rccifs
%endif
%dir %{_sysconfdir}/samba
%ghost %{_rundir}/cifs
%endif
%doc README.cifstab.migration
%files devel
%{_includedir}/cifsidmap.h
%files -n pam_cifscreds
/%{_pamdir}/pam_cifscreds.so
%{_mandir}/man8/pam_cifscreds.8%{ext_man}
%changelog