|
|
@ -1,5 +1,5 @@ |
|
|
|
%define version 0.1.6 |
|
|
|
%define version 0.1.6 |
|
|
|
%define release 1 |
|
|
|
%define release 2 |
|
|
|
%define name smeserver-letsencrypt-client |
|
|
|
%define name smeserver-letsencrypt-client |
|
|
|
|
|
|
|
|
|
|
|
Summary: Letencrypt client for SME Server |
|
|
|
Summary: Letencrypt client for SME Server |
|
|
@ -22,6 +22,9 @@ Automatically get certificates from letsencrypt |
|
|
|
Using https://github.com/lukas2511/letsencrypt.sh |
|
|
|
Using https://github.com/lukas2511/letsencrypt.sh |
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-2.sme |
|
|
|
|
|
|
|
- Define %clean before %files |
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme |
|
|
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme |
|
|
|
- Use chain.pem instead of fullchain.pem |
|
|
|
- Use chain.pem instead of fullchain.pem |
|
|
|
|
|
|
|
|
|
|
@ -61,12 +64,12 @@ perl createlinks |
|
|
|
--file /etc/letsencrypt.sh/hooks_clean_challenge.d/10smeserver.sh 'attr(0755,root,root)' \ |
|
|
|
--file /etc/letsencrypt.sh/hooks_clean_challenge.d/10smeserver.sh 'attr(0755,root,root)' \ |
|
|
|
> %{name}-%{version}-filelist |
|
|
|
> %{name}-%{version}-filelist |
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
|
|
|
|
%defattr(-,root,root) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
%clean |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
|
|
|
|
%defattr(-,root,root) |
|
|
|
|
|
|
|
|
|
|
|
%pre |
|
|
|
%pre |
|
|
|
|
|
|
|
|
|
|
|
%post |
|
|
|
%post |
|
|
|