Subject: pkg/17186: audit-packages ignores DISTDIR
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/07/2002 10:12:41
>Number:         17186
>Category:       pkg
>Synopsis:       audit-packages ignores DISTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 01:13:00 PDT 2002
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.6_BETA1
System: NetBSD 1.6_BETA1 NetBSD 1.6_BETA1 (KAYAK) #2: Wed May 29 13:47:35 CEST 2002 i386
Architecture: i386
Machine: i386

I just noticed that security/audit-packages's download-vulnerability-list
saves the vulnerability list to /usr/pkgsrc/distfiles even though the user
might keep his distfiles somewhere else.


# echo DISTDIR=/tmp/distfiles >> /etc/mk.conf
[install some package and see how the distfile is saved into /tmp/distfiles]
# download-vulnerability-list
[see how the vulnerability list is still stored in /usr/pkgsrc/distfiles]


Maybe some "grep DISTDIR /etc/mk.conf" kludge is needed to determine the
correct directory (not very elegant).