parent
1802942b8d
commit
68bf40d031
15
pam.spec
15
pam.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: An extensible library which provides authentication for applications
|
Summary: An extensible library which provides authentication for applications
|
||||||
Name: pam
|
Name: pam
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
||||||
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
|
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
@ -177,6 +177,10 @@ for dir in modules/pam_* ; do
|
|||||||
if [ -d ${dir} ] ; then
|
if [ -d ${dir} ] ; then
|
||||||
%if ! %{WITH_SELINUX}
|
%if ! %{WITH_SELINUX}
|
||||||
[ ${dir} = "modules/pam_selinux" ] && continue
|
[ ${dir} = "modules/pam_selinux" ] && continue
|
||||||
|
[ ${dir} = "modules/pam_sepermit" ] && continue
|
||||||
|
%endif
|
||||||
|
%if ! %{WITH_AUDIT}
|
||||||
|
[ ${dir} = "modules/pam_tty_audit" ] && continue
|
||||||
%endif
|
%endif
|
||||||
[ ${dir} = "modules/pam_tally" ] && continue
|
[ ${dir} = "modules/pam_tally" ] && continue
|
||||||
if ! ls -1 $RPM_BUILD_ROOT%{_moduledir}/`basename ${dir}`*.so ; then
|
if ! ls -1 $RPM_BUILD_ROOT%{_moduledir}/`basename ${dir}`*.so ; then
|
||||||
@ -276,7 +280,9 @@ fi
|
|||||||
%{_moduledir}/pam_tally2.so
|
%{_moduledir}/pam_tally2.so
|
||||||
%{_moduledir}/pam_time.so
|
%{_moduledir}/pam_time.so
|
||||||
%{_moduledir}/pam_timestamp.so
|
%{_moduledir}/pam_timestamp.so
|
||||||
|
%if %{WITH_AUDIT}
|
||||||
%{_moduledir}/pam_tty_audit.so
|
%{_moduledir}/pam_tty_audit.so
|
||||||
|
%endif
|
||||||
%{_moduledir}/pam_umask.so
|
%{_moduledir}/pam_umask.so
|
||||||
%{_moduledir}/pam_unix.so
|
%{_moduledir}/pam_unix.so
|
||||||
%{_moduledir}/pam_unix_acct.so
|
%{_moduledir}/pam_unix_acct.so
|
||||||
@ -301,13 +307,15 @@ fi
|
|||||||
%dir %{_secconfdir}/namespace.d
|
%dir %{_secconfdir}/namespace.d
|
||||||
%attr(755,root,root) %config(noreplace) %{_secconfdir}/namespace.init
|
%attr(755,root,root) %config(noreplace) %{_secconfdir}/namespace.init
|
||||||
%config(noreplace) %{_secconfdir}/pam_env.conf
|
%config(noreplace) %{_secconfdir}/pam_env.conf
|
||||||
%config(noreplace) %{_secconfdir}/sepermit.conf
|
|
||||||
%config(noreplace) %{_secconfdir}/time.conf
|
%config(noreplace) %{_secconfdir}/time.conf
|
||||||
%config(noreplace) %{_secconfdir}/opasswd
|
%config(noreplace) %{_secconfdir}/opasswd
|
||||||
%dir %{_secconfdir}/console.apps
|
%dir %{_secconfdir}/console.apps
|
||||||
%dir %{_secconfdir}/console.perms.d
|
%dir %{_secconfdir}/console.perms.d
|
||||||
%dir /var/run/console
|
%dir /var/run/console
|
||||||
|
%if %{WITH_SELINUX}
|
||||||
|
%config(noreplace) %{_secconfdir}/sepermit.conf
|
||||||
%dir /var/run/sepermit
|
%dir /var/run/sepermit
|
||||||
|
%endif
|
||||||
%ghost %verify(not md5 size mtime) /var/log/tallylog
|
%ghost %verify(not md5 size mtime) /var/log/tallylog
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
@ -323,6 +331,9 @@ fi
|
|||||||
%doc doc/adg/*.txt doc/adg/html
|
%doc doc/adg/*.txt doc/adg/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> 1.1.1-2
|
||||||
|
- fix build with disabled audit and SELinux (#556211, #556212)
|
||||||
|
|
||||||
* Thu Dec 17 2009 Tomas Mraz <tmraz@redhat.com> 1.1.1-1
|
* Thu Dec 17 2009 Tomas Mraz <tmraz@redhat.com> 1.1.1-1
|
||||||
- new upstream version with minor changes
|
- new upstream version with minor changes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user