net-proxy/mitmproxy-linux: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-28 08:50:12 +02:00
parent a054a3f284
commit bbb9485df7
5 changed files with 0 additions and 429 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}