/[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.18 by jcrisp, Mon Feb 17 15:35:44 2020 UTC Revision 1.22 by jcrisp, Thu Mar 12 22:48:58 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 12  %define release 15
4  Summary: Plugin to enable letsencrypt certificates  Summary: Plugin to enable letsencrypt certificates
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 31  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    * Thu Mar 12  2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-15.sme
35    - take 3: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862]
36    
37    * Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.5-14.sme
38    - take 2: remove dangling cron.daily dir missed in 0.5-12 [SME: 10862]
39    
40    * Mon Mar 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13.sme
41    - remove dangling cron.daily dir missed in 0.5-12 [SME: 10862]
42    
43  * Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme  * Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme
44  - forgot to remove template-begin and cron.daily dir [SME: 10862]  - forgot to remove template-begin and cron.daily dir [SME: 10862]
45    
# Line 226  https://letsencrypt.org/ Line 235  https://letsencrypt.org/
235  %patch7 -p1  %patch7 -p1
236  %patch8 -p1  %patch8 -p1
237    
238    # remove old template
239    rm -rf root/etc/e-smith/templates/etc/cron.daily
240    
241  %build  %build
242  perl createlinks  perl createlinks
243    
# Line 286  if [[ -f /usr/local/bin/domain.txt ]]; Line 298  if [[ -f /usr/local/bin/domain.txt ]];
298  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;
299  fi  fi
300    
 if [[ ! -e /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;  
 fi  
   
301  if [[ -d /etc/cron.daily/letsencrypt ]];  if [[ -d /etc/cron.daily/letsencrypt ]];
302  then rm -rf /etc/cron.daily/letsencrypt;  then rm -rf /etc/cron.daily/letsencrypt;
303  fi  fi
304    
305  chmod -R 0775  /home/e-smith/files/ibays/Primary/html/.well-known  if [[ -d /etc/e-smith/templates/etc/cron.daily/letsencrypt ]];
306  chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known  then rm -rf /root/etc/e-smith/templates/etc/cron.daily/letsencrypt
307    fi
308    
309    if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]];
310    then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge;
311    fi
312    
313    chmod -R 0775  /home/e-smith/files/ibays/Primary/html/.well-known
314    chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known
315    
316    # remove old template file
317    if [[  -e /etc/cron.daily/letsencrypt ]];
318    then rm -rf /etc/cron.daily/letsencrypt
319    fi
320  %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