From b2ae7a152921bf36a39f01de43769ee90cbbd253 Mon Sep 17 00:00:00 2001 From: Joseph Lansdowne Date: Tue, 9 Apr 2019 21:08:32 +0100 Subject: [PATCH] fix option `no_verify_hostname` Broke with a curl upgrade at some point. 1 is no longer a valid option - not sure exactly what it used to do. --- ChangeLog | 3 +++ ftpfs.c | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ftpfs.c b/ftpfs.c index 020e559..207d5fd 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -1627,9 +1627,7 @@ static void set_common_curl_stuff(CURL* easy) { } if (ftpfs.no_verify_hostname) { - /* The default is 2 which verifies even the host string. This sets to 1 - * which means verify the host but not the string. */ - curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 1); + curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 0); } curl_easy_setopt_or_die(easy, CURLOPT_INTERFACE, ftpfs.interface); Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-daemon.conf.in
AgeCommit message (Collapse)Author
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery.Maxim Cournoyer
Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news.