[packages/letsencrypt.sh] add dummy domains file

glen glen at pld-linux.org
Sat May 14 14:56:56 CEST 2016


commit 8f670f9f0d6afe42d9e830b21f7f00f10453efae
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 14 15:55:40 2016 +0300

    add dummy domains file
    
    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         | 1 +
 letsencrypt.sh.spec | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/letsencrypt.sh.spec b/letsencrypt.sh.spec
index d13d564..1fec602 100644
--- a/letsencrypt.sh.spec
+++ b/letsencrypt.sh.spec
@@ -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
 
diff --git a/domains.txt b/domains.txt
new file mode 100644
index 0000000..933e883
--- /dev/null
+++ b/domains.txt
@@ -0,0 +1 @@
+#example.org www.example.org example.net
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/letsencrypt.sh.git/commitdiff/8f670f9f0d6afe42d9e830b21f7f00f10453efae



More information about the pld-cvs-commit mailing list