AUDITFILE default for ports users

Ion-Mihai Tetcu itetcu at
Sat Jul 18 11:26:22 UTC 2015


I have some machines on which, for various reasons, only ports are used.

On upgrading ports, I keep running into the the fact that 
/var/db/pkg/vuln.xml is lagging behind /usr/ports/security/vuxml/vuln.xml 
which is updated via portsnap (and thus upgrading the vulnerable ports

So I'd like to propose defaulting to vuln.xml from ports if it is newer
that the one from /var/db/pkg/ and AUDITFILE is not defined by the user.

Tentative patch attached (I'm not happy with the != constuct).

IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at, PGP Key ID 29597D20

-------------- next part --------------
A non-text attachment was scrubbed...
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list