--- rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2018/12/31 00:37:00 1.12 +++ rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2020/02/17 15:35:44 1.18 @@ -1,6 +1,6 @@ %define name smeserver-letsencrypt %define version 0.5 -%define release 6 +%define release 12 Summary: Plugin to enable letsencrypt certificates Name: %{name} Version: %{version} @@ -14,11 +14,16 @@ Patch1: smeserver-letsencrypt-remove-lic Patch2: smeserver-letsencrypt-log-to-file.patch Patch3: smeserver-letsencrypt-API1-URL-change.patch 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 @@ -26,7 +31,26 @@ Lets Encrypt is a free, automated, and o https://letsencrypt.org/ %changelog -* Mon Dec 31 2018 John Crisp 0.5-5.sme +* Sat Jan 18 2020 John Crisp 0.5-12.sme +- forgot to remove template-begin and cron.daily dir [SME: 10862] + +* Fri Jan 17 2020 John Crisp 0.5-11.sme +- force required version 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] + +* Mon Dec 31 2018 John Crisp 0.5-8.sme +- Reverse my previous error [SME: 10681] + +* Mon Dec 31 2018 John Crisp 0.5-7.sme +- fix spec file numbering + +* Mon Dec 31 2018 John Crisp 0.5-6.sme - Fix typo error in cron.daily [SME: 10681] * Sun Dec 23 2018 John Crisp 0.5-5.sme @@ -197,6 +221,10 @@ https://letsencrypt.org/ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build perl createlinks @@ -262,6 +290,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 [[ -d /etc/cron.daily/letsencrypt ]]; +then rm -rf /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