|
|
|
@ -1,24 +1,12 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 2;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
#% define pre_release rc1
|
|
|
|
|
%define pre_release %nil
|
|
|
|
|
|
|
|
|
|
%global bash_completion_dir %(pkg-config --variable=completionsdir bash-completion || echo /etc/bash_completion.d)
|
|
|
|
|
|
|
|
|
|
Name: cifs-utils
|
|
|
|
|
Version: 7.1
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Version: 7.0
|
|
|
|
|
Release: 1%{pre_release}%{?dist}
|
|
|
|
|
Summary: Utilities for mounting and managing CIFS mounts
|
|
|
|
|
|
|
|
|
|
License: GPL-3.0-only
|
|
|
|
|
License: GPLv3
|
|
|
|
|
URL: http://linux-cifs.samba.org/cifs-utils/
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
@ -34,8 +22,6 @@ Recommends: %{name}-info%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
Patch0: smbinfo-bash-completion.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
|
|
on Microsoft Windows machines. This package contains tools for mounting
|
|
|
|
@ -66,10 +52,10 @@ for each user from somewhere. The pam_cifscreds module can be used to
|
|
|
|
|
provide these credentials to the kernel automatically at login.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version}%{pre_release} -p1
|
|
|
|
|
%setup -q -n %{name}-%{version}%{pre_release}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
grep -F -r -l '/usr/bin/env python' | xargs --no-run-if-empty -n1 sed -i 's@/usr/bin/env python.*@%python3@g'
|
|
|
|
|
fgrep -r -l '/usr/bin/env python' | xargs -n1 sed -i 's@/usr/bin/env python.*@%python3@g'
|
|
|
|
|
autoreconf -i
|
|
|
|
|
%configure --prefix=/usr ROOTSBINDIR=%{_sbindir}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -81,11 +67,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
|
|
|
|
|
install -m 644 contrib/request-key.d/cifs.idmap.conf %{buildroot}%{_sysconfdir}/request-key.d
|
|
|
|
|
install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
|
|
|
|
|
install -Dpm 644 bash-completion/smbinfo %{buildroot}%{_datadir}%{bash_completion_dir}/smbinfo
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/getcifsacl
|
|
|
|
|
%{_bindir}/setcifsacl
|
|
|
|
|
%{_bindir}/cifscreds
|
|
|
|
@ -103,7 +87,6 @@ install -Dpm 644 bash-completion/smbinfo %{buildroot}%{_datadir}%{bash_completio
|
|
|
|
|
%{_mandir}/man8/mount.cifs.*
|
|
|
|
|
%{_mandir}/man8/mount.smb3.*
|
|
|
|
|
%{_mandir}/man8/idmapwb.*
|
|
|
|
|
%{_datadir}%{bash_completion_dir}/smbinfo
|
|
|
|
|
%dir %{_sysconfdir}/cifs-utils
|
|
|
|
|
%ghost %{_sysconfdir}/cifs-utils/idmap-plugin
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
|
|
|
|
@ -141,64 +124,20 @@ about CIFS mount.
|
|
|
|
|
%{_mandir}/man1/smbinfo.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 7.1-2
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Tue Oct 08 2024 Pavel Filipenský <pfilipensky@samba.org> - 7.1-1
|
|
|
|
|
- resolves: RHEL-61731 - Update to version 7.1
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 7.0-5
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Pavel Filipenský <pfilipen@redhat.com> - 7.0-1
|
|
|
|
|
- SPDX migration
|
|
|
|
|
|
|
|
|
|
* Wed Feb 01 2023 Pavel Filipenský <pfilipen@redhat.com> - 7.0-1
|
|
|
|
|
- Upstream release 7.0
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.15-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.15-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Apr 30 2022 Alexander Bokovoy <abokovoy@redhat.com> - 6.15-1
|
|
|
|
|
- Upstream release 6.15
|
|
|
|
|
- CVE-2022-27239: mount.cifs: fix length check for ip option parsing
|
|
|
|
|
- CVE-2022-29869: mount.cifs: fix verbose messages on option parsing
|
|
|
|
|
- Fixes: rhbz#2080525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 02 2022 Alexander Bokovoy <abokovoy@redhat.com> - 6.14-1
|
|
|
|
|
- Upstream release 6.14
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.13-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 23 2021 Bruno Wolff III <bruno@wolff.to> - 6.13-3
|
|
|
|
|
- Actually use the patches
|
|
|
|
|
* Mon Jan 30 2023 Pavel Filipenský <pfilipen@redhat.com> - 7.0-1
|
|
|
|
|
- Update to cifs-utils-7.0
|
|
|
|
|
- Resolves: rhbz#2163303
|
|
|
|
|
|
|
|
|
|
* Thu Sep 23 2021 Bruno Wolff III <bruno@wolff.to> - 6.13-2
|
|
|
|
|
- Pull in a couple of upstream fixes slotted for the next release
|
|
|
|
|
- fix regression in kerberos mount
|
|
|
|
|
- fix crash when mount point does not exist
|
|
|
|
|
* Wed Feb 02 2022 Alexander Bokovoy <abokovoy@redhat.com> - 6.14
|
|
|
|
|
- Update to v6.14 release
|
|
|
|
|
- Resolves: rhbz#1925956
|
|
|
|
|
|
|
|
|
|
* Wed Sep 22 2021 Bruno Wolff III <bruno@wolff.to> - 6.13-1
|
|
|
|
|
- Fix for CVE-2021-20208: cifs.upcall kerberos auth leak in container
|
|
|
|
|
- get/setcifsacl tools are improved to support changing owner, group and SACLs
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.11-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.11-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 6.11-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.11-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -481,4 +420,3 @@ about CIFS mount.
|
|
|
|
|
* Mon Feb 08 2010 Jeff Layton <jlayton@redhat.com> 4.0a1-1
|
|
|
|
|
- first RPM package build
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|