public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-04-20 11:50 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-04-20 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     96c5d25f02e6eeccd84b38e98be4fae76a0e683f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 11:43:46 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 11:45:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c5d25f

net-proxy/mitmproxy-linux: Bump to 0.12.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |   4 +
 .../mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index 636b43c2af3f..89f3ebb3a961 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -3,9 +3,13 @@ DIST compiler_builtins-0.1.146.crate 212475 BLAKE2B 9036a9e643ad310932c7943ce5e4
 DIST dlmalloc-0.2.7.crate 84295 BLAKE2B 8ab86016f66e18fc367645ea3871babdb6077895abf59534514c1ff6a5f072cb06d86c8585798d90822f1e7a45180f5ec5cc82811a93e8bafc16e7b28d375faf SHA512 d3da8fb71e6f02ee3f4cbb9fd63170f7b6dc16aa2fcad5d19a718a0872dbc3596bc98d9ee6ae17dafcfd18d295582bd611c8bf86916aaa17a7849f4c6cc81f3e
 DIST fortanix-sgx-abi-0.5.0.crate 13334 BLAKE2B ccdfdd2e7a0592b0efcd4269695b7367e1e6fd2da7aac3b6e2b174375e787ec00134c3156286656155839367c031aabb748e50c15aa539ab3b3da22de3fef132 SHA512 4239bd0fe3a2c9e0b4a0e0eb82bacb417e1f798fb4d908bb5cc021ddfe6e41688f8ee16f9a18cda692ef78afb264a440af7444cfde43a0c29d0299781ea43ccb
 DIST getopts-0.2.21.crate 18457 BLAKE2B 10651e947e49acc768d99ae56ca5a7f37c1f61bbd1674e2ca58e3ae563fd64f3563d53ccdd0ae7a878710a39e13a99ac8c274974157db2c691f8c222de14992d SHA512 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f
+DIST hermit-abi-0.4.0.crate 16310 BLAKE2B efcd1dee7bcd6d185cbe0051c7bc7e2776857ffcfd2adc3fb101febd7c1bd75994b7e4a4a0a59c5b4628cc2521b4c1f043e98a0c44935d0180e7499667690ab8 SHA512 b1a21f6d54598185a8e8c29565ffc2e1bc5da57cf1c9d87ba643d23d7c23d53e8ad36ee2f5c1ec8a504334b6f98b0f17a832ff37877c7b7f9238b196f4034e6f
+DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
 DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47e9d6f4ebb33a00d4966f44766d270123af43eceda7ae8b1d190b3e29f080568f4d92df52d785c5b60d67a6f1c3889032404 SHA512 faf99e52dbc0f52e95f108fa252c153e1c7a3177a9f2c990e768f5e0289f247dda4c85a150407ccc750a3e171f984d10b77ee9759138935f2d2631f09bd223e1
+DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765
 DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b4314c0245e16a6bec6cdc7198d38e0492cccc4704cfdf479c5943ab73b6806ad62f9385289b5a7e9cee582d3e0def8381dac5869 SHA512 70facfa58bc45e2e0ee854b8d3fbd53818a93b319a117019f4713ab15793e065ea263ad6edae5086938755433c20756c7d23c3b023451e4cc052f2a98f956f60
+DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
new file mode 100644
index 000000000000..c41db10a948c
--- /dev/null
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Extra crates required at runtime via rustc-build-sysroot crate.
+# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
+CRATES="
+	compiler_builtins@0.1.146
+	dlmalloc@0.2.7
+	fortanix-sgx-abi@0.5.0
+	getopts@0.2.21
+	hermit-abi@0.4.0
+	libc@0.2.169
+	miniz_oxide@0.8.3
+	r-efi-alloc@1.0.0
+	r-efi@4.5.0
+	unwinding@0.2.5
+	unicode-width@0.1.14
+"
+
+# Implied by crates above.
+RUST_MIN_VER=1.86.0
+RUST_MAX_VER=1.86.0
+
+declare -A GIT_CRATES=(
+	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..13} )
+RUST_REQ_USE="llvm_targets_BPF"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+	https://github.com/mitmproxy/mitmproxy_rs/
+	https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+	${CARGO_CRATE_URIS}
+	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	dev-util/bpf-linker
+"
+
+src_prepare() {
+	local PATCHES=(
+		# aya-ebpf overwrites libc functions with incompatible
+		# implementations that break everything, and therefore
+		# can only be used for bpf* targets
+		# https://github.com/aya-rs/aya/issues/1254
+		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# replace upstream crate substitution with our crate substitution, sigh
+	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+
+	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
+	# https://github.com/mitmproxy/mitmproxy/issues/7663
+	rm mitmproxy-linux/build.rs || die
+}
+
+src_configure() {
+	# first, we must build mitmproxy-linux-ebpf for the bpf target
+	# bpf-linker requires BPF target that is only available in nightly
+	local -x RUSTC_BOOTSTRAP=1
+	# no clue why this needs to be explicit
+	local -x RUSTFLAGS="-C linker=bpf-linker"
+
+	local cmd=(
+		"${CARGO}" build
+		-Z build-std=core
+		--bins
+		--release
+		--target=bpfel-unknown-none
+	)
+
+	pushd mitmproxy-linux-ebpf >/dev/null || die
+	echo "${cmd[*]}" >&2
+	"${cmd[@]}" || die "${cmd[*]} failed"
+	popd >/dev/null || die
+
+	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
+}
+
+python_test() {
+	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-04-20 18:43 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-04-20 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     dde8ea269dce1b8b4e42945e2ad349e617db5629
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 18:43:04 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 18:43:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde8ea26

net-proxy/mitmproxy-linux: rust-bin seems to have BPF targets

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild | 2 +-
 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
index 10cd9e25f278..8c224ec86080 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
@@ -28,7 +28,7 @@ declare -A GIT_CRATES=(
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=maturin
 PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF"
+RUST_REQ_USE="llvm_targets_BPF(+)"
 
 inherit cargo distutils-r1 pypi
 

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
index c41db10a948c..f3055df18cd6 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
@@ -30,7 +30,7 @@ declare -A GIT_CRATES=(
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=maturin
 PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF"
+RUST_REQ_USE="llvm_targets_BPF(+)"
 
 inherit cargo distutils-r1 pypi
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-04-21 11:06 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-04-21 11:06 UTC (permalink / raw
  To: gentoo-commits

commit:     031beb27e01c3d48e52a33b6ce24128dd1388942
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 21 11:05:33 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 11:06:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031beb27

net-proxy/mitmproxy-linux: We need rust-src flag too

Closes: https://bugs.gentoo.org/954140
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
index f3055df18cd6..ce8cc4fa882b 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
@@ -30,7 +30,7 @@ declare -A GIT_CRATES=(
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=maturin
 PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF(+)"
+RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
 
 inherit cargo distutils-r1 pypi
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-04-30  5:36 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-04-30  5:36 UTC (permalink / raw
  To: gentoo-commits

commit:     3389f61d4a523302fd8ad047c72f224e3d055c82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 04:56:37 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 05:35:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3389f61d

net-proxy/mitmproxy-linux: Bump to 0.12.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |   2 +
 .../mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index 89f3ebb3a961..f6c847489570 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -8,8 +8,10 @@ DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6ae
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
 DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47e9d6f4ebb33a00d4966f44766d270123af43eceda7ae8b1d190b3e29f080568f4d92df52d785c5b60d67a6f1c3889032404 SHA512 faf99e52dbc0f52e95f108fa252c153e1c7a3177a9f2c990e768f5e0289f247dda4c85a150407ccc750a3e171f984d10b77ee9759138935f2d2631f09bd223e1
 DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765
+DIST mitmproxy_linux-0.12.3.tar.gz 1287684 BLAKE2B 2aa69e752826824b1b4fe175171e185157053f54e5ce356b722c152ddc44e43f6296763f811d193ab9f03d32a4e2ac826f3d156df96ba1e226558585540ff6de SHA512 c3e9f19c4e70712c95c078b40b668a209d73cb830d363af779fa1fb4dd27f7d214ccb1bac141b878ec4a18f576862823b40e2a2e1474e92e7f0cc96e7e99c698
 DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b4314c0245e16a6bec6cdc7198d38e0492cccc4704cfdf479c5943ab73b6806ad62f9385289b5a7e9cee582d3e0def8381dac5869 SHA512 70facfa58bc45e2e0ee854b8d3fbd53818a93b319a117019f4713ab15793e065ea263ad6edae5086938755433c20756c7d23c3b023451e4cc052f2a98f956f60
 DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
+DIST mitmproxy_rs-0.12.3-crates.tar.xz 55236484 BLAKE2B d1279c3b64ec12f88d71ab053bdc460053558ff51e655f7b348f498874482f3a08a727c4f96f7e4382798865b71b7496791a2a026457f00f852893a422777f76 SHA512 235e1a7126e1aac94a8d6a88f20e56e048801971a12a6d2f8717a37607cefbc80c88d650647d8106d6e5d179e8a7400fa136cbdf732ecab5e9cdae1e92fd108c
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
new file mode 100644
index 000000000000..ce8cc4fa882b
--- /dev/null
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Extra crates required at runtime via rustc-build-sysroot crate.
+# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
+CRATES="
+	compiler_builtins@0.1.146
+	dlmalloc@0.2.7
+	fortanix-sgx-abi@0.5.0
+	getopts@0.2.21
+	hermit-abi@0.4.0
+	libc@0.2.169
+	miniz_oxide@0.8.3
+	r-efi-alloc@1.0.0
+	r-efi@4.5.0
+	unwinding@0.2.5
+	unicode-width@0.1.14
+"
+
+# Implied by crates above.
+RUST_MIN_VER=1.86.0
+RUST_MAX_VER=1.86.0
+
+declare -A GIT_CRATES=(
+	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..13} )
+RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+	https://github.com/mitmproxy/mitmproxy_rs/
+	https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+	${CARGO_CRATE_URIS}
+	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	dev-util/bpf-linker
+"
+
+src_prepare() {
+	local PATCHES=(
+		# aya-ebpf overwrites libc functions with incompatible
+		# implementations that break everything, and therefore
+		# can only be used for bpf* targets
+		# https://github.com/aya-rs/aya/issues/1254
+		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# replace upstream crate substitution with our crate substitution, sigh
+	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+
+	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
+	# https://github.com/mitmproxy/mitmproxy/issues/7663
+	rm mitmproxy-linux/build.rs || die
+}
+
+src_configure() {
+	# first, we must build mitmproxy-linux-ebpf for the bpf target
+	# bpf-linker requires BPF target that is only available in nightly
+	local -x RUSTC_BOOTSTRAP=1
+	# no clue why this needs to be explicit
+	local -x RUSTFLAGS="-C linker=bpf-linker"
+
+	local cmd=(
+		"${CARGO}" build
+		-Z build-std=core
+		--bins
+		--release
+		--target=bpfel-unknown-none
+	)
+
+	pushd mitmproxy-linux-ebpf >/dev/null || die
+	echo "${cmd[*]}" >&2
+	"${cmd[@]}" || die "${cmd[*]} failed"
+	popd >/dev/null || die
+
+	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
+}
+
+python_test() {
+	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-05-17 11:38 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2025-05-17 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     7ca15ec2d95ed9cd9fa3ef635b2f843048c9b178
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 11:30:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 17 11:37:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca15ec2

net-proxy/mitmproxy-linux: Keyword 0.11.5 arm64, #947275

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
index 8c224ec86080..270c4025a143 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
@@ -49,7 +49,7 @@ LICENSE+="
 	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
 "
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 
 BDEPEND="
 	dev-util/bpf-linker


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-05-17 11:38 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2025-05-17 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d21f603af5f63d86b720ff04ad957e4b829b84ad
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 11:30:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 17 11:37:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21f603a

net-proxy/mitmproxy-linux: Keyword 0.12.3 arm64, #947275

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
index ce8cc4fa882b..6ac6bfc6504f 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
@@ -51,7 +51,7 @@ LICENSE+="
 	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
 "
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 
 BDEPEND="
 	dev-util/bpf-linker


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-05-31  5:17 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-05-31  5:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2288dbd85d69bf94b26fcc7415e93c75135313a6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 04:34:44 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 05:10:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2288dbd8

net-proxy/mitmproxy-linux: Bump to 0.12.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |   2 +
 .../mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index f6c847489570..fb9038ed9964 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -9,9 +9,11 @@ DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba
 DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47e9d6f4ebb33a00d4966f44766d270123af43eceda7ae8b1d190b3e29f080568f4d92df52d785c5b60d67a6f1c3889032404 SHA512 faf99e52dbc0f52e95f108fa252c153e1c7a3177a9f2c990e768f5e0289f247dda4c85a150407ccc750a3e171f984d10b77ee9759138935f2d2631f09bd223e1
 DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765
 DIST mitmproxy_linux-0.12.3.tar.gz 1287684 BLAKE2B 2aa69e752826824b1b4fe175171e185157053f54e5ce356b722c152ddc44e43f6296763f811d193ab9f03d32a4e2ac826f3d156df96ba1e226558585540ff6de SHA512 c3e9f19c4e70712c95c078b40b668a209d73cb830d363af779fa1fb4dd27f7d214ccb1bac141b878ec4a18f576862823b40e2a2e1474e92e7f0cc96e7e99c698
+DIST mitmproxy_linux-0.12.5.tar.gz 1287168 BLAKE2B 2d5a95dc0f0bba0f762bb7f341cce179f2008744677284cc4e291b06d8ee1fb192bae952155982adefbce1ba5abe0ae73fe756c37bb8815c73d1189a0f2d91ea SHA512 d7c0246e24047a77da887f9cf7cf340eaa2eac29633ece53781b66b3ce257f11237a632bfe8029fff9ae1ad95efc648352b4a275f8f031d8821be13a98006a4f
 DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b4314c0245e16a6bec6cdc7198d38e0492cccc4704cfdf479c5943ab73b6806ad62f9385289b5a7e9cee582d3e0def8381dac5869 SHA512 70facfa58bc45e2e0ee854b8d3fbd53818a93b319a117019f4713ab15793e065ea263ad6edae5086938755433c20756c7d23c3b023451e4cc052f2a98f956f60
 DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
 DIST mitmproxy_rs-0.12.3-crates.tar.xz 55236484 BLAKE2B d1279c3b64ec12f88d71ab053bdc460053558ff51e655f7b348f498874482f3a08a727c4f96f7e4382798865b71b7496791a2a026457f00f852893a422777f76 SHA512 235e1a7126e1aac94a8d6a88f20e56e048801971a12a6d2f8717a37607cefbc80c88d650647d8106d6e5d179e8a7400fa136cbdf732ecab5e9cdae1e92fd108c
+DIST mitmproxy_rs-0.12.5-crates.tar.xz 48932336 BLAKE2B dfdb6fc0c789361e90bd14e7ae02d81705b98a69d7d6b91114eaaac317ca2971fb6d4ed8fe3eb4801826adf8f782727fbe018d71adf21b1634eecd6039619671 SHA512 f8cb08bd509112f67e1ff1b2e4af9f4e3117a9451e7fae0bef7428ee6f1c576732a1ace69898fa3379ebf9a5da4293014b3cf7dffdd6f0d16f36f5de433d5c0c
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
new file mode 100644
index 000000000000..6ac6bfc6504f
--- /dev/null
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Extra crates required at runtime via rustc-build-sysroot crate.
+# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
+CRATES="
+	compiler_builtins@0.1.146
+	dlmalloc@0.2.7
+	fortanix-sgx-abi@0.5.0
+	getopts@0.2.21
+	hermit-abi@0.4.0
+	libc@0.2.169
+	miniz_oxide@0.8.3
+	r-efi-alloc@1.0.0
+	r-efi@4.5.0
+	unwinding@0.2.5
+	unicode-width@0.1.14
+"
+
+# Implied by crates above.
+RUST_MIN_VER=1.86.0
+RUST_MAX_VER=1.86.0
+
+declare -A GIT_CRATES=(
+	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..13} )
+RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+	https://github.com/mitmproxy/mitmproxy_rs/
+	https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+	${CARGO_CRATE_URIS}
+	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+	dev-util/bpf-linker
+"
+
+src_prepare() {
+	local PATCHES=(
+		# aya-ebpf overwrites libc functions with incompatible
+		# implementations that break everything, and therefore
+		# can only be used for bpf* targets
+		# https://github.com/aya-rs/aya/issues/1254
+		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# replace upstream crate substitution with our crate substitution, sigh
+	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+
+	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
+	# https://github.com/mitmproxy/mitmproxy/issues/7663
+	rm mitmproxy-linux/build.rs || die
+}
+
+src_configure() {
+	# first, we must build mitmproxy-linux-ebpf for the bpf target
+	# bpf-linker requires BPF target that is only available in nightly
+	local -x RUSTC_BOOTSTRAP=1
+	# no clue why this needs to be explicit
+	local -x RUSTFLAGS="-C linker=bpf-linker"
+
+	local cmd=(
+		"${CARGO}" build
+		-Z build-std=core
+		--bins
+		--release
+		--target=bpfel-unknown-none
+	)
+
+	pushd mitmproxy-linux-ebpf >/dev/null || die
+	echo "${cmd[*]}" >&2
+	"${cmd[@]}" || die "${cmd[*]} failed"
+	popd >/dev/null || die
+
+	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
+}
+
+python_test() {
+	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-05-31  5:17 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-05-31  5:17 UTC (permalink / raw
  To: gentoo-commits

commit:     0be5cfcc846ca9828bcf469c18884fa52d4ea283
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 05:05:58 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 05:10:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be5cfcc

net-proxy/mitmproxy-linux: Allow Rust 1.87.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                      | 3 +++
 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index fb9038ed9964..ea523219d838 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -1,10 +1,13 @@
 DIST boringtun-e3252d9c4f4c8fc628995330f45369effd4660a1.gh.tar.gz 219190 BLAKE2B d20cb9619cee7d2f8db118deb14c13ddc1ec1574902f1fa24d2cebc5d2838f95ab3fb252413616d8af4d4d362b2031fdd447021bde4baf554cb8c7eb68cee77b SHA512 3dd2bdcc2e94714b448df72eab54bfddb9e436a4799fe0b266777b3bac5debdeb4495f31495736c98f86725921758ccbdd0c25a2404e4a4472dd8c6d14771b7c
 DIST compiler_builtins-0.1.146.crate 212475 BLAKE2B 9036a9e643ad310932c7943ce5e41c53029f08e604e8ed0a6255d49cf98ecea832dd19ffd109c34a83873880f1c281dc5991bf3f34b9e04f6e9562d40926fd48 SHA512 51db04a4e2b7fbc8a7b7407d57a9c82884f9950f5937cf422d14d4c53bc6b942d90e443857cf0c363b0365202713ecbaea3977e9c1cf534c54b041a1f6efd409
+DIST compiler_builtins-0.1.152.crate 224321 BLAKE2B 232cbc3afb4de5f9ed401df8dce40a1ba56e392f5d5d9b52314abd2c93255859fcb271bd066ca4f23b7879cc787688eedd1dc78eb559ed08aa9fd0d802397fae SHA512 4053d17f667f36e1b06f30b252825e578f42f5dd5dbd4000c8e8742df2787964a9f198c052b6563d09db3d18cd1408be3d9a59b6c366b5c6198ee5581dbc7265
 DIST dlmalloc-0.2.7.crate 84295 BLAKE2B 8ab86016f66e18fc367645ea3871babdb6077895abf59534514c1ff6a5f072cb06d86c8585798d90822f1e7a45180f5ec5cc82811a93e8bafc16e7b28d375faf SHA512 d3da8fb71e6f02ee3f4cbb9fd63170f7b6dc16aa2fcad5d19a718a0872dbc3596bc98d9ee6ae17dafcfd18d295582bd611c8bf86916aaa17a7849f4c6cc81f3e
 DIST fortanix-sgx-abi-0.5.0.crate 13334 BLAKE2B ccdfdd2e7a0592b0efcd4269695b7367e1e6fd2da7aac3b6e2b174375e787ec00134c3156286656155839367c031aabb748e50c15aa539ab3b3da22de3fef132 SHA512 4239bd0fe3a2c9e0b4a0e0eb82bacb417e1f798fb4d908bb5cc021ddfe6e41688f8ee16f9a18cda692ef78afb264a440af7444cfde43a0c29d0299781ea43ccb
 DIST getopts-0.2.21.crate 18457 BLAKE2B 10651e947e49acc768d99ae56ca5a7f37c1f61bbd1674e2ca58e3ae563fd64f3563d53ccdd0ae7a878710a39e13a99ac8c274974157db2c691f8c222de14992d SHA512 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f
 DIST hermit-abi-0.4.0.crate 16310 BLAKE2B efcd1dee7bcd6d185cbe0051c7bc7e2776857ffcfd2adc3fb101febd7c1bd75994b7e4a4a0a59c5b4628cc2521b4c1f043e98a0c44935d0180e7499667690ab8 SHA512 b1a21f6d54598185a8e8c29565ffc2e1bc5da57cf1c9d87ba643d23d7c23d53e8ad36ee2f5c1ec8a504334b6f98b0f17a832ff37877c7b7f9238b196f4034e6f
+DIST hermit-abi-0.5.0.crate 17480 BLAKE2B 502964fc10754985eb39aa9f9e6ca418bb65656703f24ae713131f4305de2569a0afcfb96ef15ed58bbc3fbd24701b2c87a4b81da5ff335fef7f13601d31bfef SHA512 2af390ae8e3ef2f4c6993cfb5d5b92c6184c3ef22134c745cb02b6482561526eebc8c7ec517324373145fbea2cc668bc4518c6bce6d575747aae6ac162adae08
 DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
+DIST libc-0.2.171.crate 785246 BLAKE2B 2bfbb3146d63444632b924520bc3d8af4adc6bbc38f4a7c6e8a003365430372ac1c05246684b54f0a98c36c8a7f02c325e1a6dd7fec44adeff41767e427ea77f SHA512 aca8b5f769dff18d9b3d73cae2c496f64a9828edfb0b57412da01a89158e770a5dcbb74bd83612870f9a08eb31647c1a2c92463189f16b01be8cdfc76fe0bacd
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
 DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47e9d6f4ebb33a00d4966f44766d270123af43eceda7ae8b1d190b3e29f080568f4d92df52d785c5b60d67a6f1c3889032404 SHA512 faf99e52dbc0f52e95f108fa252c153e1c7a3177a9f2c990e768f5e0289f247dda4c85a150407ccc750a3e171f984d10b77ee9759138935f2d2631f09bd223e1
 DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
index 6ac6bfc6504f..ff1ede36db5e 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
@@ -7,11 +7,14 @@ EAPI=8
 # Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
 CRATES="
 	compiler_builtins@0.1.146
+	compiler_builtins@0.1.152
 	dlmalloc@0.2.7
 	fortanix-sgx-abi@0.5.0
 	getopts@0.2.21
 	hermit-abi@0.4.0
+	hermit-abi@0.5.0
 	libc@0.2.169
+	libc@0.2.171
 	miniz_oxide@0.8.3
 	r-efi-alloc@1.0.0
 	r-efi@4.5.0
@@ -21,7 +24,7 @@ CRATES="
 
 # Implied by crates above.
 RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.86.0
+RUST_MAX_VER=1.87.0
 
 declare -A GIT_CRATES=(
 	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-05-31  5:49 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-05-31  5:49 UTC (permalink / raw
  To: gentoo-commits

commit:     52a9ff9b966ef9235ff59dc9630f50eed89cfe66
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 05:26:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 05:49:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a9ff9b

net-proxy/mitmproxy-linux: Enable py3.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
index ff1ede36db5e..22f4971a37f3 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
@@ -32,7 +32,7 @@ declare -A GIT_CRATES=(
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..13} )
+PYTHON_COMPAT=( python3_{12..14} )
 RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
 
 inherit cargo distutils-r1 pypi


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-06-01  2:36 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-06-01  2:36 UTC (permalink / raw
  To: gentoo-commits

commit:     378231b3f341557a7dfed584437008f7f9417844
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  1 02:17:13 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 02:36:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378231b3

net-proxy/mitmproxy-linux: Bump to 0.12.6

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |   2 +
 .../mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild  | 108 +++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index ea523219d838..8e2784a7182f 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -13,10 +13,12 @@ DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47
 DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765
 DIST mitmproxy_linux-0.12.3.tar.gz 1287684 BLAKE2B 2aa69e752826824b1b4fe175171e185157053f54e5ce356b722c152ddc44e43f6296763f811d193ab9f03d32a4e2ac826f3d156df96ba1e226558585540ff6de SHA512 c3e9f19c4e70712c95c078b40b668a209d73cb830d363af779fa1fb4dd27f7d214ccb1bac141b878ec4a18f576862823b40e2a2e1474e92e7f0cc96e7e99c698
 DIST mitmproxy_linux-0.12.5.tar.gz 1287168 BLAKE2B 2d5a95dc0f0bba0f762bb7f341cce179f2008744677284cc4e291b06d8ee1fb192bae952155982adefbce1ba5abe0ae73fe756c37bb8815c73d1189a0f2d91ea SHA512 d7c0246e24047a77da887f9cf7cf340eaa2eac29633ece53781b66b3ce257f11237a632bfe8029fff9ae1ad95efc648352b4a275f8f031d8821be13a98006a4f
+DIST mitmproxy_linux-0.12.6.tar.gz 1287279 BLAKE2B d310d93e1c24e032a3932a666d0f3b6cc18e913792a975c6d9f396e62b85cae1b3ea7254c23cf96812e59dccfe6b99088ee95648cc0505cd5b480dd154b64fb6 SHA512 1f951e227edccb628a6a2536d6c2948692551af278dacf8b7402e766a1a7bcd5611d9fa2aa94dd8c13a1f140e1467a488939b82ea66ac972896b76c0473dbde3
 DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b4314c0245e16a6bec6cdc7198d38e0492cccc4704cfdf479c5943ab73b6806ad62f9385289b5a7e9cee582d3e0def8381dac5869 SHA512 70facfa58bc45e2e0ee854b8d3fbd53818a93b319a117019f4713ab15793e065ea263ad6edae5086938755433c20756c7d23c3b023451e4cc052f2a98f956f60
 DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
 DIST mitmproxy_rs-0.12.3-crates.tar.xz 55236484 BLAKE2B d1279c3b64ec12f88d71ab053bdc460053558ff51e655f7b348f498874482f3a08a727c4f96f7e4382798865b71b7496791a2a026457f00f852893a422777f76 SHA512 235e1a7126e1aac94a8d6a88f20e56e048801971a12a6d2f8717a37607cefbc80c88d650647d8106d6e5d179e8a7400fa136cbdf732ecab5e9cdae1e92fd108c
 DIST mitmproxy_rs-0.12.5-crates.tar.xz 48932336 BLAKE2B dfdb6fc0c789361e90bd14e7ae02d81705b98a69d7d6b91114eaaac317ca2971fb6d4ed8fe3eb4801826adf8f782727fbe018d71adf21b1634eecd6039619671 SHA512 f8cb08bd509112f67e1ff1b2e4af9f4e3117a9451e7fae0bef7428ee6f1c576732a1ace69898fa3379ebf9a5da4293014b3cf7dffdd6f0d16f36f5de433d5c0c
+DIST mitmproxy_rs-0.12.6-crates.tar.xz 49026512 BLAKE2B a342d004dca4570056525b206dc72576d060fa4a31d50abf2660540578da28a65b8a4d235a2802c8ae516a94ee5d5f6d3dcb58903e7da88313b851331e60a398 SHA512 07c33a9ee563919edb03e60a410522901f4eddaa28712cab1605c8ed7accf74f9347d89ef2462c450fd275b45b4e8c4d27c22157a85a80f96f37b7ca50a2e938
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
new file mode 100644
index 000000000000..22f4971a37f3
--- /dev/null
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Extra crates required at runtime via rustc-build-sysroot crate.
+# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
+CRATES="
+	compiler_builtins@0.1.146
+	compiler_builtins@0.1.152
+	dlmalloc@0.2.7
+	fortanix-sgx-abi@0.5.0
+	getopts@0.2.21
+	hermit-abi@0.4.0
+	hermit-abi@0.5.0
+	libc@0.2.169
+	libc@0.2.171
+	miniz_oxide@0.8.3
+	r-efi-alloc@1.0.0
+	r-efi@4.5.0
+	unwinding@0.2.5
+	unicode-width@0.1.14
+"
+
+# Implied by crates above.
+RUST_MIN_VER=1.86.0
+RUST_MAX_VER=1.87.0
+
+declare -A GIT_CRATES=(
+	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..14} )
+RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+	https://github.com/mitmproxy/mitmproxy_rs/
+	https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+	${CARGO_CRATE_URIS}
+	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+	dev-util/bpf-linker
+"
+
+src_prepare() {
+	local PATCHES=(
+		# aya-ebpf overwrites libc functions with incompatible
+		# implementations that break everything, and therefore
+		# can only be used for bpf* targets
+		# https://github.com/aya-rs/aya/issues/1254
+		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# replace upstream crate substitution with our crate substitution, sigh
+	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+
+	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
+	# https://github.com/mitmproxy/mitmproxy/issues/7663
+	rm mitmproxy-linux/build.rs || die
+}
+
+src_configure() {
+	# first, we must build mitmproxy-linux-ebpf for the bpf target
+	# bpf-linker requires BPF target that is only available in nightly
+	local -x RUSTC_BOOTSTRAP=1
+	# no clue why this needs to be explicit
+	local -x RUSTFLAGS="-C linker=bpf-linker"
+
+	local cmd=(
+		"${CARGO}" build
+		-Z build-std=core
+		--bins
+		--release
+		--target=bpfel-unknown-none
+	)
+
+	pushd mitmproxy-linux-ebpf >/dev/null || die
+	echo "${cmd[*]}" >&2
+	"${cmd[@]}" || die "${cmd[*]} failed"
+	popd >/dev/null || die
+
+	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
+}
+
+python_test() {
+	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-06-28  6:55 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-06-28  6:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bbb9485df7365acfa4424657ff2bf0f8330d257b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 28 06:50:12 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 06:50:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb9485d

net-proxy/mitmproxy-linux: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |   8 --
 .../mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild  | 103 --------------------
 .../mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild  | 105 --------------------
 .../mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild  | 105 --------------------
 .../mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild  | 108 ---------------------
 5 files changed, 429 deletions(-)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index 8e2784a7182f..c55307a81e21 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -9,15 +9,7 @@ DIST hermit-abi-0.5.0.crate 17480 BLAKE2B 502964fc10754985eb39aa9f9e6ca418bb6565
 DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
 DIST libc-0.2.171.crate 785246 BLAKE2B 2bfbb3146d63444632b924520bc3d8af4adc6bbc38f4a7c6e8a003365430372ac1c05246684b54f0a98c36c8a7f02c325e1a6dd7fec44adeff41767e427ea77f SHA512 aca8b5f769dff18d9b3d73cae2c496f64a9828edfb0b57412da01a89158e770a5dcbb74bd83612870f9a08eb31647c1a2c92463189f16b01be8cdfc76fe0bacd
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
-DIST mitmproxy_linux-0.11.5.tar.gz 1285776 BLAKE2B 5ba240481abab07e399fb94732c47e9d6f4ebb33a00d4966f44766d270123af43eceda7ae8b1d190b3e29f080568f4d92df52d785c5b60d67a6f1c3889032404 SHA512 faf99e52dbc0f52e95f108fa252c153e1c7a3177a9f2c990e768f5e0289f247dda4c85a150407ccc750a3e171f984d10b77ee9759138935f2d2631f09bd223e1
-DIST mitmproxy_linux-0.12.0.tar.gz 1287742 BLAKE2B 781fe78970e0da6206e4a709ff06496874d06deeb38f224a7ead012336a3633981647f0f4d3f4a06b4531df490c10207a034876d063e32d1e4030e2aa2588375 SHA512 0b103d36d6420ca518286b27582dfdec7ee041b30a7745c2476150b699af51b053ee68176033ac6d4a7753260505d041eb3e281af7fd3eb541a6e05527a90765
-DIST mitmproxy_linux-0.12.3.tar.gz 1287684 BLAKE2B 2aa69e752826824b1b4fe175171e185157053f54e5ce356b722c152ddc44e43f6296763f811d193ab9f03d32a4e2ac826f3d156df96ba1e226558585540ff6de SHA512 c3e9f19c4e70712c95c078b40b668a209d73cb830d363af779fa1fb4dd27f7d214ccb1bac141b878ec4a18f576862823b40e2a2e1474e92e7f0cc96e7e99c698
-DIST mitmproxy_linux-0.12.5.tar.gz 1287168 BLAKE2B 2d5a95dc0f0bba0f762bb7f341cce179f2008744677284cc4e291b06d8ee1fb192bae952155982adefbce1ba5abe0ae73fe756c37bb8815c73d1189a0f2d91ea SHA512 d7c0246e24047a77da887f9cf7cf340eaa2eac29633ece53781b66b3ce257f11237a632bfe8029fff9ae1ad95efc648352b4a275f8f031d8821be13a98006a4f
 DIST mitmproxy_linux-0.12.6.tar.gz 1287279 BLAKE2B d310d93e1c24e032a3932a666d0f3b6cc18e913792a975c6d9f396e62b85cae1b3ea7254c23cf96812e59dccfe6b99088ee95648cc0505cd5b480dd154b64fb6 SHA512 1f951e227edccb628a6a2536d6c2948692551af278dacf8b7402e766a1a7bcd5611d9fa2aa94dd8c13a1f140e1467a488939b82ea66ac972896b76c0473dbde3
-DIST mitmproxy_rs-0.11.5-crates.tar.xz 50121936 BLAKE2B 1f4645c44c42b904c300661b4314c0245e16a6bec6cdc7198d38e0492cccc4704cfdf479c5943ab73b6806ad62f9385289b5a7e9cee582d3e0def8381dac5869 SHA512 70facfa58bc45e2e0ee854b8d3fbd53818a93b319a117019f4713ab15793e065ea263ad6edae5086938755433c20756c7d23c3b023451e4cc052f2a98f956f60
-DIST mitmproxy_rs-0.12.0-crates.tar.xz 62765072 BLAKE2B 270793c1aaf313ad9d256963e67906dfba1e901d24c8549bc4ccd2b09b4dceeb85f8232f45a0859bc53f0a92907051a0ec8a50394a2afe04c94ef3b99659c2ef SHA512 5ad0978d88f487aceebe6d579d0a226388198d2afda31a918fa521a048def313697157391f7971703bebe0134015640aa9841557d943c742a5172fcdfce84d86
-DIST mitmproxy_rs-0.12.3-crates.tar.xz 55236484 BLAKE2B d1279c3b64ec12f88d71ab053bdc460053558ff51e655f7b348f498874482f3a08a727c4f96f7e4382798865b71b7496791a2a026457f00f852893a422777f76 SHA512 235e1a7126e1aac94a8d6a88f20e56e048801971a12a6d2f8717a37607cefbc80c88d650647d8106d6e5d179e8a7400fa136cbdf732ecab5e9cdae1e92fd108c
-DIST mitmproxy_rs-0.12.5-crates.tar.xz 48932336 BLAKE2B dfdb6fc0c789361e90bd14e7ae02d81705b98a69d7d6b91114eaaac317ca2971fb6d4ed8fe3eb4801826adf8f782727fbe018d71adf21b1634eecd6039619671 SHA512 f8cb08bd509112f67e1ff1b2e4af9f4e3117a9451e7fae0bef7428ee6f1c576732a1ace69898fa3379ebf9a5da4293014b3cf7dffdd6f0d16f36f5de433d5c0c
 DIST mitmproxy_rs-0.12.6-crates.tar.xz 49026512 BLAKE2B a342d004dca4570056525b206dc72576d060fa4a31d50abf2660540578da28a65b8a4d235a2802c8ae516a94ee5d5f6d3dcb58903e7da88313b851331e60a398 SHA512 07c33a9ee563919edb03e60a410522901f4eddaa28712cab1605c8ed7accf74f9347d89ef2462c450fd275b45b4e8c4d27c22157a85a80f96f37b7ca50a2e938
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
deleted file mode 100644
index 270c4025a143..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.11.5.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
-	compiler_builtins@0.1.146
-	dlmalloc@0.2.7
-	fortanix-sgx-abi@0.5.0
-	getopts@0.2.21
-	miniz_oxide@0.8.3
-	r-efi-alloc@1.0.0
-	r-efi@4.5.0
-	unwinding@0.2.5
-	unicode-width@0.1.14
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.86.0
-
-declare -A GIT_CRATES=(
-	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF(+)"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
-	https://github.com/mitmproxy/mitmproxy_rs/
-	https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
-	${CARGO_CRATE_URIS}
-	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
-	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-BDEPEND="
-	dev-util/bpf-linker
-"
-
-src_prepare() {
-	local PATCHES=(
-		# aya-ebpf overwrites libc functions with incompatible
-		# implementations that break everything, and therefore
-		# can only be used for bpf* targets
-		# https://github.com/aya-rs/aya/issues/1254
-		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	# replace upstream crate substitution with our crate substitution, sigh
-	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
-	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
-	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
-	# https://github.com/mitmproxy/mitmproxy/issues/7663
-	rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
-	# first, we must build mitmproxy-linux-ebpf for the bpf target
-	# bpf-linker requires BPF target that is only available in nightly
-	local -x RUSTC_BOOTSTRAP=1
-	# no clue why this needs to be explicit
-	local -x RUSTFLAGS="-C linker=bpf-linker"
-
-	local cmd=(
-		"${CARGO}" build
-		-Z build-std=core
-		--bins
-		--release
-		--target=bpfel-unknown-none
-	)
-
-	pushd mitmproxy-linux-ebpf >/dev/null || die
-	echo "${cmd[*]}" >&2
-	"${cmd[@]}" || die "${cmd[*]} failed"
-	popd >/dev/null || die
-
-	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
-	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
deleted file mode 100644
index ce8cc4fa882b..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
-	compiler_builtins@0.1.146
-	dlmalloc@0.2.7
-	fortanix-sgx-abi@0.5.0
-	getopts@0.2.21
-	hermit-abi@0.4.0
-	libc@0.2.169
-	miniz_oxide@0.8.3
-	r-efi-alloc@1.0.0
-	r-efi@4.5.0
-	unwinding@0.2.5
-	unicode-width@0.1.14
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.86.0
-
-declare -A GIT_CRATES=(
-	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
-	https://github.com/mitmproxy/mitmproxy_rs/
-	https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
-	${CARGO_CRATE_URIS}
-	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
-	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
-	dev-util/bpf-linker
-"
-
-src_prepare() {
-	local PATCHES=(
-		# aya-ebpf overwrites libc functions with incompatible
-		# implementations that break everything, and therefore
-		# can only be used for bpf* targets
-		# https://github.com/aya-rs/aya/issues/1254
-		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	# replace upstream crate substitution with our crate substitution, sigh
-	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
-	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
-	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
-	# https://github.com/mitmproxy/mitmproxy/issues/7663
-	rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
-	# first, we must build mitmproxy-linux-ebpf for the bpf target
-	# bpf-linker requires BPF target that is only available in nightly
-	local -x RUSTC_BOOTSTRAP=1
-	# no clue why this needs to be explicit
-	local -x RUSTFLAGS="-C linker=bpf-linker"
-
-	local cmd=(
-		"${CARGO}" build
-		-Z build-std=core
-		--bins
-		--release
-		--target=bpfel-unknown-none
-	)
-
-	pushd mitmproxy-linux-ebpf >/dev/null || die
-	echo "${cmd[*]}" >&2
-	"${cmd[@]}" || die "${cmd[*]} failed"
-	popd >/dev/null || die
-
-	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
-	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
deleted file mode 100644
index 6ac6bfc6504f..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
-	compiler_builtins@0.1.146
-	dlmalloc@0.2.7
-	fortanix-sgx-abi@0.5.0
-	getopts@0.2.21
-	hermit-abi@0.4.0
-	libc@0.2.169
-	miniz_oxide@0.8.3
-	r-efi-alloc@1.0.0
-	r-efi@4.5.0
-	unwinding@0.2.5
-	unicode-width@0.1.14
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.86.0
-
-declare -A GIT_CRATES=(
-	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..13} )
-RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
-	https://github.com/mitmproxy/mitmproxy_rs/
-	https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
-	${CARGO_CRATE_URIS}
-	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
-	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-BDEPEND="
-	dev-util/bpf-linker
-"
-
-src_prepare() {
-	local PATCHES=(
-		# aya-ebpf overwrites libc functions with incompatible
-		# implementations that break everything, and therefore
-		# can only be used for bpf* targets
-		# https://github.com/aya-rs/aya/issues/1254
-		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	# replace upstream crate substitution with our crate substitution, sigh
-	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
-	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
-	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
-	# https://github.com/mitmproxy/mitmproxy/issues/7663
-	rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
-	# first, we must build mitmproxy-linux-ebpf for the bpf target
-	# bpf-linker requires BPF target that is only available in nightly
-	local -x RUSTC_BOOTSTRAP=1
-	# no clue why this needs to be explicit
-	local -x RUSTFLAGS="-C linker=bpf-linker"
-
-	local cmd=(
-		"${CARGO}" build
-		-Z build-std=core
-		--bins
-		--release
-		--target=bpfel-unknown-none
-	)
-
-	pushd mitmproxy-linux-ebpf >/dev/null || die
-	echo "${cmd[*]}" >&2
-	"${cmd[@]}" || die "${cmd[*]} failed"
-	popd >/dev/null || die
-
-	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
-	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
deleted file mode 100644
index 22f4971a37f3..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.5.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
-	compiler_builtins@0.1.146
-	compiler_builtins@0.1.152
-	dlmalloc@0.2.7
-	fortanix-sgx-abi@0.5.0
-	getopts@0.2.21
-	hermit-abi@0.4.0
-	hermit-abi@0.5.0
-	libc@0.2.169
-	libc@0.2.171
-	miniz_oxide@0.8.3
-	r-efi-alloc@1.0.0
-	r-efi@4.5.0
-	unwinding@0.2.5
-	unicode-width@0.1.14
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.87.0
-
-declare -A GIT_CRATES=(
-	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..14} )
-RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
-	https://github.com/mitmproxy/mitmproxy_rs/
-	https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
-	${CARGO_CRATE_URIS}
-	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
-	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-BDEPEND="
-	dev-util/bpf-linker
-"
-
-src_prepare() {
-	local PATCHES=(
-		# aya-ebpf overwrites libc functions with incompatible
-		# implementations that break everything, and therefore
-		# can only be used for bpf* targets
-		# https://github.com/aya-rs/aya/issues/1254
-		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	# replace upstream crate substitution with our crate substitution, sigh
-	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
-	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
-	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
-	# https://github.com/mitmproxy/mitmproxy/issues/7663
-	rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
-	# first, we must build mitmproxy-linux-ebpf for the bpf target
-	# bpf-linker requires BPF target that is only available in nightly
-	local -x RUSTC_BOOTSTRAP=1
-	# no clue why this needs to be explicit
-	local -x RUSTFLAGS="-C linker=bpf-linker"
-
-	local cmd=(
-		"${CARGO}" build
-		-Z build-std=core
-		--bins
-		--release
-		--target=bpfel-unknown-none
-	)
-
-	pushd mitmproxy-linux-ebpf >/dev/null || die
-	echo "${cmd[*]}" >&2
-	"${cmd[@]}" || die "${cmd[*]} failed"
-	popd >/dev/null || die
-
-	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
-	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-09-11 13:09 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-09-11 13:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6ebd6e8f888b9da4eb72a92cbfd479e7881b6794
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 11 11:12:29 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 11 13:09:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebd6e8f

net-proxy/mitmproxy-linux: Bump to 0.12.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |  30 +++++
 .../mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild  | 126 +++++++++++++++++++++
 2 files changed, 156 insertions(+)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index c55307a81e21..657bdcff4ef2 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -1,17 +1,47 @@
+DIST addr2line-0.25.0.crate 41982 BLAKE2B 0401c84ba99e49f1879e65f94b288f4f170f1fe9636647000461144c22f96ee8e222068318002c9d8202a21e338c41986fc008e5b2eac572e409a719c0a62591 SHA512 98c3184fb0d57968b1d27526002d476fbffa21493335d254d5d14dd975a7f579c14c8aa3cde196c63f2344093f3aaeb840222de54b0c09787c130f1b643f9c03
+DIST adler2-2.0.1.crate 13366 BLAKE2B 3b28bbd7f89424567ff1bb36b984bf4fd767370459f5548545218cbe1c9f082fedd932fccc7e6acd83a1dfa06a371124801a772e5555ede7d6c2cd1ac57930a4 SHA512 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
+DIST boringtun-2f3c85f5c4a601018c10b464b1ca890d9504bf6e.gh.tar.gz 219297 BLAKE2B af42c888259ce9d0d36c8b6925459e86fac14059e6b8a3532783050d77627f91c4cd7a0b61bd290e86bbe37ab155d9f798f5478b0f09650dabba08cdc9f60696 SHA512 485675e3fa9317d09814a67162199691df87d04b970c4f69536607584b07f6ab8d2379ef89b22d674e569b8a874a1298bc59a8537c077c81658594bbd502470e
 DIST boringtun-e3252d9c4f4c8fc628995330f45369effd4660a1.gh.tar.gz 219190 BLAKE2B d20cb9619cee7d2f8db118deb14c13ddc1ec1574902f1fa24d2cebc5d2838f95ab3fb252413616d8af4d4d362b2031fdd447021bde4baf554cb8c7eb68cee77b SHA512 3dd2bdcc2e94714b448df72eab54bfddb9e436a4799fe0b266777b3bac5debdeb4495f31495736c98f86725921758ccbdd0c25a2404e4a4472dd8c6d14771b7c
+DIST cfg-if-1.0.1.crate 8683 BLAKE2B 7d7f98e46b98e0f6fe069fff5dede72390adb7522f13be35c37f99713641e98dff87bd58e594908565a6f42ec898f11597e8a82a01ca2e8e65b38563e09956a8 SHA512 56af0d562fe60022e8df9c5b4e9b2eed6d7ca1874c4d3bbb52148d6f3c6f7d30e0b63d4b1e652ccfc8881a663fb6f450a48447d5a8cce0c2e5a2ac12c6ac655f
 DIST compiler_builtins-0.1.146.crate 212475 BLAKE2B 9036a9e643ad310932c7943ce5e41c53029f08e604e8ed0a6255d49cf98ecea832dd19ffd109c34a83873880f1c281dc5991bf3f34b9e04f6e9562d40926fd48 SHA512 51db04a4e2b7fbc8a7b7407d57a9c82884f9950f5937cf422d14d4c53bc6b942d90e443857cf0c363b0365202713ecbaea3977e9c1cf534c54b041a1f6efd409
 DIST compiler_builtins-0.1.152.crate 224321 BLAKE2B 232cbc3afb4de5f9ed401df8dce40a1ba56e392f5d5d9b52314abd2c93255859fcb271bd066ca4f23b7879cc787688eedd1dc78eb559ed08aa9fd0d802397fae SHA512 4053d17f667f36e1b06f30b252825e578f42f5dd5dbd4000c8e8742df2787964a9f198c052b6563d09db3d18cd1408be3d9a59b6c366b5c6198ee5581dbc7265
+DIST compiler_builtins-0.1.158.crate 245300 BLAKE2B 2f0c6281af04eab6d8b2d819e3169ec384beda8b2326a41bfef77fcea24b2fe20d83ed5e2cc0a2c1635dd2f4a4b42fba161a1d6305451e767c8f79c501065d8b SHA512 8b440293d8fb3184b665cddd25dfcc8c65f216dfe5e353db0e867f0346b1aff48e3af82ed3e77aee0ff1a1767e6f35ce348048d3aabc168feb6ab633f19214e5
+DIST compiler_builtins-0.1.160.crate 242364 BLAKE2B c85996e22b19e08eb4fb0d679b0b357d60f072ed2611b332d042f6d02d02f5c8fad6bad32baa5c86d5142ddeb79ff939fbb25ed68a9f8134f4a25c6cb961387c SHA512 b8a10cf1b1b42fdc070ba7b3ea4a018c912beb1540b1aef2622302e6ad876b1d488c8ef08b90d2fcab4d32d9c836c0fa552c52c1fe96afc2ad0e1be95c3ef6f6
 DIST dlmalloc-0.2.7.crate 84295 BLAKE2B 8ab86016f66e18fc367645ea3871babdb6077895abf59534514c1ff6a5f072cb06d86c8585798d90822f1e7a45180f5ec5cc82811a93e8bafc16e7b28d375faf SHA512 d3da8fb71e6f02ee3f4cbb9fd63170f7b6dc16aa2fcad5d19a718a0872dbc3596bc98d9ee6ae17dafcfd18d295582bd611c8bf86916aaa17a7849f4c6cc81f3e
+DIST dlmalloc-0.2.8.crate 85937 BLAKE2B d1d5f22efa6f5f7de9ef411e70483e471babfc6c28941a735766e21a94bf33452330ca88a768513b8b90cef86ab64f877eecf70d97586f5b6a55c5f867d993ae SHA512 5c2dec343d338c29500428d5022f9bd3b00ddeacbaab56d3ecbc33f5d8ef1f5e61c53e0478d08721dec11511055c7e289353117c8f71129b623272961c2158b4
+DIST dlmalloc-0.2.9.crate 85868 BLAKE2B c9b3f2b2ad3d43d4559ef0c390de5eb77c2e83c08bfb5a1a050a49d0e6f45391f4597efec8150267d346b09aa26e4b9f244b5d09333ec4154a386daef3f2c413 SHA512 5a9397b0d65f1f10d8e3e7bd84266129dd6a4e2a7c2822e84249121bb0badff15fb530242984efaa78744d919f49658d3c425d9f89dc2741b139eafa71b14ade
 DIST fortanix-sgx-abi-0.5.0.crate 13334 BLAKE2B ccdfdd2e7a0592b0efcd4269695b7367e1e6fd2da7aac3b6e2b174375e787ec00134c3156286656155839367c031aabb748e50c15aa539ab3b3da22de3fef132 SHA512 4239bd0fe3a2c9e0b4a0e0eb82bacb417e1f798fb4d908bb5cc021ddfe6e41688f8ee16f9a18cda692ef78afb264a440af7444cfde43a0c29d0299781ea43ccb
 DIST getopts-0.2.21.crate 18457 BLAKE2B 10651e947e49acc768d99ae56ca5a7f37c1f61bbd1674e2ca58e3ae563fd64f3563d53ccdd0ae7a878710a39e13a99ac8c274974157db2c691f8c222de14992d SHA512 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f
+DIST getopts-0.2.23.crate 21409 BLAKE2B fbe2c229f7aff2bdaac17ff5c670363c135e69651cb924af1950d79c7eace1616a30425a181cd0116004ca8167bcb1364e208d92ad16a2280f1e77798d680657 SHA512 8d4c08e88a8532d107052c34305b6381e8759958a12eafe8791816fbed85e405fe901aa11c8a8e0110a6d44f87cd1f55a332d2c76c7c12d13a86e00731842e43
+DIST gimli-0.32.0.crate 286715 BLAKE2B 761fa6ceaf967f03b235e07f05d596ea0535cbb38678f6c543f8ca682058450e29e82ffaf3960689b945646db0d2b7afe503ac4d6bdaa52c3ad4de7315295d73 SHA512 9ba4a781c98507fb5a4cd3a8a0fccc03cae5a78eb7e67d001f02396e157b340d6aabf96b7ce54e89bbc00ab61921d3434c355aa0b0b7b968056db2f526392c96
+DIST hashbrown-0.15.3.crate 140413 BLAKE2B c67ca4d608e82126b7411349135409d4bc6e4ddb561d04060b5e27f08c350ef3eae0eba12974e9ebfd894fdf90e1481f51e90f5a58f987b88d32e061235f7df9 SHA512 dd82780d0668d6e6eda00b0e2960ab8ad6ab7ca9cb8c87c9c276ad571522676075a675e757416094e382f2607629b80a419b00bb30b5612c1dcf71aa6a97c691
+DIST hashbrown-0.15.4.crate 140447 BLAKE2B f0b1aeaa46dc1354a9558d405bd1cbf72723e8a61a3322743f8bd6d2c17b336b9eedad27756799a054633797373b56b2b957d5ad923b19751074f0294f63d0b2 SHA512 bc96bfe26897240a370fe221515b5ad1dbd07c11de0cbfc1f7721ffbd97546b43a82a88461b3390a6edce9faeb156ca369ed95eecb29fa82c35726a325c26b52
 DIST hermit-abi-0.4.0.crate 16310 BLAKE2B efcd1dee7bcd6d185cbe0051c7bc7e2776857ffcfd2adc3fb101febd7c1bd75994b7e4a4a0a59c5b4628cc2521b4c1f043e98a0c44935d0180e7499667690ab8 SHA512 b1a21f6d54598185a8e8c29565ffc2e1bc5da57cf1c9d87ba643d23d7c23d53e8ad36ee2f5c1ec8a504334b6f98b0f17a832ff37877c7b7f9238b196f4034e6f
 DIST hermit-abi-0.5.0.crate 17480 BLAKE2B 502964fc10754985eb39aa9f9e6ca418bb65656703f24ae713131f4305de2569a0afcfb96ef15ed58bbc3fbd24701b2c87a4b81da5ff335fef7f13601d31bfef SHA512 2af390ae8e3ef2f4c6993cfb5d5b92c6184c3ef22134c745cb02b6482561526eebc8c7ec517324373145fbea2cc668bc4518c6bce6d575747aae6ac162adae08
+DIST hermit-abi-0.5.2.crate 17435 BLAKE2B 695192149342273199ffb026de57e2d906249757b9b4bbceb6b40d3b2298a942a75390aeaa3ad4cad71e5d44687379dfc49598bacdb2cf989ab48864c4b2b517 SHA512 0392a8350288e5d500967bee8e98626024b47a7da331f833b9528bd7318cf43f41eefa46aa6aebd19febfadcbcb2d7c9f70d6ca3631c1618d63c60366dbe7c15
 DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
 DIST libc-0.2.171.crate 785246 BLAKE2B 2bfbb3146d63444632b924520bc3d8af4adc6bbc38f4a7c6e8a003365430372ac1c05246684b54f0a98c36c8a7f02c325e1a6dd7fec44adeff41767e427ea77f SHA512 aca8b5f769dff18d9b3d73cae2c496f64a9828edfb0b57412da01a89158e770a5dcbb74bd83612870f9a08eb31647c1a2c92463189f16b01be8cdfc76fe0bacd
+DIST libc-0.2.172.crate 791646 BLAKE2B 3a6eb0eba1e31cf89ac792a8e667c0f68b2a0e62502710ffe77c2b06321103a30ffdc4516c0a91fd3ff44508d5304dfb04ab919bd3e723e34c66b560a20e7f86 SHA512 7bfe400ee65c1b7e540fd19a9b7eb1429a66863d5e94ee7caa83a227d19a4143316d3b401013fb7f88c8e4cdb1a40cfbd58826597c8e23799e02e29553b67e34
+DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73
+DIST memchr-2.7.5.crate 97603 BLAKE2B ee41ef722d90265064db3ffe22d52eff8f7627ac1ae9b0bad6ca9fa06c1027dca8d67e594e03b03c944dbf85930d2dbf030c5aaed369020ca1a1ba00f153d91a SHA512 2606ee16a7dc02db95dac17cebd2cac9deb2e23d7ea62972cdb19145c06eaf75631347a49c4e6ceeff89fb6e90e992f9bca0a9c955eb5130f89ba2bd865936e1
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
+DIST miniz_oxide-0.8.9.crate 67132 BLAKE2B 1a11c5aeef43ac93635942e0c4f17538150f8307fb280b0d66436e4b6697638f0b1bafbdebb377a5dba14a75f213024201e325747419623e5f7d57060bba4445 SHA512 3f6fd786c5fa5b4abafaf21244dd4830d26688d5b6975522bda595206517f354d92d13fb95235667cbc39c0275371c737164d9c7a58e32e09da86eed2f239242
 DIST mitmproxy_linux-0.12.6.tar.gz 1287279 BLAKE2B d310d93e1c24e032a3932a666d0f3b6cc18e913792a975c6d9f396e62b85cae1b3ea7254c23cf96812e59dccfe6b99088ee95648cc0505cd5b480dd154b64fb6 SHA512 1f951e227edccb628a6a2536d6c2948692551af278dacf8b7402e766a1a7bcd5611d9fa2aa94dd8c13a1f140e1467a488939b82ea66ac972896b76c0473dbde3
+DIST mitmproxy_linux-0.12.7.tar.gz 1287189 BLAKE2B 3196c39e5d860a8aa3684c116579eeb11cd48ad14340fe32a08ea74fdea93e9153fbb233b93957237be083b53e984744c7780ebe8f3105fd0714fce135e407bd SHA512 f71808435ff3c37a8aa20e1d889d8ebbdb16e8c0bad5575f88d10186cd70fad0fb0277ddf7a27f70188cdf6a8525b8e0bd4d155ce630705aa6798c3f45b932a9
 DIST mitmproxy_rs-0.12.6-crates.tar.xz 49026512 BLAKE2B a342d004dca4570056525b206dc72576d060fa4a31d50abf2660540578da28a65b8a4d235a2802c8ae516a94ee5d5f6d3dcb58903e7da88313b851331e60a398 SHA512 07c33a9ee563919edb03e60a410522901f4eddaa28712cab1605c8ed7accf74f9347d89ef2462c450fd275b45b4e8c4d27c22157a85a80f96f37b7ca50a2e938
+DIST mitmproxy_rs-0.12.7-crates.tar.xz 49031076 BLAKE2B 7ce59d1b03fb67543832d0482909568502778a952d91f7d233005542368c9bf4cfc9d6666e9b41fa148d45c4153a9056cdd27f2cbcb56154a787c8780a48eed1 SHA512 252fb9941b74ad02b53c66ad2f9527df98c0ccd205e6d5913869b5a1405bc3ff05994dce31ed2bc0e8a5ec0b2e33efe85f7fdd9634c3511244b1cdb870f6ec94
+DIST object-0.37.1.crate 338929 BLAKE2B b2bc4f27968ec308b8d569e71de449adf5cf545aa2054d65cda03cfa44e3d3b108bd39e1288e1c983d08656b4c50a384c2101f2bf049b7d67d42e60c95160cba SHA512 ca9c7857185b6fb7f81a594d73df10cace40b47d7475f8d4ac0c6be9c3f327dc98a86fd4fc8f70da762eb978a0427ecff1e3c181bd3efeefbf3d2f51615b9745
 DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
+DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158
+DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad
 DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
+DIST r-efi-alloc-2.0.0.crate 14497 BLAKE2B 690c550d414e8f2cb86c6c3db705f5fabb2481bdd7d5ac9dca7516478e5b69f6d12965f53f6ee7af1906ed2bfd95aca9e83164ca8b8b0808d83616308ef0fd0e SHA512 beddf55a47dab79ac1c5158cdede0195d59305ac7745622c37f74a4138910fcac5b4049b45c5bfb972dde1c0fdd4f4965e3bcfa7cb444c5a86db280925c1649d
+DIST r-efi-alloc-2.1.0.crate 14475 BLAKE2B b316af45913ed4fe3b3efd01f800aaafcad9d1d0d05a8ed3685a85246f458cf65f4da50229322ce059a9eea0d341af41b765ef321be31161ec07c3768d6f88ed SHA512 9213827d81f2809341b9ec101bb6d94dc5d4a0e8b87252a34bf21dc200dcc13d7b20013c7ec87ad0e9c24384f4b4f31b37f4bc2126bb8479db7bb1118ab7acef
+DIST rustc-demangle-0.1.25.crate 29590 BLAKE2B affc3a85edfae0bd4a3a0165a9fa8d0d8c5be7958b70f98769d24eb6fe44c33bb05c33fc312bf35c887ce927c2f8feeb287b50f4f230d8dd74109be8faa34999 SHA512 d130a885b62470f4429dd5a9b11cb81e045c42e093125c2fed1eb79d07dd0990cd38e049a314babd1fd8b8ffab0bbcb0453fc7aae3e3adb7006e943d416162a8
+DIST rustc-literal-escaper-0.0.2.crate 11073 BLAKE2B fe7423ab43605fabf26788a98629a1dc37da5ded1339ed13d63e00f7e4d6167284e82da42c439db3d09d580e8fd1a5c12b8192bb9a676de09f89f9ccd9912525 SHA512 01b3a3b918133bedd6ce02a182a1eeb1459d33cb538808951eb64dcdc3ced542768cfe76a226b825f827d8506d9bb967c562df5697c9b48f471494710c676db3
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb
+DIST unicode-width-0.2.1.crate 279344 BLAKE2B d4128c165016a76196e0eda9cc4a0edccf326cc3c7ecf0e1b43848446e758c703e9a9e843dbd256a523e1654ae3faaf6c172e21b0b6324757610fc5333c56e8e SHA512 705ce2ca2964761d9fcf014ef5ad9af2973b5f7c0c3561fece10378d817135afc5f24b9ac16290b98edecab77a01ddee9ec8dca5bd2b4eaec1f3124065ab8708
 DIST unwinding-0.2.5.crate 28025 BLAKE2B 48ec97462daa9d42f6f257daa4dbf72dfc40c58a04f154264892d4918cbde01faf50bff08c8400789b4147388c1fb3a958a1f323b09f0dc20cc3fe60c9a5c63b SHA512 67608b01fa7adde11510520d5136239732e0361e34c004bf89e3f8e29587adbbaed2e333d9c799169e97dcd2cbbc644189c9f3c294fa905d5eaf904a5bea7dd5
+DIST unwinding-0.2.6.crate 28127 BLAKE2B 6c23b3d6b950f7d6ce748d35ffc957e71781de11b8bbf86869497b252af5ee1d22aa8c03aaa223ac8b53823d23abc105e1ce4c7d82550d817ae72336ca024efc SHA512 a9916e973951dae6584d0b9d47bf4903dbde8f59330e751e8a53f50bafbf4ab184c02a97809c864b4c17a2aecc4d55343c53cc1575e2cd3df82c3f2fc9c842bb
+DIST unwinding-0.2.7.crate 28125 BLAKE2B 5feb8262e1e7297311678525c7ba275fa2892d9cc05a2283fcfce424eb1d565be929e306d9c4ec9234771316f943578e2621abb4489b0ff40c85588f3c448f24 SHA512 a9d9988295fe5ecd0a06967714a41e3488aac4699748660baa91fb05cd34b34871ad37d38533d3e0baa64fb1ab9ba592edcf5fcb4441994c76de18b125c6e57e
+DIST wasi-0.11.1+wasi-snapshot-preview1.crate 28477 BLAKE2B bcc773ba28cbe8d820e9e9fbb275fb4451bc7f39b3bd88bcd93850bf2bdb5300489bd8eca27489ccc5f6269b00f4e1b505ae3a33a35d708cd5a414ad307be149 SHA512 29e3c903763db2580a15f50db487c5e1d4e90763e48d90a5b3f681e468a24f9df1a01773bd1ffa0e3cd293dd8cb4d6fbabfaa63c0e13889c811a56f4554ada49

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild
new file mode 100644
index 000000000000..e20340159632
--- /dev/null
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild
@@ -0,0 +1,126 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Extra crates required at runtime via rustc-build-sysroot crate.
+# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
+CRATES="
+	addr2line@0.25.0
+	adler2@2.0.1
+	cfg-if@1.0.1
+	compiler_builtins@0.1.158
+	compiler_builtins@0.1.160
+	dlmalloc@0.2.8
+	dlmalloc@0.2.9
+	fortanix-sgx-abi@0.5.0
+	getopts@0.2.21
+	getopts@0.2.23
+	gimli@0.32.0
+	hashbrown@0.15.3
+	hashbrown@0.15.4
+	hermit-abi@0.5.0
+	hermit-abi@0.5.2
+	libc@0.2.172
+	libc@0.2.174
+	memchr@2.7.5
+	miniz_oxide@0.8.3
+	miniz_oxide@0.8.9
+	object@0.37.1
+	r-efi-alloc@2.0.0
+	r-efi-alloc@2.1.0
+	r-efi@5.2.0
+	r-efi@5.3.0
+	rustc-demangle@0.1.25
+	rustc-literal-escaper@0.0.2
+	unwinding@0.2.6
+	unwinding@0.2.7
+	unicode-width@0.1.14
+	unicode-width@0.2.1
+	wasi@0.11.1+wasi-snapshot-preview1
+"
+
+# Implied by crates above.
+RUST_MIN_VER=1.88.0
+RUST_MAX_VER=1.89.0
+
+declare -A GIT_CRATES=(
+	[boringtun]='https://github.com/cloudflare/boringtun;2f3c85f5c4a601018c10b464b1ca890d9504bf6e;boringtun-%commit%/boringtun'
+)
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{12..14} )
+RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="mitmproxy's Rust bits"
+HOMEPAGE="
+	https://github.com/mitmproxy/mitmproxy_rs/
+	https://pypi.org/project/mitmproxy-rs/
+"
+SRC_URI+="
+	${CARGO_CRATE_URIS}
+	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
+	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+BDEPEND="
+	dev-util/bpf-linker
+"
+
+src_prepare() {
+	local PATCHES=(
+		# aya-ebpf overwrites libc functions with incompatible
+		# implementations that break everything, and therefore
+		# can only be used for bpf* targets
+		# https://github.com/aya-rs/aya/issues/1254
+		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# replace upstream crate substitution with our crate substitution, sigh
+	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
+	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
+
+	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
+	# https://github.com/mitmproxy/mitmproxy/issues/7663
+	rm mitmproxy-linux/build.rs || die
+}
+
+src_configure() {
+	# first, we must build mitmproxy-linux-ebpf for the bpf target
+	# bpf-linker requires BPF target that is only available in nightly
+	local -x RUSTC_BOOTSTRAP=1
+	# no clue why this needs to be explicit
+	local -x RUSTFLAGS="-C linker=bpf-linker"
+
+	local cmd=(
+		"${CARGO}" build
+		-Z build-std=core
+		--bins
+		--release
+		--target=bpfel-unknown-none
+	)
+
+	pushd mitmproxy-linux-ebpf >/dev/null || die
+	echo "${cmd[*]}" >&2
+	"${cmd[@]}" || die "${cmd[*]} failed"
+	popd >/dev/null || die
+
+	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
+}
+
+python_test() {
+	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-09-14 14:37 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-09-14 14:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e5b8c515639d0174edfcf51a1853fd82a93208af
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 14 14:37:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 14:37:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b8c515

net-proxy/mitmproxy-linux: Stabilize 0.12.6 amd64, #957336

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
index 22f4971a37f3..129c9d149266 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
@@ -54,7 +54,7 @@ LICENSE+="
 	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
 "
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
 
 BDEPEND="
 	dev-util/bpf-linker


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-10-04 20:19 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2025-10-04 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e17f61e250c5b676305552566e679bfcbeafc200
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  4 20:18:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 20:18:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e17f61e2

net-proxy/mitmproxy-linux: Stabilize 0.12.7 amd64, #963766

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild
index e20340159632..2e2ea307cd3a 100644
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild
+++ b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.7.ebuild
@@ -72,7 +72,7 @@ LICENSE+="
 	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
 "
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
 
 BDEPEND="
 	dev-util/bpf-linker


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/
@ 2025-10-05  2:19 Michał Górny
  0 siblings, 0 replies; 15+ messages in thread
From: Michał Górny @ 2025-10-05  2:19 UTC (permalink / raw
  To: gentoo-commits

commit:     97f640aa68ada215d90badd27dd0e1bd74dc85d5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 02:16:31 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 02:16:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f640aa

net-proxy/mitmproxy-linux: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-proxy/mitmproxy-linux/Manifest                 |  12 ---
 .../mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild  | 108 ---------------------
 2 files changed, 120 deletions(-)

diff --git a/net-proxy/mitmproxy-linux/Manifest b/net-proxy/mitmproxy-linux/Manifest
index 657bdcff4ef2..dece929d6f3e 100644
--- a/net-proxy/mitmproxy-linux/Manifest
+++ b/net-proxy/mitmproxy-linux/Manifest
@@ -1,13 +1,9 @@
 DIST addr2line-0.25.0.crate 41982 BLAKE2B 0401c84ba99e49f1879e65f94b288f4f170f1fe9636647000461144c22f96ee8e222068318002c9d8202a21e338c41986fc008e5b2eac572e409a719c0a62591 SHA512 98c3184fb0d57968b1d27526002d476fbffa21493335d254d5d14dd975a7f579c14c8aa3cde196c63f2344093f3aaeb840222de54b0c09787c130f1b643f9c03
 DIST adler2-2.0.1.crate 13366 BLAKE2B 3b28bbd7f89424567ff1bb36b984bf4fd767370459f5548545218cbe1c9f082fedd932fccc7e6acd83a1dfa06a371124801a772e5555ede7d6c2cd1ac57930a4 SHA512 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
 DIST boringtun-2f3c85f5c4a601018c10b464b1ca890d9504bf6e.gh.tar.gz 219297 BLAKE2B af42c888259ce9d0d36c8b6925459e86fac14059e6b8a3532783050d77627f91c4cd7a0b61bd290e86bbe37ab155d9f798f5478b0f09650dabba08cdc9f60696 SHA512 485675e3fa9317d09814a67162199691df87d04b970c4f69536607584b07f6ab8d2379ef89b22d674e569b8a874a1298bc59a8537c077c81658594bbd502470e
-DIST boringtun-e3252d9c4f4c8fc628995330f45369effd4660a1.gh.tar.gz 219190 BLAKE2B d20cb9619cee7d2f8db118deb14c13ddc1ec1574902f1fa24d2cebc5d2838f95ab3fb252413616d8af4d4d362b2031fdd447021bde4baf554cb8c7eb68cee77b SHA512 3dd2bdcc2e94714b448df72eab54bfddb9e436a4799fe0b266777b3bac5debdeb4495f31495736c98f86725921758ccbdd0c25a2404e4a4472dd8c6d14771b7c
 DIST cfg-if-1.0.1.crate 8683 BLAKE2B 7d7f98e46b98e0f6fe069fff5dede72390adb7522f13be35c37f99713641e98dff87bd58e594908565a6f42ec898f11597e8a82a01ca2e8e65b38563e09956a8 SHA512 56af0d562fe60022e8df9c5b4e9b2eed6d7ca1874c4d3bbb52148d6f3c6f7d30e0b63d4b1e652ccfc8881a663fb6f450a48447d5a8cce0c2e5a2ac12c6ac655f
-DIST compiler_builtins-0.1.146.crate 212475 BLAKE2B 9036a9e643ad310932c7943ce5e41c53029f08e604e8ed0a6255d49cf98ecea832dd19ffd109c34a83873880f1c281dc5991bf3f34b9e04f6e9562d40926fd48 SHA512 51db04a4e2b7fbc8a7b7407d57a9c82884f9950f5937cf422d14d4c53bc6b942d90e443857cf0c363b0365202713ecbaea3977e9c1cf534c54b041a1f6efd409
-DIST compiler_builtins-0.1.152.crate 224321 BLAKE2B 232cbc3afb4de5f9ed401df8dce40a1ba56e392f5d5d9b52314abd2c93255859fcb271bd066ca4f23b7879cc787688eedd1dc78eb559ed08aa9fd0d802397fae SHA512 4053d17f667f36e1b06f30b252825e578f42f5dd5dbd4000c8e8742df2787964a9f198c052b6563d09db3d18cd1408be3d9a59b6c366b5c6198ee5581dbc7265
 DIST compiler_builtins-0.1.158.crate 245300 BLAKE2B 2f0c6281af04eab6d8b2d819e3169ec384beda8b2326a41bfef77fcea24b2fe20d83ed5e2cc0a2c1635dd2f4a4b42fba161a1d6305451e767c8f79c501065d8b SHA512 8b440293d8fb3184b665cddd25dfcc8c65f216dfe5e353db0e867f0346b1aff48e3af82ed3e77aee0ff1a1767e6f35ce348048d3aabc168feb6ab633f19214e5
 DIST compiler_builtins-0.1.160.crate 242364 BLAKE2B c85996e22b19e08eb4fb0d679b0b357d60f072ed2611b332d042f6d02d02f5c8fad6bad32baa5c86d5142ddeb79ff939fbb25ed68a9f8134f4a25c6cb961387c SHA512 b8a10cf1b1b42fdc070ba7b3ea4a018c912beb1540b1aef2622302e6ad876b1d488c8ef08b90d2fcab4d32d9c836c0fa552c52c1fe96afc2ad0e1be95c3ef6f6
-DIST dlmalloc-0.2.7.crate 84295 BLAKE2B 8ab86016f66e18fc367645ea3871babdb6077895abf59534514c1ff6a5f072cb06d86c8585798d90822f1e7a45180f5ec5cc82811a93e8bafc16e7b28d375faf SHA512 d3da8fb71e6f02ee3f4cbb9fd63170f7b6dc16aa2fcad5d19a718a0872dbc3596bc98d9ee6ae17dafcfd18d295582bd611c8bf86916aaa17a7849f4c6cc81f3e
 DIST dlmalloc-0.2.8.crate 85937 BLAKE2B d1d5f22efa6f5f7de9ef411e70483e471babfc6c28941a735766e21a94bf33452330ca88a768513b8b90cef86ab64f877eecf70d97586f5b6a55c5f867d993ae SHA512 5c2dec343d338c29500428d5022f9bd3b00ddeacbaab56d3ecbc33f5d8ef1f5e61c53e0478d08721dec11511055c7e289353117c8f71129b623272961c2158b4
 DIST dlmalloc-0.2.9.crate 85868 BLAKE2B c9b3f2b2ad3d43d4559ef0c390de5eb77c2e83c08bfb5a1a050a49d0e6f45391f4597efec8150267d346b09aa26e4b9f244b5d09333ec4154a386daef3f2c413 SHA512 5a9397b0d65f1f10d8e3e7bd84266129dd6a4e2a7c2822e84249121bb0badff15fb530242984efaa78744d919f49658d3c425d9f89dc2741b139eafa71b14ade
 DIST fortanix-sgx-abi-0.5.0.crate 13334 BLAKE2B ccdfdd2e7a0592b0efcd4269695b7367e1e6fd2da7aac3b6e2b174375e787ec00134c3156286656155839367c031aabb748e50c15aa539ab3b3da22de3fef132 SHA512 4239bd0fe3a2c9e0b4a0e0eb82bacb417e1f798fb4d908bb5cc021ddfe6e41688f8ee16f9a18cda692ef78afb264a440af7444cfde43a0c29d0299781ea43ccb
@@ -16,32 +12,24 @@ DIST getopts-0.2.23.crate 21409 BLAKE2B fbe2c229f7aff2bdaac17ff5c670363c135e6965
 DIST gimli-0.32.0.crate 286715 BLAKE2B 761fa6ceaf967f03b235e07f05d596ea0535cbb38678f6c543f8ca682058450e29e82ffaf3960689b945646db0d2b7afe503ac4d6bdaa52c3ad4de7315295d73 SHA512 9ba4a781c98507fb5a4cd3a8a0fccc03cae5a78eb7e67d001f02396e157b340d6aabf96b7ce54e89bbc00ab61921d3434c355aa0b0b7b968056db2f526392c96
 DIST hashbrown-0.15.3.crate 140413 BLAKE2B c67ca4d608e82126b7411349135409d4bc6e4ddb561d04060b5e27f08c350ef3eae0eba12974e9ebfd894fdf90e1481f51e90f5a58f987b88d32e061235f7df9 SHA512 dd82780d0668d6e6eda00b0e2960ab8ad6ab7ca9cb8c87c9c276ad571522676075a675e757416094e382f2607629b80a419b00bb30b5612c1dcf71aa6a97c691
 DIST hashbrown-0.15.4.crate 140447 BLAKE2B f0b1aeaa46dc1354a9558d405bd1cbf72723e8a61a3322743f8bd6d2c17b336b9eedad27756799a054633797373b56b2b957d5ad923b19751074f0294f63d0b2 SHA512 bc96bfe26897240a370fe221515b5ad1dbd07c11de0cbfc1f7721ffbd97546b43a82a88461b3390a6edce9faeb156ca369ed95eecb29fa82c35726a325c26b52
-DIST hermit-abi-0.4.0.crate 16310 BLAKE2B efcd1dee7bcd6d185cbe0051c7bc7e2776857ffcfd2adc3fb101febd7c1bd75994b7e4a4a0a59c5b4628cc2521b4c1f043e98a0c44935d0180e7499667690ab8 SHA512 b1a21f6d54598185a8e8c29565ffc2e1bc5da57cf1c9d87ba643d23d7c23d53e8ad36ee2f5c1ec8a504334b6f98b0f17a832ff37877c7b7f9238b196f4034e6f
 DIST hermit-abi-0.5.0.crate 17480 BLAKE2B 502964fc10754985eb39aa9f9e6ca418bb65656703f24ae713131f4305de2569a0afcfb96ef15ed58bbc3fbd24701b2c87a4b81da5ff335fef7f13601d31bfef SHA512 2af390ae8e3ef2f4c6993cfb5d5b92c6184c3ef22134c745cb02b6482561526eebc8c7ec517324373145fbea2cc668bc4518c6bce6d575747aae6ac162adae08
 DIST hermit-abi-0.5.2.crate 17435 BLAKE2B 695192149342273199ffb026de57e2d906249757b9b4bbceb6b40d3b2298a942a75390aeaa3ad4cad71e5d44687379dfc49598bacdb2cf989ab48864c4b2b517 SHA512 0392a8350288e5d500967bee8e98626024b47a7da331f833b9528bd7318cf43f41eefa46aa6aebd19febfadcbcb2d7c9f70d6ca3631c1618d63c60366dbe7c15
-DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
-DIST libc-0.2.171.crate 785246 BLAKE2B 2bfbb3146d63444632b924520bc3d8af4adc6bbc38f4a7c6e8a003365430372ac1c05246684b54f0a98c36c8a7f02c325e1a6dd7fec44adeff41767e427ea77f SHA512 aca8b5f769dff18d9b3d73cae2c496f64a9828edfb0b57412da01a89158e770a5dcbb74bd83612870f9a08eb31647c1a2c92463189f16b01be8cdfc76fe0bacd
 DIST libc-0.2.172.crate 791646 BLAKE2B 3a6eb0eba1e31cf89ac792a8e667c0f68b2a0e62502710ffe77c2b06321103a30ffdc4516c0a91fd3ff44508d5304dfb04ab919bd3e723e34c66b560a20e7f86 SHA512 7bfe400ee65c1b7e540fd19a9b7eb1429a66863d5e94ee7caa83a227d19a4143316d3b401013fb7f88c8e4cdb1a40cfbd58826597c8e23799e02e29553b67e34
 DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73
 DIST memchr-2.7.5.crate 97603 BLAKE2B ee41ef722d90265064db3ffe22d52eff8f7627ac1ae9b0bad6ca9fa06c1027dca8d67e594e03b03c944dbf85930d2dbf030c5aaed369020ca1a1ba00f153d91a SHA512 2606ee16a7dc02db95dac17cebd2cac9deb2e23d7ea62972cdb19145c06eaf75631347a49c4e6ceeff89fb6e90e992f9bca0a9c955eb5130f89ba2bd865936e1
 DIST miniz_oxide-0.8.3.crate 61827 BLAKE2B ae8626de8711a8b7c2bce52d2e226a3e973ba6919ed33904883ae6287f848fcf40642afdb9ad71bba19db181fe9ea354c85cd81c1dad889588d5df8fcc99b9f2 SHA512 b79cd67a477851b18ed87c887bfd9f40f97059eb3fedbdc3a52eac66b5fcea42cae833eea39fd62becdb057b337f91d27f2087a407d02770feeaea934c0b1e1c
 DIST miniz_oxide-0.8.9.crate 67132 BLAKE2B 1a11c5aeef43ac93635942e0c4f17538150f8307fb280b0d66436e4b6697638f0b1bafbdebb377a5dba14a75f213024201e325747419623e5f7d57060bba4445 SHA512 3f6fd786c5fa5b4abafaf21244dd4830d26688d5b6975522bda595206517f354d92d13fb95235667cbc39c0275371c737164d9c7a58e32e09da86eed2f239242
-DIST mitmproxy_linux-0.12.6.tar.gz 1287279 BLAKE2B d310d93e1c24e032a3932a666d0f3b6cc18e913792a975c6d9f396e62b85cae1b3ea7254c23cf96812e59dccfe6b99088ee95648cc0505cd5b480dd154b64fb6 SHA512 1f951e227edccb628a6a2536d6c2948692551af278dacf8b7402e766a1a7bcd5611d9fa2aa94dd8c13a1f140e1467a488939b82ea66ac972896b76c0473dbde3
 DIST mitmproxy_linux-0.12.7.tar.gz 1287189 BLAKE2B 3196c39e5d860a8aa3684c116579eeb11cd48ad14340fe32a08ea74fdea93e9153fbb233b93957237be083b53e984744c7780ebe8f3105fd0714fce135e407bd SHA512 f71808435ff3c37a8aa20e1d889d8ebbdb16e8c0bad5575f88d10186cd70fad0fb0277ddf7a27f70188cdf6a8525b8e0bd4d155ce630705aa6798c3f45b932a9
-DIST mitmproxy_rs-0.12.6-crates.tar.xz 49026512 BLAKE2B a342d004dca4570056525b206dc72576d060fa4a31d50abf2660540578da28a65b8a4d235a2802c8ae516a94ee5d5f6d3dcb58903e7da88313b851331e60a398 SHA512 07c33a9ee563919edb03e60a410522901f4eddaa28712cab1605c8ed7accf74f9347d89ef2462c450fd275b45b4e8c4d27c22157a85a80f96f37b7ca50a2e938
 DIST mitmproxy_rs-0.12.7-crates.tar.xz 49031076 BLAKE2B 7ce59d1b03fb67543832d0482909568502778a952d91f7d233005542368c9bf4cfc9d6666e9b41fa148d45c4153a9056cdd27f2cbcb56154a787c8780a48eed1 SHA512 252fb9941b74ad02b53c66ad2f9527df98c0ccd205e6d5913869b5a1405bc3ff05994dce31ed2bc0e8a5ec0b2e33efe85f7fdd9634c3511244b1cdb870f6ec94
 DIST object-0.37.1.crate 338929 BLAKE2B b2bc4f27968ec308b8d569e71de449adf5cf545aa2054d65cda03cfa44e3d3b108bd39e1288e1c983d08656b4c50a384c2101f2bf049b7d67d42e60c95160cba SHA512 ca9c7857185b6fb7f81a594d73df10cace40b47d7475f8d4ac0c6be9c3f327dc98a86fd4fc8f70da762eb978a0427ecff1e3c181bd3efeefbf3d2f51615b9745
-DIST r-efi-4.5.0.crate 63921 BLAKE2B ea8c1c5f9d7ce0a3dc5b541dbd276895872143b6337aa2269914a89a4da1f9da278fa4a153cc3d30fd1a86f2b61abd2431ce0d607d38540bdfa642e3e09b03c3 SHA512 5a66e9425bcd4babed85e7a79d09fa5beee65a4d2cacb3916fcc12518d6b927f557630415bdc446ff21c31cd4c78fe7cea6031b5557ee8c98d6dbae6a5e0198d
 DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158
 DIST r-efi-5.3.0.crate 64532 BLAKE2B 54bc882e333f7ba52b6dd6ac92b8a282581c10b47de91a4c4b71b15a27b2df885ab52ae2fcc8a546367ee1ce98300dcaec3c33cbd7393b134383528540bb7d14 SHA512 e748db9729dbddf215d5c37630fa272197dd2921297800209ca7bfcd6ffd8530b598b944d95547ad9723655cafdfb69b1c1fade9ba5f8c2ac5c55ec38258fdad
-DIST r-efi-alloc-1.0.0.crate 13351 BLAKE2B aae3d9bf923e3757871caeac7b13c17917ad595ff7d281ba7a4dcae822aaa85c5aef8de208121fdbcdc1d80174e041d794c515a0a8866b37848ae173957ef29c SHA512 4c37970eb78ce19d85701f7b6e24b066b3dfa6dda6823701d1312561b48f4aab5aa2be6be3277ac753a8a046bfd04c8d90010415687426cd4de4c6d5db474b13
 DIST r-efi-alloc-2.0.0.crate 14497 BLAKE2B 690c550d414e8f2cb86c6c3db705f5fabb2481bdd7d5ac9dca7516478e5b69f6d12965f53f6ee7af1906ed2bfd95aca9e83164ca8b8b0808d83616308ef0fd0e SHA512 beddf55a47dab79ac1c5158cdede0195d59305ac7745622c37f74a4138910fcac5b4049b45c5bfb972dde1c0fdd4f4965e3bcfa7cb444c5a86db280925c1649d
 DIST r-efi-alloc-2.1.0.crate 14475 BLAKE2B b316af45913ed4fe3b3efd01f800aaafcad9d1d0d05a8ed3685a85246f458cf65f4da50229322ce059a9eea0d341af41b765ef321be31161ec07c3768d6f88ed SHA512 9213827d81f2809341b9ec101bb6d94dc5d4a0e8b87252a34bf21dc200dcc13d7b20013c7ec87ad0e9c24384f4b4f31b37f4bc2126bb8479db7bb1118ab7acef
 DIST rustc-demangle-0.1.25.crate 29590 BLAKE2B affc3a85edfae0bd4a3a0165a9fa8d0d8c5be7958b70f98769d24eb6fe44c33bb05c33fc312bf35c887ce927c2f8feeb287b50f4f230d8dd74109be8faa34999 SHA512 d130a885b62470f4429dd5a9b11cb81e045c42e093125c2fed1eb79d07dd0990cd38e049a314babd1fd8b8ffab0bbcb0453fc7aae3e3adb7006e943d416162a8
 DIST rustc-literal-escaper-0.0.2.crate 11073 BLAKE2B fe7423ab43605fabf26788a98629a1dc37da5ded1339ed13d63e00f7e4d6167284e82da42c439db3d09d580e8fd1a5c12b8192bb9a676de09f89f9ccd9912525 SHA512 01b3a3b918133bedd6ce02a182a1eeb1459d33cb538808951eb64dcdc3ced542768cfe76a226b825f827d8506d9bb967c562df5697c9b48f471494710c676db3
 DIST unicode-width-0.1.14.crate 271615 BLAKE2B dd2e1504caedecb5d37c397ba05446d3d762b8b6833a8032ebbc213e324d53d89db5e96ed2f7223096e5754d800b39a54105906effc88d9437d7acb9e7beb81e SHA512 3c58a18776aa82cc13c761789a47901616cd98a30356f93d7eb05ae457314209d0a66213e2bbfa5eb8b59be6beacf62438234ce8daafa31b128dbf7d5d6fcadb
 DIST unicode-width-0.2.1.crate 279344 BLAKE2B d4128c165016a76196e0eda9cc4a0edccf326cc3c7ecf0e1b43848446e758c703e9a9e843dbd256a523e1654ae3faaf6c172e21b0b6324757610fc5333c56e8e SHA512 705ce2ca2964761d9fcf014ef5ad9af2973b5f7c0c3561fece10378d817135afc5f24b9ac16290b98edecab77a01ddee9ec8dca5bd2b4eaec1f3124065ab8708
-DIST unwinding-0.2.5.crate 28025 BLAKE2B 48ec97462daa9d42f6f257daa4dbf72dfc40c58a04f154264892d4918cbde01faf50bff08c8400789b4147388c1fb3a958a1f323b09f0dc20cc3fe60c9a5c63b SHA512 67608b01fa7adde11510520d5136239732e0361e34c004bf89e3f8e29587adbbaed2e333d9c799169e97dcd2cbbc644189c9f3c294fa905d5eaf904a5bea7dd5
 DIST unwinding-0.2.6.crate 28127 BLAKE2B 6c23b3d6b950f7d6ce748d35ffc957e71781de11b8bbf86869497b252af5ee1d22aa8c03aaa223ac8b53823d23abc105e1ce4c7d82550d817ae72336ca024efc SHA512 a9916e973951dae6584d0b9d47bf4903dbde8f59330e751e8a53f50bafbf4ab184c02a97809c864b4c17a2aecc4d55343c53cc1575e2cd3df82c3f2fc9c842bb
 DIST unwinding-0.2.7.crate 28125 BLAKE2B 5feb8262e1e7297311678525c7ba275fa2892d9cc05a2283fcfce424eb1d565be929e306d9c4ec9234771316f943578e2621abb4489b0ff40c85588f3c448f24 SHA512 a9d9988295fe5ecd0a06967714a41e3488aac4699748660baa91fb05cd34b34871ad37d38533d3e0baa64fb1ab9ba592edcf5fcb4441994c76de18b125c6e57e
 DIST wasi-0.11.1+wasi-snapshot-preview1.crate 28477 BLAKE2B bcc773ba28cbe8d820e9e9fbb275fb4451bc7f39b3bd88bcd93850bf2bdb5300489bd8eca27489ccc5f6269b00f4e1b505ae3a33a35d708cd5a414ad307be149 SHA512 29e3c903763db2580a15f50db487c5e1d4e90763e48d90a5b3f681e468a24f9df1a01773bd1ffa0e3cd293dd8cb4d6fbabfaa63c0e13889c811a56f4554ada49

diff --git a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild b/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
deleted file mode 100644
index 129c9d149266..000000000000
--- a/net-proxy/mitmproxy-linux/mitmproxy-linux-0.12.6.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Extra crates required at runtime via rustc-build-sysroot crate.
-# Note: versions are locked in /usr/lib/rust/*/lib/rustlib/src/rust/library/Cargo.lock.
-CRATES="
-	compiler_builtins@0.1.146
-	compiler_builtins@0.1.152
-	dlmalloc@0.2.7
-	fortanix-sgx-abi@0.5.0
-	getopts@0.2.21
-	hermit-abi@0.4.0
-	hermit-abi@0.5.0
-	libc@0.2.169
-	libc@0.2.171
-	miniz_oxide@0.8.3
-	r-efi-alloc@1.0.0
-	r-efi@4.5.0
-	unwinding@0.2.5
-	unicode-width@0.1.14
-"
-
-# Implied by crates above.
-RUST_MIN_VER=1.86.0
-RUST_MAX_VER=1.87.0
-
-declare -A GIT_CRATES=(
-	[boringtun]='https://github.com/cloudflare/boringtun;e3252d9c4f4c8fc628995330f45369effd4660a1;boringtun-%commit%/boringtun'
-)
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{12..14} )
-RUST_REQ_USE="llvm_targets_BPF(+),rust-src"
-
-inherit cargo distutils-r1 pypi
-
-DESCRIPTION="mitmproxy's Rust bits"
-HOMEPAGE="
-	https://github.com/mitmproxy/mitmproxy_rs/
-	https://pypi.org/project/mitmproxy-rs/
-"
-SRC_URI+="
-	${CARGO_CRATE_URIS}
-	https://github.com/gentoo-crate-dist/mitmproxy_rs/releases/download/v${PV}/mitmproxy_rs-${PV}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC
-	LGPL-3+ MIT Unicode-3.0 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-
-BDEPEND="
-	dev-util/bpf-linker
-"
-
-src_prepare() {
-	local PATCHES=(
-		# aya-ebpf overwrites libc functions with incompatible
-		# implementations that break everything, and therefore
-		# can only be used for bpf* targets
-		# https://github.com/aya-rs/aya/issues/1254
-		"${FILESDIR}/${PN}-0.11.5-no-host-aya-ebpf.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	# replace upstream crate substitution with our crate substitution, sigh
-	local bor_dep=$(grep ^boringtun "${ECARGO_HOME}"/config.toml || die)
-	sed -i -e "/boringtun/s;^.*$;${bor_dep};" Cargo.toml || die
-
-	# this only implicitly builds mitmproxy-linux-ebpf, and is broken
-	# https://github.com/mitmproxy/mitmproxy/issues/7663
-	rm mitmproxy-linux/build.rs || die
-}
-
-src_configure() {
-	# first, we must build mitmproxy-linux-ebpf for the bpf target
-	# bpf-linker requires BPF target that is only available in nightly
-	local -x RUSTC_BOOTSTRAP=1
-	# no clue why this needs to be explicit
-	local -x RUSTFLAGS="-C linker=bpf-linker"
-
-	local cmd=(
-		"${CARGO}" build
-		-Z build-std=core
-		--bins
-		--release
-		--target=bpfel-unknown-none
-	)
-
-	pushd mitmproxy-linux-ebpf >/dev/null || die
-	echo "${cmd[*]}" >&2
-	"${cmd[@]}" || die "${cmd[*]} failed"
-	popd >/dev/null || die
-
-	export OUT_DIR="${S}/target/bpfel-unknown-none/release"
-}
-
-python_test() {
-	cargo_src_test --manifest-path mitmproxy-linux/Cargo.toml
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-10-05  2:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-17 11:38 [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy-linux/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-10-05  2:19 Michał Górny
2025-10-04 20:19 Sam James
2025-09-14 14:37 Michał Górny
2025-09-11 13:09 Michał Górny
2025-06-28  6:55 Michał Górny
2025-06-01  2:36 Michał Górny
2025-05-31  5:49 Michał Górny
2025-05-31  5:17 Michał Górny
2025-05-31  5:17 Michał Górny
2025-05-17 11:38 Sam James
2025-04-30  5:36 Michał Górny
2025-04-21 11:06 Michał Górny
2025-04-20 18:43 Michał Górny
2025-04-20 11:50 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox