privoxy: update to 3.0.33 and fix the init script 18293/head
authorHe Xian <hexian000@outlook.com>
Wed, 13 Apr 2022 09:32:48 +0000 (17:32 +0800)
committerHe Xian <hexian000@outlook.com>
Sat, 14 May 2022 08:02:07 +0000 (16:02 +0800)
1. Fixed init script would kill itself when trying to stop a service.
2. Upgrade privoxy release to 3.0.33
3. Set PKG_RELEASE to AUTORELEASE

Signed-off-by: He Xian <hexian000@outlook.com>
net/privoxy/Makefile
net/privoxy/files/privoxy.init

index c33efd9c6b611b5fde6b73a272943d1c57e71bd2..1f8e72a0901b2eb1aaf3f2a29d46ad7e0a7fdb62 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=privoxy
-PKG_VERSION:=3.0.28
-PKG_RELEASE:=1
+PKG_VERSION:=3.0.33
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=privoxy-$(PKG_VERSION)-stable-src.tar.gz
 PKG_SOURCE_URL:=@SF/ijbswa
-PKG_HASH:=b5d78cc036aaadb3b7cf860e9d598d7332af468926a26e2d56167f1cb6f2824a
+PKG_HASH:=04b104e70dac61561b9dd110684b250fafc8c13dbe437a60fae18ddd9a881fae
 PKG_BUILD_DIR:=$(BUILD_DIR)/privoxy-$(PKG_VERSION)-stable
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
index d9c92fb7dab5805287f70f02b338c879f3870af6..ae493c2bd6326d57773b0ef8b1dfff3549910910 100644 (file)
@@ -169,7 +169,7 @@ stop() {
        local _PID=$(cat $PIDFILE 2>/dev/null)
        kill -15 $_PID 2>/dev/null
        sleep 1                 # give time to shutdown
-       local _tmp=$(pgrep privoxy | tr "\n" " ")
+       local _tmp=$(pgrep /usr/sbin/privoxy | tr "\n" " ")
        if [ -z "$_tmp" ]; then
                logger -p daemon.notice -t "privoxy[$_PID]" "Shutdown successfully"
        else