Subject: pkg/25654: audit-packages unfinished
To: None <gnats-bugs@gnats.NetBSD.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: pkgsrc-bugs
Date: 05/21/2004 00:25:17
>Number:         25654
>Category:       pkg
>Synopsis:       audit-packages unfinished
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 20 22:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 2.0_BETA
>Organization:
Mahlzeit!
>Environment:
	
	
System: NetBSD pizza.causeuse.org 2.0_BETA NetBSD 2.0_BETA (PIZZA) #11: Thu May 20 17:33:04 CEST 2004 hauke@pizza.causeuse.org:/var/obj/netbsd-builds/2_0/sparc/obj/sys/arch/sparc/compile/PIZZA sparc
Architecture: sparc
Machine: sparc

[hauke@pizza] ~ > pkg_info audit-packages
Information for audit-packages-1.31:

>Description:

	There are several things unfinished in the audit-packages pkg:

	(1) The @PKG_SYSCONFDIR@ and @PKGVULNDIR@ vars are not
	replaced properly

	(2) The @PKG_SYSCONFDIR@/audit-packages.conf config file is
	only half cool if audit-packages does not source it.

>How-To-Repeat:
	Install audit-packages. Set up config file with PKGVULNDIR
	variable since this is a machine which does not have the
	default /usr/src/pkgsrc/distfiles available all the time.
	Be surprised that audit-packages still complains. Find out
	that only download-vulnerability-list looks at the config
	file. Look at the man page more closely.

>Fix:
	Have audit-packages script source audit-packages.conf; add
	some sed voodoo to Makefile for correctly processed man pages.

>Release-Note:
>Audit-Trail:
>Unformatted: