Just as a private CA needs to maintain a private CRL, it would seem prudent for a private package repository to publish a corresponding vulnerability database in a manner that is compatible with
However, I don't see any indication in the stock /etc/pkg/FreeBSD.conf that this is a generalized parameter. Nor does modifying my own Repo.conf file have any effect when I:
The only thing I have found that works is :
Is there a clean way to configure
pkg-audit(8).However, I don't see any indication in the stock /etc/pkg/FreeBSD.conf that this is a generalized parameter. Nor does modifying my own Repo.conf file have any effect when I:
Code:
# mkdir -p /usr/local/etc/pkg/repos
# echo 'Repo: { VULNXML_SITE = "https://pkg.example.edu/freebsd/vuln.xml.xz"; }' > /usr/local/etc/pkg/repos/Repo.conf
The only thing I have found that works is :
Code:
# pkg audit -Fq # for standard packages
# VULNXML_SITE="https://pkg.example.edu/freebsd/vuln.xml.xz" pkg audit -Fq # for Repo.conf packages
Is there a clean way to configure
VULNXML_SITE on a per-repository basis directly from the pkg.conf config hierarchy instead of hard-coding the repo names and URLs into a shell script?