aboutsummaryrefslogtreecommitdiff
path: root/security/drweb
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-06-07 09:04:36 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-06-07 09:04:36 +0000
commit9e869c01de619118bd7d9a62df789d48bec03d8b (patch)
tree4e1de51004c5e5991d620783f76fcb976295632b /security/drweb
parentcfd66e6432e7098b0eecfaaa8ea04fd7b5495aa4 (diff)
downloadports-9e869c01de619118bd7d9a62df789d48bec03d8b.tar.gz
ports-9e869c01de619118bd7d9a62df789d48bec03d8b.zip
Notes
Diffstat (limited to 'security/drweb')
-rw-r--r--security/drweb/Makefile9
-rw-r--r--security/drweb/distinfo2
-rw-r--r--security/drweb/files/patch-aa28
3 files changed, 19 insertions, 20 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index 807b5d645c1f..17ce5a9264eb 100644
--- a/security/drweb/Makefile
+++ b/security/drweb/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= drweb
-PORTVERSION= 4.29.2
+PORTVERSION= 4.29.5
CATEGORIES= security
-MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/
+MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/${PORTVERSION}/
DISTFILES= ${MAIN_NAME}.tar.gz
MAINTAINER= anton@chelcom.ru
@@ -19,6 +19,7 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${MAIN_NAME}/install
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
# Needed for update.pl
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
@@ -30,7 +31,9 @@ do-install:
@cd ${DRWEB_PREFIX}; ${RM} -f drweb drwebd bases/* updates/*
${TAR} -cf - -C ${WRKSRC}/opt/drweb . | \
${TAR} -xf - -C ${DRWEB_PREFIX} \
- --exclude "*.key" --exclude "update/update.pl*"
+ --exclude "*.key" \
+ --exclude "*.static" \
+ --exclude "update/update.pl*"
${TAR} -cf - -C ${WRKSRC}/var/drweb bases | \
${TAR} -xf - -C ${DRWEB_PREFIX}
chmod 755 ${DRWEB_PREFIX}/bases ${DRWEB_PREFIX}/doc \
diff --git a/security/drweb/distinfo b/security/drweb/distinfo
index 5b8ea21e8f26..f36a83616098 100644
--- a/security/drweb/distinfo
+++ b/security/drweb/distinfo
@@ -1 +1 @@
-MD5 (drweb-4.29.2-freebsd4.tar.gz) = eb0a76a8a4c7aa9de8428f03210578a6
+MD5 (drweb-4.29.5-freebsd4.tar.gz) = 9a0c9a9822b5e8714f28677826fe3aff
diff --git a/security/drweb/files/patch-aa b/security/drweb/files/patch-aa
index ef413ff1d3fa..c1b5c25e0ab7 100644
--- a/security/drweb/files/patch-aa
+++ b/security/drweb/files/patch-aa
@@ -1,7 +1,7 @@
---- etc/drweb/drweb32.ini.orig Thu Aug 22 19:09:19 2002
-+++ etc/drweb/drweb32.ini Fri Aug 23 23:42:50 2002
+--- etc/drweb/drweb32.ini.orig Mon Jan 6 21:03:02 2003
++++ etc/drweb/drweb32.ini Sat Jun 7 12:32:31 2003
@@ -1,11 +1,11 @@
- [BSD]
+ [Scanner]
-EnginePath = "/opt/drweb/lib/drweb32.dll"
-VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB"
-MoveFilesTo = "/var/drweb/infected"
@@ -18,7 +18,7 @@
RenameFilesTo = #??
FilesTypes = EXE,COM,SYS,OV?,BAT,BIN,DRV,PRG,BOO,SCR,CMD,VXD,386,DLL,FON,DO?
FilesTypes = XL?,WIZ,RTF,CL*,HT*,VB*,JS*,INF,AR?,ZIP,R??,PP?,OBJ,LIB,HLP,MD?
-@@ -30,44 +30,44 @@
+@@ -30,42 +30,42 @@
ScanSubDirectories = Yes
PromptOnAction = No
LimitLog = No
@@ -34,7 +34,7 @@
RecodeMode = QuotedPrintable
RecodeChar = "?"
- [BSD:Daemon]
+ [Daemon]
-EnginePath = "/opt/drweb/lib/drweb32.dll"
-VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB"
-MoveFilesTo = "/var/drweb/infected"
@@ -50,19 +50,16 @@
LogFileName = "syslog"
-;LogFileName = "/var/drweb/log/drwebd.log"
-;BusyFile = "/var/drweb/run/drwebd.bsy"
--SocketMode = TCP
--SocketFile = "/var/drweb/run/drwebd.socket"
--;SocketMode = Unix
--;SocketAccess 0666
-;PidFile = "/var/drweb/run/drwebd.pid"
+;LogFileName = "/var/log/drwebd.log"
+;BusyFile = "%INSTALL%/run/drwebd.bsy"
-+;SocketMode = TCP
-+SocketFile = "%INSTALL%/run/drwebd.sock"
-+SocketMode = Unix
-+SocketAccess 0660
+PidFile = "%INSTALL%/run/drwebd.pid"
- DaemonPort = 3000
+
+-Socket 3000 127.0.0.1
+-;Scket /var/drweb/run/drwebd.socket 666
++;Socket 3000 127.0.0.1
++Socket = %INSTALL%/run/drwebd.sock 660
+
SocketTimeout = 40
SocketReuseAddr = Yes
FileTimeout = 40
@@ -74,13 +71,12 @@
LogScanned = Yes
LogInfo = Yes
LogPacked = Yes
- Interfaces = "localhost"
-;User = drweb
+User = drweb
;UserID =
;GroupID =
ScanFiles = All
-@@ -77,10 +77,10 @@
+@@ -75,10 +75,10 @@
SyslogPriority = "Alert"
FilterRule X-Mailer ".*Mass.*Sender.*" Reject