fix(mitmproxy): Use mitmproxy 9.0.1 to avoid Rust dependency

mitmproxy 10.x requires mitmproxy_rs which needs Rust compilation.
mitmproxy 9.0.1 is the last pure-Python version that works in Alpine
chroot without /proc mounted.

Bump release to r2.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-17 07:26:08 +01:00
parent 8ba910c271
commit 4c7c76743d
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-mitmproxy
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_VERSION:=0.4.0
PKG_ARCH:=all
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>

View File

@ -325,8 +325,8 @@ apk add --no-cache \
openssl \
ca-certificates
# Install mitmproxy 10.1.6 (last version without Rust/mitmproxy_rs requirement)
pip3 install --break-system-packages 'mitmproxy==10.1.6'
# Install mitmproxy 9.0.1 (last version before mitmproxy_rs Rust dependency was added in 10.x)
pip3 install --break-system-packages 'mitmproxy==9.0.1'
# Create directories
mkdir -p /data /var/log/mitmproxy /etc/mitmproxy/addons