Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 22:54:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483952 - head/www/rubygem-passenger/files
Message-ID:  <201811032254.wA3Msdv7063239@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov  3 22:54:39 2018
New Revision: 483952
URL: https://svnweb.freebsd.org/changeset/ports/483952

Log:
  Fix build with curl 7.62.0

Added:
  head/www/rubygem-passenger/files/patch-src-agent-Core-SecurityUpdateChecker.h   (contents, props changed)

Added: head/www/rubygem-passenger/files/patch-src-agent-Core-SecurityUpdateChecker.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rubygem-passenger/files/patch-src-agent-Core-SecurityUpdateChecker.h	Sat Nov  3 22:54:39 2018	(r483952)
@@ -0,0 +1,14 @@
+--- src/agent/Core/SecurityUpdateChecker.h.orig	2018-11-03 10:06:51 UTC
++++ src/agent/Core/SecurityUpdateChecker.h
+@@ -256,9 +256,11 @@ private:
+ 				error.append(" for proxy address " + sessionState.config["proxy_url"].asString());
+ 				break;
+ 
++#if LIBCURL_VERSION_NUM < 0x073e00
+ 			case CURLE_SSL_CACERT:
+ 				// Peer certificate cannot be authenticated with given / known CA certificates. This would happen
+ 				// for MITM but could also be a truststore issue.
++#endif
+ 			case CURLE_PEER_FAILED_VERIFICATION:
+ 				// The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
+ 				error.append(" while connecting to " + sessionState.configRlz.url



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811032254.wA3Msdv7063239>