From 89ea54c9188c33396dce5425e9a23586bd602e55 Mon Sep 17 00:00:00 2001 From: wg Date: Sat, 23 Aug 2014 19:06:59 +0000 Subject: net-p2p/uhub: update to 0.5.0 PR: 192805 Submitted by: tkato432 yahoo com --- net-p2p/uhub/Makefile | 2 +- net-p2p/uhub/distinfo | 4 ++-- net-p2p/uhub/files/patch-src__network__openssl.c | 15 +++++++++++++++ net-p2p/uhub/pkg-plist | 1 + 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 net-p2p/uhub/files/patch-src__network__openssl.c (limited to 'net-p2p') diff --git a/net-p2p/uhub/Makefile b/net-p2p/uhub/Makefile index 081e9b15a185..8454fbd5fa1c 100644 --- a/net-p2p/uhub/Makefile +++ b/net-p2p/uhub/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= uhub -PORTVERSION= 0.4.1 +PORTVERSION= 0.5.0 DISTVERSIONSUFFIX= -src CATEGORIES= net-p2p MASTER_SITES= http://www.extatic.org/downloads/uhub/ diff --git a/net-p2p/uhub/distinfo b/net-p2p/uhub/distinfo index ca92034c3d6c..3097d89d3556 100644 --- a/net-p2p/uhub/distinfo +++ b/net-p2p/uhub/distinfo @@ -1,2 +1,2 @@ -SHA256 (uhub-0.4.1-src.tar.gz) = c2985e4136b2c8e43ddfe10f28545162e94a8ec93d107dd7254478edc79a2eee -SIZE (uhub-0.4.1-src.tar.gz) = 203394 +SHA256 (uhub-0.5.0-src.tar.gz) = e649a3a3b462f5202b7ac815cf87ac9a1848dc3ec4af908bd097f913783c0e55 +SIZE (uhub-0.5.0-src.tar.gz) = 217092 diff --git a/net-p2p/uhub/files/patch-src__network__openssl.c b/net-p2p/uhub/files/patch-src__network__openssl.c new file mode 100644 index 000000000000..c1b67184db8c --- /dev/null +++ b/net-p2p/uhub/files/patch-src__network__openssl.c @@ -0,0 +1,15 @@ +--- src/network/openssl.c.orig ++++ src/network/openssl.c +@@ -106,10 +106,12 @@ + + if (!strcmp(tls_version, "1.0")) + return TLSv1_method(); ++#if OPENSSL_VERSION_NUMBER >= 0x1000100fL + if (!strcmp(tls_version, "1.1")) + return TLSv1_1_method(); + if (!strcmp(tls_version, "1.2")) + return TLSv1_2_method(); ++#endif + + LOG_ERROR("Unable to recognize tls_version."); + return 0; diff --git a/net-p2p/uhub/pkg-plist b/net-p2p/uhub/pkg-plist index 8c9cd2e47004..3430e25780e9 100644 --- a/net-p2p/uhub/pkg-plist +++ b/net-p2p/uhub/pkg-plist @@ -11,6 +11,7 @@ bin/uhub lib/uhub/mod_auth_simple.so %%SQLITE%%lib/uhub/mod_auth_sqlite.so lib/uhub/mod_chat_history.so +%%SQLITE%%lib/uhub/mod_chat_history_sqlite.so lib/uhub/mod_chat_only.so lib/uhub/mod_example.so lib/uhub/mod_logging.so -- cgit