pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: README.html: cannot find vulnerability list



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
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.";  \


Home | Main Index | Thread Index | Old Index