summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-01 18:20:33 +0000
committernia <nia@pkgsrc.org>2020-03-01 18:20:33 +0000
commit15c0b10e4f137414ebb5f40ebd0bc0948eb23af7 (patch)
tree4c7137763a323ee3229cd2541ab3243f16e03e4a
parent3dc170c5dbdc056bdff841f5b9479bee2c0a465f (diff)
downloadpkgsrc-15c0b10e4f137414ebb5f40ebd0bc0948eb23af7.tar.gz
proxytunnel: Fix build with OpenSSL 1.1
bump PKGREVISION
-rw-r--r--net/proxytunnel/Makefile4
-rw-r--r--net/proxytunnel/distinfo3
-rw-r--r--net/proxytunnel/patches/patch-ptstream.c15
3 files changed, 19 insertions, 3 deletions
diff --git a/net/proxytunnel/Makefile b/net/proxytunnel/Makefile
index a5ed7e88770..63f0fb82698 100644
--- a/net/proxytunnel/Makefile
+++ b/net/proxytunnel/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2020/01/26 05:26:25 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2020/03/01 18:20:33 nia Exp $
#
DISTNAME= proxytunnel-1.9.0
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=proxytunnel/}
EXTRACT_SUFX= .tgz
diff --git a/net/proxytunnel/distinfo b/net/proxytunnel/distinfo
index cbc31ff3300..a91f6871a21 100644
--- a/net/proxytunnel/distinfo
+++ b/net/proxytunnel/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 00:35:29 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/03/01 18:20:33 nia Exp $
SHA1 (proxytunnel-1.9.0.tgz) = 51d816125bb9e9bca267d35f861000eb0fa9d80b
RMD160 (proxytunnel-1.9.0.tgz) = 5444861031fa256a5e0d2d83be297afc70137e8b
@@ -7,3 +7,4 @@ Size (proxytunnel-1.9.0.tgz) = 46556 bytes
SHA1 (patch-Makefile) = 21c7112f5b856916369038a91f597d30af6b5ff5
SHA1 (patch-cmdline.c) = 6d56e2d307a2225cdd4ddb732dd64c6d9a7f48cc
SHA1 (patch-proxytunnel.1) = 0556f23e769f2e52ef50cf952bacb9318b420228
+SHA1 (patch-ptstream.c) = e8cbc6265798afded7442d2d3f4e094b0fb03252
diff --git a/net/proxytunnel/patches/patch-ptstream.c b/net/proxytunnel/patches/patch-ptstream.c
new file mode 100644
index 00000000000..4b86b3c87d1
--- /dev/null
+++ b/net/proxytunnel/patches/patch-ptstream.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ptstream.c,v 1.1 2020/03/01 18:20:34 nia Exp $
+
+Migrate from SSLv3
+
+--- ptstream.c.orig 2008-02-26 23:27:27.000000000 +0000
++++ ptstream.c
+@@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
+
+ /* Initialise the connection */
+ SSLeay_add_ssl_algorithms();
+- meth = SSLv3_client_method();
++ meth = SSLv23_client_method();
+ SSL_load_error_strings();
+
+ ctx = SSL_CTX_new (meth);