73 lines
2.1 KiB
Text
73 lines
2.1 KiB
Text
$NetBSD: patch-ac,v 1.2 2006/09/19 08:31:18 rillig Exp $
|
|
|
|
--- doc/tinyproxy.conf.orig 2003-06-23 23:14:32.000000000 +0200
|
|
+++ doc/tinyproxy.conf 2006-09-19 10:15:24.000000000 +0200
|
|
@@ -6,8 +6,8 @@
|
|
# Name of the user the tinyproxy daemon should switch to after the port
|
|
# has been bound.
|
|
#
|
|
-User nobody
|
|
-Group nogroup
|
|
+User @TINYPROXY_USER@
|
|
+Group @TINYPROXY_GROUP@
|
|
|
|
#
|
|
# Port to listen on.
|
|
@@ -40,31 +40,31 @@ Timeout 600
|
|
# /usr/share/tinyproxy
|
|
# /etc/tinyproxy
|
|
#
|
|
-# ErrorFile 404 "/usr/share/tinyproxy/404.html"
|
|
-# ErrorFile 400 "/usr/share/tinyproxy/400.html"
|
|
-# ErrorFile 503 "/usr/share/tinyproxy/503.html"
|
|
-# ErrorFile 403 "/usr/share/tinyproxy/403.html"
|
|
-# ErrorFile 408 "/usr/share/tinyproxy/408.html"
|
|
+# ErrorFile 404 "@DATADIR@/404.html"
|
|
+# ErrorFile 400 "@DATADIR@/400.html"
|
|
+# ErrorFile 503 "@DATADIR@/503.html"
|
|
+# ErrorFile 403 "@DATADIR@/403.html"
|
|
+# ErrorFile 408 "@DATADIR@/408.html"
|
|
|
|
#
|
|
# DefaultErrorFile: The HTML file that gets sent if there is no
|
|
# HTML file defined with an ErrorFile keyword for the HTTP error
|
|
# that has occured.
|
|
#
|
|
-DefaultErrorFile "/usr/share/tinyproxy/default.html"
|
|
+DefaultErrorFile "@DATADIR@/default.html"
|
|
|
|
#
|
|
# StatFile: The HTML file that gets sent when a request is made
|
|
# for the stathost. If this file doesn't exist a basic page is
|
|
# hardcoded in tinyproxy.
|
|
#
|
|
-StatFile "/usr/share/tinyproxy/stats.html"
|
|
+StatFile "@DATADIR@/stats.html"
|
|
|
|
#
|
|
# Where to log the information. Either LogFile or Syslog should be set,
|
|
# but not both.
|
|
#
|
|
-Logfile "/var/log/tinyproxy.log"
|
|
+Logfile "@VARBASE@/log/tinyproxy.log"
|
|
# Syslog On
|
|
|
|
#
|
|
@@ -85,7 +85,7 @@ LogLevel Info
|
|
# PidFile: Write the PID of the main tinyproxy thread to this file so it
|
|
# can be used for signalling purposes.
|
|
#
|
|
-PidFile "/var/run/tinyproxy.pid"
|
|
+PidFile "@VARBASE@/run/tinyproxy.pid"
|
|
|
|
#
|
|
# Include the X-Tinyproxy header, which has the client's IP address when
|
|
@@ -180,7 +180,7 @@ ViaProxyName "tinyproxy"
|
|
#
|
|
# The location of the filter file.
|
|
#
|
|
-#Filter "/etc/tinyproxy/filter"
|
|
+#Filter "@PKG_SYSCONFDIR@/filter"
|
|
|
|
#
|
|
# Filter based on URLs rather than domains.
|