From de8e13efa593e7af54d0a37cbfa8cc18649db173 Mon Sep 17 00:00:00 2001 From: Daniel Kucera Date: Thu, 25 Apr 2024 08:47:29 +0200 Subject: [PATCH] tinyproxy: fix upstream config generation Signed-off-by: Daniel Kucera --- net/tinyproxy/Makefile | 2 +- net/tinyproxy/files/tinyproxy.init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tinyproxy/Makefile b/net/tinyproxy/Makefile index a6905389e2..75cb0fce6e 100644 --- a/net/tinyproxy/Makefile +++ b/net/tinyproxy/Makefile @@ -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) diff --git a/net/tinyproxy/files/tinyproxy.init b/net/tinyproxy/files/tinyproxy.init index 4afdae6aa2..bf71dcbd9f 100644 --- a/net/tinyproxy/files/tinyproxy.init +++ b/net/tinyproxy/files/tinyproxy.init @@ -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() { -- 2.30.2