1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 12 |
%define release 14 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
31 |
https://letsencrypt.org/ |
https://letsencrypt.org/ |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.5-14.sme |
35 |
|
- take 2: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
36 |
|
|
37 |
* Mon Mar 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13.sme |
* Mon Mar 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13.sme |
38 |
- remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
- remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
39 |
|
|
232 |
%patch7 -p1 |
%patch7 -p1 |
233 |
%patch8 -p1 |
%patch8 -p1 |
234 |
|
|
235 |
|
# remove old template |
236 |
|
rm -rf root/etc/e-smith/templates/etc/cron.daily |
237 |
|
|
238 |
%build |
%build |
239 |
perl createlinks |
perl createlinks |
240 |
|
|
310 |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
311 |
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 |
312 |
|
|
313 |
|
# remove old template file |
314 |
|
if [[ -e /etc/cron.daily/letsencryp ]]; |
315 |
|
then rm -rf /etc/cron.daily/letsencrypt |
316 |
|
fi |
317 |
%postun |
%postun |