X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=dehydrated.spec;h=3ea6e92a3e9d76a6598c12f4dddb747237f63b1c;hb=607c371af4c99fa769ffcdacb02b9cf92430b294;hp=cb6c8219a17360e7064151eb906b2fec209da66d;hpb=6548e56fe28433ca29eca0b69708ffcffe41cdfb;p=packages%2Fdehydrated.git diff --git a/dehydrated.spec b/dehydrated.spec index cb6c821..3ea6e92 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -1,12 +1,12 @@ Summary: letsencrypt/acme client implemented as a shell-script Name: dehydrated Version: 0.4.0 -Release: 0.2 +Release: 0.3 License: MIT Group: Applications/Networking Source0: https://github.com/lukas2511/dehydrated/archive/v%{version}/%{name}-%{version}.tar.gz # Source0-md5: 8114ba0144a158d5ad1bdf02e6f43195 -Source1: apache.conf +Source1: httpd.conf Source2: lighttpd.conf Source3: nginx.conf Source4: domains.txt @@ -63,7 +63,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},{/etc/%{name},%{_webapps}/%{name}}/{conf. $RPM_BUILD_ROOT/var/lib/%{name}/{accounts,acme-challenges,certs} install -p %{name} $RPM_BUILD_ROOT%{_sbindir} -cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{name}/apache.conf +cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{name}/httpd.conf cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{name}/lighttpd.conf cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_webapps}/%{name}/nginx.conf cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/%{name}/domains.txt @@ -80,10 +80,10 @@ cp -p %{SOURCE16} $RPM_BUILD_ROOT/etc/%{name}/hooks.d/global rm -rf $RPM_BUILD_ROOT %triggerin -- apache < 2.2.0, apache-base -%webapp_register apache %{name} +%webapp_register httpd %{name} %triggerun -- apache < 2.2.0, apache-base -%webapp_unregister apache %{name} +%webapp_unregister httpd %{name} %triggerin -- lighttpd %webapp_register lighttpd %{name} @@ -102,7 +102,7 @@ rm -rf $RPM_BUILD_ROOT %doc README.md CHANGELOG LICENSE %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name} %dir %attr(750,root,http) %{_webapps}/%{name} -%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/apache.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/httpd.conf %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/lighttpd.conf %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/nginx.conf %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/config