diff options
author | ache <ache@FreeBSD.org> | 2002-05-17 09:14:22 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-05-17 09:14:22 +0000 |
commit | cf4d19e24632c48dd557c642c4b9aef7b7826a60 (patch) | |
tree | 62fb2748644231305045b8ee1f9e9fdf4de91247 /security | |
parent | 66ba7f34b3fea5f8d229a75dcab8b4c2f00128d9 (diff) | |
download | FreeBSD-ports-cf4d19e24632c48dd557c642c4b9aef7b7826a60.zip FreeBSD-ports-cf4d19e24632c48dd557c642c4b9aef7b7826a60.tar.gz |
Upgrade to 4.28.1
Diffstat (limited to 'security')
-rw-r--r-- | security/drweb/Makefile | 3 | ||||
-rw-r--r-- | security/drweb/distinfo | 2 | ||||
-rw-r--r-- | security/drweb/files/patch-aa | 16 | ||||
-rw-r--r-- | security/drweb/files/patch-ab | 55 | ||||
-rw-r--r-- | security/drweb/pkg-install | 2 |
5 files changed, 57 insertions, 21 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile index 0649bb7..614499e 100644 --- a/security/drweb/Makefile +++ b/security/drweb/Makefile @@ -6,8 +6,7 @@ # PORTNAME= drweb -PORTVERSION= 4.28 -PORTREVISION= 1 +PORTVERSION= 4.28.1 CATEGORIES= security MASTER_SITES= http://drweb.spb.ru/download/unix/ DISTFILES= ${MAIN_NAME}.tgz diff --git a/security/drweb/distinfo b/security/drweb/distinfo index 5bb6ffe..1f7d499 100644 --- a/security/drweb/distinfo +++ b/security/drweb/distinfo @@ -1 +1 @@ -MD5 (drweb-4.28-freebsd4.tgz) = 9505772e54612597cb1903fe54398d8e +MD5 (drweb-4.28.1-freebsd4.tgz) = fb43d9351a82162694c173b8b5c194c6 diff --git a/security/drweb/files/patch-aa b/security/drweb/files/patch-aa index c40169b..5df461b 100644 --- a/security/drweb/files/patch-aa +++ b/security/drweb/files/patch-aa @@ -1,13 +1,13 @@ ---- etc/drweb/drweb32.ini.orig Sat May 11 16:44:26 2002 -+++ etc/drweb/drweb32.ini Mon May 13 18:46:14 2002 +--- etc/drweb/drweb32.ini.orig Wed May 15 04:09:24 2002 ++++ etc/drweb/drweb32.ini Fri May 17 12:34:29 2002 @@ -1,11 +1,11 @@ [BSD] -EnginePath = "/opt/drweb/lib/drweb32.dll" --VirusBase = "/var/drweb/bases/*.vdb" +-VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB" -MoveFilesTo = "/var/drweb/infected" -;LngFileName = "/opt/drweb/lib/russian.dwl" +EnginePath = "%INSTALL%/lib/drweb32.dll" -+VirusBase = "%INSTALL%/bases/*.vdb" ++VirusBase = "%INSTALL%/bases/*.vdb", "%INSTALL%/bases/*.VDB" +MoveFilesTo = "%INSTALL%/infected" +;LngFileName = "%INSTALL%/lib/russian.dwl" @@ -32,15 +32,15 @@ [BSD:Daemon] -EnginePath = "/opt/drweb/lib/drweb32.dll" --VirusBase = "/var/drweb/bases/*.vdb" +-VirusBase = "/var/drweb/bases/*.vdb", "/var/drweb/bases/*.VDB" -MoveFilesTo = "/var/drweb/infected" -;LngFileName = "/opt/drweb/lib/russian.dwl" +EnginePath = "%INSTALL%/lib/drweb32.dll" -+VirusBase = "%INSTALL%/bases/*.vdb" ++VirusBase = "%INSTALL%/bases/*.vdb", "%INSTALL%/bases/*.VDB" +MoveFilesTo = "%INSTALL%/infected" +;LngFileName = "%INSTALL%/lib/russian.dwl" --Key = "/opt/drweb/drwebd.key" +-Key = "/opt/drweb/drweb.key" +Key = "%INSTALL%/drwebd.key" LogTime = Yes LogFileName = "syslog" @@ -61,7 +61,7 @@ SocketReuseAddr = Yes -FileTimeout = 5 -OutputMode = Terminal -+FileTimeout = 10 ++FileTimeout = 20 +OutputMode = Quiet LimitLog = No -MaxLogSize = 512 diff --git a/security/drweb/files/patch-ab b/security/drweb/files/patch-ab index 9112cf5..ed61de1 100644 --- a/security/drweb/files/patch-ab +++ b/security/drweb/files/patch-ab @@ -1,6 +1,6 @@ ---- opt/drweb/update/update.pl.bak Wed May 8 07:56:59 2002 -+++ opt/drweb/update/update.pl Fri May 10 08:54:26 2002 -@@ -33,10 +33,10 @@ +--- opt/drweb/update/update.pl.orig Wed May 15 03:58:22 2002 ++++ opt/drweb/update/update.pl Fri May 17 13:07:42 2002 +@@ -35,10 +35,10 @@ my $ini = $ARGV[0]; if( $ini eq '' ) { @@ -8,17 +8,54 @@ + $ini = "%INSTALL%/drweb32.ini"; } --my $fetch = "wget -q -O"; +-my $fetch = "fetch -aq -o"; +my $fetch = "fetch -q -o"; + #my $fetch = "wget -q -O"; + $fetch = "wget -q -O" if( $^O =~ /Linux/i ); - my $engine = ''; - my $bases = ''; -@@ -48,7 +48,7 @@ - die "Bases path is not defined (not in section?)" unless $bases; - die "Update path is not defined (not in section?)" unless $update; +@@ -52,7 +52,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 $version = readVersion( $engine ); die "Engine version error (invalid engine?)" unless $version; +@@ -179,7 +179,7 @@ + { + $engine = $v; + $engine =~ s/^[\"\t =]*//g; +- $engine =~ s/[\" \t]$*//g; ++ $engine =~ s/[\" \t]*$//g; + } + } + elsif( /^PidFile/ ) +@@ -189,7 +189,7 @@ + { + $pidFile= $v; + $pidFile =~ s/^[\"\t =]*//g; +- $pidFile =~ s/[\" \t]$*//g; ++ $pidFile =~ s/[\" \t]*$//g; + } + } + elsif( /^VirusBase/ && $bases eq '' ) # first base path only +@@ -200,7 +200,8 @@ + $bases = $v; + + $bases =~ s/^[\"\t =]*//g; +- $bases =~ s/[\" \t]$*//g; ++ $bases =~ s/,.*$//; ++ $bases =~ s/[\" \t]*$//g; + $bases =~ s/\/[\d\w\*\?\.]*$//; + } + } +@@ -211,7 +212,7 @@ + { + $update = $v; + $update =~ s/^[\"\t =]*//g; +- $update =~ s/[\" \t]$*//g; ++ $update =~ s/[\" \t]*$//g; + } + } + } diff --git a/security/drweb/pkg-install b/security/drweb/pkg-install index 7a6bf98..4a4f111 100644 --- a/security/drweb/pkg-install +++ b/security/drweb/pkg-install @@ -49,5 +49,5 @@ fi [ "$ex" = "1" ] && exit 1 install -dv -m 0755 -o ${USER} -g ${BINGRP} ${PKG_PREFIX}/drweb/run install -dv -m 0700 -o ${USER} -g ${BINGRP} ${PKG_PREFIX}/drweb/infected -install -dv -m 0700 -o ${BINOWN} -g ${BINGRP} ${PKG_PREFIX}/drweb/updates +install -dv -m 0755 -o ${BINOWN} -g ${BINGRP} ${PKG_PREFIX}/drweb/updates exit 0 |