/[packages]/updates/5/ipsec-tools/current/SPECS/ipsec-tools.spec
ViewVC logotype

Diff of /updates/5/ipsec-tools/current/SPECS/ipsec-tools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3447 by kharec, Sun Jan 9 17:09:23 2011 UTC revision 65570 by ennael, Sun Mar 6 19:23:27 2011 UTC
# Line 143  mkdir -p %{buildroot}%{_sysconfdir}/pam. Line 143  mkdir -p %{buildroot}%{_sysconfdir}/pam.
143  cat > %{buildroot}%{_sysconfdir}/pam.d/racoon <<EOF  cat > %{buildroot}%{_sysconfdir}/pam.d/racoon <<EOF
144  #%PAM-1.0  #%PAM-1.0
145  auth       required     pam_nologin.so  auth       required     pam_nologin.so
 %if %mdkversion < 200700  
 auth       required     pam_stack.so service=system-auth  
 account    required     pam_stack.so service=system-auth  
 %else  
146  auth       include      system-auth  auth       include      system-auth
147  account    include      system-auth  account    include      system-auth
 %endif  
148  EOF  EOF
149    
150  # default ipsec.conf file  # default ipsec.conf file
# Line 193  rm -rf $RPM_BUILD_ROOT Line 188  rm -rf $RPM_BUILD_ROOT
188  %_preun_service ipsec-setkey  %_preun_service ipsec-setkey
189  %_preun_service racoon  %_preun_service racoon
190    
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
191  %files  %files
192  %defattr(-,root,root)  %defattr(-,root,root)
193  %doc ChangeLog NEWS README  %doc ChangeLog NEWS README

Legend:
Removed from v.3447  
changed lines
  Added in v.65570

  ViewVC Help
Powered by ViewVC 1.1.26