Subject: Re: README.html: cannot find vulnerability list
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 08/02/2007 14:24:33
--xXmbgvnjoT4axfJE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Aug 02, 2007 at 12:34:26AM -0400, Gary Thorpe wrote:
> Whenever I try to do 'make README.html' in a package directory, I
> encounter this problem (hand-copied):

Does the attached patch help?

Joerg

--xXmbgvnjoT4axfJE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="check.mk.diff"

Index: check.mk
===================================================================
RCS file: /home/joerg/repo/netbsd/pkgsrc/mk/flavor/pkg/check.mk,v
retrieving revision 1.4
diff -u -r1.4 check.mk
--- check.mk	14 Jul 2007 17:17:46 -0000	1.4
+++ check.mk	1 Aug 2007 11:44:03 -0000
@@ -11,8 +11,7 @@
 #
 _flavor-check-vulnerable: .PHONY
 	${_PKG_SILENT}${_PKG_DEBUG}					\
-	_INFO_VER=`${PKG_INFO} -V`;					\
-	if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-$$_INFO_VER; then \
+	if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-${PKGTOOLS_VERSION}; then \
 		vulnfile=${PKGVULNDIR:Q}/pkg-vulnerabilities;		\
 		if ${TEST} ! -f "$$vulnfile"; then			\
 			${PHASE_MSG} "Skipping vulnerability checks.";	\

--xXmbgvnjoT4axfJE--