|
|
@ -6,19 +6,21 @@ Version: 7.0
|
|
|
|
Release: 1%{pre_release}%{?dist}
|
|
|
|
Release: 1%{pre_release}%{?dist}
|
|
|
|
Summary: Utilities for mounting and managing CIFS mounts
|
|
|
|
Summary: Utilities for mounting and managing CIFS mounts
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
License: GPLv3
|
|
|
|
URL: http://linux-cifs.samba.org/cifs-utils/
|
|
|
|
URL: http://linux-cifs.samba.org/cifs-utils/
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake libwbclient-devel pam-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake libwbclient-devel pam-devel
|
|
|
|
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
Requires: keyutils
|
|
|
|
Requires: keyutils
|
|
|
|
Requires(post): /usr/sbin/alternatives
|
|
|
|
Requires(post): /usr/sbin/alternatives
|
|
|
|
Requires(preun): /usr/sbin/alternatives
|
|
|
|
Requires(preun): /usr/sbin/alternatives
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Recommends: %{name}-info%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
|
|
|
|
Patch1: 0001-Use-explicit-usr-bin-python3.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
@ -30,7 +32,6 @@ file system.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Files needed for building plugins for cifs-utils
|
|
|
|
Summary: Files needed for building plugins for cifs-utils
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
@ -39,7 +40,6 @@ necessary for building ID mapping plugins for cifs-utils.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n pam_cifscreds
|
|
|
|
%package -n pam_cifscreds
|
|
|
|
Summary: PAM module to manage NTLM credentials in kernel keyring
|
|
|
|
Summary: PAM module to manage NTLM credentials in kernel keyring
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n pam_cifscreds
|
|
|
|
%description -n pam_cifscreds
|
|
|
|
The pam_cifscreds PAM module is a tool for automatically adding
|
|
|
|
The pam_cifscreds PAM module is a tool for automatically adding
|
|
|
@ -53,9 +53,9 @@ provide these credentials to the kernel automatically at login.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{pre_release}
|
|
|
|
%setup -q -n %{name}-%{version}%{pre_release}
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
fgrep -r -l '/usr/bin/env python' | xargs -n1 sed -i 's@/usr/bin/env python.*@%python3@g'
|
|
|
|
autoreconf -i
|
|
|
|
autoreconf -i
|
|
|
|
%configure --prefix=/usr ROOTSBINDIR=%{_sbindir}
|
|
|
|
%configure --prefix=/usr ROOTSBINDIR=%{_sbindir}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -69,29 +69,24 @@ install -m 644 contrib/request-key.d/cifs.idmap.conf %{buildroot}%{_sysconfdir}/
|
|
|
|
install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
|
|
|
|
install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc
|
|
|
|
%doc
|
|
|
|
%{_bindir}/getcifsacl
|
|
|
|
%{_bindir}/getcifsacl
|
|
|
|
%{_bindir}/setcifsacl
|
|
|
|
%{_bindir}/setcifsacl
|
|
|
|
%{_bindir}/cifscreds
|
|
|
|
%{_bindir}/cifscreds
|
|
|
|
%{_bindir}/smbinfo
|
|
|
|
|
|
|
|
%{_bindir}/smb2-quota
|
|
|
|
|
|
|
|
%{_sbindir}/mount.cifs
|
|
|
|
%{_sbindir}/mount.cifs
|
|
|
|
%{_sbindir}/mount.smb3
|
|
|
|
%{_sbindir}/mount.smb3
|
|
|
|
%{_sbindir}/cifs.upcall
|
|
|
|
%{_sbindir}/cifs.upcall
|
|
|
|
%{_sbindir}/cifs.idmap
|
|
|
|
%{_sbindir}/cifs.idmap
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%{_libdir}/%{name}/idmapwb.so
|
|
|
|
%{_libdir}/%{name}/idmapwb.so
|
|
|
|
%{_mandir}/man1/getcifsacl.1.gz
|
|
|
|
%{_mandir}/man1/getcifsacl.*
|
|
|
|
%{_mandir}/man1/setcifsacl.1.gz
|
|
|
|
%{_mandir}/man1/setcifsacl.*
|
|
|
|
%{_mandir}/man1/cifscreds.1.gz
|
|
|
|
%{_mandir}/man1/cifscreds.*
|
|
|
|
%{_mandir}/man1/smbinfo.1.gz
|
|
|
|
%{_mandir}/man8/cifs.upcall.*
|
|
|
|
%{_mandir}/man1/smb2-quota.1.gz
|
|
|
|
%{_mandir}/man8/cifs.idmap.*
|
|
|
|
%{_mandir}/man8/cifs.upcall.8.gz
|
|
|
|
%{_mandir}/man8/mount.cifs.*
|
|
|
|
%{_mandir}/man8/cifs.idmap.8.gz
|
|
|
|
%{_mandir}/man8/mount.smb3.*
|
|
|
|
%{_mandir}/man8/mount.cifs.8.gz
|
|
|
|
%{_mandir}/man8/idmapwb.*
|
|
|
|
%{_mandir}/man8/mount.smb3.8.gz
|
|
|
|
|
|
|
|
%{_mandir}/man8/idmapwb.8.gz
|
|
|
|
|
|
|
|
%dir %{_sysconfdir}/cifs-utils
|
|
|
|
%dir %{_sysconfdir}/cifs-utils
|
|
|
|
%ghost %{_sysconfdir}/cifs-utils/idmap-plugin
|
|
|
|
%ghost %{_sysconfdir}/cifs-utils/idmap-plugin
|
|
|
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
|
|
|
@ -112,39 +107,69 @@ fi
|
|
|
|
%{_libdir}/security/pam_cifscreds.so
|
|
|
|
%{_libdir}/security/pam_cifscreds.so
|
|
|
|
%{_mandir}/man8/pam_cifscreds.8.gz
|
|
|
|
%{_mandir}/man8/pam_cifscreds.8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# This subpackage also serves the purpose of avoiding a Python dependency on
|
|
|
|
|
|
|
|
# the main package: https://bugzilla.redhat.com/show_bug.cgi?id=1909288.
|
|
|
|
|
|
|
|
%package info
|
|
|
|
|
|
|
|
Summary: Additional tools for querying information about CIFS mount
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description info
|
|
|
|
|
|
|
|
This subpackage includes additional tools for querying information
|
|
|
|
|
|
|
|
about CIFS mount.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files info
|
|
|
|
|
|
|
|
%{_bindir}/smb2-quota
|
|
|
|
|
|
|
|
%{_bindir}/smbinfo
|
|
|
|
|
|
|
|
%{_mandir}/man1/smb2-quota.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/smbinfo.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jan 30 2023 Pavel Filipenský <pfilipen@redhat.com> - 7.0-1
|
|
|
|
* Mon Jan 30 2023 Pavel Filipenský <pfilipen@redhat.com> - 7.0-1
|
|
|
|
- Update to cifs-utils-7.0
|
|
|
|
- Update to cifs-utils-7.0
|
|
|
|
- Resolves: rhbz#2163373
|
|
|
|
- Resolves: rhbz#2163303
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 12 2019 Sachin Prabhu <sprabhu@redhat.com> - 6.8-3
|
|
|
|
* Wed Feb 02 2022 Alexander Bokovoy <abokovoy@redhat.com> - 6.14
|
|
|
|
- Add manual gating tests
|
|
|
|
- Update to v6.14 release
|
|
|
|
- docs: cleanup rst formating
|
|
|
|
- Resolves: rhbz#1925956
|
|
|
|
- mount.cifs.rst: document new (no)handlecache mount option
|
|
|
|
|
|
|
|
- manpage: update mount.cifs manpage with info about rdma option
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.11-5
|
|
|
|
- checkopts: add python script to cross check mount options
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- mount.cifs.rst: document missing options, correct wrong ones
|
|
|
|
Related: rhbz#1991688
|
|
|
|
- checkopts: report duplicated options in man page
|
|
|
|
|
|
|
|
- mount.cifs.rst: more cleanups
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 6.11-4
|
|
|
|
- mount.cifs.rst: document vers=3 mount option
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- mount.cifs.rst: document vers=3.02 mount option
|
|
|
|
|
|
|
|
- cifs: Allow DNS resolver key to expire
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.11-3
|
|
|
|
- mount.cifs: be more verbose and helpful regarding mount errors
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Update mount.cifs with vers=default mount option and SMBv3.0.2
|
|
|
|
|
|
|
|
- mount.cifs.rst: update vers=3.1.1 option description
|
|
|
|
* Fri Dec 18 2020 Jonathan Lebon <jonathan@jlebon.com> - 6.11-2
|
|
|
|
- getcifsacl: Do not go to parse_sec_desc if getxattr fails.
|
|
|
|
- Split out -info subpackage for smb2-quota and smbinfo
|
|
|
|
- getcifsacl: Improve help usage and add -h option.
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1909288
|
|
|
|
- setcifsacl: fix adding ACE when owner sid in unexpected location
|
|
|
|
|
|
|
|
- cifs.upcall: fix a compiler warning
|
|
|
|
* Mon Nov 02 2020 Alexander Bokovoy <abokovoy@redhat.com> - 6.11-1
|
|
|
|
- mount.cifs Add various missing parms from the help text
|
|
|
|
- Update to v6.11 release
|
|
|
|
- mount.cifs: add more options to help message
|
|
|
|
- Resolves: rhbz#1876400 - CVE-2020-14342 - cifs-utils: shell command injection
|
|
|
|
- mount.cifs: detect GMT format of snapshot version
|
|
|
|
|
|
|
|
- Update man page for mount.cifs to add new options
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.9-4
|
|
|
|
- mount.cifs.rst: mention kernel version for snapshots
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- Fix authors and maintainers
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.9-3
|
|
|
|
* Tue Jul 17 2018 Alexander Bokovoy <abokovoy@redhat.com> - 6.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Use Python 3 version of rst2man utility for generating man pages
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.9-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Apr 21 2019 Jeff Layton <jlayton@redhat.com>- 6.9-1
|
|
|
|
|
|
|
|
- Update to v6.9 release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 17 2018 Alexander Bokovoy <abokovoy@redhat.com> - 6.8-3
|
|
|
|
|
|
|
|
- Use Python 3 version of rst2man
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 10 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-1
|
|
|
|
* Tue Apr 10 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-1
|
|
|
|
- update to 6.8 release
|
|
|
|
- update to 6.8 release
|
|
|
|