/[smecontribs]/rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec
ViewVC logotype

Diff of /rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec

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

Revision 1.16 by jcrisp, Fri Jan 17 12:35:05 2020 UTC Revision 1.21 by jpp, Wed Mar 11 18:36:06 2020 UTC
# Line 1  Line 1 
1  %define name smeserver-letsencrypt  %define name smeserver-letsencrypt
2  %define version 0.5  %define version 0.5
3  %define release 10  %define release 14
4  Summary: Plugin to enable letsencrypt certificates  Summary: Plugin to enable letsencrypt certificates
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 17  Patch4: smeserver-letsencrypt-fix-loggin Line 17  Patch4: smeserver-letsencrypt-fix-loggin
17  Patch5: smeserver-letsencrypt-fix-logging-reverse.patch  Patch5: smeserver-letsencrypt-fix-logging-reverse.patch
18  Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch  Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch
19  Patch7: smeserver-letsencrypt-fix-hook-entry.patch  Patch7: smeserver-letsencrypt-fix-hook-entry.patch
20    Patch8: smeserver-letsencrypt-change-cron-entry.patch
21    
22  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
23  BuildArchitectures: noarch  BuildArchitectures: noarch
24  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
25  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 9.0
26  Requires: dehydrated >= 0.6  Requires: dehydrated >= 0.6.5
27  AutoReqProv: no  AutoReqProv: no
28    
29  %description  %description
# Line 29  Lets Encrypt is a free, automated, and o Line 31  Lets Encrypt is a free, automated, and o
31  https://letsencrypt.org/  https://letsencrypt.org/
32    
33  %changelog  %changelog
34    * Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.5-14.sme
35    - take 2: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862]
36    
37    * Mon Mar 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13.sme
38    - remove dangling cron.daily dir missed in 0.5-12 [SME: 10862]
39    
40    * Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme
41    - forgot to remove template-begin and cron.daily dir [SME: 10862]
42    
43    * Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-11.sme
44    - force required version to 0.6.5 for EPEL version
45    - Add new cron template for EPEL version of dehydrated [SME: 10862]
46    
47  * Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme  * Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme
48  - Fix incorrect HOOK entry in config [SME: 10861]  - Fix incorrect HOOK entry in config [SME: 10861]
49    
# Line 215  https://letsencrypt.org/ Line 230  https://letsencrypt.org/
230  %patch5 -p1  %patch5 -p1
231  %patch6 -p1  %patch6 -p1
232  %patch7 -p1  %patch7 -p1
233    %patch8 -p1
234    
235    # remove old template
236    rm -rf root/etc/e-smith/templates/etc/cron.daily
237    
238  %build  %build
239  perl createlinks  perl createlinks
# Line 276  if [[ -f /usr/local/bin/domain.txt ]]; Line 295  if [[ -f /usr/local/bin/domain.txt ]];
295  then mv -f /usr/local/bin/domains.txt /usr/local/bin/domains.txt.orig;  then mv -f /usr/local/bin/domains.txt /usr/local/bin/domains.txt.orig;
296  fi  fi
297    
298    if [[ -d /etc/cron.daily/letsencrypt ]];
299    then rm -rf /etc/cron.daily/letsencrypt;
300    fi
301    
302    if [[ -d /etc/e-smith/templates/etc/cron.daily/letsencrypt ]];
303    then rm -rf /root/etc/e-smith/templates/etc/cron.daily/letsencrypt
304    fi
305    
306  if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]];  if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]];
307  then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge;  then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge;
308  fi  fi
# Line 283  fi Line 310  fi
310  chmod -R 0775  /home/e-smith/files/ibays/Primary/html/.well-known  chmod -R 0775  /home/e-smith/files/ibays/Primary/html/.well-known
311  chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known  chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known
312    
313    # remove old template file
314    if [[  -e /etc/cron.daily/letsencryp ]];
315    then rm -rf /etc/cron.daily/letsencrypt
316    fi
317  %postun  %postun


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