Copie de la crl sur l ibay Primary

tags/ipasserelle-base-0.2.65-1 0.2.10
Daniel Berteaud 12 years ago
parent 34e4bde1aa
commit 9bc02b98ee
  1. 6
      ipasserelle-base.spec
  2. 10
      root/etc/cron.hourly/cacrl

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

@ -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
Loading…
Cancel
Save