[packages/letsencrypt.sh] add config.sh
glen
glen at pld-linux.org
Sat May 14 14:51:44 CEST 2016
commit 3c33d40b996b1e72bf7d66bf0609f2cf723f8763
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 14 15:51:25 2016 +0300
add config.sh
config.sh | 1 +
letsencrypt.sh.spec | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/letsencrypt.sh.spec b/letsencrypt.sh.spec
index 2dcfe88..eba4f4a 100644
--- a/letsencrypt.sh.spec
+++ b/letsencrypt.sh.spec
@@ -1,13 +1,14 @@
Summary: letsencrypt/acme client implemented as a shell-script
Name: letsencrypt.sh
Version: 0.1.0
-Release: 0.2
+Release: 0.3
License: MIT
Group: Applications/Networking
Source0: https://github.com/lukas2511/letsencrypt.sh/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: eadd134cc5365753c03929dd70db341d
Source1: apache.conf
Source2: lighttpd.conf
+Source3: config.sh
URL: https://github.com/lukas2511/letsencrypt.sh
BuildRequires: rpmbuild(macros) >= 1.713
Requires: curl
@@ -49,6 +50,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 $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
%clean
@@ -79,6 +81,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
%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
# challenges written here from letsencrypt.sh, need to be readable by webserver
%dir %attr(751,root,root) %{_sysconfdir}/acme-challenges
diff --git a/config.sh b/config.sh
new file mode 100644
index 0000000..5b105e6
--- /dev/null
+++ b/config.sh
@@ -0,0 +1 @@
+#CONTACT_EMAIL=root at example.org
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/letsencrypt.sh.git/commitdiff/3c33d40b996b1e72bf7d66bf0609f2cf723f8763
More information about the pld-cvs-commit
mailing list