mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
tinyproxy: update to 1.10.0
Added license information.
Added PKG_BUILD_PARALLEL for faster compilation.
Refreshed patches.
Updated URLs.
Ran init script through shellcheck.
Fixes: CVE-2017-11747, CVE-2012-3505
Fixes: #13793
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 274506803a)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added fixed CVEs and Github Issue]
This commit is contained in:
committed by
Josef Schlehofer
parent
b07f752e79
commit
39ce334617
@@ -1,13 +1,20 @@
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -326,8 +326,8 @@ static void initialize_config_defaults (
|
||||
conf->errorpages = NULL;
|
||||
conf->stathost = safestrdup (TINYPROXY_STATHOST);
|
||||
conf->idletimeout = MAX_IDLE_TIME;
|
||||
- conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log");
|
||||
- conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy/tinyproxy.pid");
|
||||
+ conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log");
|
||||
+ conf->pidpath = safestrdup (LOCALSTATEDIR "/tinyproxy.pid");
|
||||
}
|
||||
--- a/etc/tinyproxy.conf.in
|
||||
+++ b/etc/tinyproxy.conf.in
|
||||
@@ -93,7 +93,7 @@ StatFile "@pkgdatadir@/stats.html"
|
||||
# exclusive. If neither Syslog nor LogFile are specified, output goes
|
||||
# to stdout.
|
||||
#
|
||||
-#LogFile "@localstatedir@/log/tinyproxy/tinyproxy.log"
|
||||
+LogFile "@localstatedir@/log/tinyproxy.log"
|
||||
|
||||
/**
|
||||
#
|
||||
# Syslog: Tell tinyproxy to use syslog instead of a logfile. This
|
||||
@@ -124,7 +124,7 @@ LogLevel Info
|
||||
# can be used for signalling purposes.
|
||||
# If not specified, no pidfile will be written.
|
||||
#
|
||||
-#PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid"
|
||||
+PidFile "@localstatedir@/tinyproxy.pid"
|
||||
|
||||
#
|
||||
# XTinyproxy: Tell Tinyproxy to include the X-Tinyproxy header, which
|
||||
|
||||
Reference in New Issue
Block a user