Copie de la crl sur l ibay Primary

This commit is contained in:
Daniel Berteaud 2012-06-08 12:51:03 +02:00
parent 34e4bde1aa
commit 9bc02b98ee
2 changed files with 15 additions and 1 deletions

View File

@ -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 <daniel@firewall-services.com> 0.2.10-1.sme
- Copy cacrl in Primary ibay
* Tue May 29 2012 Daniel Berteaud <daniel@firewall-services.com> 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

View File

@ -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