--- rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2019/01/04 02:04:22 1.15 +++ rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2020/01/17 15:20:48 1.17 @@ -1,6 +1,6 @@ %define name smeserver-letsencrypt %define version 0.5 -%define release 9 +%define release 11 Summary: Plugin to enable letsencrypt certificates Name: %{name} Version: %{version} @@ -16,11 +16,14 @@ Patch3: smeserver-letsencrypt-API1-URL-c Patch4: smeserver-letsencrypt-fix-logging.patch Patch5: smeserver-letsencrypt-fix-logging-reverse.patch Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch +Patch7: smeserver-letsencrypt-fix-hook-entry.patch +Patch8: smeserver-letsencrypt-change-cron-entry.patch + BuildRoot: /var/tmp/%{name}-%{version} BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 9.0 -Requires: dehydrated >= 0.6 +Requires: dehydrated >= 0.6.5 AutoReqProv: no %description @@ -28,6 +31,13 @@ Lets Encrypt is a free, automated, and o https://letsencrypt.org/ %changelog +* Fri Jan 17 2020 John Crisp 0.5-11.sme +- force required versioni to 0.6.5 for EPEL version +- Add new cron template for EPEL version of dehydrated [SME: 10862] + +* Fri Jan 17 2020 John Crisp 0.5-10.sme +- Fix incorrect HOOK entry in config [SME: 10861] + * Fri Jan 04 2019 John Crisp 0.5-9.sme - Fix incorrect CA line in config [SME: 10688] @@ -210,6 +220,8 @@ https://letsencrypt.org/ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build perl createlinks @@ -275,6 +287,10 @@ if [[ ! -e /home/e-smith/files/ibays/Pri then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; fi +if [[ -f /etc/cron.daily/letsencrypt ]]; +then rm -f /etc/cron.daily/letsencrypt; +fi + chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known