Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 22:15:00 -0800 (PST)
From:      mharo@area51.fremont.ca.us
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10769: Update: security/vscan
Message-ID:  <199903240615.WAA59414@patrol.area51.fremont.ca.us>

next in thread | raw e-mail | index | archive | help

>Number:         10769
>Category:       ports
>Synopsis:       Update: security/vscan
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 22:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:

	

>Description:

new version of this port.  Now using the linux binary becuase there is no
freebsd version any more.  This port has been broken for a really long time
now, so I figured might as well fix it.  I think it will work but haven't
been able to really test it as I have no viruses that I know of.

I dont' know of a variable for chown, so I left it as is.  This port
only works in /usr/local which is why the other messages in portlint show
up.

portlint errors:
WARN: possible use of absolute pathname "/usr/local", in Makefile.
WARN: possible use of absolute pathname "/usr/local", in Makefile.
WARN: possible use of absolute pathname "/usr/sbin/chown", in Makefile.
WARN: possible use of absolute pathname "/usr/sbin/chown", in Makefile.
WARN: possible use of absolute pathname "/usr/sbin/chown", in Makefile.
WARN: possible direct use of "/usr/local" found in Makefile. if so, use ${PREFIX} or ${LOCALBASE}, as appropriate.
0 fatal errors and 6 warnings found.

>How-To-Repeat:

	

>Fix:
	
Index: Makefile
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/security/vscan/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	1998/12/10 00:40:24	1.7
+++ Makefile	1999/03/24 06:10:41
@@ -6,20 +6,18 @@
 # $Id: Makefile,v 1.7 1998/12/10 00:40:24 steve Exp $
 #
 
-DISTNAME=	vfrb101e
-PKGNAME=	vscan-1.0.2
+DISTNAME=	nlxb318e
+PKGNAME=	vscan-3.1.8
 CATEGORIES=	security
-MASTER_SITES=   ftp://ftp.mcafee.com/pub/antivirus/unix/freebsd/
-EXTRACT_SUFX=	.taz
+MASTER_SITES=   ftp://ftp.mcafee.com/pub/antivirus/unix/linux/
+EXTRACT_SUFX=	.tar
 
 MAINTAINER=     obrien@FreeBSD.org
 
-BROKEN=		distfile no longer available
-
 NO_WRKSUBDIR=	yes
 RESTRICTED=	"Commercial software"
 
-LIBDIR=	${PREFIX}/lib/mcafee
+LIBDIR=	${PREFIX}/lib/neta
 MAN1=	uvscan.1
 
 pre-fetch:
@@ -31,21 +29,24 @@
 	@false
 .endif
 
+post-extract:
+	 (cd ${WRKSRC} && tar xzf linux-elf.e.tar.Z)
+
 do-build::
 
 # The binary executable file will be left unstripped as stripping the
 # file will cause attempt to validate this file to fail.
 do-install:
-	(cd ${WRKSRC}; ./Install-vscan)
+	(cd ${WRKSRC}; ./install-vscan)
 
 post-install:
 	@/usr/sbin/chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/uvscan
 	@/usr/sbin/chown -R ${SHAREOWN}.${SHAREGRP} ${LIBDIR}
-	@/usr/sbin/chown ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/uvscan.1	
+	@/usr/sbin/chown ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/uvscan.1
 .if !defined(NOPORTDOCS)
-	${MKDIR} -p ${PREFIX}/share/doc/vscan
+	${MKDIR} ${PREFIX}/share/doc/vscan
 	${INSTALL_DATA} ${WRKSRC}/Whatsnew.txt ${PREFIX}/share/doc/vscan
-	${INSTALL_DATA} ${WRKSRC}/README.1ST ${PREFIX}/share/doc/vscan/vscan.LICENCE
+	${INSTALL_DATA} ${WRKSRC}/Readme.1st ${PREFIX}/share/doc/vscan/vscan.LICENCE
 .endif
 	@${ECHO} ""
 	@${CAT} ${PKGDIR}/DESCR
Index: files/md5
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/security/vscan/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1996/10/27 10:08:46	1.1.1.1
+++ md5	1999/03/24 05:55:16
@@ -1 +1 @@
-MD5 (vfrb101e.taz) = eef84b5fe8b25b8572012c29671d3ca5
+MD5 (nlxb318e.tar) = 700b554df1c0a066d383f5656e55341d
Index: pkg/PLIST
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/security/vscan/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	1998/08/19 19:54:36	1.2
+++ PLIST	1999/03/24 06:06:42
@@ -1,6 +1,8 @@
 bin/uvscan
-lib/mcafee/scan.dat
-lib/mcafee/names.dat
-lib/mcafee/clean.dat
+lib/neta/scan.dat
+lib/neta/names.dat
+lib/neta/clean.dat
 share/doc/vscan/vscan.LICENCE
 share/doc/vscan/Whatsnew.txt
+@dirrm lib/neta
+@dirrm share/doc/vscan


>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?199903240615.WAA59414>