summaryrefslogtreecommitdiff
path: root/security/samba-vscan/files/patch-vscan-fsav.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/samba-vscan/files/patch-vscan-fsav.h')
-rw-r--r--security/samba-vscan/files/patch-vscan-fsav.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/samba-vscan/files/patch-vscan-fsav.h b/security/samba-vscan/files/patch-vscan-fsav.h
new file mode 100644
index 000000000000..f5bb6adcfa02
--- /dev/null
+++ b/security/samba-vscan/files/patch-vscan-fsav.h
@@ -0,0 +1,28 @@
+--- f-secure/vscan-fsav.h.old Fri Aug 13 13:49:40 2004
++++ f-secure/vscan-fsav.h Fri Aug 13 13:51:15 2004
+@@ -37,7 +37,7 @@
+
+ /* default location of samba-style configuration file (needs Samba >= 2.2.4 or Samba 3.0 */
+
+-#define PARAMCONF "/etc/samba/vscan-fsav.conf"
++#define PARAMCONF "/usr/local/etc/samba-vscan/vscan-fsav.conf"
+ #define VSCAN_MODULE_STR "vscan-fsav"
+
+
+@@ -114,13 +114,13 @@
+ #define VSCAN_FSAV_CONNECT_ID 0
+
+ /* fsav configuration file */
+-#define VSCAN_FSAV_CONFIG_FILE "/etc/fsav.conf"
++#define VSCAN_FSAV_CONFIG_FILE "/usr/local/etc/fsav.conf"
+
+ /* location of fsavd binary */
+-#define VSCAN_FSAV_BINARY "/opt/f-secure/fsav/bin/fsavd"
++#define VSCAN_FSAV_BINARY "/usr/local/bin/fsavd"
+
+ /* path to FSAV databases */
+-#define VSCAN_FSAV_DB_DIR "/var/opt/f-secure/fsav/databases"
++#define VSCAN_FSAV_DB_DIR "/var/db/fsav/databases"
+
+ /* fsav socket name */
+ #define VSCAN_FSAV_SOCKET "/tmp/.fsav-0"