summaryrefslogtreecommitdiff
path: root/security/drweb/files
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-13 15:03:40 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-13 15:03:40 +0000
commit5b692052a3f0d33a24ffb3b36deaa4059ff47dd5 (patch)
tree3a4c6a573af4ef4840a15e52d0a7739671e881fe /security/drweb/files
parentUpdate to 0.32.4 [1] (diff)
- Update to 4.33
- Nuke files/* PR: 87247 Submitted by: Demin Alexander <support@spectrum.ru> (maintainer) Approved by: novel (mentor)
Notes
Notes: svn path=/head/; revision=145269
Diffstat (limited to 'security/drweb/files')
-rw-r--r--security/drweb/files/drweb.sh3
-rw-r--r--security/drweb/files/patch-aa145
-rw-r--r--security/drweb/files/patch-ab20
-rw-r--r--security/drweb/files/patch-ac29
4 files changed, 0 insertions, 197 deletions
diff --git a/security/drweb/files/drweb.sh b/security/drweb/files/drweb.sh
deleted file mode 100644
index e8b97f4031bf..000000000000
--- a/security/drweb/files/drweb.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /usr/local/drweb/drweb -ini=%INSTALL%/drweb32.ini $*
diff --git a/security/drweb/files/patch-aa b/security/drweb/files/patch-aa
deleted file mode 100644
index 804887486496..000000000000
--- a/security/drweb/files/patch-aa
+++ /dev/null
@@ -1,145 +0,0 @@
---- usr/local/etc/drweb/drweb32.ini.orig Thu Oct 7 17:04:33 2004
-+++ usr/local/etc/drweb/drweb32.ini Thu Oct 7 17:22:05 2004
-@@ -15,34 +15,34 @@
- ; also used by the updating module to update the search module. You
- ; may specify relational path, but it is strongly recommended to make
- ; it absolute.
--EnginePath = "/usr/local/drweb/lib/drweb32.dll"
-+EnginePath = "%INSTALL%/lib/drweb32.dll"
-
- ;VirusBase = { list of the paths (masks) to the files, usual extension is vdb }
- ; Masks for the loaded virus bases. This parameter is also used by
- ; the updating module to update antivirus' bases. A few masks can be
- ; enumerated.
--VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB"
-+VirusBase = "%INSTALL%/bases/*.vdb", "%INSTALL%/bases/*.VDB"
-
- ;UpdatePath = { path }
- ; This parameter is used by update script. This is a place for files
- ; (except drweb32.dll and bases) has been downloaded by update script.
--UpdatePath = "/var/drweb/updates"
-+UpdatePath = "%INSTALL%/updates"
-
- ;TempPath = { path }
- ; This path is used by antivirus engine for creating temporary files.
- ; /tmp would been used if TempPath is not defined.
- ; Normally, the daemon attempts to avoid using of TempPath.
--TempPath = "/var/drweb/spool"
-+TempPath = "/tmp"
-
- ;LngFileName = { path to the language resource file, usual extension - dwl }
- ; Localization file location.
--;LngFileName = "/usr/local/drweb/lib/russian.dwl"
-+;LngFileName = "%INSTALL%/lib/russian.dwl"
-
- ;Key = {path to the file, usual extension is key }
- ; Location of the file with the registration key. You may specify
- ; relational path, but it is strongly recommended to make it
- ; absolute.
--Key = "/usr/local/drweb/drweb32.key"
-+Key = "%INSTALL%/drweb32.key"
-
- ;MailAddressesList = {path to the file}
- ; This file is used only if you have bought e-mail license for
-@@ -50,7 +50,7 @@
- ; Location of file with list of licensed email addresses.
- ; Format of file: one address per line. Address can be in local
- ; or local@fqdn form. See default email.ini for examples.
--MailAddressesList = "/usr/local/etc/drweb/email.ini"
-+MailAddressesList = "%INSTALL%/email.ini"
-
- ;TrafficEqualPerHour = { Yes | No }
- ; This parameter is used only if you have bought traffic license.
-@@ -108,7 +108,7 @@
- ; Default value:
- ; "/var/run/drwebd.pid" (Attention!!! Only the programs executed
- ; with the root rights have write access to /var/run).
--PidFile = "/var/drweb/run/drwebd.pid"
-+PidFile = "%INSTALL%/run/drwebd.pid"
-
- ;BusyFile = { path to file }
- ; Daemon's busy file name: it is created by the scanning "copy" of
-@@ -117,7 +117,7 @@
- ; every "copy" of the daemon gets expanded with a point and ASCIIZ
- ; representation of PID (e.g., /var/run/drwebd.bsy.123456).
- ; Default value: absent (file does not get created)
--BusyFile = "/var/drweb/run/drwebd.bsy"
-+BusyFile = "%INSTALL%/run/drwebd.bsy"
-
- ;MaxChildren = "value"
- ; Sets maximum amount of simultaneously working child (scanning)
-@@ -220,13 +220,13 @@
- ;MoveFilesTo = { path }
- ; Path to quarantine directory.
- ; This feature is used only by Dr.Web VFS for Samba.
--MoveFilesTo = "/var/drweb/infected"
-+MoveFilesTo = "%INSTALL%/infected"
-
- ;BackupFilesTo = { path }
- ; Path to directory is used for backup infected files
- ; if curing has been requested. No backup copies will
- ; be created if parameter was not been defined.
--;BackupFilesTo = "/var/drweb/infected"
-+;BackupFilesTo = "%INSTALL%/infected"
-
-
- ; ====================
-@@ -244,7 +244,7 @@
- ;LogFileName = "syslog"
- ;SyslogFacility = "Daemon"
- ;SyslogPriority = "Info"
--LogFileName = "/var/drweb/log/drwebd.log"
-+LogFileName = "/var/log/drwebd.log"
-
- ;LimitLog = { Yes | No }
- ; Enable/Disable limit for log file size. Parameter
-@@ -435,34 +435,34 @@
- ; also used by the updating module to update the search module. You
- ; may specify relational path, but it is strongly recommended to make
- ; it absolute.
--EnginePath = "/usr/local/drweb/lib/drweb32.dll"
-+EnginePath = "%INSTALL%/lib/drweb32.dll"
-
- ;VirusBase = { list of the paths (masks) to the files, usual extension is vdb }
- ; Masks for the loaded virus bases. This parameter is also used by
- ; the updating module to update antivirus bases. A few masks can be
- ; enumerated.
--VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB"
-+VirusBase = "%INSTALL%/bases/*.vdb", "%INSTALL%/bases/*.VDB"
-
- ;UpdatePath = { path }
- ; This parameter is used by update script. This is a place for files
- ; (except drweb32.dll and bases) has been downloaded by update script.
--UpdatePath = "/var/drweb/updates"
-+UpdatePath = "%INSTALL%/updates"
-
- ;TempPath = { path }
- ; This path is used by antivirus engine for creating temporary files.
- ; /tmp would been used if TempPath is not defined.
- ; Normally, the daemon attempts to avoid using of TempPath.
--TempPath = "/var/drweb/spool"
-+TempPath = "/tmp"
-
- ;LngFileName = { path to the language resource file, usual extension - dwl }
- ; Localization file location.
--;LngFileName = "/usr/local/drweb/lib/russian.dwl"
-+;LngFileName = "%INSTALL%/lib/russian.dwl"
-
- ;Key = {path to the file, usual extension is key }
- ; Location of the file with the registration key. You may specify
- ; relational path, but it is strongly recommended to make it
- ; absolute.
--Key = "/usr/local/drweb/drweb32.key"
-+Key = "%INSTALL%/drweb32.key"
-
- ; ========================
- ; = Running settings =
-@@ -614,7 +614,7 @@
- ;LogFileName = "syslog"
- ;SyslogFacility = "Daemon"
- ;SyslogPriority = "Info"
--LogFileName = "/var/drweb/log/drweb.log"
-+LogFileName = "/var/log/drweb.log"
-
- ;LimitLog = { Yes | No }
- ; Enable/Disable limit for log file size. Parameter
diff --git a/security/drweb/files/patch-ab b/security/drweb/files/patch-ab
deleted file mode 100644
index 198e6f4f3b1c..000000000000
--- a/security/drweb/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- usr/local/drweb/update/update.pl.orig Wed Nov 24 13:39:08 2004
-+++ usr/local/drweb/update/update.pl Wed Nov 24 13:39:36 2004
-@@ -20,7 +20,7 @@
- my $ini = $ARGV[0];
- if( $ini eq '' )
- {
-- $ini = '/usr/local/etc/drweb/drweb32.ini';
-+ $ini = '%INSTALL%/drweb32.ini';
- }
-
- my $wget = `which wget 2>&1`;
-@@ -47,7 +47,7 @@
- die 'Bases path is not defined!' unless $bases;
- die 'Update path is not defined!' unless $update;
-
--$pidFile = '/var/drweb/run/drwebd.pid' if $pidFile eq '';
-+$pidFile = '%INSTALL%/run/drwebd.pid' if $pidFile eq '';
-
- my ( $kmd5, $knum ) = parseKey($keyFile);
- $wget = $wget.' -q --header="X-DrWeb-Validate: '.$kmd5.'" --header="X-DrWeb-KeyNumber: '.$knum.'" -O';
diff --git a/security/drweb/files/patch-ac b/security/drweb/files/patch-ac
deleted file mode 100644
index a03fd6c5c98c..000000000000
--- a/security/drweb/files/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
---- usr/local/etc/rc.d/00.drwebd.sh.orig Wed Nov 24 13:50:18 2004
-+++ usr/local/etc/rc.d/00.drwebd.sh Wed Nov 24 13:51:57 2004
-@@ -7,21 +7,21 @@
- case "$1" in
- stop)
- echo -n "Shutting down Dr. Web daemon..."
-- kill `cat /var/drweb/run/drwebd.pid | head -1`
-+ kill `cat %INSTALL%/run/drwebd.pid | head -1`
- ;;
- reload)
- echo -n "Reloading Dr. Web daemon..."
-- kill -HUP `cat /var/drweb/run/drwebd.pid | head -1`
-+ kill -HUP `cat %INSTALL%/run/drwebd.pid | head -1`
- ;;
- restart)
- echo -n "Restarting Dr. Web daemon..."
-- kill `cat /var/drweb/run/drwebd.pid | head -1`
-+ kill `cat %INSTALL%/run/drwebd.pid | head -1`
- sleep 1
-- /usr/local/drweb/drwebd
-+ %INSTALL%/drwebd -ini=%INSTALL%/drweb32.ini
- ;;
- start)
- echo -n "Starting Dr. Web daemon..."
-- /usr/local/drweb/drwebd
-+ %INSTALL%/drwebd -ini=%INSTALL%/drweb32.ini
- ;;
- *)
- echo $0: 'start|stop|restart|reload'