--- rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt-0.4-bz10253.patch 2017/04/28 16:12:07 1.1 +++ rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt-0.4-bz10253.patch 2017/08/18 15:36:06 1.3 @@ -1,6 +1,6 @@ -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 ---- smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS 1969-12-31 19:00:00.000000000 -0500 -+++ smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/10ACCEPT_TERMS 2017-04-28 11:41:36.494000000 -0400 +diff -Nur smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/20ACCEPT_TERMS smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/20ACCEPT_TERMS +--- smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/20ACCEPT_TERMS 1969-12-31 19:00:00.000000000 -0500 ++++ smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/20ACCEPT_TERMS 2017-04-28 11:41:36.494000000 -0400 @@ -0,0 +1,11 @@ +{ + use strict; @@ -13,12 +13,3 @@ diff -Nur smeserver-letsencrypt-0.4.old/ + $OUT .= "PARAM_ACCEPT_TERMS=\"yes\"\n" if $ACCEPT_TERMS eq 'yes'; + $OUT .= "# letsencryp property ACCEPT_TERMS not set to yes\n" unless $ACCEPT_TERMS eq 'yes'; +} -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 ---- smeserver-letsencrypt-0.4.old/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND 1969-12-31 19:00:00.000000000 -0500 -+++ smeserver-letsencrypt-0.4/root/etc/e-smith/templates/etc/dehydrated/config/30CURL_WORKAROUND 2017-04-28 11:41:05.882000000 -0400 -@@ -0,0 +1,5 @@ -+#fix for curl error (get for https://acme-staging.api.letsencrypt.org/directory; curl returned with 6) like -+/usr/bin/curl https://acme-v01.api.letsencrypt.org/directory -s 2>&1 > /dev/null -+/usr/bin/curl http://cert.int-x3.letsencrypt.org/ -s 2>&1 > /dev/null -+/usr/bin/curl https://acme-staging.api.letsencrypt.org/directory -s 2>&1 > /dev/null -+