pkgsrc/www/swiftsurf/patches/patch-aa
jtb 0c2432003f Initial import of swiftsurf.
SwiftSurf is a web proxy that can handle http (1.0 and 1.1) and
https. Moreover, it allows page filtering and authentication through a
password.

SwiftSurf is written in Ocaml.
2003-06-29 23:15:07 +00:00

15 lines
551 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/06/29 23:15:08 jtb Exp $
--- src/conf.ml.orig
+++ src/conf.ml
@@ -39,8 +39,8 @@
(let home_file = Filename.concat (Sys.getenv "HOME") ".swiftsurf" in
if Sys.file_exists home_file
then home_file
- else if Sys.file_exists "/etc/swiftsurf.conf"
- then "/etc/swiftsurf.conf"
+ else if Sys.file_exists "@PKG_SYSCONFDIR@/swiftsurf.conf"
+ then "@PKG_SYSCONFDIR@/swiftsurf.conf"
else if Sys.file_exists "swiftsurf.conf"
then "swiftsurf.conf"
else "/dev/null") in