Summary: letsencrypt/acme client implemented as a shell-script
Name: dehydrated
-Version: 0.6.2
-Release: 4
+Version: 0.6.5
+Release: 1
License: MIT
Group: Applications/Networking
Source0: https://github.com/lukas2511/dehydrated/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d4db13d5965054b0a231bf95285c6cf0
+# Source0-md5: cedf07369517c317c4e1075540b94699
Source1: httpd.conf
Source2: lighttpd.conf
Source3: nginx.conf
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sbindir},{/etc/%{name},%{_webapps}/%{name}}/{conf.d,hooks,hooks.d},/etc/{cron,sudoers}.d} \
- $RPM_BUILD_ROOT/var/lib/%{name}/{accounts,acme-challenges,certs}
+ $RPM_BUILD_ROOT/var/lib/%{name}/{accounts,acme-challenges,alpn-certs,certs}
install -p %{name} $RPM_BUILD_ROOT%{_sbindir}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{name}/httpd.conf
%files
%defattr(644,root,root,755)
-%doc README.md CHANGELOG LICENSE
+%doc README.md CHANGELOG LICENSE docs/*.md docs/examples/config
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sudoers.d/%{name}
%dir %attr(750,root,http) %{_webapps}/%{name}
%attr(755,root,root) %{_sbindir}/%{name}
%dir %attr(751,root,root) /var/lib/%{name}
%dir %attr(700,root,root) /var/lib/%{name}/accounts
+%dir %attr(750,root,dehydrated) /var/lib/%{name}/alpn-certs
%dir %attr(750,root,dehydrated) /var/lib/%{name}/certs
-# challenges written here, need to be readable by webserver
+# challenges are written here, need to be readable by webserver
%dir %attr(751,root,dehydrated) /var/lib/%{name}/acme-challenges