diff --git a/ipasserelle-base.spec b/ipasserelle-base.spec index e426ab3..dc2cd08 100644 --- a/ipasserelle-base.spec +++ b/ipasserelle-base.spec @@ -1,4 +1,4 @@ -%define version 0.2.9 +%define version 0.2.10 %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 +* Fri Jun 7 2012 Daniel Berteaud 0.2.10-1.sme +- Copy cacrl in Primary ibay + * Tue May 29 2012 Daniel Berteaud 0.2.9-1.sme - Update private cacert @@ -189,6 +192,7 @@ perl createlinks --file /etc/cron.hourly/qpsmtpd-cleanup 'attr(0755,root,root)' \ --file /etc/cron.monthly/maillog-rotate 'attr(0755,root,root)' \ --file /etc/cron.hourly/qmail-notify 'attr(0755,root,root)' \ + --file /etc/cron.hourly/cacrl 'attr(0755,root,root)' \ --dir /home/e-smith/files/scan 'attr(0750,root,shared)' \ --dir /var/lib/qpsmtpd/greylisting 'attr(0750,qpsmtpd,qpsmtpd)' \ > %{name}-%{version}-filelist diff --git a/root/etc/cron.hourly/cacrl b/root/etc/cron.hourly/cacrl new file mode 100644 index 0000000..dbc808f --- /dev/null +++ b/root/etc/cron.hourly/cacrl @@ -0,0 +1,10 @@ +#!/bin/bash + +# Copy PHPki CAcrl in a public location + +if [ -e /opt/phpki/phpki-store/CA/crl/cacrl.pem ]; then + cp -f /opt/phpki/phpki-store/CA/crl/cacrl.pem /home/e-smith/files/ibays/Primary/html/ + chown root:root /home/e-smith/files/ibays/Primary/html/cacrl.pem + chmod 644 /home/e-smith/files/ibays/Primary/html/cacrl.pem +fi +