tinyproxy: fix upstream config generation
authorDaniel Kucera <daniel.kucera@gmail.com>
Thu, 25 Apr 2024 06:47:29 +0000 (08:47 +0200)
committerRosen Penev <rosenp@gmail.com>
Sun, 23 Jun 2024 23:09:28 +0000 (16:09 -0700)
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
net/tinyproxy/Makefile
net/tinyproxy/files/tinyproxy.init

index a6905389e221ff6a71d42e6f467251b25b9e4bd6..75cb0fce6eac5006c48426c4b7d5161bdb51bb58 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tinyproxy
 PKG_VERSION:=1.11.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/tinyproxy/tinyproxy/releases/download/$(PKG_VERSION)
index 4afdae6aa22cce4fe8b04e77af1e8cec2112dc13..bf71dcbd9fef1fb775f857bc53f56ab5f848a75f 100644 (file)
@@ -24,10 +24,10 @@ write_upstream() {
        [ -n "$target" ] && target=' "'"$target"'"'
 
        [ "$type" = "proxy" ] && [ -n "$via" ] && \
-               echo "upstream $via$target"
+               echo "upstream http $via$target"
 
        [ "$type" = "reject" ] && [ -n "$target" ] && \
-               echo "no upstream$target"
+               echo "upstream none$target"
 }
 
 proxy_atom() {