fix: Use mitmproxy 8.1.1 (pure Python, no Rust)
mitmproxy 9.x requires mitmproxy-wireguard (Rust). Version 8.1.1 is pure Python and works on OpenWrt. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5f721d6d2c
commit
c1c713d4c4
@ -10,7 +10,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=secubox-app-mitmproxy
|
PKG_NAME:=secubox-app-mitmproxy
|
||||||
PKG_VERSION:=9.0.1
|
PKG_VERSION:=8.1.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
||||||
@ -90,7 +90,7 @@ define Package/secubox-app-mitmproxy/postinst
|
|||||||
# Install mitmproxy via pip if not already installed
|
# Install mitmproxy via pip if not already installed
|
||||||
if ! python3 -c "import mitmproxy" 2>/dev/null; then
|
if ! python3 -c "import mitmproxy" 2>/dev/null; then
|
||||||
echo "Installing mitmproxy via pip..."
|
echo "Installing mitmproxy via pip..."
|
||||||
pip3 install --no-cache-dir mitmproxy==9.0.1
|
pip3 install --no-cache-dir mitmproxy==8.1.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate CA certificate if not exists
|
# Generate CA certificate if not exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user