Subject: Re: pkg-vulnverabilities location
To: Geert Hendrickx <ghen@telenet.be>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 02/10/2005 11:54:37
On Thu, 10 Feb 2005, Geert Hendrickx wrote:
> But I also found this in download-vulnerability-list(8) :
>
> ENVIRONMENT
> These variables can also be defined in the /usr/pkg/etc/audit-pack-
> ages.conf file.
>
> PKGVULNDIR Specifies the directory containing the pkg-vulnerabilities
> file.
>
> FETCH_ARGS Specifies optional arguments for the ftp client.
>
> And that doesn't work either.
>
> Doc-bug?
What doesn't work? PKGVULNDIR in environment? (It works for me.)
Or FETCH_ARGS? It also works for me:
rainier:~/tmp$ FETCH_ARGS=-V PKGVULNDIR=~/tmp download-vulnerability-list
Trying 2001:4f8:4:7:2e0:81ff:fe21:6563...
ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host
Trying 204.152.190.13...
No change from existing package vulnerabilities file
rainier:~/tmp$ rm ./pkg-vulnerabilities
rainier:~/tmp$ FETCH_ARGS=-V PKGVULNDIR=~/tmp download-vulnerability-list
Trying 2001:4f8:4:7:2e0:81ff:fe21:6563...
ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host
Trying 204.152.190.13...
Package vulnerabilities file has been updated
rainier:~/tmp$ wc -l pkg-vulnerabilities ; ls -l pkg-vulnerabilities
959 pkg-vulnerabilities
-rw-r--r-- 1 reed pkgsrc 88430 Feb 9 14:55 pkg-vulnerabilities
Some FETCH_ARGS may not work with -o switch already being used.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/