fix: Use mitmproxy 9.0.1 (no Rust dependency)
mitmproxy 10.x requires mitmproxy-rs which needs Rust compiler. Version 9.0.1 is pure Python and works on OpenWrt. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f8c20a6c87
commit
5f721d6d2c
@ -58,7 +58,7 @@ return baseclass.extend({
|
||||
section: 'security',
|
||||
path: 'admin/secubox/security/mitmproxy/dashboard',
|
||||
service: 'mitmproxy',
|
||||
version: '10.4.2'
|
||||
version: '9.0.1'
|
||||
},
|
||||
|
||||
// Network Apps
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=secubox-app-mitmproxy
|
||||
PKG_VERSION:=10.4.2
|
||||
PKG_VERSION:=9.0.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
||||
@ -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==10.4.2
|
||||
pip3 install --no-cache-dir mitmproxy==9.0.1
|
||||
fi
|
||||
|
||||
# Generate CA certificate if not exists
|
||||
|
||||
Loading…
Reference in New Issue
Block a user