1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 6 |
%define release 11 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
14 |
Patch2: smeserver-letsencrypt-log-to-file.patch |
Patch2: smeserver-letsencrypt-log-to-file.patch |
15 |
Patch3: smeserver-letsencrypt-API1-URL-change.patch |
Patch3: smeserver-letsencrypt-API1-URL-change.patch |
16 |
Patch4: smeserver-letsencrypt-fix-logging.patch |
Patch4: smeserver-letsencrypt-fix-logging.patch |
17 |
|
Patch5: smeserver-letsencrypt-fix-logging-reverse.patch |
18 |
|
Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch |
19 |
|
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 |
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5.sme |
* Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-11.sme |
35 |
|
- force required versioni to 0.6.5 for EPEL version |
36 |
|
- Add new cron template for EPEL version of dehydrated [SME: 10862] |
37 |
|
|
38 |
|
* Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme |
39 |
|
- Fix incorrect HOOK entry in config [SME: 10861] |
40 |
|
|
41 |
|
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9.sme |
42 |
|
- Fix incorrect CA line in config [SME: 10688] |
43 |
|
|
44 |
|
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme |
45 |
|
- Reverse my previous error [SME: 10681] |
46 |
|
|
47 |
|
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7.sme |
48 |
|
- fix spec file numbering |
49 |
|
|
50 |
|
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6.sme |
51 |
- Fix typo error in cron.daily [SME: 10681] |
- Fix typo error in cron.daily [SME: 10681] |
52 |
|
|
53 |
* Sun Dec 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5.sme |
* Sun Dec 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5.sme |
218 |
%patch2 -p1 |
%patch2 -p1 |
219 |
%patch3 -p1 |
%patch3 -p1 |
220 |
%patch4 -p1 |
%patch4 -p1 |
221 |
|
%patch5 -p1 |
222 |
|
%patch6 -p1 |
223 |
|
%patch7 -p1 |
224 |
|
%patch8 -p1 |
225 |
|
|
226 |
%build |
%build |
227 |
perl createlinks |
perl createlinks |
287 |
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; |
288 |
fi |
fi |
289 |
|
|
290 |
|
if [[ -f /etc/cron.daily/letsencrypt ]]; |
291 |
|
then rm -f /etc/cron.daily/letsencrypt; |
292 |
|
fi |
293 |
|
|
294 |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
295 |
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 |
296 |
|
|