fix: Use mitmproxy 10.4.2 for Python 3.10+ compatibility

mitmproxy 11.x requires Python 3.12 which is not available on OpenWrt.
Version 10.4.2 is the last stable release supporting Python 3.10+.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-10 15:03:21 +01:00
parent 22bdf79f66
commit 31bbcaa89c

View File

@ -10,8 +10,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-mitmproxy
PKG_VERSION:=11.1.3
PKG_RELEASE:=2
PKG_VERSION:=10.4.2
PKG_RELEASE:=1
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
PKG_LICENSE:=MIT
@ -90,7 +90,7 @@ define Package/secubox-app-mitmproxy/postinst
# Install mitmproxy via pip if not already installed
if ! python3 -c "import mitmproxy" 2>/dev/null; then
echo "Installing mitmproxy via pip..."
pip3 install --no-cache-dir mitmproxy==11.1.3
pip3 install --no-cache-dir mitmproxy==10.4.2
fi
# Generate CA certificate if not exists