diff options
author | rillig <rillig> | 2006-09-19 08:31:18 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-09-19 08:31:18 +0000 |
commit | db9324a35c1b7aa272bab71b5c4ba695b301fde0 (patch) | |
tree | c2a4db2a788026e4b2e22350c361ccac1f472cf7 /www/tinyproxy/patches | |
parent | 07725c0c577f0d561bda0d3cc00ea856fda74675 (diff) | |
download | pkgsrc-db9324a35c1b7aa272bab71b5c4ba695b301fde0.tar.gz |
Fixed the hard-coded paths in the configuration file. Populated
BUILD_DEFS. Bumped PKGREVISION.
Diffstat (limited to 'www/tinyproxy/patches')
-rw-r--r-- | www/tinyproxy/patches/patch-ac | 57 |
1 files changed, 53 insertions, 4 deletions
diff --git a/www/tinyproxy/patches/patch-ac b/www/tinyproxy/patches/patch-ac index 23c110c85cf..36cc666476d 100644 --- a/www/tinyproxy/patches/patch-ac +++ b/www/tinyproxy/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.1.1.1 2003/03/07 23:46:01 salo Exp $ +$NetBSD: patch-ac,v 1.2 2006/09/19 08:31:18 rillig Exp $ ---- doc/tinyproxy.conf.orig 2003-03-08 00:11:42.000000000 +0100 -+++ doc/tinyproxy.conf 2003-03-08 00:14:15.000000000 +0100 +--- 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. @@ -13,7 +13,56 @@ $NetBSD: patch-ac,v 1.1.1.1 2003/03/07 23:46:01 salo Exp $ # # Port to listen on. -@@ -120,7 +120,7 @@ +@@ -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. # |