pkgsrc-WIP-changes archive

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

mitmproxy: Updatet to 10.2.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Jan 6 13:09:05 2024 +0100
Changeset:	0c4db504237f4c08a98235c6410c10da8a60a8cc

Modified Files:
	mitmproxy/COMMIT_MSG
	mitmproxy/Makefile
	mitmproxy/PLIST
	mitmproxy/distinfo

Log Message:
mitmproxy: Updatet to 10.2.0

Changelog available in COMMIT_MSG.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0c4db504237f4c08a98235c6410c10da8a60a8cc

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

diffstat:
 mitmproxy/COMMIT_MSG | 11 +++++++++++
 mitmproxy/Makefile   |  8 ++++----
 mitmproxy/PLIST      |  3 ---
 mitmproxy/distinfo   |  6 +++---
 4 files changed, 18 insertions(+), 10 deletions(-)

diffs:
diff --git a/mitmproxy/COMMIT_MSG b/mitmproxy/COMMIT_MSG
index 73bfeaae7a..5aaf8d6767 100644
--- a/mitmproxy/COMMIT_MSG
+++ b/mitmproxy/COMMIT_MSG
@@ -6,6 +6,17 @@ pkgsrc changes:
 - TODO
 
 Changes:
+## 04 January 2024: mitmproxy 10.2.0
+* Local Redirect Mode is now officially available on macOS and Windows.
+  See the linked blog posts for details.
+* UDP streams are now backed by a new implementation in mitmproxy_rs.
+  This represents a major API change as UDP traffic is now exposed as
+  streams instead of a callback for each packet.
+* Fix a regression from mitmproxy 10.1.6 where ignore_hosts would
+  terminate requests instead of forwarding them.
+* ignore_hosts now waits for the entire HTTP headers if it suspects the
+  connection to be HTTP.
+
 ## 14 December 2023: mitmproxy 10.1.6
 * Fix compatibility with Windows Schannel clients, which previously got
   confused by CA and leaf certificate sharing the same Subject Key Identifier.
diff --git a/mitmproxy/Makefile b/mitmproxy/Makefile
index 806fc529d0..0ffabec242 100644
--- a/mitmproxy/Makefile
+++ b/mitmproxy/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.45 2023/10/23 06:37:49 wiz Exp $
 
-DISTNAME=	mitmproxy-10.1.6
+DISTNAME=	mitmproxy-10.2.0
 CATEGORIES=	net
 MASTER_SITES=	https://downloads.mitmproxy.org/${PKGVERSION_NOREV}/
 
@@ -9,19 +9,19 @@ HOMEPAGE=	https://mitmproxy.org/
 COMMENT=	Interactive console program for inspecting and editing traffic flows
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-aioquic_mitmproxy>=0.9.21:../../wip/py-aioquic_mitmproxy
+DEPENDS+=	${PYPKGPREFIX}-aioquic>=0.9.24:../../wip/py-aioquic
 DEPENDS+=	${PYPKGPREFIX}-asgiref>=3.2.10:../../www/py-asgiref
 DEPENDS+=	${PYPKGPREFIX}-brotli>=1.0:../../archivers/py-brotli
 DEPENDS+=	${PYPKGPREFIX}-certifi>=2019.9.11:../../security/py-certifi
 DEPENDS+=	${PYPKGPREFIX}-click>=7.0:../../devel/py-click
-DEPENDS+=	${PYPKGPREFIX}-cryptography>=38.0:../../security/py-cryptography
+DEPENDS+=	${PYPKGPREFIX}-cryptography>=39.0:../../security/py-cryptography
 DEPENDS+=	${PYPKGPREFIX}-flask>=1.1.1:../../www/py-flask
 DEPENDS+=	${PYPKGPREFIX}-h11>=0.11:../../www/py-h11
 DEPENDS+=	${PYPKGPREFIX}-h2>=4.1:../../www/py-h2
 DEPENDS+=	${PYPKGPREFIX}-hyperframe>=6.0:../../www/py-hyperframe
 DEPENDS+=	${PYPKGPREFIX}-kaitaistruct>=0.10:../../devel/py-kaitaistruct
 DEPENDS+=	${PYPKGPREFIX}-ldap3>=2.8:../../databases/py-ldap3
-DEPENDS+=	${PYPKGPREFIX}-mitmproxy_rs>=0.4:../../wip/py-mitmproxy_rs
+DEPENDS+=	${PYPKGPREFIX}-mitmproxy_rs>=0.5.1:../../wip/py-mitmproxy_rs
 DEPENDS+=	${PYPKGPREFIX}-msgpack>=1.0.0:../../devel/py-msgpack
 DEPENDS+=	${PYPKGPREFIX}-passlib>=1.6.5:../../security/py-passlib
 DEPENDS+=	${PYPKGPREFIX}-protobuf>=3.14:../../devel/py-protobuf
diff --git a/mitmproxy/PLIST b/mitmproxy/PLIST
index d3717aa7ec..443c858629 100644
--- a/mitmproxy/PLIST
+++ b/mitmproxy/PLIST
@@ -420,9 +420,6 @@ ${PYSITELIB}/mitmproxy/net/server_spec.pyo
 ${PYSITELIB}/mitmproxy/net/tls.py
 ${PYSITELIB}/mitmproxy/net/tls.pyc
 ${PYSITELIB}/mitmproxy/net/tls.pyo
-${PYSITELIB}/mitmproxy/net/udp.py
-${PYSITELIB}/mitmproxy/net/udp.pyc
-${PYSITELIB}/mitmproxy/net/udp.pyo
 ${PYSITELIB}/mitmproxy/options.py
 ${PYSITELIB}/mitmproxy/options.pyc
 ${PYSITELIB}/mitmproxy/options.pyo
diff --git a/mitmproxy/distinfo b/mitmproxy/distinfo
index 065fa840ef..40f12d7bee 100644
--- a/mitmproxy/distinfo
+++ b/mitmproxy/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.29 2022/07/08 12:57:26 leot Exp $
 
-BLAKE2s (mitmproxy-10.1.6.tar.gz) = 6d2ae57488dd55eedf6934d267c6a851d3bf3de1975c2fe7917be2c3c16fd231
-SHA512 (mitmproxy-10.1.6.tar.gz) = 362c8f434289ea7841206dd9c0d38668e57de35acf431ae75160e7eaab4d60fe192bf4dafa8711ff67344b6e5fd2bc234b3bf4b3c6adc49f4b6054898f8716c3
-Size (mitmproxy-10.1.6.tar.gz) = 1531486 bytes
+BLAKE2s (mitmproxy-10.2.0.tar.gz) = f52101931defcc78823b158fafcf5fb6702b8021c440797fc5a4e03fc5a25491
+SHA512 (mitmproxy-10.2.0.tar.gz) = 8c6570e6f72d4ceda95c3ed67a1874014ae7db0eca710c554f4f8d710d3b243b3ec6e1f7959786f184db4fb85eced2cc04a0e21e0cd87e480615e38d77335e5d
+Size (mitmproxy-10.2.0.tar.gz) = 1529688 bytes


Home | Main Index | Thread Index | Old Index