summaryrefslogtreecommitdiff
path: root/www/swiftsurf/patches
diff options
context:
space:
mode:
authorjtb <jtb>2003-06-29 23:15:07 +0000
committerjtb <jtb>2003-06-29 23:15:07 +0000
commitfb866d5556451b88d8a0840a4a836169906f5ef2 (patch)
tree306f57787fa3c1ae25953245baaf87eca26e08ee /www/swiftsurf/patches
parent7eb451154d2dbf5d7b182324858bd7aa90ddec4c (diff)
downloadpkgsrc-fb866d5556451b88d8a0840a4a836169906f5ef2.tar.gz
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.
Diffstat (limited to 'www/swiftsurf/patches')
-rw-r--r--www/swiftsurf/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/swiftsurf/patches/patch-aa b/www/swiftsurf/patches/patch-aa
new file mode 100644
index 00000000000..1773af1d4db
--- /dev/null
+++ b/www/swiftsurf/patches/patch-aa
@@ -0,0 +1,15 @@
+$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