From c1e0ae081b4527ca23443352a99672465cdf49b1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 17 Jun 2012 21:51:02 +0200 Subject: [PATCH] Copie du cacert dans l'ibay Primary --- ipasserelle-base.spec | 5 ++++- root/etc/e-smith/events/actions/private-cacert | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ipasserelle-base.spec b/ipasserelle-base.spec index dc2cd08..27682d9 100644 --- a/ipasserelle-base.spec +++ b/ipasserelle-base.spec @@ -1,4 +1,4 @@ -%define version 0.2.10 +%define version 0.2.11 %define release 1.beta4 %define name ipasserelle-base @@ -46,6 +46,9 @@ Based on SMEServer, iPasserelle is a specially configured SME Server, with some additionnal modules %changelog +* Sun Jun 17 2012 Daniel Berteaud 0.2.11-1 +- Copy cacert in Primary ibay + * Fri Jun 7 2012 Daniel Berteaud 0.2.10-1.sme - Copy cacrl in Primary ibay diff --git a/root/etc/e-smith/events/actions/private-cacert b/root/etc/e-smith/events/actions/private-cacert index 8e26da7..35aa352 100644 --- a/root/etc/e-smith/events/actions/private-cacert +++ b/root/etc/e-smith/events/actions/private-cacert @@ -5,7 +5,9 @@ if [ -e /opt/phpki/phpki-store/CA/certs/cacert.pem ]; then cp -f /opt/phpki/phpki-store/CA/certs/cacert.pem /etc/pki/tls/certs/cacert.pem + cp -f /opt/phpki/phpki-store/CA/certs/cacert.pem /home/e-smith/files/ibays/Primary/html/cacert.crt chmod 644 /etc/pki/tls/certs/cacert.pem + chmod 644 /home/e-smith/files/ibays/Primary/html/cacert.crt fi /usr/bin/c_rehash /etc/pki/tls/certs/