2012-01-28 14:03:37 +00:00
|
|
|
#% define pre_release rc1
|
2010-03-06 11:38:18 +00:00
|
|
|
%define pre_release %nil
|
|
|
|
|
|
|
|
Name: cifs-utils
|
2012-07-26 15:01:10 +00:00
|
|
|
Version: 5.6
|
2012-08-24 10:38:29 +00:00
|
|
|
Release: 2%{pre_release}%{?dist}
|
2010-03-06 11:38:18 +00:00
|
|
|
Summary: Utilities for mounting and managing CIFS mounts
|
|
|
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
License: GPLv3
|
2010-04-02 12:31:42 +00:00
|
|
|
URL: http://linux-cifs.samba.org/cifs-utils/
|
2010-03-06 11:38:18 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}%{pre_release}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2010-03-08 16:31:17 +00:00
|
|
|
Source0: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}%{pre_release}.tar.bz2
|
|
|
|
|
2012-03-19 15:59:25 +00:00
|
|
|
BuildRequires: libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake libwbclient-devel
|
2010-03-06 11:38:18 +00:00
|
|
|
Requires: keyutils
|
|
|
|
|
2012-08-24 10:30:30 +00:00
|
|
|
Patch0: cifs-utils-5.7-pre.patch
|
|
|
|
|
2010-03-06 11:38:18 +00:00
|
|
|
%description
|
|
|
|
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|
|
|
on Microsoft Windows machines. This package contains tools for mounting
|
|
|
|
shares on Linux using the SMB/CIFS protocol. The tools in this package
|
|
|
|
work in conjunction with support in the kernel to allow one to mount a
|
|
|
|
SMB/CIFS share onto a client and use it as if it were a standard Linux
|
|
|
|
file system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{pre_release}
|
2012-08-24 10:30:30 +00:00
|
|
|
%patch0 -p1
|
2010-03-06 11:38:18 +00:00
|
|
|
|
|
|
|
%build
|
2012-02-08 18:31:22 +00:00
|
|
|
%configure --prefix=/usr
|
2010-03-06 11:38:18 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
2011-12-10 02:51:01 +00:00
|
|
|
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
|
2010-03-06 11:38:18 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
2012-02-08 18:31:22 +00:00
|
|
|
/sbin/mount.cifs
|
2011-09-23 18:34:14 +00:00
|
|
|
%{_bindir}/getcifsacl
|
|
|
|
%{_bindir}/setcifsacl
|
2012-01-28 14:03:37 +00:00
|
|
|
%{_bindir}/cifscreds
|
2010-03-06 11:38:18 +00:00
|
|
|
%{_sbindir}/cifs.upcall
|
2011-06-01 20:27:37 +00:00
|
|
|
%{_sbindir}/cifs.idmap
|
2011-09-23 18:34:14 +00:00
|
|
|
%{_mandir}/man1/getcifsacl.1.gz
|
|
|
|
%{_mandir}/man1/setcifsacl.1.gz
|
2012-01-28 14:03:37 +00:00
|
|
|
%{_mandir}/man1/cifscreds.1.gz
|
2010-03-06 11:38:18 +00:00
|
|
|
%{_mandir}/man8/cifs.upcall.8.gz
|
2011-06-01 20:27:37 +00:00
|
|
|
%{_mandir}/man8/cifs.idmap.8.gz
|
2010-03-06 11:38:18 +00:00
|
|
|
%{_mandir}/man8/mount.cifs.8.gz
|
2011-12-10 02:51:01 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
|
2010-03-06 11:38:18 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-08-24 10:30:30 +00:00
|
|
|
* Fri Aug 24 2012 Jeff Layton <jlayton@redhat.com> 5.6-2
|
|
|
|
- update to current upstream head
|
|
|
|
|
2012-07-26 15:01:10 +00:00
|
|
|
* Thu Jul 26 2012 Jeff Layton <jlayton@redhat.com> 5.6-1
|
|
|
|
- update to 5.6
|
|
|
|
|
2012-07-18 18:59:45 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-09 14:22:17 +00:00
|
|
|
* Mon Jul 09 2012 Jeff Layton <jlayton@redhat.com> 5.5-2
|
|
|
|
- remove -Werror flag
|
|
|
|
- enable PIE and RELRO
|
|
|
|
|
2012-05-30 10:44:58 +00:00
|
|
|
* Wed May 30 2012 Jeff Layton <jlayton@redhat.com> 5.5-1
|
|
|
|
- update to 5.5
|
|
|
|
|
2012-04-25 15:47:02 +00:00
|
|
|
* Wed Apr 25 2012 Jeff Layton <jlayton@redhat.com> 5.4-2
|
|
|
|
- rebuild to fix dependencies due to libwbclient changes
|
|
|
|
|
2012-04-18 21:55:50 +00:00
|
|
|
* Wed Apr 18 2012 Jeff Layton <jlayton@redhat.com> 5.4-1
|
|
|
|
- update to 5.4
|
2012-04-19 01:43:04 +00:00
|
|
|
- add patch to fix up more warnings
|
2012-04-18 21:55:50 +00:00
|
|
|
|
2012-03-19 15:36:06 +00:00
|
|
|
* Mon Mar 19 2012 Jeff Layton <jlayton@redhat.com> 5.3-4
|
|
|
|
- fix tests for strtoul success (bz# 800621)
|
|
|
|
|
2012-02-08 18:31:22 +00:00
|
|
|
* Wed Feb 08 2012 Jeff Layton <jlayton@redhat.com> 5.3-3
|
|
|
|
- revert mount.cifs move. It's unnecessary at this point.
|
|
|
|
|
2012-02-08 17:09:21 +00:00
|
|
|
* Wed Feb 08 2012 Jeff Layton <jlayton@redhat.com> 5.3-2
|
|
|
|
- move mount.cifs to /usr/sbin per new packaging guidelines
|
|
|
|
|
2012-01-28 14:03:37 +00:00
|
|
|
* Sat Jan 28 2012 Jeff Layton <jlayton@redhat.com> 5.3-1
|
|
|
|
- update to 5.3
|
|
|
|
|
2012-01-12 23:22:45 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-10 02:51:01 +00:00
|
|
|
* Fri Dec 09 2011 Jeff Layton <jlayton@redhat.com> 5.2-2
|
|
|
|
- add /etc/request-key.d files
|
|
|
|
|
2011-12-10 01:58:31 +00:00
|
|
|
* Fri Dec 09 2011 Jeff Layton <jlayton@redhat.com> 5.2-1
|
|
|
|
- update to 5.2
|
|
|
|
|
2011-09-23 18:06:46 +00:00
|
|
|
* Fri Sep 23 2011 Jeff Layton <jlayton@redhat.com> 5.1-1
|
|
|
|
- update to 5.1
|
2011-09-23 18:34:14 +00:00
|
|
|
- add getcifsacl and setcifsacl to package
|
2011-09-23 18:06:46 +00:00
|
|
|
|
2011-07-29 17:33:36 +00:00
|
|
|
* Fri Jul 29 2011 Jeff Layton <jlayton@redhat.com> 5.0-2
|
|
|
|
- mount.cifs: fix check_newline retcode check (bz# 726717)
|
|
|
|
|
2011-06-01 20:27:37 +00:00
|
|
|
* Wed Jun 01 2011 Jeff Layton <jlayton@redhat.com> 5.0-1
|
|
|
|
- update to 5.0
|
|
|
|
|
2011-05-16 13:49:02 +00:00
|
|
|
* Mon May 16 2011 Jeff Layton <jlayton@redhat.com> 4.9-2
|
|
|
|
- mount.cifs: pass unadulterated device string to kernel (bz# 702664)
|
|
|
|
|
2011-03-04 20:36:29 +00:00
|
|
|
* Fri Mar 04 2011 Jeff Layton <jlayton@redhat.com> 4.9-1
|
|
|
|
- update to 4.9
|
|
|
|
|
2011-02-08 20:08:59 +00:00
|
|
|
* Tue Feb 08 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-4
|
|
|
|
- mount.cifs: reenable CAP_DAC_READ_SEARCH when mounting (bz# 675761)
|
|
|
|
|
2011-02-08 08:36:27 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-01 18:00:46 +00:00
|
|
|
* Tue Feb 01 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-2
|
|
|
|
- mount.cifs: don't update mtab if it's a symlink (bz# 674101)
|
|
|
|
|
2011-01-21 19:19:37 +00:00
|
|
|
* Fri Jan 21 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-1
|
|
|
|
- update to 4.8.1
|
|
|
|
|
2011-01-16 02:16:51 +00:00
|
|
|
* Sat Jan 15 2011 Jeff Layton <jlayton@redhat.com> 4.8-1
|
2011-01-16 02:32:53 +00:00
|
|
|
- update to 4.8
|
2011-01-16 02:16:51 +00:00
|
|
|
|
2010-10-19 19:40:44 +00:00
|
|
|
* Tue Oct 19 2010 Jeff Layton <jlayton@redhat.com> 4.7-1
|
|
|
|
- update to 4.7
|
|
|
|
|
2010-07-30 13:23:51 +00:00
|
|
|
* Fri Jul 30 2010 Jeff Layton <jlayton@redhat.com> 4.6-1
|
|
|
|
- update to 4.6
|
|
|
|
|
2010-06-01 19:58:47 +00:00
|
|
|
* Tue Jun 01 2010 Jeff Layton <jlayton@redhat.com> 4.5-2
|
|
|
|
- mount.cifs: fix parsing of cred= option (BZ#597756)
|
|
|
|
|
2010-05-25 20:02:37 +00:00
|
|
|
* Tue May 25 2010 Jeff Layton <jlayton@redhat.com> 4.5-1
|
|
|
|
- update to 4.5
|
|
|
|
|
2010-04-30 19:16:22 +00:00
|
|
|
* Thu Apr 29 2010 Jeff Layton <jlayton@redhat.com> 4.4-3
|
|
|
|
- mount.cifs: fix regression in prefixpath patch
|
|
|
|
|
2010-04-29 19:44:43 +00:00
|
|
|
* Thu Apr 29 2010 Jeff Layton <jlayton@redhat.com> 4.4-2
|
|
|
|
- mount.cifs: strip leading delimiter from prefixpath
|
|
|
|
|
2010-04-28 11:46:12 +00:00
|
|
|
* Wed Apr 28 2010 Jeff Layton <jlayton@redhat.com> 4.4-1
|
|
|
|
- update to 4.4
|
|
|
|
|
2010-04-17 10:31:00 +00:00
|
|
|
* Sat Apr 17 2010 Jeff Layton <jlayton@redhat.com> 4.3-2
|
|
|
|
- fix segfault when address list is exhausted (BZ#583230)
|
|
|
|
|
2010-04-09 14:19:21 +00:00
|
|
|
* Fri Apr 09 2010 Jeff Layton <jlayton@redhat.com> 4.3-1
|
|
|
|
- update to 4.3
|
|
|
|
|
2010-04-02 12:31:42 +00:00
|
|
|
* Fri Apr 02 2010 Jeff Layton <jlayton@redhat.com> 4.2-1
|
|
|
|
- update to 4.2
|
|
|
|
|
2010-03-23 14:30:39 +00:00
|
|
|
* Tue Mar 23 2010 Jeff Layton <jlayton@redhat.com> 4.1-1
|
|
|
|
- update to 4.1
|
|
|
|
|
2010-03-08 16:31:17 +00:00
|
|
|
* Mon Mar 08 2010 Jeff Layton <jlayton@redhat.com> 4.0-2
|
|
|
|
- fix bad pointer dereference in IPv6 scopeid handling
|
|
|
|
|
2010-03-06 11:38:18 +00:00
|
|
|
* Wed Mar 03 2010 Jeff Layton <jlayton@redhat.com> 4.0-1
|
|
|
|
- update to 4.0
|
|
|
|
- minor specfile fixes
|
|
|
|
|
|
|
|
* Fri Feb 26 2010 Jeff Layton <jlayton@redhat.com> 4.0-1rc1
|
|
|
|
- update to 4.0rc1
|
|
|
|
- fix prerelease version handling
|
|
|
|
|
|
|
|
* Mon Feb 08 2010 Jeff Layton <jlayton@redhat.com> 4.0a1-1
|
|
|
|
- first RPM package build
|
|
|
|
|