NetBSD Problem Report #17892
Received: (qmail 27283 invoked by uid 605); 9 Aug 2002 12:37:22 -0000
Message-Id: <20020809123718.739368023@iller.boquist.net>
Date: Fri, 9 Aug 2002 14:37:18 +0200 (CEST)
From: urban@boquist.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: urban@boquist.net
To: gnats-bugs@gnats.netbsd.org
Subject: pkgsrc/security/crack installed as binary package cannot be run
X-Send-Pr-Version: 3.95
>Number: 17892
>Category: pkg
>Synopsis: crack installed as binary package is incomplete
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: wennmach
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 09 12:38:00 +0000 2002
>Closed-Date: Fri Aug 09 14:17:02 +0000 2002
>Last-Modified: Fri Aug 09 14:17:02 +0000 2002
>Originator: Urban Boquist
>Release: NetBSD 1.6E
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
System: NetBSD iller 1.6E NetBSD 1.6E (ILLER-$Revision: 1.45 $) #0: Wed Jul 31 11:54:43 CEST 2002 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
>Description:
Crack, when installed as a binary package, can not be run
since some dictionaries are not installed. This must be done
manually using "Crack -makedict". When building from source
this is done automatically in the "post-install" target, but
this is not included in a binary package.
>How-To-Repeat:
Install pkgsrc/security/crack as binary package, then try to
run it.
>Fix:
Run the dictionary building using an @exec in the PLIST. An empty
"run" directory is needed by Crack. Maybe there is a simpler way to
include an empty directory in a binary package?
Index: PLIST
===================================================================
RCS file: /anoncvs/pkgsrc/security/crack/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 2001/11/01 01:16:35 1.1
+++ PLIST 2002/08/09 12:27:03
@@ -134,6 +134,8 @@
libexec/crack/cracker
libexec/crack/dictfilt
libexec/crack/kickdict
+@exec mkdir %D/share/crack/run
+@exec %D/sbin/Crack -makedict
@unexec /bin/rm -rf %D/share/crack
@unexec /bin/rm -rf %D/share/doc/crack
@unexec /bin/rm -rf %D/share/libexec/crack
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Fri Aug 9 06:03:32 PDT 2002
State-Changed-Why:
Fixed, thanks for the PR.
State-Changed-From-To: closed->analyzed
State-Changed-By: wennmach
State-Changed-When: Fri Aug 9 07:14:01 PDT 2002
State-Changed-Why:
I've seen it.
Responsible-Changed-From-To: pkg-manager->wennmach
Responsible-Changed-By: wennmach
Responsible-Changed-When: Fri Aug 9 07:14:01 PDT 2002
Responsible-Changed-Why:
I'll have a look.
State-Changed-From-To: analyzed->closed
State-Changed-By: wiz
State-Changed-When: Fri Aug 9 07:16:39 PDT 2002
State-Changed-Why:
I already fixed this one :)
>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.