NetBSD Problem Report #24712
Received: (qmail 6612 invoked by uid 605); 8 Mar 2004 23:38:05 -0000
Message-Id: <20040308233656.2354519B01@dmath5.geometrie.tuwien.ac.at>
Date: Tue, 9 Mar 2004 00:36:56 +0100 (CET)
From: wiz@NetBSD.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: wiz@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Subject: pkg_add should warn about IGNORE_RECOMMENDED
X-Send-Pr-Version: 3.95
>Number: 24712
>Category: pkg
>Synopsis: pkg_add should warn about IGNORE_RECOMMENDED
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: rh
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 08 23:39:00 +0000 2004
>Closed-Date: Sun Apr 11 06:14:28 +0000 2004
>Last-Modified: Sun Apr 11 06:57:00 +0000 2004
>Originator: Thomas Klausner
>Release: NetBSD cvs/20040309
>Organization:
>Environment:
>Description:
rh@ added the IGNORE_RECOMMENDED setting to /etc/mk.conf, and agreed
to fix pkg_add that it warns when it installs a binary package that was
built when this variable was set. This is the reminder PR to do it.
>How-To-Repeat:
pkg_add a package that was built with IGNORE_RECOMMENDED set in /etc/mk.conf.
See no warning.
>Fix:
SMOP.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->rh
Responsible-Changed-By: wiz
Responsible-Changed-When: Mon Mar 8 23:40:42 UTC 2004
Responsible-Changed-Why:
It's easier to make gnats remind you about it than think of it regularly :)
State-Changed-From-To: open->analyzed
State-Changed-By: rh
State-Changed-When: Sun Apr 11 05:37:35 UTC 2004
State-Changed-Why:
I'm working on this now.
State-Changed-From-To: analyzed->closed
State-Changed-By: rh
State-Changed-When: Sun Apr 11 06:13:53 UTC 2004
State-Changed-Why:
pkg_add 20040411 now knows about IGNORE_RECOMMENDED.
From: Rene Hexel <rh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24712 CVS commit: src/usr.sbin/pkg_install
Date: Sun, 11 Apr 2004 06:13:46 +0000 (UTC)
Module Name: src
Committed By: rh
Date: Sun Apr 11 06:13:46 UTC 2004
Modified Files:
src/usr.sbin/pkg_install: README
src/usr.sbin/pkg_install/add: perform.c pkg_add.1
src/usr.sbin/pkg_install/lib: lib.h version.h
Log Message:
Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented. Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.sbin/pkg_install/README
cvs rdiff -r1.97 -r1.98 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.48 -r1.49 src/usr.sbin/pkg_install/add/pkg_add.1
cvs rdiff -r1.68 -r1.69 src/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.47 -r1.48 src/usr.sbin/pkg_install/lib/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Rene Hexel <rh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24712 CVS commit: pkgsrc/pkgtools/pkg_install/files
Date: Sun, 11 Apr 2004 06:56:11 +0000 (UTC)
Module Name: pkgsrc
Committed By: rh
Date: Sun Apr 11 06:56:11 UTC 2004
Modified Files:
pkgsrc/pkgtools/pkg_install/files: README
pkgsrc/pkgtools/pkg_install/files/add: perform.c pkg_add.1 pkg_add.cat1
pkgsrc/pkgtools/pkg_install/files/lib: lib.h version.h
Log Message:
Update pkg_install to 20040411, pulling up the changes in the NetBSD source
tree:
Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented. Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/pkgtools/pkg_install/files/README
cvs rdiff -r1.19 -r1.20 pkgsrc/pkgtools/pkg_install/files/add/perform.c
cvs rdiff -r1.7 -r1.8 pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1 \
pkgsrc/pkgtools/pkg_install/files/add/pkg_add.cat1
cvs rdiff -r1.10 -r1.11 pkgsrc/pkgtools/pkg_install/files/lib/lib.h
cvs rdiff -r1.25 -r1.26 pkgsrc/pkgtools/pkg_install/files/lib/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.