1 |
Name: dehydrated |
Name: dehydrated |
2 |
Version: 0.4.0.20170205.git1163864 |
%define version 0.6.1 |
3 |
Release: 1%{?dist} |
%define release 12 |
4 |
|
Version: %{version} |
5 |
|
Release: %{release}%{?dist} |
6 |
Summary: ACME client in bash |
Summary: ACME client in bash |
7 |
|
|
8 |
Group: Application/System |
Group: Application/System |
9 |
License: MIT |
License: MIT |
10 |
URL: https://github.com/lukas2511/dehydrated |
URL: https://github.com/lukas2511/dehydrated |
11 |
Source0: dehydrated-master.zip |
#download released zip and prepend dehydrated- to name |
12 |
Source1: dehydrated_hooks |
Source0: dehydrated-%{version}.tar.gz |
13 |
SOurce2: dehydrated_revoke |
Source1: integration.tgz |
|
Source3: httpd.sh.sample |
|
14 |
|
|
15 |
BuildArch: noarch |
BuildArch: noarch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
37 |
relatively simple bash-script. |
relatively simple bash-script. |
38 |
|
|
39 |
%prep |
%prep |
40 |
%setup -q -n dehydrated-master |
#unpack source 1 |
41 |
|
%setup -n dehydrated-%{version} |
42 |
|
# unpack integration package aka source 1; do not delete previous -D, and disable default unpacking -T |
43 |
|
# this wil unpack the integration file in the previous unpacked dehydrated folder |
44 |
|
%setup -T -D -a 1 |
45 |
|
|
46 |
%build |
%build |
47 |
sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_localstatedir}/lib/%{name}/certificates|" \ |
sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_localstatedir}/lib/%{name}/certificates|" \ |
54 |
install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges |
install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges |
55 |
install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates |
install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates |
56 |
install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name} |
install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name} |
57 |
install %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks |
install integration/dehydrated_hooks $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks |
58 |
install %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke |
install integration/dehydrated_revoke $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke |
59 |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d |
60 |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d |
61 |
install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d/10httpd.sh.sample |
install -D -m 0644 integration/httpd.sh.sample $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d/10httpd.sh.sample |
62 |
install -D -m 0644 docs/examples/config $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/config |
install -D -m 0644 docs/examples/config $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/config |
63 |
install -D -m 0644 docs/examples/domains.txt $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/domains.txt |
install -D -m 0644 docs/examples/domains.txt $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/domains.txt |
64 |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/ |
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/ |
159 |
%dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates |
%dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates |
160 |
|
|
161 |
%changelog |
%changelog |
162 |
|
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.6.1-12.sme |
163 |
|
- upgrade to upstream version [SME: 10565] |
164 |
|
|
165 |
|
* Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version: 0.5.0-3.sme |
166 |
|
- fix Dehydrated caused rate limits to be reached [SME: 10521] |
167 |
|
|
168 |
|
* Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.5.0-1.sme |
169 |
|
- upgrade to upstream version [SME: 10521] |
170 |
|
|
171 |
|
* Fri Feb 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.4.0-1.sme |
172 |
|
- update architecture of sources and release/version number |
173 |
|
- according to Charlie Brady recomendations |
174 |
|
- see [SME 9901] |
175 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.4.0.20170205.git1163864.sme |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.4.0.20170205.git1163864.sme |
176 |
- update dehydrated to 0.4 [SME: 10080] |
- update dehydrated to 0.4 [SME: 10080] |
177 |
- see https://github.com/lukas2511/dehydrated/releases/tag/v0.4.0 |
- see https://github.com/lukas2511/dehydrated/releases/tag/v0.4.0 |
178 |
|
- upstream release Version 0.4.0 commit 116386486b3749e4c5e1b4da35904f30f8b2749b |
179 |
|
|
180 |
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.3.0.20160914.gitcaeed7d-4.sme |
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.3.0.20160914.gitcaeed7d-4.sme |
181 |
- Initial import in SME Server Buildsys |
- Initial import in SME Server Buildsys [SME: 9901] |
182 |
|
|
183 |
* Mon Oct 24 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.3.0.20160914.gitcaeed7d-3 |
* Mon Oct 24 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.3.0.20160914.gitcaeed7d-3 |
184 |
- Fix warning when installing dehydrated without upgrading from letsencrypt.sh |
- Fix warning when installing dehydrated without upgrading from letsencrypt.sh |