/[smecontribs]/rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt-0.4-bz10253.patch
ViewVC logotype

Annotation of /rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt-0.4-bz10253.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Apr 28 16:12:07 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-letsencrypt-0_4-2
* Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-2.sme
- help accept licence  [SME: 10253]
- workaround for curl issues
- spec tidying

1 unnilennium 1.1 diff -Nur smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS
2     --- smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS 1969-12-31 19:00:00.000000000 -0500
3     +++ smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS 2017-04-28 11:41:36.494000000 -0400
4     @@ -0,0 +1,11 @@
5     +{
6     + use strict;
7     + use warnings;
8     + use esmith::ConfigDB;
9     +
10     + my $configDB = esmith::ConfigDB->open_ro or die("can't open Config DB");
11     + my $ACCEPT_TERMS = $configDB->get_prop( 'letsencrypt', 'ACCEPT_TERMS' )
12     + || 'no';
13     + $OUT .= "PARAM_ACCEPT_TERMS=\"yes\"\n" if $ACCEPT_TERMS eq 'yes';
14     + $OUT .= "# letsencryp property ACCEPT_TERMS not set to yes\n" unless $ACCEPT_TERMS eq 'yes';
15     +}
16     diff -Nur smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND
17     --- smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND 1969-12-31 19:00:00.000000000 -0500
18     +++ smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND 2017-04-28 11:41:05.882000000 -0400
19     @@ -0,0 +1,5 @@
20     +#fix for curl error (get for https://acme-staging.api.letsencrypt.org/directory; curl returned with 6) like
21     +/usr/bin/curl https://acme-v01.api.letsencrypt.org/directory -s 2>&1 > /dev/null
22     +/usr/bin/curl http://cert.int-x3.letsencrypt.org/ -s 2>&1 > /dev/null
23     +/usr/bin/curl https://acme-staging.api.letsencrypt.org/directory -s 2>&1 > /dev/null
24     +

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