aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRichard Gallamore <ultima@FreeBSD.org>2018-01-04 19:16:45 +0000
committerRichard Gallamore <ultima@FreeBSD.org>2018-01-04 19:16:45 +0000
commitc622191024acfa9cd925423c4f9183a00d58e489 (patch)
tree755c10cc85b280ab95a25b9e0f4d0e36eedc52f3 /security
parent6c676d2ba5dc302430f33af61eb43a0a09a832d2 (diff)
downloadports-c622191024acfa9cd925423c4f9183a00d58e489.tar.gz
ports-c622191024acfa9cd925423c4f9183a00d58e489.zip
* Revision bump for libevhtp
* Fix build errors for updated libevhtp MFH: 2018Q1
Notes
Notes: svn path=/head/; revision=458047
Diffstat (limited to 'security')
-rw-r--r--security/certificate-transparency/Makefile2
-rw-r--r--security/certificate-transparency/files/patch-cpp_net_connection__pool.cc18
-rw-r--r--security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc11
3 files changed, 30 insertions, 1 deletions
diff --git a/security/certificate-transparency/Makefile b/security/certificate-transparency/Makefile
index a10a1fda0957..839f45a80af0 100644
--- a/security/certificate-transparency/Makefile
+++ b/security/certificate-transparency/Makefile
@@ -3,7 +3,7 @@
PORTNAME= certificate-transparency
PORTVERSION= 20161015
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
diff --git a/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc b/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc
new file mode 100644
index 000000000000..866ea194b9a8
--- /dev/null
+++ b/security/certificate-transparency/files/patch-cpp_net_connection__pool.cc
@@ -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.
diff --git a/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc b/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc
new file mode 100644
index 000000000000..e4457fa51443
--- /dev/null
+++ b/security/certificate-transparency/files/patch-cpp_net_url__fetcher.cc
@@ -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"