#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_havp.config.dpatch by  <mfladischer@home.fladi.at>
## adapted and cleaned up by Rene Mayrhofer
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Set PID file and SCANTEMPFILE to correct locations

@DPATCH@

--- havp-0.85/etc/havp/havp.config.in.orig	2007-03-13 11:49:25.482732863 +0100
+++ havp-0.85/etc/havp/havp.config.in	2007-03-13 11:50:33.667542226 +0100
@@ -16,7 +16,7 @@
 # You must remove this line for HAVP to start.
 # This makes sure you have (hopefully) reviewed the configuration. :)
 # Hint: You must enable some scanner! Find them in the end..
-REMOVETHISLINE deleteme
+# REMOVETHISLINE deleteme

 #
 # For reasons of security it is recommended to run a proxy program
@@ -103,7 +103,7 @@
 # These characters are used by system to create unique named files.
 #
 # Default:
-# SCANTEMPFILE /var/tmp/havp/havp-XXXXXX
+# SCANTEMPFILE /var/spool/havp/havp-XXXXXX

 #
 # Is scanner error fatal?
@@ -342,14 +342,14 @@
 ##### ClamAV Library Scanner (libclamav)
 #####

-ENABLECLAMLIB false
+ENABLECLAMLIB true

 # HAVP uses libclamav hardcoded pattern directory, which usually is
-# /usr/local/share/clamav. You only need to set CLAMDBDIR, if you are
+# /usr/share/clamav. You only need to set CLAMDBDIR, if you are
 # using non-default DatabaseDirectory setting in clamd.conf.
 #
 # Default: NONE
-# CLAMDBDIR /path/to/directory
+# CLAMDBDIR /var/lib/clamav

 # Should we block encrypted archives?
 #
