privoxy: adjust version for apk
authorxiao bo <peterwillcn@gmail.com>
Wed, 13 Nov 2024 04:39:32 +0000 (12:39 +0800)
committerRobert Marko <robimarko@gmail.com>
Wed, 13 Nov 2024 17:09:56 +0000 (18:09 +0100)
Signed-off-by: xiao bo <peterwillcn@gmail.com>
net/privoxy/Makefile

index 485280964bac5689131fc5cea54dcf147ffad64d..cab2e47a72a1250a6f9f46182270a5b5cf836c56 100644 (file)
@@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=privoxy
 PKG_VERSION:=3.0.34
+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:=e6ccbca1656f4e616b4657f8514e33a70f6697e9d7294356577839322a3c5d2c
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-stable
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
@@ -71,9 +72,9 @@ define Package/privoxy/config
        help
                Privoxy is a web proxy with advanced filtering capabilities for protecting
                privacy, modifying web page content, managing cookies, controlling access,
-               and removing ads, banners, pop-ups and other obnoxious Internet junk. 
+               and removing ads, banners, pop-ups and other obnoxious Internet junk.
                Privoxy has a very flexible configuration and can be customized to suit
-               individual needs and tastes. 
+               individual needs and tastes.
                Privoxy has application for both stand-alone systems and multi-user networks.
                Run as : $(USERID)
                Version: $(PKG_VERSION)-$(PKG_RELEASE)
@@ -123,7 +124,7 @@ define Package/privoxy/preinst
 
 # stop service if PKG_UPGRADE
 [ "$${PKG_UPGRADE}" = "1" ] && /etc/init.d/privoxy stop >/dev/null 2>&1
-       
+
 exit 0 # suppress errors from stop command
 endef