Date: Wed, 22 May 2002 18:12:54 +0600 (YEKST) From: Anton Voronin <anton@chelcom.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/38415: security/drweb: patches and checksum update Message-ID: <200205221212.g4MCCs773877@anton-pc.chel.com.ru>
next in thread | raw e-mail | index | archive | help
>Number: 38415 >Category: ports >Synopsis: security/drweb: patches and checksum update >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 22 05:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Anton Voronin >Release: FreeBSD 4.5-RC i386 >Organization: Intersvyaz JSC >Environment: n/a >Description: Patches and checksum update. Drweb developers have changed 4.28 but left version number the same. Also update maintainer's email. >How-To-Repeat: n/a >Fix: diff -rNu drweb.orig/Makefile drweb/Makefile --- drweb.orig/Makefile Sun May 19 03:06:54 2002 +++ drweb/Makefile Wed May 22 18:06:45 2002 @@ -1,17 +1,18 @@ # New ports collection makefile for: drweb # Date created: 14 August 2001 -# Whom: Anton Voronin <anton@urc.ac.ru> +# Whom: Anton Voronin <anton@chelcom.ru> # # $FreeBSD: ports/security/drweb/Makefile,v 1.24 2002/05/17 09:14:17 ache Exp $ # PORTNAME= drweb PORTVERSION= 4.28.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://drweb.spb.ru/download/unix/ DISTFILES= ${MAIN_NAME}.tgz -MAINTAINER= anton@urc.ac.ru +MAINTAINER= anton@chelcom.ru NO_BUILD= yes diff -rNu drweb.orig/distinfo drweb/distinfo --- drweb.orig/distinfo Sun May 19 03:06:54 2002 +++ drweb/distinfo Wed May 22 15:50:35 2002 @@ -1 +1 @@ -MD5 (drweb-4.28.1-freebsd4.tgz) = fb43d9351a82162694c173b8b5c194c6 +MD5 (drweb-4.28.1-freebsd4.tgz) = e69ea2f50a4f3dab9e494a27c0f39bba diff -rNu drweb.orig/files/patch-aa drweb/files/patch-aa --- drweb.orig/files/patch-aa Sun May 19 03:06:54 2002 +++ drweb/files/patch-aa Wed May 22 17:56:31 2002 @@ -1,5 +1,5 @@ ---- etc/drweb/drweb32.ini.orig Wed May 15 04:09:24 2002 -+++ etc/drweb/drweb32.ini Fri May 17 12:34:29 2002 +--- etc/drweb/drweb32.ini.orig Sat May 18 16:28:51 2002 ++++ etc/drweb/drweb32.ini Wed May 22 17:55:57 2002 @@ -1,11 +1,11 @@ [BSD] -EnginePath = "/opt/drweb/lib/drweb32.dll" @@ -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,39 +30,39 @@ +@@ -30,40 +30,38 @@ ScanSubDirectories = Yes PromptOnAction = No LimitLog = No @@ -41,27 +41,26 @@ +;LngFileName = "%INSTALL%/lib/russian.dwl" -Key = "/opt/drweb/drweb.key" -+Key = "%INSTALL%/drwebd.key" ++Key = "%INSTALL%/drweb.key" LogTime = Yes LogFileName = "syslog" -;LogFileName = "/var/drweb/log/drwebd.log" -;BusyFile = "/var/drweb/run/drwebd.bsy" -SocketMode = TCP -SocketFile = "/var/drweb/run/drwebd.socket" +-;PidFile = "/var/drweb/run/drwebd.pid" -;SocketMode = Unix -;SocketAccess 0666 -+PidFile = "%INSTALL%/run/drwebd.pid" -+;BusyFile = "%INSTALL%/run/drwebd.bsy" +;SocketMode = TCP +SocketFile = "%INSTALL%/run/drwebd.sock" ++PidFile = "%INSTALL%/run/drwebd.pid" +SocketMode = Unix -+SocketAccess 0660 ++SocketAccess 0666 DaemonPort = 3000 SocketTimeout = 40 SocketReuseAddr = Yes --FileTimeout = 5 + FileTimeout = 40 -OutputMode = Terminal -+FileTimeout = 20 +OutputMode = Quiet LimitLog = No -MaxLogSize = 512 @@ -75,16 +74,16 @@ ;UserID = ;GroupID = ScanFiles = All -@@ -72,8 +72,8 @@ +@@ -72,8 +70,8 @@ + SyslogFacility = "Daemon" SyslogPriority = "Alert" - FilterRule X-Mailer ".*Mass.*Sender.*" Reject +-FilterRule X-Mailer ".*Mass.*Sender.*" Reject -FilterRule To ".*undisclosed.*recipient.*" Reject -FilterRule Subject ".*free.*xxx.*" Reject ++;FilterRule X-Mailer ".*Mass.*Sender.*" Reject +;FilterRule To ".*undisclosed.*recipient.*" Reject +;FilterRule Subject ".*free.*xxx.*" Reject -UpdatePath = "/opt/drweb/updates" --InfectedFiles = Cure +UpdatePath = "%INSTALL%/updates" -+;InfectedFiles = Cure diff -rNu drweb.orig/files/patch-ab drweb/files/patch-ab --- drweb.orig/files/patch-ab Sun May 19 03:06:54 2002 +++ drweb/files/patch-ab Wed May 22 18:03:56 2002 @@ -1,6 +1,6 @@ ---- 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 @@ +--- opt/drweb/update/update.pl.orig Sat May 18 06:56:03 2002 ++++ opt/drweb/update/update.pl Wed May 22 18:03:20 2002 +@@ -35,7 +35,7 @@ my $ini = $ARGV[0]; if( $ini eq '' ) { @@ -8,11 +8,7 @@ + $ini = "%INSTALL%/drweb32.ini"; } --my $fetch = "fetch -aq -o"; -+my $fetch = "fetch -q -o"; - #my $fetch = "wget -q -O"; - $fetch = "wget -q -O" if( $^O =~ /Linux/i ); - + my $fetch = "fetch -q -o"; @@ -52,7 +52,7 @@ die "Bases path is not defined!" unless $bases; die "Update path is not defined!" unless $update; @@ -22,40 +18,3 @@ 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; - } - } - } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205221212.g4MCCs773877>