Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 19:16:45 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458047 - in head/security/certificate-transparency: . files
Message-ID:  <201801041916.w04JGjQR027273@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Thu Jan  4 19:16:45 2018
New Revision: 458047
URL: https://svnweb.freebsd.org/changeset/ports/458047

Log:
  * Revision bump for libevhtp
  * Fix build errors for updated libevhtp
  
  MFH:		2018Q1

Added:
  head/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc   (contents, props changed)
  head/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc   (contents, props changed)
Modified:
  head/security/certificate-transparency/Makefile

Modified: head/security/certificate-transparency/Makefile
==============================================================================
--- head/security/certificate-transparency/Makefile	Thu Jan  4 19:15:27 2018	(r458046)
+++ head/security/certificate-transparency/Makefile	Thu Jan  4 19:16:45 2018	(r458047)
@@ -3,7 +3,7 @@
 
 PORTNAME=	certificate-transparency
 PORTVERSION=	20161015
-PORTREVISION=	19
+PORTREVISION=	20
 CATEGORIES=	security
 
 MAINTAINER=	ports@FreeBSD.org

Added: head/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc	Thu Jan  4 19:16:45 2018	(r458047)
@@ -0,0 +1,18 @@
+--- cpp/net/connection_pool.cc.orig	2018-01-04 08:45:06 UTC
++++ cpp/net/connection_pool.cc
+@@ -454,12 +454,12 @@ unique_ptr<ConnectionPool::Connection> ConnectionPool:
+                                     kZeroMillis};
+     evhtp_connection_set_timeouts(handle->connection(), &read_timeout,
+                                   &write_timeout);
+-    evhtp_set_hook(&handle->connection()->hooks, evhtp_hook_on_conn_error,
++    evhtp_connection_set_hook(handle->connection(), evhtp_hook_on_conn_error,
+                    reinterpret_cast<evhtp_hook>(
+                        EvConnection::ConnectionErrorHook),
+                    reinterpret_cast<void*>(conn.get()));
+-    evhtp_set_hook(
+-        &handle->connection()->hooks, evhtp_hook_on_connection_fini,
++    evhtp_connection_set_hook(
++        handle->connection(), evhtp_hook_on_connection_fini,
+         reinterpret_cast<evhtp_hook>(EvConnection::ConnectionFinishedHook),
+         // We'll hold on to another shared_ptr to the Connection
+         // until evhtp tells us that it's finished with the cnxn.

Added: head/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc	Thu Jan  4 19:16:45 2018	(r458047)
@@ -0,0 +1,11 @@
+--- cpp/net/url_fetcher.cc.orig	2018-01-04 08:54:28 UTC
++++ cpp/net/url_fetcher.cc
+@@ -4,7 +4,7 @@
+ #include <event2/keyvalq_struct.h>
+ #include <evhtp.h>
+ #include <glog/logging.h>
+-#include <htparse.h>
++#include <parser.h>
+ 
+ #include "net/connection_pool.h"
+ #include "util/thread_pool.h"



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