Skip to content

mitmproxy: update to 12.2.3 - #61721

Open
emjomi wants to merge 5 commits into
void-linux:masterfrom
emjomi:mitmproxy-12.2.3
Open

mitmproxy: update to 12.2.3#61721
emjomi wants to merge 5 commits into
void-linux:masterfrom
emjomi:mitmproxy-12.2.3

Conversation

@emjomi

@emjomi emjomi commented Jul 29, 2026

Copy link
Copy Markdown

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64
  • I built this PR locally for these architectures aarch64

mitmproxy: update to 12.2.3

Updates mitmproxy and its Rust dependencies to versions that support the new
local redirect mode (eBPF-based traffic redirection on Linux).

Packages:

  • rust-bpf-linker: BPF static linker from aya-rs, required to link eBPF
    programs during mitmproxy_rs build. Built against LLVM 22.

  • python3-mitmproxy-linux: Linux traffic redirector (eBPF-based). Built
    from sdist; patches build.rs to use stable Rust instead of nightly
    (bpfel-unknown-none target has been stable since Rust 1.87).

  • python3-bcrypt: updated to 5.0.0 (required by mitmproxy 12.x).

  • python3-mitmproxy-rs: updated to 0.12.11.

  • mitmproxy: updated to 12.2.3.

@Duncaen

Duncaen commented Jul 29, 2026

Copy link
Copy Markdown
Member

using binaries in the python3-mitmproxy-linux package for opensource is not really acceptable.

@emjomi

emjomi commented Jul 29, 2026

Copy link
Copy Markdown
Author

Switched to building from source

@emjomi
emjomi force-pushed the mitmproxy-12.2.3 branch from 3f9aaae to cf609aa Compare July 29, 2026 22:19
@emjomi emjomi changed the title Mitmproxy 12.2.3 mitmproxy 12.2.3 Jul 29, 2026
@emjomi

emjomi commented Jul 31, 2026

Copy link
Copy Markdown
Author

@Duncaen bump

@emjomi emjomi changed the title mitmproxy 12.2.3 mitmproxy: update to 12.2.3 Aug 1, 2026

@Duncaen Duncaen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please redo and squash the commits to per-template changes, the lastest one mitmproxy: update to 12.2.3 mixes changes to multiple templates.

Comment thread srcpkgs/python3-mitmproxy-linux/template
Comment thread srcpkgs/python3-bcrypt/template Outdated
Comment thread srcpkgs/python3-mitmproxy-linux/template Outdated
Comment thread srcpkgs/rust-bpf-linker/template Outdated
Comment thread srcpkgs/rust-bpf-linker/template Outdated
@emjomi
emjomi force-pushed the mitmproxy-12.2.3 branch from cf609aa to ecc46a4 Compare August 2, 2026 14:35
@emjomi

emjomi commented Aug 2, 2026

Copy link
Copy Markdown
Author

Done, thanks! Squashed commits, fixed changelog, license, short_desc, and renamed to python3-mitmproxy_rs

@emjomi

emjomi commented Aug 5, 2026

Copy link
Copy Markdown
Author

@Duncaen bump

@emjomi
emjomi force-pushed the mitmproxy-12.2.3 branch from ecc46a4 to 6887608 Compare August 6, 2026 21:32
@emjomi

emjomi commented Aug 8, 2026

Copy link
Copy Markdown
Author

@Duncaen fixed checks

@Duncaen

Duncaen commented Aug 8, 2026

Copy link
Copy Markdown
Member

Wait why do we need two mitmproxy_rs packages?

@emjomi

emjomi commented Aug 9, 2026

Copy link
Copy Markdown
Author

They are from the same monorepo, but they're different packages:

  • python3-mitmproxy-rs is the Rust bindings (PyPI mitmproxy_rs)
  • python3-mitmproxy_rs is the eBPF redirector binary (PyPI mitmproxy-linux)

I named the second one python3-mitmproxy_rs because I was following the upstream GitHub repo name, and the old package we replaced didn't use -linux.

If python3-mitmproxy-linux is less confusing, I can rename it. Just let me know

@Duncaen

Duncaen commented Aug 9, 2026

Copy link
Copy Markdown
Member

In that case it would be better to use a different name. I guess python3-mitmproxy-linux would be fine.

@emjomi
emjomi force-pushed the mitmproxy-12.2.3 branch from 6887608 to 39f9c63 Compare August 9, 2026 15:46
@emjomi

emjomi commented Aug 9, 2026

Copy link
Copy Markdown
Author

Done, renamed to python3-mitmproxy-linux

@emjomi
emjomi requested a review from Duncaen August 9, 2026 16:50
@emjomi

emjomi commented Aug 12, 2026

Copy link
Copy Markdown
Author

@Duncaen bump

@Duncaen

Duncaen commented Aug 12, 2026

Copy link
Copy Markdown
Member

This is a big change I would like to see some else review it too and maybe find a tester.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants