Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2004 12:48:11 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jeh@FreeBSD.org
Subject:   ports/74146: [PATCH] security/uvscan: update dependency
Message-ID:  <20041120044811.7C9CE3EA115@utopia.leeym.com>
Resent-Message-ID: <200411200450.iAK4oKa1095353@freefall.freebsd.org>

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

>Number:         74146
>Category:       ports
>Synopsis:       [PATCH] security/uvscan: update dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 20 04:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 25 01:17:22 CST 2004
>Description:

- uvscan depends on libm.so.2
- utilize PORTDOCS
- add INSTALLS_SHLIB and makes portlint happier
- symlink .so file
- bump PORTREVISION

Port maintainer (jeh@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- uvscan-4.32e_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/vscan/Makefile,v
retrieving revision 1.32
diff -u -u -r1.32 Makefile
--- Makefile	9 Mar 2004 18:04:33 -0000	1.32
+++ Makefile	20 Nov 2004 04:45:32 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	uvscan
 PORTVERSION=	4.32e
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://download.nai.com/products/evaluation/virusscan/english/cmdline/bsd/v4.32/
 DISTNAME=	vbsd432e
@@ -23,13 +23,20 @@
 LIB_DEPENDS+=	c.3:${PORTSDIR}/misc/compat3x
 .endif
 
+.if !exists(/usr/lib/libm.so.2) && !exists(/lib/libm.so.2)
+LIB_DEPENDS+=	m.2:${PORTSDIR}/misc/compat4x
+.endif
+
 ONLY_FOR_ARCHS=	i386
 NO_BUILD=	YES
 NO_WRKSUBDIR=	YES
+INSTALLS_SHLIB=	yes
 
 LICENSE=	shareware
 RESTRICTED=	"restrictive 30 day evaluation license"
 
+PORTDOCS=	e4320upg.pdf license.txt
+
 do-configure:
 	${SED} <${FILESDIR}/uvscan.sh >${WRKSRC}/uvscan.sh \
 		-e 's:@@PREFIX@@:${PREFIX}:g'
@@ -39,14 +46,14 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${PREFIX}/libexec/uvscan
 	${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan
 	${INSTALL_SCRIPT} ${WRKSRC}/uvscan_secure ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/libbsdfv.so ${PREFIX}/lib/libbsdfv.so
 	${INSTALL_PROGRAM} ${WRKSRC}/libbsdfv.so.4 ${PREFIX}/lib/libbsdfv.so.4
+	cd ${PREFIX}/lib && ${LN} -s libbsdfv.so.4 libbsdfv.so
 .for file in license.dat messages.dat
 	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan
 .endfor
-	${MKDIR} ${PREFIX}/share/doc/uvscan
-.for file in e4320upg.pdf license.txt
-	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
-.endfor
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/security/vscan/pkg-plist,v
retrieving revision 1.9
diff -u -u -r1.9 pkg-plist
--- pkg-plist	19 Jan 2004 12:36:20 -0000	1.9
+++ pkg-plist	20 Nov 2004 04:45:32 -0000
@@ -6,5 +6,3 @@
 libexec/uvscan/uvscan
 libexec/uvscan/license.dat
 libexec/uvscan/messages.dat
-share/doc/uvscan/e4320upg.pdf
-share/doc/uvscan/license.txt
--- uvscan-4.32e_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041120044811.7C9CE3EA115>