Subject: pkg/14010: keychain - use "trap 2" instead of "trap INT"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 09/19/2001 13:24:31
>Number:         14010
>Category:       pkg
>Synopsis:       keychain - use "trap 2" instead of "trap INT"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 19 04:25:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.5.2
>Organization:
>Environment:
	
System: NetBSD dhcp38 1.5.2 NetBSD 1.5.2 (OMNIBOOK) #1: Wed Aug 29 10:01:32 GMT 2001 root@dhcp38:/usr/src/sys/arch/i386/compile/OMNIBOOK i386


>Description:

NetBSD 1.5.2 doesn't support "trap ... INT" so use the numerical
value instead. This is all my fault, I created the package on -current
running sparc64 and it just worked...

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/keychain/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	2001/09/15 14:20:41	1.1.1.1
+++ Makefile	2001/09/19 11:20:05
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.1.1.1 2001/09/15 14:20:41 wiz Exp $
 
 DISTNAME=	keychain-1.2
+PKGNAME=	${DISTNAME}nb1
 CATEGORIES=	security
 MASTER_SITES=	http://www.ibiblio.org/gentoo/distfiles/
 EXTRACT_SUFX=	.tar.bz2
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/keychain/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo	2001/09/15 14:20:41	1.1.1.1
+++ distinfo	2001/09/19 11:20:05
@@ -2,4 +2,4 @@
 
 SHA1 (keychain-1.2.tar.bz2) = d9e59623332aa5f40f2448eaf614dc5b3513cac8
 Size (keychain-1.2.tar.bz2) = 3229 bytes
-SHA1 (patch-aa) = 9534109e4272980374e0868d2823325e536eec74
+SHA1 (patch-aa) = 6b34cd020fc8696881ba271c812293e3e765f806
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/security/keychain/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patch-aa	2001/09/15 14:20:41	1.1.1.1
+++ patch-aa	2001/09/19 11:20:05
@@ -1,7 +1,16 @@
 $NetBSD: patch-aa,v 1.1.1.1 2001/09/15 14:20:41 wiz Exp $
 
 --- keychain.orig	Mon Sep 10 04:42:47 2001
-+++ keychain	Tue Sep 11 08:30:24 2001
++++ keychain	Wed Sep 19 13:17:34 2001
+@@ -6,7 +6,7 @@
+ 
+ version=1.2
+ 
+-trap "" INT
++trap "" 2
+ PATH="/sbin:/usr/sbin:${PATH}"; export PATH;
+ KEYCHAIN_KEYS=""
+ for x in ${*}
 @@ -19,10 +19,11 @@
  	fi
  done
>Release-Note:
>Audit-Trail:
>Unformatted: