SPECS: pam.spec - fixed building without selinux
baggins
baggins at pld-linux.org
Thu Feb 8 11:08:39 CET 2007
Author: baggins Date: Thu Feb 8 10:08:39 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed building without selinux
---- Files affected:
SPECS:
pam.spec (1.254 -> 1.255)
---- Diffs:
================================================================
Index: SPECS/pam.spec
diff -u SPECS/pam.spec:1.254 SPECS/pam.spec:1.255
--- SPECS/pam.spec:1.254 Wed Feb 7 21:51:20 2007
+++ SPECS/pam.spec Thu Feb 8 11:08:34 2007
@@ -283,6 +283,7 @@
%if %{with selinux}
install modules/pam_selinux/.libs/pam_selinux_check $RPM_BUILD_ROOT%{_sbindir}
install modules/pam_selinux/pam_selinux_check.8 $RPM_BUILD_ROOT%{_mandir}/man8
+install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/pam_selinux_check
%endif
mkdir -p doc/txts
@@ -316,13 +317,15 @@
install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/other
install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/system-auth
install %{SOURCE5} $RPM_BUILD_ROOT/etc/pam.d/config-util
-install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/pam_selinux_check
install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man5/system-auth.5
install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man5/config-util.5
# Make sure every module subdirectory gave us a module. Yes, this is hackish.
for dir in modules/pam_* ; do
+%if !%{with selinux}
+[ ${dir} = "modules/pam_selinux" ] && continue
+%endif
if [ -d ${dir} ] ; then
if ! ls -1 $RPM_BUILD_ROOT/%{_lib}/security/`basename ${dir}`*.so ; then
echo ERROR `basename ${dir}` did not build a module.
@@ -524,6 +527,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.255 2007/02/08 10:08:34 baggins
+- fixed building without selinux
+
Revision 1.254 2007/02/07 20:51:20 areq
-install pam_selinux only with selinux
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pam.spec?r1=1.254&r2=1.255&f=u
More information about the pld-cvs-commit
mailing list