Subject: pkg/17892: pkgsrc/security/crack installed as binary package cannot be run
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/09/2002 14:37:18
>Number:         17892
>Category:       pkg
>Synopsis:       crack installed as binary package is incomplete
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 09 05:38:00 PDT 2002
>Originator:     Urban Boquist
>Release:        NetBSD 1.6E
Carlstedt Research & Technology AB, Sweden
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
	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.
	Install pkgsrc/security/crack as binary package, then try to
	run it.
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 @@
+@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