Always update private cacert

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 13 years ago
parent 5cc7720f43
commit e3a69a07e8
  1. 5
      ipasserelle-base.spec
  2. 6
      root/etc/e-smith/events/actions/private-cacert

@ -1,4 +1,4 @@
%define version 0.2.8 %define version 0.2.9
%define release 1.beta2 %define release 1.beta2
%define name ipasserelle-base %define name ipasserelle-base
@ -46,6 +46,9 @@ Based on SMEServer, iPasserelle is a specially configured
SME Server, with some additionnal modules SME Server, with some additionnal modules
%changelog %changelog
* Tue May 29 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme
- Update private cacert
* Thu May 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme * Thu May 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme
- Use pbzip2 instead of bzip2 for maillog rotation - Use pbzip2 instead of bzip2 for maillog rotation

@ -3,9 +3,9 @@
# Copy PHPki CAcert in the global cert store # Copy PHPki CAcert in the global cert store
# and run c_rehash # and run c_rehash
if [ ! -e /etc/pki/tls/certs/cacert.pem -a -e /opt/phpki/phpki-store/CA/certs/cacert.pem ]; then if [ -e /opt/phpki/phpki-store/CA/certs/cacert.pem ]; then
cp /opt/phpki/phpki-store/CA/certs/cacert.pem /etc/pki/tls/certs/cacert.pem cp -f /opt/phpki/phpki-store/CA/certs/cacert.pem /etc/pki/tls/certs/cacert.pem
chmod 644 /etc/pki/tls/certs/cacert.pem chmod 644 /etc/pki/tls/certs/cacert.pem
c_rehash /etc/pki/tls/certs/
fi fi
/usr/bin/c_rehash /etc/pki/tls/certs/

Loading…
Cancel
Save