privoxy: update to 4.1.0
authorAlexandru Ardelean <redacted>
Wed, 22 Apr 2026 09:12:33 +0000 (12:12 +0300)
committerAlexandru Ardelean <redacted>
Thu, 14 May 2026 12:39:33 +0000 (15:39 +0300)
Changes since 4.0.0:
- Add Zstandard decompression support for compressed web content
- Improve WolfSSL compatibility and SSL host name validation
- Improve IPv6 address support and Connection header handling
- Drop legacy pcre1 support; PCRE2 is now required
- Fix multiple memory leaks and socket leaks

Signed-off-by: Alexandru Ardelean <redacted>
net/privoxy/Makefile
net/privoxy/test.sh [new file with mode: 0644]

index ca69beb0a4ddd88ae7e82d2919b1ee447496198e..2dc118a266f71aca1bb1a719ad5a2d41936e1330 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=privoxy
-PKG_VERSION:=4.0.0
+PKG_VERSION:=4.1.0
 PKG_REAL_VERSION:=$(PKG_VERSION)-stable
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-stable-src.tar.gz
 PKG_SOURCE_URL:=@SF/ijbswa
-PKG_HASH:=c08e2ba0049307017bf9d8a63dd2a0dfb96aa0cdeb34ae007776e63eba62a26f
+PKG_HASH:=23e4686e5848c74cb680c09c2811f0357739ecfe641f9c4072ee42399092c97b
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
diff --git a/net/privoxy/test.sh b/net/privoxy/test.sh
new file mode 100644 (file)
index 0000000..1a08394
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+[ "$1" = "privoxy" ] || exit 0
+
+# Verify key filter and action files are installed
+[ -f /etc/privoxy/default.filter ]
+[ -f /etc/privoxy/match-all.action ]
+[ -x /etc/init.d/privoxy ]
+
+# Write a minimal config and verify privoxy starts and listens
+cat > /tmp/privoxy-test.conf << 'EOF'
+listen-address 127.0.0.1:18118
+logdir /tmp
+logfile privoxy-test.log
+confdir /etc/privoxy
+filterfile default.filter
+actionsfile match-all.action
+EOF
+
+timeout 3 privoxy --no-daemon /tmp/privoxy-test.conf &
+PRIVOXY_PID=$!
+sleep 1
+if kill -0 "$PRIVOXY_PID" 2>/dev/null; then
+       echo "privoxy is running"
+       kill "$PRIVOXY_PID"
+       wait "$PRIVOXY_PID" 2>/dev/null || true
+else
+       echo "privoxy did not start"
+       false
+fi
git clone https://git.99rst.org/PROJECT