Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2024 22:38:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264993] www/mitmproxy: Update to 10.1.1
Message-ID:  <bug-264993-7788-7K2XbHgVkC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264993-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264993-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264993

--- Comment #5 from p5B2EA84B3@t-online.de ---
If anyone *needs* a working mitmproxy installation here is the painless
do-it-yourself method using pip3.11

 git clone https://github.com/mitmproxy/mitmproxy.git
 cd mitmproxy
 pip3.11 install -e .

Dependency ruamel.yaml needs a patch:
 pkg install mercurial
 hg clone http://hg.code.sf.net/p/ruamel-yaml-clib/code ruamel-yaml-clib-co=
de
 cd ruamel-yaml-clib-code/
 fetch
https://cgit.freebsd.org/ports/plain/devel/py-ruamel.yaml.clib/files/patch-=
clang16
 patch _ruamel_yaml.c < patch-clang16
 pip3.11 install ruamel.yaml

Following files need to be edited because of missing target_os =3D "freebsd=
":

.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoltcp-0.10.0/src/phy=
/sys/bpf.rs

.cargo/registry/src/index.crates.io-6f17d22bba15001f/boringtun-0.6.0/src/sl=
eepyinstant/unix.rs

# /usr/local/bin/mitmproxy --version
Mitmproxy: 11.0.0.dev
Python:    3.11.9
OpenSSL:   OpenSSL 3.0.12 24 Oct 2023
Platform:  FreeBSD-14.0-RELEASE-p6-amd64-64bit-ELF

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264993-7788-7K2XbHgVkC>