1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 10 |
%define release 12 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
17 |
Patch5: smeserver-letsencrypt-fix-logging-reverse.patch |
Patch5: smeserver-letsencrypt-fix-logging-reverse.patch |
18 |
Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch |
Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch |
19 |
Patch7: smeserver-letsencrypt-fix-hook-entry.patch |
Patch7: smeserver-letsencrypt-fix-hook-entry.patch |
20 |
|
Patch8: smeserver-letsencrypt-change-cron-entry.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
26 |
Requires: dehydrated >= 0.6 |
Requires: dehydrated >= 0.6.5 |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%description |
%description |
31 |
https://letsencrypt.org/ |
https://letsencrypt.org/ |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme |
35 |
|
- forgot to remove template-begin and cron.daily dir [SME: 10862] |
36 |
|
|
37 |
|
* Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-11.sme |
38 |
|
- force required version to 0.6.5 for EPEL version |
39 |
|
- Add new cron template for EPEL version of dehydrated [SME: 10862] |
40 |
|
|
41 |
* Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme |
* Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme |
42 |
- Fix incorrect HOOK entry in config [SME: 10861] |
- Fix incorrect HOOK entry in config [SME: 10861] |
43 |
|
|
224 |
%patch5 -p1 |
%patch5 -p1 |
225 |
%patch6 -p1 |
%patch6 -p1 |
226 |
%patch7 -p1 |
%patch7 -p1 |
227 |
|
%patch8 -p1 |
228 |
|
|
229 |
%build |
%build |
230 |
perl createlinks |
perl createlinks |
290 |
then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; |
then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; |
291 |
fi |
fi |
292 |
|
|
293 |
|
if [[ -d /etc/cron.daily/letsencrypt ]]; |
294 |
|
then rm -rf /etc/cron.daily/letsencrypt; |
295 |
|
fi |
296 |
|
|
297 |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
298 |
chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known |
chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known |
299 |
|
|