summaryrefslogtreecommitdiff
path: root/net/mitmproxy
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-04-15 10:19:04 +0000
committerleot <leot@pkgsrc.org>2019-04-15 10:19:04 +0000
commit542f8606cba048ac01f7cd713a5a91be8bb748d0 (patch)
tree8c8453d0ba68bff1eef8c68ab942bf462f82e89b /net/mitmproxy
parent4d3c4e23af980a8ad67f03259c6300665ab6b818 (diff)
downloadpkgsrc-542f8606cba048ac01f7cd713a5a91be8bb748d0.tar.gz
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
Diffstat (limited to 'net/mitmproxy')
-rw-r--r--net/mitmproxy/Makefile8
-rw-r--r--net/mitmproxy/distinfo3
2 files changed, 8 insertions, 3 deletions
diff --git a/net/mitmproxy/Makefile b/net/mitmproxy/Makefile
index 1ea0720132f..6775c2aa0fe 100644
--- a/net/mitmproxy/Makefile
+++ b/net/mitmproxy/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2018/08/09 11:51:41 leot Exp $
+# $NetBSD: Makefile,v 1.23 2019/04/15 10:19:04 leot Exp $
DISTNAME= mitmproxy-4.0.4
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=mitmproxy/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -28,7 +29,7 @@ DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.13.2:../../devel/py-ruamel-yaml
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.5.4:../../devel/py-sortedcontainers
DEPENDS+= ${PYPKGPREFIX}-tornado>=4.3.0:../../www/py-tornado
DEPENDS+= ${PYPKGPREFIX}-urwid>=2.0.1:../../devel/py-urwid
-DEPENDS+= ${PYPKGPREFIX}-wsproto>=0.11.0:../../www/py-wsproto
+DEPENDS+= ${PYPKGPREFIX}-wsproto>=0.13.0:../../www/py-wsproto
SUBST_CLASSES+= setuppyversions
SUBST_STAGE.setuppyversions= pre-configure
@@ -41,6 +42,9 @@ REPLACE_SH+= mitmproxy/contrib/kaitaistruct/make.sh
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 34 35
+post-install:
+ ${FIND} ${DESTDIR} -name "*.orig" -type f -exec ${RM} {} \;
+
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/mitmproxy/distinfo b/net/mitmproxy/distinfo
index 793f91d52f9..b479f29a8ab 100644
--- a/net/mitmproxy/distinfo
+++ b/net/mitmproxy/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2018/08/09 11:51:41 leot Exp $
+$NetBSD: distinfo,v 1.16 2019/04/15 10:19:04 leot Exp $
SHA1 (mitmproxy-4.0.4.tar.gz) = 67871cbf7751d34d254ccc733f5e2cd23fbe8faf
RMD160 (mitmproxy-4.0.4.tar.gz) = d4935a325081544ef0cc9b5551d5eb976ce21777
SHA512 (mitmproxy-4.0.4.tar.gz) = e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
Size (mitmproxy-4.0.4.tar.gz) = 27131713 bytes
+SHA1 (patch-mitmproxy_proxy_protocol_websocket.py) = 83337b732b156707308506fe9378571e0d2711bc