pkgsrc-Users archive

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

Re: audit-packages.conf PKGVULNDIR default comment



Tyler Retzlaff wrote:
> Should the comment
> 
> # Default: PKGVULNDIR="${DISTDIR}"
> 
> really be changed so at build time it is replaced with whatever the
> value of DISTDIR
> was when make was run?  The comment left in-tact seems to suggest that
> you can
> use things like ${DISTDIR} in the configuration after installation.  Of
> course since
> audit-packages and download-vulnerability-list do not expand such vars
> thats not
> the case.
> 
> So more like files/audit-packages.conf
> 
> # Default: PKGVULNDIR="@PKGVULNDIR@"
> 
> and then enable the sed magic at package build

Hi Tyler,

If you install the latest pkg_install package from HEAD or 2007Q3 then
the default line for PKGVULNDIR in audit-packages.conf will be set to
whatever ${PKG_DBDIR} is on install by make.  The example configuration
file is then installed to
${PREFIX}/share/examples/pkg_install/audit-packages.conf

If you're on a fairly recent install of HEAD then the
audit-packages.conf will be installed to /etc and PKGVULNDIR will be
hard set to "/var/db/pkg".

adrian.



Home | Main Index | Thread Index | Old Index