/[smeserver]/rpms/dehydrated/sme9/dehydrated.spec
ViewVC logotype

Diff of /rpms/dehydrated/sme9/dehydrated.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jpp, Fri Feb 16 22:53:29 2018 UTC Revision 1.4 by jpp, Fri Feb 16 22:58:47 2018 UTC
# Line 1  Line 1 
1  Name:           dehydrated  Name:           dehydrated
2  %define version 0.5.0  %define version 0.5.0
3  %define release 1  %define release 2
4  Version:        %{version}  Version:        %{version}
5  Release:        %{release}%{?dist}  Release:        %{release}%{?dist}
6  Summary:        ACME client in bash  Summary:        ACME client in bash
# Line 10  License:       MIT Line 10  License:       MIT
10  URL:            https://github.com/lukas2511/dehydrated  URL:            https://github.com/lukas2511/dehydrated
11  Source0:        dehydrated-v%{version}.tar.gz  Source0:        dehydrated-v%{version}.tar.gz
12  Source1:        integration.tgz  Source1:        integration.tgz
13    Patch0:         dehydrated-0.5.0-bz10521-7a0e71c6c2ccc6e98abca5ea1c7de28053e90c02.patch
14    
15  BuildArch:      noarch  BuildArch:      noarch
16  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot
# Line 54  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_loca Line 55  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_loca
55  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges
56  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates
57  install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name}  install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name}
58  install %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks  install integration/dehydrated_hooks $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks
59  install %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke  install integration/dehydrated_revoke $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke
60  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d
61  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d
62  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
63  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
64  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
65  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/
66  cat <<"_EOF" > $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/%{name}  cat <<"_EOF" > $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/%{name}
67    
68  #!/bin/sh  #!/bin/sh
69  # Uncomment to enable auto-renewal  # Uncomment to enable auto-renewal
70  # %{_bindir}/%{name} -c 2>&1 | awk '{ print strftime(), $0; fflush(); }' >> %{_localstatedir}/log/%{name}.log  # %{_bindir}/%{name} -c 2>&1 | awk '{ print strftime(), $0; fflush(); }' >> %{_localstatedir}/log/%{name}.log
# Line 159  fi Line 161  fi
161  %dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates  %dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates
162    
163  %changelog  %changelog
164    * Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.5.0-2.sme
165    - fix Dehydrated caused rate limits to be reached [SME: 10521] patch0
166    
167  * Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.5.0-1.sme  * Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.5.0-1.sme
168  - upgrade to upstream version [SME: 10521]  - upgrade to upstream version [SME: 10521]
169    - update architecture of sources and release/version number
170      according to Charlie Brady recomendations see [SME 9901]
171    
172  * 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
173  - update dehydrated to 0.4 [SME: 10080]  - update dehydrated to 0.4 [SME: 10080]


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed