pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mitmproxy



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Apr 15 10:19:04 UTC 2019

Modified Files:
        pkgsrc/net/mitmproxy: Makefile distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/mitmproxy/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/mitmproxy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mitmproxy/Makefile
diff -u pkgsrc/net/mitmproxy/Makefile:1.22 pkgsrc/net/mitmproxy/Makefile:1.23
--- pkgsrc/net/mitmproxy/Makefile:1.22  Thu Aug  9 11:51:41 2018
+++ pkgsrc/net/mitmproxy/Makefile       Mon Apr 15 10:19:04 2019
@@ -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.
 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/kaitaistr
 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"

Index: pkgsrc/net/mitmproxy/distinfo
diff -u pkgsrc/net/mitmproxy/distinfo:1.15 pkgsrc/net/mitmproxy/distinfo:1.16
--- pkgsrc/net/mitmproxy/distinfo:1.15  Thu Aug  9 11:51:41 2018
+++ pkgsrc/net/mitmproxy/distinfo       Mon Apr 15 10:19:04 2019
@@ -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



Home | Main Index | Thread Index | Old Index