From 0d9d8081cb00c141f3deaf62c852ab064cef35b5 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Fri, 11 Sep 2026 17:58:32 +0300 Subject: [PATCH 1/5] New package: rust-bpf-linker-0.10.4. --- srcpkgs/rust-bpf-linker/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/rust-bpf-linker/template diff --git a/srcpkgs/rust-bpf-linker/template b/srcpkgs/rust-bpf-linker/template new file mode 100644 index 00000000000000..fd0c43c52a38cf --- /dev/null +++ b/srcpkgs/rust-bpf-linker/template @@ -0,0 +1,21 @@ +# Template file for 'rust-bpf-linker' +pkgname=rust-bpf-linker +version=0.10.4 +revision=1 +build_style=cargo +hostmakedepends="cargo llvm22-devel" +makedepends="rust-std" +short_desc="BPF static linker" +maintainer="Orphaned " +license="Apache-2.0 OR MIT" +homepage="https://github.com/aya-rs/bpf-linker" +distfiles="https://github.com/aya-rs/bpf-linker/archive/refs/tags/v${version}.tar.gz" +checksum=32a5c6b3081386e7dca8765d2c7d23f9f7feed459ad135c914d8bab686168b3d +# tests require BPF sysroot and nightly Rust +make_check=no + +export LLVM_SYS_221_PREFIX=/usr/lib/llvm/22 + +post_install() { + vlicense LICENSE-MIT +} From d1c99ea529ea2b54ea729ed459f5dc92ef648221 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Fri, 11 Sep 2026 17:58:50 +0300 Subject: [PATCH 2/5] New package: python3-mitmproxy-linux-0.12.11. --- .../patches/use-stable-rust.patch | 9 +++++++ srcpkgs/python3-mitmproxy-linux/template | 24 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python3-mitmproxy-linux/patches/use-stable-rust.patch create mode 100644 srcpkgs/python3-mitmproxy-linux/template diff --git a/srcpkgs/python3-mitmproxy-linux/patches/use-stable-rust.patch b/srcpkgs/python3-mitmproxy-linux/patches/use-stable-rust.patch new file mode 100644 index 00000000000000..ebf4643da47141 --- /dev/null +++ b/srcpkgs/python3-mitmproxy-linux/patches/use-stable-rust.patch @@ -0,0 +1,9 @@ +--- a/mitmproxy-linux/build.rs ++++ b/mitmproxy-linux/build.rs +@@ -31,5 +31,5 @@ fn main() -> anyhow::Result<()> { + .as_str(), + ..Default::default() + }; +- aya_build::build_ebpf([ebpf_package], Toolchain::default()) ++ aya_build::build_ebpf([ebpf_package], Toolchain::Custom("stable")) + } diff --git a/srcpkgs/python3-mitmproxy-linux/template b/srcpkgs/python3-mitmproxy-linux/template new file mode 100644 index 00000000000000..0efc557e9bf6f0 --- /dev/null +++ b/srcpkgs/python3-mitmproxy-linux/template @@ -0,0 +1,24 @@ +# Template file for 'python3-mitmproxy-linux' +pkgname=python3-mitmproxy-linux +version=0.12.11 +revision=1 +archs="x86_64* aarch64*" +build_style=python3-pep517 +build_helper="rust" +hostmakedepends="maturin cargo rust-bpf-linker llvm22-devel rust-src" +makedepends="rust-std python3-devel" +depends="python3" +short_desc="Redirect traffic to mitmproxy via eBPF" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/mitmproxy/mitmproxy_rs" +changelog="https://github.com/mitmproxy/mitmproxy_rs/raw/main/CHANGELOG.md" +distfiles="${PYPI_SITE}/m/mitmproxy_linux/mitmproxy_linux-${version}.tar.gz" +checksum=3155d4aa6b3e038f97b39ed5aa7b1fc89e5b7d25d119a19581aa472dc606ae5c + +export LLVM_SYS_221_PREFIX=/usr/lib/llvm/22 +export RUSTC_BOOTSTRAP=1 + +post_install() { + vlicense LICENSE +} From b5668f747953b7ccebc2b60b83a297fd6fad52f5 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Fri, 11 Sep 2026 17:59:01 +0300 Subject: [PATCH 3/5] python3-bcrypt: update to 5.0.0. --- srcpkgs/python3-bcrypt/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template index 3cebc6388846ee..a86cd78c4c8e6f 100644 --- a/srcpkgs/python3-bcrypt/template +++ b/srcpkgs/python3-bcrypt/template @@ -1,7 +1,7 @@ # Template file for 'python3-bcrypt' pkgname=python3-bcrypt -version=4.1.2 -revision=3 +version=5.0.0 +revision=1 build_style=python3-pep517 build_helper="rust" hostmakedepends="python3-setuptools-rust python3-wheel python3-cffi cargo" @@ -12,6 +12,6 @@ short_desc="Modern password hashing for software and servers" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/pyca/bcrypt" -changelog="https://github.com/pyca/bcrypt/blob/main/README.rst#changelog" +changelog="https://raw.githubusercontent.com/pyca/bcrypt/refs/heads/main/CHANGELOG.rst" distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz" -checksum=33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258 +checksum=f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd From c1090ff0a84ec17f207ec62bb49d634298befe17 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Fri, 11 Sep 2026 17:59:09 +0300 Subject: [PATCH 4/5] python3-mitmproxy-rs: update to 0.12.11. --- srcpkgs/python3-mitmproxy-rs/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-mitmproxy-rs/template b/srcpkgs/python3-mitmproxy-rs/template index 0b6726e6b07f63..d3e484d1f63ba9 100644 --- a/srcpkgs/python3-mitmproxy-rs/template +++ b/srcpkgs/python3-mitmproxy-rs/template @@ -1,18 +1,19 @@ # Template file for 'python3-mitmproxy-rs' pkgname=python3-mitmproxy-rs -version=0.11.1 -revision=2 +version=0.12.11 +revision=1 build_style=python3-pep517 build_helper="rust" hostmakedepends="maturin cargo" -makedepends="rust-std python3" +makedepends="rust-std python3-devel" +depends="python3 python3-mitmproxy-linux" short_desc="Rust bits in mitmproxy" maintainer="Orphaned " license="MIT" homepage="https://github.com/mitmproxy/mitmproxy_rs" changelog="https://github.com/mitmproxy/mitmproxy_rs/raw/main/CHANGELOG.md" distfiles="${PYPI_SITE}/m/mitmproxy_rs/mitmproxy_rs-${version}.tar.gz" -checksum=a77c022bc0563f9d56fa0809a27013ed2fb5d3145c599098cb1175e7326e7829 +checksum=6f5ecf3dd3c21e56191b84fc90364dc4d1dc95c660beedab4c816a0119ecb785 replaces="python3-mitmproxy_wireguard>=0" post_install() { From 19ed37c931446780976a449aac2b6d3c6c0ce412 Mon Sep 17 00:00:00 2001 From: John Mitrich Date: Fri, 11 Sep 2026 17:59:18 +0300 Subject: [PATCH 5/5] mitmproxy: update to 12.2.3. --- srcpkgs/mitmproxy/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template index d36bce98b584e0..4dfcf6bc1f7a80 100644 --- a/srcpkgs/mitmproxy/template +++ b/srcpkgs/mitmproxy/template @@ -1,13 +1,13 @@ # Template file for 'mitmproxy' pkgname=mitmproxy -version=11.1.3 -revision=2 +version=12.2.3 +revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools" depends="python3-aioquic python3-Brotli python3-Flask python3-argon2 python3-asgiref - python3-certifi python3-cryptography python3-h11 python3-h2 python3-hyperframe + python3-bcrypt python3-certifi python3-cryptography python3-h11 python3-h2 python3-hyperframe python3-kaitaistruct python3-ldap3 python3-mitmproxy-rs python3-msgpack python3-openssl - python3-parsing python3-passlib python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml + python3-parsing python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml python3-sortedcontainers python3-tornado python3-urwid python3-wsproto python3-zstandard" checkdepends="${depends} python3-hypothesis python3-parver python3-pytest-asyncio python3-pytest-cov python3-pytest-timeout python3-requests" @@ -17,7 +17,7 @@ license="MIT" homepage="https://mitmproxy.org" changelog="https://raw.githubusercontent.com/mitmproxy/mitmproxy/main/CHANGELOG.md" distfiles="https://github.com/mitmproxy/mitmproxy/archive/refs/tags/v${version}.tar.gz" -checksum=bb4f6fc8e9ac64b4c725811983e3e3ff6b2b18b2a992d80d816811709e9efde5 +checksum=39073f414cdb9a0bf438b875da0e79bb306bcb7d1331b580763886f509f78c1b _skip="(test_get_version)" # This test fails without a git repository _skip+="or(test_wireguard)" # Tries to execute a helper binary compiled for glibc