1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 16 |
%define release 24 |
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 |
|
Patch14: smeserver-letsencrypt-0.5-bz12011-backup.patch |
27 |
|
|
28 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
29 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
37 |
https://letsencrypt.org/ |
https://letsencrypt.org/ |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
* Fri Oct 06 2020 Brian Read <brianr@bjsystems.co.uk> 0.5-16.sme |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-24.sme |
41 |
- Move to SME10 [SME: 11022] |
- Re-build and link to latest devtools [SME: 11997] |
42 |
|
|
43 |
* Thu Mar 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-15.sme |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-23.sme |
44 |
|
- add to core backup [SME: 12011] |
45 |
|
|
46 |
|
* Wed Jun 15 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-22.sme |
47 |
|
- Add action to check if dehydrated.timer is running and stop it if so [SME: 11996] |
48 |
|
|
49 |
|
* Sun Jun 12 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-21.sme |
50 |
|
- Stop systemd timer runnning as well as cron [SME: 11990] |
51 |
|
|
52 |
|
* Wed Mar 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-19.sme |
53 |
|
- use a general Alias for acme path and a proxypass [SME: 10637] |
54 |
|
|
55 |
|
* Tue Nov 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-18.sme |
56 |
|
- force RSA as algorithm [SME: 11773] |
57 |
|
- populate smeserver-letsencrypt-update event and create letsencrypt-config event |
58 |
|
|
59 |
|
* Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-17.sme |
60 |
|
- Add in mkdir in spec file for smeserver-letsencrypt-update event [SME: 11514] |
61 |
|
|
62 |
|
* Tue Oct 06 2020 Brian Read <brianr@bjsystems.co.uk> 0.5-16.sme |
63 |
|
- Move to SME10 and set default to API v2 [SME: 11022] |
64 |
|
|
65 |
|
* Thu Mar 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-15.sme |
66 |
- 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] |
67 |
|
|
68 |
* 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 |
88 |
- Reverse my previous error [SME: 10681] |
- Reverse my previous error [SME: 10681] |
89 |
|
|
90 |
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7.sme |
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7.sme |
91 |
- fix spec file numbering |
- Re-build and link to latest devtools spec file numbering |
92 |
|
|
93 |
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6.sme |
* Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6.sme |
94 |
- Fix typo error in cron.daily [SME: 10681] |
- Fix typo error in cron.daily [SME: 10681] |
100 |
* 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 |
101 |
- log to file rather than /dev/null [SME: 10412] |
- log to file rather than /dev/null [SME: 10412] |
102 |
|
|
103 |
* 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 |
104 |
- remove Licence key from config template [SME:10636] |
- remove Licence key from config template [SME:10636] |
105 |
|
|
106 |
* 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 |
151 |
- Remove spaces in POSTIN [[]] |
- Remove spaces in POSTIN [[]] |
152 |
|
|
153 |
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-7 |
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-7 |
154 |
- fix another typo in bash scripts |
- Re-build and link to latest devtools another typo in bash scripts |
155 |
- fix typo in Docs |
- Re-build and link to latest devtools typo in Docs |
156 |
|
|
157 |
* Fri Jun 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-6 |
* Fri Jun 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-6 |
158 |
- Fix typo in domains.txt |
- Fix typo in domains.txt |
167 |
* Mon May 30 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-3 |
* Mon May 30 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-3 |
168 |
- add support for letsencrypt.sh v0.2 |
- add support for letsencrypt.sh v0.2 |
169 |
- config.sh renamed to config |
- config.sh renamed to config |
170 |
- fix trailing / on urls in 40ACME |
- Re-build and link to latest devtools trailing / on urls in 40ACME |
171 |
|
|
172 |
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-2 |
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-2 |
173 |
- letsencrypt.sh now calls deploy-cert with an argument for the chain file |
- letsencrypt.sh now calls deploy-cert with an argument for the chain file |
265 |
%patch6 -p1 |
%patch6 -p1 |
266 |
%patch7 -p1 |
%patch7 -p1 |
267 |
%patch8 -p1 |
%patch8 -p1 |
268 |
|
%patch9 -p1 |
269 |
|
mkdir -p root/etc/e-smith/events/smeserver-letsencrypt-update |
270 |
# remove old template |
# remove old template |
271 |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
272 |
|
%patch10 -p1 |
273 |
|
%patch11 -p1 |
274 |
|
%patch12 -p1 |
275 |
|
%patch13 -p1 |
276 |
|
%patch14 -p1 |
277 |
|
|
278 |
%build |
%build |
279 |
perl createlinks |
perl createlinks |