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. Fix: Patch tinyproxy.conf-dist: # # 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.--cVy8BrpGkFi2K57WAAo1WqSuLZKYn2RSTqtgPqE6FFBNvSxd Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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" How-To-Repeat: Install tinyproxy.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
wxs 2008-02-01 13:48:34 UTC FreeBSD ports repository Modified files: www/tinyproxy Makefile Log: Fix paths in the configuration file. PR: ports/119955 Submitted by: Hark <cab902@yahoo.com> Approved by: garga (mentor) Revision Changes Path 1.24 +3 -1 ports/www/tinyproxy/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Using REINPLACE_CMD in the Makefile to do the substitution.