/[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.5 by jcrisp, Thu May 31 21:19:32 2018 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.4  %define version 0.5
3  %define release 5  %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 9  License: GNU GPL version 2 Line 9  License: GNU GPL version 2
9  URL: https://letsencrypt.org/  URL: https://letsencrypt.org/
10  Group: SMEserver/addon  Group: SMEserver/addon
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Patch0: smeserver-letsencrypt-0.4-bz10253.patch  Patch0: smeserver-letsencrypt-remove-debug-lines.patch
13  Patch1: smeserver-letsencrypt-events.patch  Patch1: smeserver-letsencrypt-remove-licence.patch
14    Patch2: smeserver-letsencrypt-log-to-file.patch
15    Patch3: smeserver-letsencrypt-API1-URL-change.patch
16    Patch4: smeserver-letsencrypt-fix-logging.patch
17    Patch5: smeserver-letsencrypt-fix-logging-reverse.patch
18    Patch6: smeserver-letsencrypt-fix-acme-v01-url.patch
19    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.5  Requires: dehydrated >= 0.6.5
27  AutoReqProv: no  AutoReqProv: no
28    
29  %description  %description
# Line 24  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
44    - forgot to remove template-begin and cron.daily dir [SME: 10862]
45    
46    * Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-11.sme
47    - force required version to 0.6.5 for EPEL version
48    - Add new cron template for EPEL version of dehydrated [SME: 10862]
49    
50    * Fri Jan 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10.sme
51    - Fix incorrect HOOK entry in config [SME: 10861]
52    
53    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9.sme
54    - Fix incorrect CA line in config [SME: 10688]
55    
56    * Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme
57    - Reverse my previous error [SME: 10681]
58    
59    * Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7.sme
60    - fix spec file numbering
61    
62    * Mon Dec 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6.sme
63    - Fix typo error in cron.daily [SME: 10681]
64    
65    * Sun Dec 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5.sme
66    - Fix changed V1 staging URL [SME: 10595]
67    - Thanks Terry Fage
68    
69    * Wed Dec 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4.sme
70    - log to file rather than /dev/null [SME: 10412]
71    
72    * Tue Oct 13 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3.sme
73    - remove Licence key from config template [SME:10636]
74    
75    * Tue Jun 19 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2.sme
76    - remove debug print lines
77    
78    * Tue Jun 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1.sme
79    - Update to v2 API [SME:10595]
80    - Add key letsencrypt hostOverride to ignore 'Self' host check
81    - This requires v0.6 of dehydrated
82    
83    * Wed Jun 06 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-6.sme
84    - Fix missing event actions [SME: 10315]
85    
86  * Thu May 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-5.sme  * Thu May 31 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-5.sme
87  - Fix typo in Accept Terms  - Fix typo in Accept Terms
88  - add domain-delete to createlinks [SME: 10315]  - add domain-delete to createlinks [SME: 10315]
# Line 168  https://letsencrypt.org/ Line 227  https://letsencrypt.org/
227  %setup  %setup
228  %patch0 -p1  %patch0 -p1
229  %patch1 -p1  %patch1 -p1
230    %patch2 -p1
231    %patch3 -p1
232    %patch4 -p1
233    %patch5 -p1
234    %patch6 -p1
235    %patch7 -p1
236    %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
# Line 229  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    
301    if [[ -d /etc/cron.daily/letsencrypt ]];
302    then rm -rf /etc/cron.daily/letsencrypt;
303    fi
304    
305    if [[ -d /etc/e-smith/templates/etc/cron.daily/letsencrypt ]];
306    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 ]];  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;  then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge;
311  fi  fi
# Line 236  fi Line 313  fi
313  chmod -R 0775  /home/e-smith/files/ibays/Primary/html/.well-known  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  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