diff options
author | wg <wg@FreeBSD.org> | 2014-08-24 03:06:59 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-08-24 03:06:59 +0800 |
commit | 89ea54c9188c33396dce5425e9a23586bd602e55 (patch) | |
tree | 8be571e19712adbc47102b2c9c727564705d2390 /net-p2p | |
parent | b226999d57e7844672eb267138ffafa8068367f1 (diff) | |
download | freebsd-ports-gnome-89ea54c9188c33396dce5425e9a23586bd602e55.tar.gz freebsd-ports-gnome-89ea54c9188c33396dce5425e9a23586bd602e55.tar.zst freebsd-ports-gnome-89ea54c9188c33396dce5425e9a23586bd602e55.zip |
net-p2p/uhub: update to 0.5.0
PR: 192805
Submitted by: tkato432 yahoo com
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/uhub/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/uhub/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/uhub/files/patch-src__network__openssl.c | 15 | ||||
-rw-r--r-- | net-p2p/uhub/pkg-plist | 1 |
4 files changed, 19 insertions, 3 deletions
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 |