Move pam_cifscreds into subpackage
With PAM modules, it's common that users will need to install both the 32 and 64 bit varieties. Move this to a subpackage to make that possible without conflicts. Signed-off-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
parent
143499a82c
commit
22c94bcf0e
@ -47,6 +47,20 @@ The SMB/CIFS protocol is a standard file sharing protocol widely deployed
|
|||||||
on Microsoft Windows machines. This package contains the header file
|
on Microsoft Windows machines. This package contains the header file
|
||||||
necessary for building ID mapping plugins for cifs-utils.
|
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 Environment/Base
|
||||||
|
|
||||||
|
%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
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{pre_release}
|
%setup -q -n %{name}-%{version}%{pre_release}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -85,7 +99,6 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/cifs.upcall
|
%{_sbindir}/cifs.upcall
|
||||||
%{_sbindir}/cifs.idmap
|
%{_sbindir}/cifs.idmap
|
||||||
%{_libdir}/%{name}/idmapwb.so
|
%{_libdir}/%{name}/idmapwb.so
|
||||||
%{_libdir}/security/pam_cifscreds.so
|
|
||||||
%{_mandir}/man1/getcifsacl.1.gz
|
%{_mandir}/man1/getcifsacl.1.gz
|
||||||
%{_mandir}/man1/setcifsacl.1.gz
|
%{_mandir}/man1/setcifsacl.1.gz
|
||||||
%{_mandir}/man1/cifscreds.1.gz
|
%{_mandir}/man1/cifscreds.1.gz
|
||||||
@ -93,7 +106,6 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man8/cifs.idmap.8.gz
|
%{_mandir}/man8/cifs.idmap.8.gz
|
||||||
%{_mandir}/man8/mount.cifs.8.gz
|
%{_mandir}/man8/mount.cifs.8.gz
|
||||||
%{_mandir}/man8/idmapwb.8.gz
|
%{_mandir}/man8/idmapwb.8.gz
|
||||||
%{_mandir}/man8/pam_cifscreds.8.gz
|
|
||||||
%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
|
||||||
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
|
%config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
|
||||||
@ -109,6 +121,10 @@ fi
|
|||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/cifsidmap.h
|
%{_includedir}/cifsidmap.h
|
||||||
|
|
||||||
|
%files -n pam_cifscreds
|
||||||
|
%{_libdir}/security/pam_cifscreds.so
|
||||||
|
%{_mandir}/man8/pam_cifscreds.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 13 2013 Jeff Layton <jlayton@redhat.com> 6.2-5
|
* Fri Dec 13 2013 Jeff Layton <jlayton@redhat.com> 6.2-5
|
||||||
- fix linking of wbclient
|
- fix linking of wbclient
|
||||||
|
Loading…
Reference in New Issue
Block a user