1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 15 |
%define release 22 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
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 |
Patch8: smeserver-letsencrypt-change-cron-entry.patch |
21 |
|
Patch9: smeserver-letsencrypt-0.5-change-API-default-to-v2.patch |
22 |
|
Patch10: smeserver-letsencrypt-0.5-bz11773.patch |
23 |
|
Patch11: smeserver-letsencrypt-0.5-bz10637-alias.patch |
24 |
|
Patch12: smeserver-letsencrypt-0.5-bz11990-timer.patch |
25 |
|
Patch13: smeserver-letsencrypt-0.5-Add-Action-to-kill-timer.patch |
26 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
https://letsencrypt.org/ |
https://letsencrypt.org/ |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
* Thu Mar 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-15.sme |
* Wed Jun 15 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-22.sme |
40 |
|
- Add action to check if dehydrated.timer is running and stop it if so [SME: 11996] |
41 |
|
|
42 |
|
* Sun Jun 12 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-21.sme |
43 |
|
- Stop systemd timer runnning as well as cron [SME: 11990] |
44 |
|
|
45 |
|
* Wed Mar 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-19.sme |
46 |
|
- use a general Alias for acme path and a proxypass [SME: 10637] |
47 |
|
|
48 |
|
* Tue Nov 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-18.sme |
49 |
|
- force RSA as algorithm [SME: 11773] |
50 |
|
- populate smeserver-letsencrypt-update event and create letsencrypt-config event |
51 |
|
|
52 |
|
* Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-17.sme |
53 |
|
- Add in mkdir in spec file for smeserver-letsencrypt-update event [SME: 11514] |
54 |
|
|
55 |
|
* Tue Oct 06 2020 Brian Read <brianr@bjsystems.co.uk> 0.5-16.sme |
56 |
|
- Move to SME10 and set default to API v2 [SME: 11022] |
57 |
|
|
58 |
|
* Thu Mar 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-15.sme |
59 |
- take 3: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
- take 3: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
60 |
|
|
61 |
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.5-14.sme |
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.5-14.sme |
93 |
* Wed Dec 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4.sme |
* Wed Dec 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4.sme |
94 |
- log to file rather than /dev/null [SME: 10412] |
- log to file rather than /dev/null [SME: 10412] |
95 |
|
|
96 |
* Tue Oct 13 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3.sme |
* Sat Oct 13 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3.sme |
97 |
- remove Licence key from config template [SME:10636] |
- remove Licence key from config template [SME:10636] |
98 |
|
|
99 |
* Tue Jun 19 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2.sme |
* Tue Jun 19 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2.sme |
258 |
%patch6 -p1 |
%patch6 -p1 |
259 |
%patch7 -p1 |
%patch7 -p1 |
260 |
%patch8 -p1 |
%patch8 -p1 |
261 |
|
%patch9 -p1 |
262 |
|
mkdir -p root/etc/e-smith/events/smeserver-letsencrypt-update |
263 |
# remove old template |
# remove old template |
264 |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
265 |
|
%patch10 -p1 |
266 |
|
%patch11 -p1 |
267 |
|
%patch12 -p1 |
268 |
|
%patch13 -p1 |
269 |
|
|
270 |
|
|
271 |
%build |
%build |
272 |
perl createlinks |
perl createlinks |