1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 16 |
%define release 23 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
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 |
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 |
|
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-23.sme |
41 |
|
- add to core backup [SME: 12011] |
42 |
|
|
43 |
|
* Wed Jun 15 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-22.sme |
44 |
|
- Add action to check if dehydrated.timer is running and stop it if so [SME: 11996] |
45 |
|
|
46 |
|
* Sun Jun 12 2022 Brian Read <brianr@bjsystems.co.uk> 0.5-21.sme |
47 |
|
- Stop systemd timer runnning as well as cron [SME: 11990] |
48 |
|
|
49 |
|
* Wed Mar 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-19.sme |
50 |
|
- use a general Alias for acme path and a proxypass [SME: 10637] |
51 |
|
|
52 |
|
* Tue Nov 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.5-18.sme |
53 |
|
- force RSA as algorithm [SME: 11773] |
54 |
|
- populate smeserver-letsencrypt-update event and create letsencrypt-config event |
55 |
|
|
56 |
|
* Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-17.sme |
57 |
|
- Add in mkdir in spec file for smeserver-letsencrypt-update event [SME: 11514] |
58 |
|
|
59 |
* Tue Oct 06 2020 Brian Read <brianr@bjsystems.co.uk> 0.5-16.sme |
* Tue Oct 06 2020 Brian Read <brianr@bjsystems.co.uk> 0.5-16.sme |
60 |
- Move to SME10 and set default to API v2 [SME: 11022] |
- Move to SME10 and set default to API v2 [SME: 11022] |
61 |
|
|
263 |
%patch7 -p1 |
%patch7 -p1 |
264 |
%patch8 -p1 |
%patch8 -p1 |
265 |
%patch9 -p1 |
%patch9 -p1 |
266 |
|
mkdir -p root/etc/e-smith/events/smeserver-letsencrypt-update |
267 |
# remove old template |
# remove old template |
268 |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
rm -rf root/etc/e-smith/templates/etc/cron.daily |
269 |
|
%patch10 -p1 |
270 |
|
%patch11 -p1 |
271 |
|
%patch12 -p1 |
272 |
|
%patch13 -p1 |
273 |
|
%patch14 -p1 |
274 |
|
|
275 |
%build |
%build |
276 |
perl createlinks |
perl createlinks |