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

Diff of /rpms/dehydrated/sme10/dehydrated.spec

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

Revision 1.3 by unnilennium, Mon Feb 6 19:52:22 2017 UTC Revision 1.5 by jpp, Fri Feb 16 22:37:42 2018 UTC
# Line 1  Line 1 
1  Name:           dehydrated  Name:           dehydrated
2  Version:        0.4.0.20170205.git1163864  Version:        0.5.0
3  Release:        1%{?dist}  %define release 1
4    Release:        %{release}%{?dist}
5  Summary:        ACME client in bash  Summary:        ACME client in bash
6    
7  Group:          Application/System  Group:          Application/System
8  License:        MIT  License:        MIT
9  URL:            https://github.com/lukas2511/dehydrated  URL:            https://github.com/lukas2511/dehydrated
10  Source0:        dehydrated-master.zip  #download released zip and prepend dehydrated- to name
11  Source1:        dehydrated_hooks  Source0:        dehydrated-v0.5.0.tar.gz
12  SOurce2:        dehydrated_revoke  Source1:        integration.tgz
 Source3:        httpd.sh.sample  
13    
14  BuildArch:      noarch  BuildArch:      noarch
15  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot
# Line 36  This is a client for signing certificate Line 36  This is a client for signing certificate
36  relatively simple bash-script.  relatively simple bash-script.
37    
38  %prep  %prep
39  %setup -q -n dehydrated-master  #unpack source 1
40    %setup  -n dehydrated-%{version}
41    # unpack integration package aka source 1; do not delete previous -D, and disable default unpacking -T
42    # this wil unpack the integration file in the previous unpacked dehydrated folder
43    %setup -T -D -a 1
44    
45  %build  %build
46  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_localstatedir}/lib/%{name}/certificates|" \  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_localstatedir}/lib/%{name}/certificates|" \
# Line 49  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_loca Line 53  sed -i -e "s|#BASEDIR=.*|BASEDIR=%{_loca
53  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/challenges
54  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates  install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/certificates
55  install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name}  install -D dehydrated $RPM_BUILD_ROOT/%{_bindir}/%{name}
56  install %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks  install integration/dehydrated_hooks $RPM_BUILD_ROOT/%{_bindir}/dehydrated_hooks
57  install %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke  install integration/dehydrated_revoke $RPM_BUILD_ROOT/%{_bindir}/dehydrated_revoke
58  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_deploy_cert.d
59  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/hooks_clean_challenge.d
60  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
61  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
62  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
63  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/  install -d $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/
# Line 154  fi Line 158  fi
158  %dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates  %dir %attr(0750,root,root) %{_localstatedir}/lib/%{name}/certificates
159    
160  %changelog  %changelog
161    * Fri Feb 16 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.5.0-1.sme
162    - upgrade to upstream version [SME: 10521]
163    
164    * Fri Feb 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> - 0.4.0-1.sme
165    - update architecture of sources and release/version number
166    - according to Charlie Brady recomendations
167    - see [SME 9901]
168  * 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
169  - update dehydrated to 0.4 [SME: 10080]  - update dehydrated to 0.4 [SME: 10080]
170  - see https://github.com/lukas2511/dehydrated/releases/tag/v0.4.0  - see https://github.com/lukas2511/dehydrated/releases/tag/v0.4.0
171    - upstream release Version 0.4.0 commit 116386486b3749e4c5e1b4da35904f30f8b2749b
172    
173  * 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
174  - Initial import in SME Server Buildsys  - Initial import in SME Server Buildsys [SME: 9901]
175    
176  * 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
177  - Fix warning when installing dehydrated without upgrading from letsencrypt.sh  - Fix warning when installing dehydrated without upgrading from letsencrypt.sh


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