pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mitmproxy/patches mitmproxy: Add a patch to fix wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a7574f61fa0
branches: trunk
changeset: 322338:5a7574f61fa0
user: leot <leot%pkgsrc.org@localhost>
date: Mon Apr 15 10:19:55 2019 +0000
description:
mitmproxy: Add a patch to fix with newer py-wsproto API changes in >=0.13.0
Unfortunately the .orig file is also installed, add a post-install:
target to clean `*.orig' left.
Bump PKGREVISION
(Accidentally uncommitted in the previous commit, sorry!)
diffstat:
net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py | 17 ++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 916c242cf7b2 -r 5a7574f61fa0 net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py Mon Apr 15 10:19:55 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-mitmproxy_proxy_protocol_websocket.py,v 1.1 2019/04/15 10:19:55 leot Exp $
+
+Adjust for py-wsproto 0.13.0.
+
+--- mitmproxy/proxy/protocol/websocket.py.orig 2018-07-31 12:01:45.000000000 +0000
++++ mitmproxy/proxy/protocol/websocket.py
+@@ -4,8 +4,8 @@ from OpenSSL import SSL
+
+
+ import wsproto
+-from wsproto import events
+-from wsproto.connection import ConnectionType, WSConnection
++from wsproto import events, WSConnection
++from wsproto.connection import ConnectionType
+ from wsproto.extensions import PerMessageDeflate
+
+ from mitmproxy import exceptions
Home |
Main Index |
Thread Index |
Old Index