$OpenBSD: patch-clamav-unofficial-sigs_conf,v 1.9 2015/05/14 16:38:10 sthen Exp $
--- clamav-unofficial-sigs.conf.orig	Wed May 13 11:47:32 2015
+++ clamav-unofficial-sigs.conf	Thu May 14 17:36:08 2015
@@ -37,14 +37,14 @@
 # cmp, diff, gzip, ls, cp, mv, test, gpg, host, sleep, cksum, rsync, curl, perl,
 # and optionally socat.  It's been reported that on Sun systems, the GNU utilities
 # should be used rather than the default Sun OS versions of these utilities.
+PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
+export PATH
 
 # Set the appropriate ClamD user and group accounts for your system.
 # If you do not want the script to set user and group permissions on
 # files and directories, comment the next two variables.
-clam_user="clam"
-#clam_user="clamav"
-clam_group="clam"
-#clam_group="clamav"
+clam_user="_clamav"
+clam_group="_clamav"
 
 # If you do not want the script to change the file mode of all signature
 # database files in the ClamAV working directory to 0644 (-rw-r--r--):
@@ -59,16 +59,15 @@ setmode="yes"
 
 # Set path to ClamAV database files location.  If unsure, check
 # your clamd.conf file for the "DatabaseDirectory" path setting.
-clam_dbs="/var/lib/clamav"
+clam_dbs="/var/db/clamav"
 
 # Set path to clamd.pid file (see clamd.conf for path location).
-clamd_pid="/var/run/clamav/clamd.pid"
-#clamd_pid="/var/run/clamd.pid"
+clamd_pid="/var/run/clamd.pid"
 
 # To enable "ham" (non-spam) directory scanning and removal of
 # signatures that trigger on ham messages, uncomment the following
 # variable and set it to the appropriate ham message directory.
-#ham_dir="/var/lib/clamav-unofficial-sigs/ham-test"
+#ham_dir="/var/db/clamav-unofficial-sigs/ham-test"
 
 # If you would like to reload the clamd databases after an update,
 # change the following variable to "yes".
@@ -127,7 +126,6 @@ ss_url="rsync.sanesecurity.net"
 ss_gpg_url="http://www.sanesecurity.net/publickey.gpg"
 
 si_url="clamav.securiteinfo.com"
-mbl_url="www.malwarepatrol.net"
 
 # ========================
 # Sanesecurity Database(s)
@@ -232,56 +230,6 @@ phishtank.ndb  #LOW Online and valid phishing urls fro
 #   http://www.example.org/sigs.ldb
 #"
 
-# ========================
-# SecuriteInfo Database(s)
-# ========================
-# Add or remove database file names between quote marks as needed.  To
-# disable any SecuriteInfo database downloads, remove the appropriate
-# lines below.  To disable all SecuriteInfo database file downloads,
-# comment all of the following lines.
-si_dbs="
-### Securiteinfo http://www.securiteinfo.com/services/clamav_unofficial_malwares_signatures.shtml
-# LOW
-honeynet.hdb  #LOW Old malwares not detected 
-securiteinfoelf.hdb #LOW Malwares ELF (Linux executables) 
-securiteinfosh.hdb #LOW Malwares SHELL (Linux) 
-securiteinfopdf.hdb #LOW Malwares PDF 
-securiteinfooffice.hdb #LOW Malwares Macros Office 
-securiteinfohtml.hdb #LOW Malwares HTML 
-securiteinfodos.hdb #LOW Malwares MS-DOS 
-securiteinfobat.hdb #LOW Malwares BAT 
-securiteinfo.hdb #LOW Malwares in the Wild
-# HIGH
-#spam_marketing.ndb #HIGH Spam Marketing
-"
-
-# Since the SecuriteInfo databases are only updated a few time each
-# month, set a time interval to do database update checks.
-si_update_hours="6"   # Default is 6 hours (4 update checks daily).
-
-# =========================
-# MalwarePatrol Database(s)
-# =========================
-# Add or remove database file names between quote marks as needed.  To
-# disable any of the MalwarePatrol database file downloads, remove the
-# appropriate database file name lines below.  To disable MalwarePatrol
-# database downloads, comment all of the following lines.
-mbl_dbs="
-### MalwarePatrol http://malwarepatrol.com.br/
-# LOW
-mbl.ndb  #LOW URLs containing of Viruses, Trojans, Worms, or Malware  
-"
-
-# Since the MalwarePatrol database file is dynamically created,
-# there is no way to test for changes prior to downloading.  For this
-# reason, you will need to set a reasonable time interval in "hours"
-# for MBL database file downloads.  As shown below, this has been
-# set to update every "6" hours, which seems appropriate (thats 4
-# file downloads per day)  Change only if you REALLY feel you must.
-# However, I would not suggest going below every 4 hour lest you risk
-# being blacklisted by the MalwarePatrol site.
-mbl_update_hours="6"   # Default is 6 hours (4 downloads daily).
-
 # Set rsync connection and data transfer timeout limits in seconds.
 # The defaults settings here are reasonable, only change if you are
 # experiencing timeout issues.
@@ -297,7 +245,7 @@ curl_max_time="90"
 # Set working directory paths (edit to meet your own needs). If these
 # directories do not exist, the script will attempt to create them.
 # Top level working directory path:
-work_dir="/var/lib/clamav-unofficial-sigs"   #Top level working directory
+work_dir="/var/db/clamav-unofficial-sigs"   #Top level working directory
 # Sub-directory names:
 ss_dir="$work_dir/ss-dbs"        # Sanesecurity sub-directory
 si_dir="$work_dir/si-dbs"        # SecuriteInfo sub-directory 
@@ -324,7 +272,7 @@ comment_silence="no"   # Default is "no" to report scr
 
 # Log update information to '$log_file_path/$log_file_name'.
 enable_logging="yes"
-log_file_path="/var/log/clamav-unofficial-sigs"
+log_file_path="/var/log"
 log_file_name="clamav-unofficial-sigs.log"
 
 # If necessary to proxy database downloads, define the rsync and/or curl
