pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mitmproxy mitmproxy: Update to 8.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0b2538ca2f9
branches:  trunk
changeset: 381477:f0b2538ca2f9
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Jul 08 12:57:26 2022 +0000

description:
mitmproxy: Update to 8.1.1

pkgsrc changes:
 - Follow upstream requirements for py-cryptography (previously a workaround was
   added in order to avoid possible too new py-cryptography that was not yet
   present in pkgsrc)

Changes:
8.1.1
-----
* Support specifying the local address for outgoing connections
* Fix a bug where an excess empty chunk has been sent for chunked HEAD request.
* Drop pkg_resources dependency.
* Fix huge (>65kb) http2 responses corrupted.
* Remove overambitious assertions in the HTTP state machine,
  fix some error handling.

diffstat:

 net/mitmproxy/Makefile |  10 +++-------
 net/mitmproxy/PLIST    |  14 +++++++++++++-
 net/mitmproxy/distinfo |   8 ++++----
 3 files changed, 20 insertions(+), 12 deletions(-)

diffs (73 lines):

diff -r b4bf5b61f101 -r f0b2538ca2f9 net/mitmproxy/Makefile
--- a/net/mitmproxy/Makefile    Fri Jul 08 08:01:02 2022 +0000
+++ b/net/mitmproxy/Makefile    Fri Jul 08 12:57:26 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2022/06/30 11:18:42 nia Exp $
+# $NetBSD: Makefile,v 1.41 2022/07/08 12:57:26 leot Exp $
 
-DISTNAME=      mitmproxy-8.1.0
-PKGREVISION=   1
+DISTNAME=      mitmproxy-8.1.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mitmproxy/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -17,7 +16,7 @@
 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>=3.3:../../security/py-cryptography # XXX: should be >=36
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=36:../../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
@@ -44,9 +43,6 @@
 SUBST_FILES.setuppyversions=   setup.py
 SUBST_SED.setuppyversions+=    -E -e '/[>=]=/ s/, *(<|!=)[^"]+//g'
 SUBST_SED.setuppyversions+=    -E -e '/==[0-9.]+",/ s/==/>=/g'
-# XXX: Lower down crypography requirements to avoid possible big cryptography
-# XXX: update to >=36 not yet done in pkgsrc.
-SUBST_SED.setuppyversions+=    -E -e 's/cryptography>=36/cryptography>=3.3/'
 
 REPLACE_SH+=   mitmproxy/contrib/kaitaistruct/make.sh
 
diff -r b4bf5b61f101 -r f0b2538ca2f9 net/mitmproxy/PLIST
--- a/net/mitmproxy/PLIST       Fri Jul 08 08:01:02 2022 +0000
+++ b/net/mitmproxy/PLIST       Fri Jul 08 12:57:26 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2022/06/18 20:40:17 leot Exp $
+@comment $NetBSD: PLIST,v 1.21 2022/07/08 12:57:26 leot Exp $
 bin/mitmdump
 bin/mitmproxy
 bin/mitmweb
@@ -713,6 +713,18 @@
 ${PYSITELIB}/mitmproxy/utils/human.py
 ${PYSITELIB}/mitmproxy/utils/human.pyc
 ${PYSITELIB}/mitmproxy/utils/human.pyo
+${PYSITELIB}/mitmproxy/utils/pyinstaller/__init__.py
+${PYSITELIB}/mitmproxy/utils/pyinstaller/__init__.pyc
+${PYSITELIB}/mitmproxy/utils/pyinstaller/__init__.pyo
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.addons.onboardingapp.py
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.addons.onboardingapp.pyc
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.addons.onboardingapp.pyo
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.py
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.pyc
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.pyo
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.tools.web.py
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.tools.web.pyc
+${PYSITELIB}/mitmproxy/utils/pyinstaller/hook-mitmproxy.tools.web.pyo
 ${PYSITELIB}/mitmproxy/utils/sliding_window.py
 ${PYSITELIB}/mitmproxy/utils/sliding_window.pyc
 ${PYSITELIB}/mitmproxy/utils/sliding_window.pyo
diff -r b4bf5b61f101 -r f0b2538ca2f9 net/mitmproxy/distinfo
--- a/net/mitmproxy/distinfo    Fri Jul 08 08:01:02 2022 +0000
+++ b/net/mitmproxy/distinfo    Fri Jul 08 12:57:26 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2022/06/18 20:40:17 leot Exp $
+$NetBSD: distinfo,v 1.29 2022/07/08 12:57:26 leot Exp $
 
-BLAKE2s (mitmproxy-8.1.0.tar.gz) = b69117332aac601ae40511492962089164b16bceb0eb34bf27e186d80ed80e62
-SHA512 (mitmproxy-8.1.0.tar.gz) = 47e0924b1fc2999cbc038295dbb43a78eef4120a31c9445aba7b1f31e90aa4d859c5e2665a429f16c5cf7a6f9f29a7d6a50bb09a1e54c2e1693714c28d5153e1
-Size (mitmproxy-8.1.0.tar.gz) = 27940706 bytes
+BLAKE2s (mitmproxy-8.1.1.tar.gz) = 07b9b8a6d29f725e1ae7276bb8d52031d2fd202fc176bddbb5680860b005934f
+SHA512 (mitmproxy-8.1.1.tar.gz) = a62a45f8991819202115ab8f43d1c113df88504c494c73917ec2e3c52999dbe3ac596444a4c096619d4285f2e26a91ec715d6894fc4d7768bac1a2c3c4c268bc
+Size (mitmproxy-8.1.1.tar.gz) = 27943959 bytes



Home | Main Index | Thread Index | Old Index