]> git.pld-linux.org Git - packages/dehydrated.git/commitdiff
add dummy domains file
authorElan Ruusamäe <glen@delfi.ee>
Sat, 14 May 2016 12:55:40 +0000 (15:55 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 14 May 2016 12:55:40 +0000 (15:55 +0300)
better safe than sorry considering rpm will overwrite config files
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-April/024853.html

domains.txt [new file with mode: 0644]
letsencrypt.sh.spec

diff --git a/domains.txt b/domains.txt
new file mode 100644 (file)
index 0000000..933e883
--- /dev/null
@@ -0,0 +1 @@
+#example.org www.example.org example.net
index d13d564e2ac263ebf52e5c548a182b4856fadc18..1fec6020ff1d85e40ffdb980daa20c0ec7f7a37c 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       letsencrypt/acme client implemented as a shell-script
 Name:          letsencrypt.sh
 Version:       0.1.0
-Release:       0.4
+Release:       0.5
 License:       MIT
 Group:         Applications/Networking
 Source0:       https://github.com/lukas2511/letsencrypt.sh/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -9,6 +9,7 @@ Source0:        https://github.com/lukas2511/letsencrypt.sh/archive/v%{version}/%{name}
 Source1:       apache.conf
 Source2:       lighttpd.conf
 Source3:       config.sh
+Source4:       domains.txt
 Patch0:                pld.patch
 URL:           https://github.com/lukas2511/letsencrypt.sh
 BuildRequires: rpmbuild(macros) >= 1.713
@@ -53,6 +54,7 @@ install -p letsencrypt.sh $RPM_BUILD_ROOT%{_sbindir}
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
+cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}
 cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 
 %clean
@@ -84,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config.sh
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/domains.txt
 # challenges written here from letsencrypt.sh, need to be readable by webserver
 %dir %attr(751,root,root) %{_sysconfdir}/acme-challenges
 
This page took 0.043085 seconds and 4 git commands to generate.