aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-23 19:06:59 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-23 19:06:59 +0000
commit2900e261c0b7897d21449a53f1daa8b1b506b54b (patch)
tree8be571e19712adbc47102b2c9c727564705d2390 /net-p2p
parent070ae96b8358a4fd11cd83971d15e0d48554a744 (diff)
downloadports-2900e261c0b7897d21449a53f1daa8b1b506b54b.tar.gz
ports-2900e261c0b7897d21449a53f1daa8b1b506b54b.zip
net-p2p/uhub: update to 0.5.0
PR: 192805 Submitted by: tkato432 yahoo com
Notes
Notes: svn path=/head/; revision=365775
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/uhub/Makefile2
-rw-r--r--net-p2p/uhub/distinfo4
-rw-r--r--net-p2p/uhub/files/patch-src__network__openssl.c15
-rw-r--r--net-p2p/uhub/pkg-plist1
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