NetBSD Problem Report #55476
From jruohone@gmail.com Fri Jul 10 13:02:23 2020
Return-Path: <jruohone@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0748D1A9213
for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Jul 2020 13:02:22 +0000 (UTC)
Message-Id: <20200710130207.527D11AECC4@kafka.localdomain>
Date: Fri, 10 Jul 2020 16:02:07 +0300 (EEST)
From: jruohonen@iki.fi
Sender: j ruohonen <jruohone@gmail.com>
Reply-To: jruohonen@iki.fi
To: gnats-bugs@NetBSD.org
Subject: The purpose of /usr/sbin/audit-packages is unclear
X-Send-Pr-Version: 3.95
>Number: 55476
>Category: pkg
>Synopsis: The purpose of /usr/sbin/audit-packages is unclear
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 10 13:05:00 +0000 2020
>Last-Modified: Fri Jul 10 13:55:01 +0000 2020
>Originator: Jukka Ruohonen
>Release: NetBSD 9.99.68
>Organization:
>Environment:
>Description:
The purpose of the shell script '/usr/sbin/audit-packages' is unclear and
undocumented.
>How-To-Repeat:
man audit-packages
vi /usr/sbin/audit-packages
>Fix:
Is this script even used anymore?
>Release-Note:
>Audit-Trail:
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/55476: The purpose of /usr/sbin/audit-packages is unclear
Date: Fri, 10 Jul 2020 15:19:39 +0200
Hello Jukka,
jruohonen@iki.fi writes:
> [...]
> >Description:
> The purpose of the shell script '/usr/sbin/audit-packages' is unclear and
> undocumented.
> >How-To-Repeat:
> man audit-packages
> vi /usr/sbin/audit-packages
> >Fix:
> Is this script even used anymore?
> [...]
It was deprecated in favour of `pkg_admin audit' and only provided for
possible compatibility against user's scripts.
From: Jukka Ruohonen <jruohonen@iki.fi>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, jruohonen@iki.fi
Subject: Re: bin/55476: The purpose of /usr/sbin/audit-packages is unclear
Date: Fri, 10 Jul 2020 16:40:21 +0300
On Fri, Jul 10, 2020 at 01:20:02PM +0000, Leonardo Taccari wrote:
> It was deprecated in favour of `pkg_admin audit' and only provided for
> possible compatibility against user's scripts.
Indeed, and it seems that this script was added exactly ten years ago.
Maybe a decade would be enough for the final deprecation? Someone was even
kind enough to provide a manual page for the script (audit-packages.8). Yet,
it is not installed (at least any longer).
- Jukka
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/55476: The purpose of /usr/sbin/audit-packages is unclear
Date: Fri, 10 Jul 2020 15:48:05 +0200
Jukka Ruohonen writes:
> On Fri, Jul 10, 2020 at 01:20:02PM +0000, Leonardo Taccari wrote:
> > It was deprecated in favour of `pkg_admin audit' and only provided for
> > possible compatibility against user's scripts.
>
> Indeed, and it seems that this script was added exactly ten years ago.
> Maybe a decade would be enough for the final deprecation? Someone was even
> kind enough to provide a manual page for the script (audit-packages.8). Yet,
> it is not installed (at least any longer).
>
Probably yes, it can be removed. :)
However, this should be discussed on a mailing list (probably
pkgsrc-users@, given that it is not specific to NetBSD) instead of
GNATS so hopefully people possibly still using audit-packages (or
download-vulnerability-list) in their local scripts will not have any
surprise when it will be removed.
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/55476: The purpose of /usr/sbin/audit-packages is unclear
Date: Fri, 10 Jul 2020 15:52:52 +0200
[JFTR I have changed the Category: from `bin' to `pkg' because I think
the main argument of audit-packages being deprecated is a general pkgsrc
one, not specific to NetBSD.]
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.