Subject: pkg/32620: pkgsrc fprot-workstation-bin out of date, tar files no longer available
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cg@cgall.de>
List: pkgsrc-bugs
Date: 01/24/2006 22:50:00
>Number:         32620
>Category:       pkg
>Synopsis:       pkgsrc fprot-workstation-bin out of date, tar files no longer available
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 24 22:50:00 +0000 2006
>Originator:     Christian Gall
>Release:        
>Environment:

>Description:
fprot-workstation-bin tries to get version 4.6.2, but the current version available is 4.6.5.

>How-To-Repeat:

>Fix:
diff for update is attached below.

Changelog:

Version 4.6.5 is a bugfix release which addresses the following issues:

o       Fixed an endless loop encountered in a corrupted WMF sample.

Version 4.6.4 is a bugfix release which addresses the following issues:

o       A bug in the ELF scanner could cause a crash.
o       Using a symlink as a path element to f-protd could cause f-protd not to start.
o       A race issue with startproc (start-stop-daemon in LSB terms) could lead to
        old DEF files being used by f-protd even after updates.
o       UPX packed files could cause crash on Solaris/sparc.
o       Better handling for corrupt mime files.
o       A bug in MS office scanner on big-endian platforms was fixed.
o       Anomy extended to do content-type fingerprinting which allows scan-mail.pl
	to block attachments with false extension based on their 'real' extensions,
	e.g. .wmf files claiming to be .jpg or .png files.
o       A bug in scan-mail.pl's rc-script, which could cause problems in Debian when
	shutting scan-mail.pl down, has been fixed.

Version 4.6.3 is a bugfix and optimization release which addresses the following issues:

o       Tweaks and optimizations should improve scanning speed by appr. 15-40% over
	previous releases.
o       Engine version 3.16.10 will now try to scan zip files which falsly claim to use
	64-bit compression methods. 64 bit compression is not supported, but the scanner
	will now try to scan those files using 32 bit methods.
o       Improved handling of some types of corrupt files, which were previously skipped
	with I/O error.
o       A corrupt arj file could crash the scanner. This has been fixed.
o       Fixed a bug in scan-mail.pl where attachments would sometimes be left in quarantine.
o       Trying to scan a device special file now results in non-zero exit code.
o       Scanning of redirected stdin is now possible, e.g. 'f-prot /dev/fd/0 < /path/to/file'






Index: Makefile
===================================================================
RCS file: /var/cvsroot-netbsd/pkgsrc/security/fprot-workstation-bin/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	21 Nov 2005 02:06:50 -0000	1.23
+++ Makefile	24 Jan 2006 22:34:04 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=		#defined
-PKGNAME=		fprot-workstation-bin-4.6.2
+PKGNAME=		fprot-workstation-bin-4.6.5
 CATEGORIES=		security
 
 MAINTAINER=		ben@NetBSD.org
Index: PLIST
===================================================================
RCS file: /var/cvsroot-netbsd/pkgsrc/security/fprot-workstation-bin/PLIST,v
retrieving revision 1.7
diff -u -r1.7 PLIST
--- PLIST	21 Nov 2005 02:06:50 -0000	1.7
+++ PLIST	24 Jan 2006 22:34:04 -0000
@@ -1,6 +1,9 @@
 @comment $NetBSD: PLIST,v 1.7 2005/11/21 02:06:50 ben Exp $
 bin/f-prot
 libexec/fprot-workstation-bin/ENGLISH.TX0
+libexec/fprot-workstation-bin/MACRO.DEF
+libexec/fprot-workstation-bin/SIGN.DEF
+libexec/fprot-workstation-bin/SIGN2.DEF
 libexec/fprot-workstation-bin/f-prot
 man/man1/f-prot.1
 man/man8/check-updates.pl.8
@@ -36,5 +39,6 @@
 share/fprot-workstation-bin/MACRO.DEF
 share/fprot-workstation-bin/SIGN.DEF
 share/fprot-workstation-bin/SIGN2.DEF
-@dirrm share/doc/fprot-workstation-bin
 @dirrm share/fprot-workstation-bin
+@dirrm share/doc/fprot-workstation-bin
+@dirrm libexec/fprot-workstation-bin
Index: distinfo
===================================================================
RCS file: /var/cvsroot-netbsd/pkgsrc/security/fprot-workstation-bin/distinfo,v
retrieving revision 1.16
diff -u -r1.16 distinfo
--- distinfo	21 Nov 2005 02:06:50 -0000	1.16
+++ distinfo	24 Jan 2006 22:34:04 -0000
@@ -1,12 +1,12 @@
 $NetBSD: distinfo,v 1.16 2005/11/21 02:06:50 ben Exp $
 
-SHA1 (fp-netbsd-ws-4.6.2/fp-netbsd-ws-4.6.2.tar.gz) = f01959fa26d0e79593e13d50ba40600237371519
-RMD160 (fp-netbsd-ws-4.6.2/fp-netbsd-ws-4.6.2.tar.gz) = c0a62124eaf5bd5c4f50647d4f922309e10511ec
-Size (fp-netbsd-ws-4.6.2/fp-netbsd-ws-4.6.2.tar.gz) = 3898981 bytes
-SHA1 (fp-linux-ws-4.6.2/fp-linux-ws-4.6.2.tar.gz) = a67755267691625153281ce731fa9153df87b6f1
-RMD160 (fp-linux-ws-4.6.2/fp-linux-ws-4.6.2.tar.gz) = 04c96d6b05d934526c64dc4bebe311986ab82e28
-Size (fp-linux-ws-4.6.2/fp-linux-ws-4.6.2.tar.gz) = 3859252 bytes
-SHA1 (fp-solaris-sparc-ws-4.6.2/fp-solaris-sparc-ws-4.6.2.tar.gz) = c29b28a1135b5d015a4f6a17371793247d7d8637
-RMD160 (fp-solaris-sparc-ws-4.6.2/fp-solaris-sparc-ws-4.6.2.tar.gz) = 2456bcdf702411031986ced37c8bb722673fa4c7
-Size (fp-solaris-sparc-ws-4.6.2/fp-solaris-sparc-ws-4.6.2.tar.gz) = 3985324 bytes
-SHA1 (patch-aa) = cdb8bbf4d73d308191cd3d21a269e09f36e192fb
+SHA1 (fp-netbsd-ws-4.6.5/fp-netbsd-ws-4.6.5.tar.gz) = 86dab4853b905b9e151f5f0d339de2add62c7026
+RMD160 (fp-netbsd-ws-4.6.5/fp-netbsd-ws-4.6.5.tar.gz) = 1a44328606a17c271f98aa80e474dd81188f55bd
+Size (fp-netbsd-ws-4.6.5/fp-netbsd-ws-4.6.5.tar.gz) = 4109359 bytes
+SHA1 (fp-solaris-ws-4.6.5/fp-solaris-sparc-ws-4.6.5.tar.gz) = 4b08b86a073354eba7b51c063fa2190f4948c02b
+RMD160 (fp-solaris-ws-4.6.5/fp-solaris-sparc-ws-4.6.5.tar.gz) = 3588a5c7f7a33a5f4016ccc458d02241be9fb1f9
+Size (fp-solaris-ws-4.6.5/fp-netbsd-ws-4.6.5.tar.gz) = 4948999 bytes
+SHA1 (fp-linux-ws-4.6.5/fp-linux-ws-4.6.5.tar.gz) = b361b86cc91414ae2cf982874f16bd9941f1b887
+RMD160 (fp-linux-ws-4.6.5/fp-linux-ws-4.6.5.tar.gz) = d901ca28c28f110d447462a571ff020755339bd3
+Size (fp-linux-ws-4.6.5/fp-linux-ws-4.6.5.tar.gz) = 4079883 bytes
+SHA1 (patch-aa) = df60e04a2194bd9c84df08fcc524144f5e198ba0
Index: patches/patch-aa
===================================================================
RCS file: /var/cvsroot-netbsd/pkgsrc/security/fprot-workstation-bin/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- patches/patch-aa	21 Nov 2005 02:06:50 -0000	1.4
+++ patches/patch-aa	24 Jan 2006 22:34:04 -0000
@@ -1,17 +1,17 @@
 $NetBSD: patch-aa,v 1.4 2005/11/21 02:06:50 ben Exp $
 
---- tools/check-updates.pl.orig	2005-10-19 08:40:56.000000000 -0700
+--- tools/check-updates.pl.orig	2006-01-05 11:55:12.000000000 +0000
 +++ tools/check-updates.pl
-@@ -149,6 +149,8 @@ my $signatureDirectory = findDEFDirector
- sub findDEFDirectory {
-     my $dir;
+@@ -158,6 +158,8 @@ sub findDEFDirectory {
+         return $dir;
+     }
  
 +    return qq(XXXFPDIRXXX/);
 +
      # Try FindBin
      eval 'use FindBin qw($Bin); $dir = $Bin if $Bin;';    
      unless ($@){        
-@@ -344,12 +346,14 @@ sub printHelp {
+@@ -353,12 +355,14 @@ sub printHelp {
  # A sub function which checks if the temporary directory you are using
  # exists, and if it doesn't exist it tries to create it.
  sub checkTemporaryDirectory {
@@ -29,7 +29,7 @@
                 . "Exiting...\n";
          return;
      }
-@@ -359,21 +363,21 @@ sub checkTemporaryDirectory {
+@@ -368,21 +372,21 @@ sub checkTemporaryDirectory {
      # a directory since it's declared by default ending with a slash /.
      # But! In case someone will change this script (namely the
      # temporaryDirectory variable), it won't hurt having this check.

>Unformatted: