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 2 Aug 2007, at 16:10, David Lord wrote:

> On 2 Aug 2007, at 14:24, Joerg Sonnenberger wrote:
> 
> > 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.";  \
> 
> I've been using separate PKGVULNDIR (/var/db/audit-packages) with 
> PKGVULNDIR set in both mk.conf and audit-packages.conf.
> 
> Prior to patch the script was looking for /pkg-vulnerabilities and 
> now looking for it in /usr/pkgsrc_distfiles.

I messed up there as I'd already changed one line in  genreadme.awk 
to DISTDIR rather than PVDIR but with PVDIR back in place it still 
goes to rootfs for the file.

'make README.html' doesn't work on my old system for PKGVULNDIR but 
does for default DISTDIR (/usr/pkgsrc_distfiles). My distdir on the 
other system was an nfsmount and not always present.

David




Home | Main Index | Thread Index | Old Index