NetBSD Problem Report #17182
Received: (qmail 5860 invoked by uid 605); 6 Jun 2002 14:55:12 -0000
Message-Id: <200206061455.g56Et9E24841@edge.sky.yamashina.kyoto.jp>
Date: Thu, 6 Jun 2002 23:55:09 +0900 (JST)
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: taca@sky.yamashina.kyoto.jp
To: gnats-bugs@gnats.netbsd.org
Subject: Most packages are installed with restricted "uses Kerberos encryption code"
X-Send-Pr-Version: 3.95
>Number: 17182
>Category: pkg
>Synopsis: Most pacakges are installed with restricted "uses Kerberos encryption code".
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: cjep
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 06 14:56:00 +0000 2002
>Closed-Date: Sat Jun 15 21:25:04 +0000 2002
>Last-Modified: Sat Jun 15 21:25:04 +0000 2002
>Originator: Takahiro Kambe
>Release: NetBSD 1.6A
>Organization:
>Environment:
System: NetBSD edge.sky.yamashina.kyoto.jp 1.6A NetBSD 1.6A (FIVA20X) #144: Sat Jun 1 22:48:34 JST 2002 taca@edge.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/FIVA20X i386
Architecture: i386
Machine: i386
>Description:
Most pacakges are installed with restricted "uses Kerberos
encryption code".
>How-To-Repeat:
Install some pkgsrc and check /var/db/pkg/${PKGNAME}/+BUILD_INFO.
It will contain a line. For example:
% egrep RESTRICTED /var/db/pkg/libtool-base-1.4.20010614nb9/+BUILD_INFO
RESTRICTED= uses Kerberos encryption code
I don't think that libtool is RESTRICTED by use of Kerberos
encryption code.
>Fix:
bsd.pkg.mk defines RESTRICTED when USE_KERBEROS is defined.
.if defined(USE_KERBEROS)
RESTRICTED?= uses Kerberos encryption code
BUILD_DEFS+= KERBEROS
.endif
But bsd.pkg.mk includes "../../mk/bsd.prefs.mk" and it includes
<bsd.own.mk>. <bsd.own.mk> always define USE_KREBEROS by those
lines:
# Set defaults for the USE_xxx variables. They all default to "yes"
# unless the corresponding MKxxx variable is set to "no".
.for var in HESIOD KERBEROS SKEY YP
.if (${MK${var}} == "no")
USE_${var}:= no
.else
USE_${var}?= yes
.endif
.endfor
It seems that USE_KERBEROS's meaning conflicts between base system
and pkgsrc. (I don't check existence of other conflicting MACRO.)
This problem was pointed out by FUKAUMI Naoki <naoki@fukaumi.org>
on netbsd@re.soum.co.jp (NetBSD mailing list in Japan).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cjep
Responsible-Changed-By: cjep
Responsible-Changed-When: Sat Jun 8 13:03:57 PDT 2002
Responsible-Changed-Why:
happy to look at this.
State-Changed-From-To: open->closed
State-Changed-By: cjep
State-Changed-When: Sat Jun 15 14:23:48 PDT 2002
State-Changed-Why:
the USE_KERBEROS variable has changed to PKG_USE_KERBEROS in pkgsrc.
Thanks for pointing this problem out.
>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.