NetBSD Problem Report #40667

From htodd@amttest.i8u.org  Mon Feb 16 20:36:12 2009
Return-Path: <htodd@amttest.i8u.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2519E63B8C3
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 16 Feb 2009 20:36:12 +0000 (UTC)
Message-Id: <200902162035.n1GKZkbX022896@amttest.i8u.org>
Date: Mon, 16 Feb 2009 12:35:46 -0800 (PST)
From: htodd@twofifty.com
Reply-To: htodd@twofifty.com
To: gnats-bugs@gnats.NetBSD.org
Subject: ./usr/tests/crypto/libcrypto/h_ideatest is missing from flist when MKCRYPTO_IDEA= YES in mk.conf
X-Send-Pr-Version: 3.95

>Number:         40667
>Category:       security
>Synopsis:       ./usr/tests/crypto/libcrypto/h_ideatest is missing from flist when MKCRYPTO_IDEA= YES in mk.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    security-officer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 16 20:40:01 +0000 2009
>Closed-Date:    Sat Feb 28 13:36:28 +0000 2009
>Last-Modified:  Sat Feb 28 13:36:28 +0000 2009
>Originator:     H. Todd Fujinaka
>Release:        NetBSD 5.99.7
>Organization:
None
>Environment:


System: NetBSD amttest.i8u.org 5.99.7 NetBSD 5.99.7 (AMTTEST64) #83: Thu Feb 12 11:51:44 PST 2009 htodd@amttest.i8u.org:/var/obj/sys/arch/amd64/compile.amd64/AMTTEST64 amd64
Architecture: x86_64
Machine: amd64
>Description:
I probably have this in the wrong category. For some reason I have MKCRYPTO_IDEA=yes in my mk.conf. This appears to build h_ideatest but the flist isn't picking it up.

=======  1 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/tests/crypto/libcrypto/h_ideatest
=========  end of 1 extra files  ===========


>How-To-Repeat:
Set MKCRYPTO_IDEA=yes and do a ./build.sh

>Fix:
Not sure about the twisty maze of Makefiles, all alike.


>Release-Note:

>Audit-Trail:
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: security/40667: ./usr/tests/crypto/libcrypto/h_ideatest is
 missing from flist when MKCRYPTO_IDEA= YES in mk.conf
Date: Mon, 16 Feb 2009 14:36:02 -0800 (PST)

 Should the tag be crypto_idea and not just idea?

 -- 
 Hisashi T Fujinaka - htodd@twofifty.com
 BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@NetBSD.org
Cc: security-officer@NetBSD.org, gnats-admin@NetBSD.org,
        security-alert@NetBSD.org
Subject: Re: security/40667: ./usr/tests/crypto/libcrypto/h_ideatest is
 missing from flist when MKCRYPTO_IDEA= YES in mk.conf
Date: Mon, 16 Feb 2009 16:30:19 -0800 (PST)

 On Mon, 16 Feb 2009, Hisashi T Fujinaka wrote:

 > The following reply was made to PR security/40667; it has been noted by GNATS.
 >
 > From: Hisashi T Fujinaka <htodd@twofifty.com>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: security/40667: ./usr/tests/crypto/libcrypto/h_ideatest is
 > missing from flist when MKCRYPTO_IDEA= YES in mk.conf
 > Date: Mon, 16 Feb 2009 14:36:02 -0800 (PST)
 >
 > Should the tag be crypto_idea and not just idea?
 t:/usr/src/distrib/sets/lists/tests > cvs diff mi
 Index: mi
 ===================================================================
 RCS file: /home/cvs/netbsd/src/distrib/sets/lists/tests/mi,v
 retrieving revision 1.30
 diff -u -r1.30 mi
 --- mi  13 Feb 2009 22:01:48 -0000      1.30
 +++ mi  17 Feb 2009 00:24:48 -0000
 @@ -79,7 +79,7 @@
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_ectest.debug          tests-crypto-debug      debug
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_enginetest.debug      tests-crypto-debug      debug
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_exptest.debug         tests-crypto-debug      debug
 -./usr/libdata/debug/usr/tests/crypto/libcrypto/h_ideatest.debug                tests-crypto-debug      debug,idea
 +./usr/libdata/debug/usr/tests/crypto/libcrypto/h_ideatest.debug                tests-crypto-debug      debug,crypto_idea
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_hmactest.debug                tests-crypto-debug      debug
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_lhashtest.debug       tests-crypto-debug      debug
   ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_md2test.debug         tests-crypto-debug      debug
 @@ -409,7 +409,7 @@
   ./usr/tests/crypto/libcrypto/h_enginetest      tests-crypto-tests
   ./usr/tests/crypto/libcrypto/h_exptest         tests-crypto-tests
   ./usr/tests/crypto/libcrypto/h_hmactest                tests-crypto-tests
 -./usr/tests/crypto/libcrypto/h_ideatest                tests-crypto-tests      idea
 +./usr/tests/crypto/libcrypto/h_ideatest                tests-crypto-tests      crypto_idea
   ./usr/tests/crypto/libcrypto/h_lhashtest       tests-crypto-tests
   ./usr/tests/crypto/libcrypto/h_md2test         tests-crypto-tests
   ./usr/tests/crypto/libcrypto/h_md4test         tests-crypto-tests

From: Nicolas Joly <njoly@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40667 CVS commit: src/distrib/sets/lists/tests
Date: Sat, 28 Feb 2009 13:32:51 +0000 (UTC)

 Module Name:	src
 Committed By:	njoly
 Date:		Sat Feb 28 13:32:51 UTC 2009

 Modified Files:
 	src/distrib/sets/lists/tests: mi

 Log Message:
 Use crypto_XXX tags to fix MKCRYPTO_{IDEA,MDC2,RC5}=yes builds.
 Solve PR/40667 and other reports from current-users@.


 To generate a diff of this commit:
 cvs rdiff -r1.34 -r1.35 src/distrib/sets/lists/tests/mi

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: njoly@NetBSD.org
State-Changed-When: Sat, 28 Feb 2009 13:36:28 +0000
State-Changed-Why:
Fixed. Thanks for your report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.