ports/119955: www/tinyproxy - paths in tinyproxy.conf-dist are wrong

Hark cab902 at yahoo.com
Thu Jan 24 23:00:04 UTC 2008


>Number:         119955
>Category:       ports
>Synopsis:       www/tinyproxy - paths in tinyproxy.conf-dist are wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 23:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Domagoj Hranjec
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD spitfire.dionet.hr 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
The paths in tinyproxy.conf-dist are /usr/share/tinyproxy/ instead of /usr/local/share/tinyproxy. This has as a consequence that DefaultErrorFile and StatFile doesn't work out-of-the-box.
	
>How-To-Repeat:
	
Install tinyproxy.
>Fix:
Patch tinyproxy.conf-dist:
--- tinyproxy.conf-dist 2008-01-09 21:26:14.000000000 +0100
+++ tinyproxy.conf      2008-01-24 22:08:28.000000000 +0100
@@ -47,25 +47,25 @@
 #   /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 "/usr/local/share/tinyproxy/404.html"
+#ErrorFile 400 "/usr/local/share/tinyproxy/400.html"
+#ErrorFile 503 "/usr/local/share/tinyproxy/503.html"
+#ErrorFile 403 "/usr/local/share/tinyproxy/403.html"
+#ErrorFile 408 "/usr/local/share/tinyproxy/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 "/usr/local/share/tinyproxy/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 "/usr/local/share/tinyproxy/stats.html"

 #
 # Logfile: Allows you to specify the location where information should
@@ -202,7 +202,7 @@
 #
 # Filter: This allows you to specify the location of the filter file.
 #
-#Filter "/etc/tinyproxy/filter"
+#Filter "/usr/local/etc/tinyproxy/filter"

 #
 # FilterURLs: Filter based on URLs rather than domains.

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list