https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264993

--- Comment #5 from p5b2ea8...@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-code
 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 = "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/sleepyinstant/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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to