9e09d11
#% define pre_release rc1
64f0fa5
%define pre_release %nil
64f0fa5
64f0fa5
Name:           cifs-utils
590cd6c
Version:        5.9
e59bd28
Release:        3%{pre_release}%{?dist}
64f0fa5
Summary:        Utilities for mounting and managing CIFS mounts
64f0fa5
64f0fa5
Group:          System Environment/Daemons
64f0fa5
License:        GPLv3
6621c05
URL:            http://linux-cifs.samba.org/cifs-utils/
64f0fa5
BuildRoot:      %{_tmppath}/%{name}-%{version}%{pre_release}-%{release}-root-%(%{__id_u} -n)
64f0fa5
7126eb6
BuildRequires:  libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake libwbclient-devel
64f0fa5
Requires:       keyutils
64f0fa5
fef67da
Source0:        ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}%{pre_release}.tar.bz2
a176bdb
Patch1:         0001-cifsidmap-clean-up-comments-on-API-description.patch
a176bdb
Patch2:         0001-mount.cifs-set-parsed_info-got_user-when-a-cred-file.patch
fef67da
64f0fa5
%description
64f0fa5
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
64f0fa5
on Microsoft Windows machines. This package contains tools for mounting
64f0fa5
shares on Linux using the SMB/CIFS protocol. The tools in this package
64f0fa5
work in conjunction with support in the kernel to allow one to mount a
64f0fa5
SMB/CIFS share onto a client and use it as if it were a standard Linux
64f0fa5
file system.
64f0fa5
590cd6c
%package devel
590cd6c
Summary:        Files needed for building plugins for cifs-utils
590cd6c
Group:          Development/Libraries
590cd6c
590cd6c
%description devel
590cd6c
The SMB/CIFS protocol is a standard file sharing protocol widely deployed
590cd6c
on Microsoft Windows machines. This package contains the header file
590cd6c
necessary for building ID mapping plugins for cifs-utils.
590cd6c
64f0fa5
%prep
64f0fa5
%setup -q -n %{name}-%{version}%{pre_release}
fef67da
%patch1 -p1
a176bdb
%patch2 -p1
64f0fa5
64f0fa5
%build
590cd6c
%configure --prefix=/usr ROOTSBINDIR=%{_sbindir}
64f0fa5
make %{?_smp_mflags}
64f0fa5
64f0fa5
%install
64f0fa5
rm -rf %{buildroot}
64f0fa5
make install DESTDIR=%{buildroot}
590cd6c
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
590cd6c
ln -s %{_libdir}/%{name}/idmapwb.so %{buildroot}%{_sysconfdir}/%{name}/idmap-plugin
fe0cb12
mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
fe0cb12
install -m 644 contrib/request-key.d/cifs.idmap.conf %{buildroot}%{_sysconfdir}/request-key.d
fe0cb12
install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
64f0fa5
64f0fa5
%clean
64f0fa5
rm -rf %{buildroot}
64f0fa5
64f0fa5
%files
64f0fa5
%defattr(-,root,root,-)
64f0fa5
%doc
b388ab5
%{_bindir}/getcifsacl
b388ab5
%{_bindir}/setcifsacl
9e09d11
%{_bindir}/cifscreds
590cd6c
%{_sbindir}/mount.cifs
64f0fa5
%{_sbindir}/cifs.upcall
158ad77
%{_sbindir}/cifs.idmap
590cd6c
%{_libdir}/%{name}/idmapwb.so
b388ab5
%{_mandir}/man1/getcifsacl.1.gz
b388ab5
%{_mandir}/man1/setcifsacl.1.gz
9e09d11
%{_mandir}/man1/cifscreds.1.gz
64f0fa5
%{_mandir}/man8/cifs.upcall.8.gz
158ad77
%{_mandir}/man8/cifs.idmap.8.gz
64f0fa5
%{_mandir}/man8/mount.cifs.8.gz
590cd6c
%{_mandir}/man8/idmapwb.8.gz
590cd6c
%config(noreplace) %{_sysconfdir}/cifs-utils/idmap-plugin
fe0cb12
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
fe0cb12
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
64f0fa5
590cd6c
%files devel
590cd6c
%{_includedir}/cifsidmap.h
590cd6c
64f0fa5
%changelog
a176bdb
* Sun Jan 13 2013 Jeff Layton <jlayton@redhat.com> 5.9-3
a176bdb
- comment fixes in cifsidmap.h
a176bdb
fef67da
* Sun Jan 13 2013 Jeff Layton <jlayton@redhat.com> 5.9-2
fef67da
- fix regression in credential file handling
fef67da
590cd6c
* Mon Jan 07 2013 Jeff Layton <jlayton@redhat.com> 5.9-1
590cd6c
- update to 5.9
590cd6c
- move mount.cifs to /usr/sbin per new packaging guidelines
590cd6c
- add -devel package to hold cifsidmap.h
590cd6c
54e9368
* Sun Nov 11 2012 Jeff Layton <jlayton@redhat.com> 5.8-1
54e9368
- update to 5.8
54e9368
039b01f
* Wed Nov 07 2012 Jeff Layton <jlayton@redhat.com> 5.7-3
039b01f
- update to latest patches queued for 5.8. More idmapping and ACL tool fixes.
039b01f
a9cb2f0
* Sun Nov 04 2012 Jeff Layton <jlayton@redhat.com> 5.7-2
a9cb2f0
- update to latest patches queued for 5.8. Mostly idmapping and ACL tool fixes.
a9cb2f0
47f3450
* Tue Oct 09 2012 Jeff Layton <jlayton@redhat.com> 5.7-1
47f3450
- update to 5.7
47f3450
021ba6d
* Fri Aug 24 2012 Jeff Layton <jlayton@redhat.com> 5.6-2
021ba6d
- update to current upstream head
021ba6d
d706d95
* Thu Jul 26 2012 Jeff Layton <jlayton@redhat.com> 5.6-1
d706d95
- update to 5.6
d706d95
3c1ea9d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5-3
3c1ea9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3c1ea9d
e0acf4c
* Mon Jul 09 2012 Jeff Layton <jlayton@redhat.com> 5.5-2
e0acf4c
- remove -Werror flag
e0acf4c
- enable PIE and RELRO
e0acf4c
bfd8da6
* Wed May 30 2012 Jeff Layton <jlayton@redhat.com> 5.5-1
bfd8da6
- update to 5.5
bfd8da6
4d5468e
* Wed Apr 25 2012 Jeff Layton <jlayton@redhat.com> 5.4-2
4d5468e
- rebuild to fix dependencies due to libwbclient changes
4d5468e
8d02d8c
* Wed Apr 18 2012 Jeff Layton <jlayton@redhat.com> 5.4-1
8d02d8c
- update to 5.4
457d78b
- add patch to fix up more warnings
8d02d8c
5d1ba80
* Mon Mar 19 2012 Jeff Layton <jlayton@redhat.com> 5.3-4
5d1ba80
- fix tests for strtoul success (bz# 800621)
5d1ba80
7f4676b
* Wed Feb 08 2012 Jeff Layton <jlayton@redhat.com> 5.3-3
7f4676b
- revert mount.cifs move. It's unnecessary at this point.
7f4676b
21f4ebf
* Wed Feb 08 2012 Jeff Layton <jlayton@redhat.com> 5.3-2
21f4ebf
- move mount.cifs to /usr/sbin per new packaging guidelines
21f4ebf
9e09d11
* Sat Jan 28 2012 Jeff Layton <jlayton@redhat.com> 5.3-1
9e09d11
- update to 5.3
9e09d11
d39c0a1
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
d39c0a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d39c0a1
fe0cb12
* Fri Dec 09 2011 Jeff Layton <jlayton@redhat.com> 5.2-2
fe0cb12
- add /etc/request-key.d files
fe0cb12
a1d2550
* Fri Dec 09 2011 Jeff Layton <jlayton@redhat.com> 5.2-1
a1d2550
- update to 5.2
a1d2550
758b698
* Fri Sep 23 2011 Jeff Layton <jlayton@redhat.com> 5.1-1
758b698
- update to 5.1
b388ab5
- add getcifsacl and setcifsacl to package
758b698
bd243bf
* Fri Jul 29 2011 Jeff Layton <jlayton@redhat.com> 5.0-2
bd243bf
- mount.cifs: fix check_newline retcode check (bz# 726717)
bd243bf
158ad77
* Wed Jun 01 2011 Jeff Layton <jlayton@redhat.com> 5.0-1
158ad77
- update to 5.0
158ad77
18b0892
* Mon May 16 2011 Jeff Layton <jlayton@redhat.com> 4.9-2
18b0892
- mount.cifs: pass unadulterated device string to kernel (bz# 702664)
18b0892
8586144
* Fri Mar 04 2011 Jeff Layton <jlayton@redhat.com> 4.9-1
8586144
- update to 4.9
8586144
fe63fa4
* Tue Feb 08 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-4
fe63fa4
- mount.cifs: reenable CAP_DAC_READ_SEARCH when mounting (bz# 675761)
fe63fa4
09d8402
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.1-3
09d8402
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
09d8402
2027dd6
* Tue Feb 01 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-2
2027dd6
- mount.cifs: don't update mtab if it's a symlink (bz# 674101)
2027dd6
91bbc42
* Fri Jan 21 2011 Jeff Layton <jlayton@redhat.com> 4.8.1-1
91bbc42
- update to 4.8.1
91bbc42
b6a237f
* Sat Jan 15 2011 Jeff Layton <jlayton@redhat.com> 4.8-1
80b83b1
- update to 4.8
b6a237f
c95937d
* Tue Oct 19 2010 Jeff Layton <jlayton@redhat.com> 4.7-1
c95937d
- update to 4.7
c95937d
e378fd5
* Fri Jul 30 2010 Jeff Layton <jlayton@redhat.com> 4.6-1
e378fd5
- update to 4.6
e378fd5
6e0162f
* Tue Jun 01 2010 Jeff Layton <jlayton@redhat.com> 4.5-2
6e0162f
- mount.cifs: fix parsing of cred= option (BZ#597756)
6e0162f
643170b
* Tue May 25 2010 Jeff Layton <jlayton@redhat.com> 4.5-1
643170b
- update to 4.5
643170b
7e0ecb5
* Thu Apr 29 2010 Jeff Layton <jlayton@redhat.com> 4.4-3
7e0ecb5
- mount.cifs: fix regression in prefixpath patch
7e0ecb5
ea0d74b
* Thu Apr 29 2010 Jeff Layton <jlayton@redhat.com> 4.4-2
ea0d74b
- mount.cifs: strip leading delimiter from prefixpath
ea0d74b
3a19490
* Wed Apr 28 2010 Jeff Layton <jlayton@redhat.com> 4.4-1
3a19490
- update to 4.4
3a19490
8e899d4
* Sat Apr 17 2010 Jeff Layton <jlayton@redhat.com> 4.3-2
8e899d4
- fix segfault when address list is exhausted (BZ#583230)
8e899d4
db9f70d
* Fri Apr 09 2010 Jeff Layton <jlayton@redhat.com> 4.3-1
db9f70d
- update to 4.3
db9f70d
6621c05
* Fri Apr 02 2010 Jeff Layton <jlayton@redhat.com> 4.2-1
6621c05
- update to 4.2
6621c05
4ab7d4b
* Tue Mar 23 2010 Jeff Layton <jlayton@redhat.com> 4.1-1
4ab7d4b
- update to 4.1
4ab7d4b
bad489c
* Mon Mar 08 2010 Jeff Layton <jlayton@redhat.com> 4.0-2
bad489c
- fix bad pointer dereference in IPv6 scopeid handling
bad489c
64f0fa5
* Wed Mar 03 2010 Jeff Layton <jlayton@redhat.com> 4.0-1
64f0fa5
- update to 4.0
64f0fa5
- minor specfile fixes
64f0fa5
64f0fa5
* Fri Feb 26 2010 Jeff Layton <jlayton@redhat.com> 4.0-1rc1
64f0fa5
- update to 4.0rc1
64f0fa5
- fix prerelease version handling
64f0fa5
64f0fa5
* Mon Feb 08 2010 Jeff Layton <jlayton@redhat.com> 4.0a1-1
64f0fa5
- first RPM package build
64f0fa5