pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/mitmproxy/patches
Module Name: pkgsrc
Committed By: leot
Date: Mon Apr 15 10:19:55 UTC 2019
Added Files:
pkgsrc/net/mitmproxy/patches:
patch-mitmproxy_proxy_protocol_websocket.py
Log Message:
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!)
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py
diff -u /dev/null pkgsrc/net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py:1.1
--- /dev/null Mon Apr 15 10:19:55 2019
+++ pkgsrc/net/mitmproxy/patches/patch-mitmproxy_proxy_protocol_websocket.py Mon Apr 15 10:19:55 2019
@@ -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