--- crack-5.0a.orig/debian/changelog
+++ crack-5.0a/debian/changelog
@@ -0,0 +1,110 @@
+crack (5.0a-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use -k option to sort (Closes: #380540)
+
+ -- Julien Danjou <acid@debian.org>  Sat, 02 Aug 2008 10:13:35 +0200
+
+crack (5.0a-9) unstable; urgency=low
+
+  * Completely rewritten wrapper script to avoid misbehavior for certain
+    parameter combinations (closes: #340453)
+  * Applied patch from Petr Salinger <Petr.Salinger@t-systems.cz> to enable
+    builds on GNU/kFreeBSD (closes: #337428)
+
+ -- Pawel Wiecek <coven@debian.org>  Sun,  2 Apr 2006 22:49:00 +0200
+
+crack (5.0a-8) unstable; urgency=low
+
+  * Applied patch from Dann Frazier <dannf@hp.com> to fix problems on 64-bit
+    archs (closes: #323421)
+  * Updated standards-version (no changes required)
+  * Fixed a few typos in Crack manual (closes: #325682)
+
+ -- Pawel Wiecek <coven@debian.org>  Thu, 22 Sep 2005 21:46:56 +0200
+
+crack (5.0a-7) unstable; urgency=low
+
+  * Applied a patch from Nicolas Francois <nicolas.francois@centraliens.net>
+    to fix some formatting issues in Crack.8 (closes: #272578)
+
+ -- Pawel Wiecek <coven@debian.org>  Sun,  3 Oct 2004 23:49:01 +0200
+
+crack (5.0a-6) unstable; urgency=low
+
+  * Added removing of run directory in clean target (closes: #227372)
+
+ -- Pawel Wiecek <coven@debian.org>  Mon, 26 Jan 2004 11:24:45 +0100
+
+crack (5.0a-5) unstable; urgency=low
+
+  * Applied patch from Thiemo Seufer to fix a tiny error in debian/rules that
+    effectively prevented Crack from build on mips (closes: #210862)
+  * Updated standards version (no changes required)
+  * Changed some relative symlinks to absolute ones (as per policy)
+
+ -- Pawel Wiecek <coven@debian.org>  Mon, 13 Oct 2003 16:38:34 +0200
+
+crack (5.0a-4) unstable; urgency=low
+
+  * Patch from Javier Fernandez-Sanguino Pena: Debian/rules now creates a
+    /var/run/Crack directory for the temporary creation of files by the Crack
+    scripts, symlinks are created from /usr/share/Crack/run to /var/run/Crack
+    in order to avoid modifying all the scripts, and maybe failing to fix some
+    (closes: #203658)
+  * Added a manpage from Javier Fernandez-Sanguino Pena (closes: #194414)
+
+ -- Pawel Wiecek <coven@debian.org>  Tue,  2 Sep 2003 17:18:41 +0200
+
+crack (5.0a-3) unstable; urgency=low
+
+  * Applied patch from Javier Fernandez-Sanguino Pen~a to fix PATH Crack uses
+    (closes: #194417)
+  * Documented the fact that Crack is only available to root and added checks
+    (closes: #194415)
+  * Removed the call to dh_undocumented from debian/rules
+  * Updated Standards-version
+
+ -- Pawel Wiecek <coven@debian.org>  Wed, 28 May 2003 13:38:18 +0200
+
+crack (5.0a-2) unstable; urgency=low
+
+  * Fixed doc-base errors (closes: #164912)
+  * Fixed xdawg symlink (closes: #164954)
+
+ -- Pawel Wiecek <coven@debian.org>  Fri, 25 Oct 2002 14:03:33 +0200
+
+crack (5.0a-1) unstable; urgency=low
+
+  * Initial Release with GREAT help of Javier Fernandez-Sanguino Pen~a
+    <jfs@computer.org>, who actually made most of dirty work (Closes: #82613)
+  * There are currently a lot of lintian errors but these are *not* the
+    packages fault. The package uses a special header for dictionary files
+    (#!xdawg) which gets confused for an interpreter definition.  DAWG
+    wordlist files format is specified in the FAQ (jfs)
+  * DAWG wordlist are generated *after* installation, on the first run
+    (in order to prevent this package from increasing in size) (jfs)
+  * Since sources need to be hacked (as described in the docs) to provide
+    MD5 or crypt (DES) functionality there are two conflicting packages
+    created (jfs)
+  * Created a simple wrapper script that merges passwd database for
+    clueless people (jfs)
+  * Created a new script based on Crack only for compilation (Crack.make)
+    and removed the compilation stuff from Crack since packages will not
+    include the sources (jfs)
+  * Applied recommended patch (see FAQ) for libc problems when compiling
+    Crack (jfs)
+  * Since debian takes care of distributing the proper binaries in
+    packages for the given architectures, the script/binstamp has been
+    modified to always return 'debian' if running on a Debian system (jfs)
+  * GHS compatibility -- the program configuration uses /usr/share/dict
+    (instead of /usr/dict) (jfs)
+  * The package Recommends: wordlist (jfs)
+  * Fixed a couple of spelling errors and other minor stuff like that (cov)
+  * Fixed debian/rules so the package actually builds from source (cov)
+  * Bumped standards-version to 3.5.6 (cov)
+  * Fixed many lintian errors and warnings, including some quite important
+    policy violations (cov)
+
+ -- Pawel Wiecek <coven@debian.org>  Sun, 13 Oct 2002 21:38:05 +0200
+
--- crack-5.0a.orig/debian/control
+++ crack-5.0a/debian/control
@@ -0,0 +1,44 @@
+Source: crack
+Section: admin
+Priority: optional
+Maintainer: Pawel Wiecek <coven@debian.org>
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.6.2
+
+Package: crack-common
+Architecture: all
+Depends: make
+Recommends: wordlist
+Description: Password guessing program
+ Crack is program designed to quickly locate vulnerabilities
+ in Unix (or other) password files by scanning the contents
+ of a password file, looking for users who have misguidedly 
+ chosen a weak login password.
+ .
+ This package provides the common files for the crypt() and 
+ MD5 versions.
+
+Package: crack
+Architecture: any
+Depends: crack-common, ${shlibs:Depends}
+Conflicts: crack-md5
+Description: Password guessing program
+ Crack is program designed to quickly locate vulnerabilities
+ in Unix (or other) password files by scanning the contents
+ of a password file, looking for users who have misguidedly 
+ chosen a weak login password.
+ .
+ This package provides the runtime files for the crypt() version.
+
+Package: crack-md5
+Architecture: any
+Depends: crack-common, ${shlibs:Depends}
+Conflicts: crack
+Provides: crack
+Description: Password guessing program
+ Crack is program designed to quickly locate vulnerabilities
+ in Unix (or other) password files by scanning the contents
+ of a password file, looking for users who have misguidedly 
+ chosen a weak login password.
+ .
+ This package provides the runtime files for the MD5 version.
--- crack-5.0a.orig/debian/rules
+++ crack-5.0a/debian/rules
@@ -0,0 +1,152 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#~$(MAKE)
+	chmod 755 Crack.make
+	./Crack.make 
+	# this is the crypt version, move it to other place
+	mv run/bin/debian/ run/bin/debian-crypt
+	# To build the MD5 version
+	mv src/libdes src/libdes.orig
+	cd src/util && cp elcid.c elcid.c.orig && cp elcid.c,bsd elcid.c
+	./Crack.make
+	mv run/bin/debian/ run/bin/debian-md5
+	# Now restore it to the previous situation
+	mv src/libdes.orig src/libdes
+	cd src/util && cp elcid.c.orig elcid.c
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	# This is done just in case
+	if [ -d src/libdes.orig ] ; then \
+	 mv src/libdes.orig src/libdes ; \
+	 cd src/util && cp elcid.c.orig elcid.c ;\
+	fi
+	-$(MAKE) spotless
+	-rm -rf run
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/crack.
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/crack
+	# For the common package
+	install -m755 Crack Reporter  debian/crack-common/usr/share/Crack/
+	install -m644 Makefile  debian/crack-common/usr/share/Crack/
+	install -m755 scripts/*  debian/crack-common/usr/share/Crack/scripts/
+	for i in dict ; do \
+	cp -a $$i debian/crack-common/usr/share/Crack/; \
+	done
+	cp -a conf/* debian/crack-common/etc/Crack/
+	cd  debian/crack-common/usr/share/Crack/ && ln -s /etc/Crack conf
+	chmod a+x  debian/crack-common/usr/share/Crack/Crack  debian/crack-common/usr/share/Crack/Reporter
+	# For the DES version
+	cp -a run/bin/debian-crypt/* debian/crack/usr/lib/Crack
+	cd debian/crack/usr/share/Crack && ln -s /var/run/Crack run
+
+	cd debian/crack/var/run/Crack/bin/ && ln -s /usr/lib/Crack debian
+	install -m755 debian/Crack debian/Crack-Reporter debian/crack/usr/sbin/
+	# For the MD5 version
+	cp -a run/bin/debian-md5/* debian/crack-md5/usr/lib/Crack
+	cd debian/crack-md5/usr/share/Crack && ln -s /var/run/Crack run
+
+	cd debian/crack-md5/var/run/Crack/bin/ && ln -s /usr/lib/Crack debian
+	install -m755 debian/Crack debian/Crack-Reporter debian/crack-md5/usr/sbin/
+# Could change into this the previous statements:
+#	dh_movefiles
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+#	dh_installdebconf -i
+	dh_installdocs -i -pcrack-common doc/*
+	dh_installexamples -i extra/*
+	dh_installmenu -i
+	dh_installcron -i
+	dh_installman -i debian/Crack.8
+	cd debian/crack-common/usr/share/man/man8/ && ln -s Crack.8 Crack-Reporter.8
+	dh_installinfo -i
+	dh_installchangelogs  -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+#	dh_installdebconf -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installmenu -a
+#	dh_installlogrotate -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+#	dh_installmime -a
+#	dh_installinit -a
+	dh_installcron -a
+#	dh_installman -a
+	dh_installinfo -a
+#	dh_undocumented -a -A Crack.8 Crack-Reporter.8
+	dh_installchangelogs  -a
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+#	dh_makeshlibs -a
+	dh_installdeb -a
+#	dh_perl -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- crack-5.0a.orig/debian/dirs
+++ crack-5.0a/debian/dirs
@@ -0,0 +1,4 @@
+usr/sbin
+usr/share/Crack
+usr/share/Crack/scripts
+etc/Crack
--- crack-5.0a.orig/debian/README.Debian
+++ crack-5.0a/debian/README.Debian
@@ -0,0 +1,47 @@
+crack for Debian
+----------------
+
+Debian passwd files are usually *NOT* merged so you *cannot* run
+# Crack /etc/passwd
+
+However, the Crack wrapper script has been modified to consider
+this case and run the merge scripts by itself and then run Crack
+on the merged file.
+
+If you are using MD5 passwords you need to install the 'crack-md5'
+package (not 'crack'), please read the documentation
+(/usr/share/doc/crack-common/manual.txt)
+
+BTW, if you have a mixed crypt/md5 environment Crack will probably not work 
+100% fine. Period. You can install first the 'crack' package, run
+Crack  (it will probably have problems with the Md5 passwords). Once
+it's finished (if ever) you should install 'crack-md5' and run it again.
+The package maintainer could probably provide a better way to handle
+this situation in the future but for now it's the only thing you can do
+(save, perhaps, fixing the code so Crack works with *both* MD5 and DES).
+
+Crack needs root priviledges to run. It will not work from ordinary user
+account. This is due to access permissions to /usr/share/Crack. Anyway -- you
+wouldn't want your users to run Crack on your machine, would you?
+
+There probably are errors due to the way it generates the binary-stamps
+(since it uses uname to know which binaries it has compiled). I've
+made changes to the script/binstamps so it always return 'debian'
+when running on a Debian system. 
+
+Also, binaries are under /usr/lib/Crack (with a symlink under 
+/usr/share/Crack/run/bin/debian to keep Crack happy) to follow the FHS
+
+
+TODO:
+
+- write manpage
+- fix lintian warnings (errors regarding xdawg are not errors, please
+  see the changelog)
+- add an init.d script so you can stop all password cracking processes
+  (and rerun them if there is anyone pending on bootup). This will also help
+  on upgrades (if any) since these processes should be stopped/restarted in
+  this cases.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>, Wed,  4 Sep 2002 14:28:19 +0200,
+    Pawel Wiecek <coven@debian.org>, Sun, 13 Oct 2002 21:05:38 +0200
--- crack-5.0a.orig/debian/crack-common.docs
+++ crack-5.0a/debian/crack-common.docs
@@ -0,0 +1,4 @@
+manual.txt
+manual.html
+c50-faq.html
+c50-faq.txt
--- crack-5.0a.orig/debian/Crack
+++ crack-5.0a/debian/Crack
@@ -0,0 +1,47 @@
+#!/bin/bash
+# Wrapper file for Crack
+# written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution
+# Heavily rewritten by Pawel Wiecek
+# 
+# Licensed under the GNU GPL v2.
+# See /usr/share/doc/common-licenses/GPL
+
+# This is needed due to relative calls to 'dawg' and co.
+PATH=/usr/lib/Crack:$PATH
+export PATH
+
+if [ "`id -u`" != "0" ]
+then
+  echo "Crack requires root priviledges to run."
+  exit 1
+fi
+
+CRACKDIR=/usr/share/Crack
+
+# Prepare parameters list expanding any filenames to their canonical names
+unset PARAMS
+declare -a PARAMS
+n=1
+
+while [ "${!n}" != "" ]
+do
+  if [ -f "${!n}" ]
+  then
+    PARAMS[$n]="`readlink -f "${!n}"`"
+    if [ "${PARAMS[$n]}" = "/etc/passwd" -a -f /etc/shadow ]
+    then
+      # Need to merge passwd with shadow...
+      MERGED=`tempfile -d $CRACKDIR/run`
+      >$MERGED
+      chmod 600 $MERGED
+      sh $CRACKDIR/scripts/shadmrg.sv >$MERGED
+      PARAMS[$n]=$MERGED
+    fi
+  else
+    PARAMS[$n]="${!n}"
+  fi
+  ((n++))
+done
+
+cd $CRACKDIR
+./Crack "${PARAMS[@]}"
--- crack-5.0a.orig/debian/copyright
+++ crack-5.0a/debian/copyright
@@ -0,0 +1,156 @@
+This package was debianized by Javier Fernandez-Sanguino Peņa 
+<jfs@computer.org> on Wed,  4 Sep 2002 14:28:19 +0200.
+
+It was downloaded from http://www.users.dircon.co.uk/~crypto/download/
+
+Upstream Author: Alec Muffett  <Alec.Muffett@UK.Sun.COM>
+
+Copyright:
+
+******************************************************************
+
+Throughout the entire history of the Crack software, the author has
+been employed (apart from occasional periods of unemployment) by a
+selection of academic institutions and companies, none of whom have
+ever dedicated any resources to the development of the software, nor
+have endorsed the development of the software in any other way.
+
+None of these institutions and companies bear any responsibility
+whatsoever for the software, including (but not restricted to)
+responsibility for its existence, structure, content, function or use
+by any person anywhere.
+
+******************************************************************
+
+The author would like to take this opportunity to thank those freeware
+authors who have made indirect but positive contributions to the
+development of Crack, notably:
+
+* Michael Glad (UFC) and Eric Young (libdes/SSLeay) for developments
+in the field of high-speed cryptographic implementation which have
+provided core functionality for Crack since 1991,
+
+* The Free Software Foundation for EMACS, GCC, and a variety of other
+essential software development tools,
+
+* Larry Wall for Perl (of which I cannot speak highly enough), and...
+
+* Linus Torvalds and all other contributors to the Linux project,
+which has provided the operating system upon which Crack has been
+developed for the last few years.
+
+The author would also like to thank Paul Leyland for the suggestion of
+several ideas key to the new release of the software, notably DAWG
+dictionary compression and dictionary handling techniques.
+
+******************************************************************
+
+(*
+This document is freely plagiarised from the 'Artistic Licence',
+distributed as part of the Perl v4.0 kit by Larry Wall, which is
+available from most major archive sites
+*)
+
+This documents purpose is to state the conditions under which this
+Package (See definition below) viz: The "Crack" Password Cracker, which
+is copyright Alec David Edward Muffett, may be copied, such that the
+Copyright Holder maintains some semblance of artistic control over the
+development of the package, while giving the users of the package the
+right to use and distribute the Package in a more-or-less customary
+fashion, plus the right to make reasonable modifications.
+
+******************************************************************
+
+Definitions:
+
+"Package" refers to the collection of files distributed by the Copyright
+Holder, and derivatives of that collection of files created through
+textual modification, or segments thereof.
+
+"Standard Version" refers to such a Package if it has not been modified,
+or has been modified in accordance with the wishes of the Copyright
+Holder.
+
+"Copyright Holder" is whoever is named in the copyright or copyrights
+for the package.
+
+"You" is you, if you're thinking about copying or distributing this
+Package.
+
+"Reasonable copying fee" is whatever you can justify on the basis of
+media cost, duplication charges, time of people involved, and so on.
+(You will not be required to justify it to the Copyright Holder, but
+only to the computing community at large as a market that must bear the
+fee.)
+
+"Freely Available" means that no fee is charged for the item itself,
+though there may be fees involved in handling the item.  It also means
+that recipients of the item may redistribute it under the same
+conditions they received it.
+
+
+1.  You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated
+disclaimers.
+
+2.  You may apply bug fixes, portability fixes and other modifications
+derived from the Public Domain or from the Copyright Holder.  A Package
+modified in such a way shall still be considered the Standard Version.
+
+3.  You may otherwise modify your copy of this Package in any way,
+provided that you insert a prominent notice in each changed file stating
+how and when AND WHY you changed that file, and provided that you do at
+least ONE of the following:
+
+a) place your modifications in the Public Domain or otherwise make them
+Freely Available, such as by posting said modifications to Usenet or an
+equivalent medium, or placing the modifications on a major archive site
+such as uunet.uu.net, or by allowing the Copyright Holder to include
+your modifications in the Standard Version of the Package.
+
+b) use the modified Package only within your corporation or
+organization.
+
+c) rename any non-standard executables so the names do not conflict with
+standard executables, which must also be provided, and provide separate
+documentation for each non-standard executable that clearly documents
+how it differs from the Standard Version.
+
+d) make other distribution arrangements with the Copyright Holder.
+
+4.  You may distribute the programs of this Package in object code or
+executable form, provided that you do at least ONE of the following:
+
+a) distribute a Standard Version of the executables and library files,
+together with instructions (in the manual page or equivalent) on where
+to get the Standard Version.
+
+b) accompany the distribution with the machine-readable source of the
+Package with your modifications.
+
+c) accompany any non-standard executables with their corresponding
+Standard Version executables, giving the non-standard executables
+non-standard names, and clearly documenting the differences in manual
+pages (or equivalent), together with instructions on where to get the
+Standard Version.
+
+d) make other distribution arrangements with the Copyright Holder.
+
+5.  You may charge a reasonable copying fee for any distribution of this
+Package.  You may charge any fee you choose for support of this Package.
+YOU MAY NOT CHARGE A FEE FOR THIS PACKAGE ITSELF.  However, you may
+distribute this Package in aggregate with other (possibly commercial)
+programs as part of a larger (possibly commercial) software distribution
+provided that YOU DO NOT ADVERTISE this package as a product of your
+own.
+
+6.  The name of the Copyright Holder may not be used to endorse or
+promote products derived from this software without specific prior
+written permission.
+
+7.  THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+				The End
--- crack-5.0a.orig/debian/crack.dirs
+++ crack-5.0a/debian/crack.dirs
@@ -0,0 +1,5 @@
+usr/sbin
+usr/lib/Crack
+usr/share/Crack
+etc/Crack
+var/run/Crack/bin
--- crack-5.0a.orig/debian/crack-md5.dirs
+++ crack-5.0a/debian/crack-md5.dirs
@@ -0,0 +1,5 @@
+usr/sbin
+usr/lib/Crack
+usr/share/Crack
+etc/Crack
+var/run/Crack/bin
--- crack-5.0a.orig/debian/Crack.8
+++ crack-5.0a/debian/Crack.8
@@ -0,0 +1,136 @@
+.TH CRACK 8
+.SH NAME
+Crack, Reporter \- programs to break password files
+.SH SYNOPSIS
+.B Crack
+.I [options] [\-fmt format] [file ...]
+.br
+.B Crack\-Reporter
+.I [\-quiet] [\-html]
+.SH "DESCRIPTION"
+This manual page documents briefly the 
+.BR Crack,
+and
+.B Crack\-Reporter
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, there is some documentation available at 
+.I /usr/share/doc/crack
+which you are encouraged to read
+.PP
+.B Crack
+is not a program designed to break the password of every user in
+the file.  Rather, it is designed to find weak passwords in the file, by
+attacking those sorts of bad passwords which are most likely to be used,
+in the order in which they would most easily be found (ie: are most
+likely to be used by a moronic user).
+
+Crack is not designed to break user passwords; it is designed to break
+password files.  This is a subtle but important distinction.
+
+.B Crack\-Reporter
+will show what passwords have been cracked, as well as view
+errors that have been detected in the source password files, etc.
+Guesses are listed chronologically, so users who wish to see incremental
+changes in the output as Crack continues to run over a course of days or
+weeks, are encouraged to wrap invocations of \fBCrack\-Reporter\fR in a script with
+\fBdiff\fR.
+
+
+.SH OPTIONS
+A summary of options are included below.
+For Crack:
+.TP
+.B \-makedict
+Creates and compresses the dictionaries \fBCrack\fR will use
+.TP
+.B \-makeonly
+Compiles the binaries for \fBCrack\fR (not necessary for Debian GNU/Linux since
+they are already provided)
+.TP
+.B \-debug
+Lets you see what the Crack script is doing.
+.TP
+.B \-recover
+Used when restarting an abnormally-terminated run; suppresses rebuild
+of the gecos-derived dictionaries.
+.TP
+.B \-fgnd
+Runs the password cracker in the foreground, with stdin, stdout and
+stderr attached to the usual places.
+.TP
+.B \-fmt format
+Specifies the input file format. 
+.TP
+.B \-from N
+Starts password cracking from rule number "N".
+.TP
+.B \-keep
+Prevents deletion of the temporary file used to store the password
+cracker's input.
+.TP
+.B \-mail
+E-Mail a warning message to anyone whose password is cracked. 
+See the script \fBnastygram\fR.
+.TP
+.B \-network
+Runs the password cracker in \fInetwork\fR mode.
+.TP
+.B \-nice N
+Runs the password cracker at a reduced priority, so that other jobs can
+take priority over the CPU.
+.TP
+.B \-kill filename
+.TP
+.B \-remote
+Internal options used to support networking.
+
+For Crack\-Reporter
+.B \-html
+Produces output in a fairly basic HTML-readable format.
+.B \-quiet
+Suppresses the reporting of errors in the password file
+(corrupt entries, etc)
+
+.SH EXAMPLES
+To run Crack
+
+   # Crack \-nice 10 /etc/passwd
+
+If a Crack session is killed accidentally, it can be restarted with moderate
+efficiency by doing:
+
+    mv run/Dhostname.N run/tempfilename
+    Crack \-recover \-fmt spf run/tempfilename
+
+However if all you wish to do is start cracking passwords from some specific
+rule number, or to restart a run whilst skipping over a few rulesets, try:
+
+    Crack [\-recover] \-from N filename ...
+
+\&...where N is the number of the rule to start working from.
+
+.SH FILES
+.I /usr/share/Crack
+Location of the Crack program and scripts.
+.I /var/run/Crack/
+Location for the temporary files used by Crack.
+
+.SH "SEE ALSO"
+You will find more documentation about Crack in the text files available in
+.IR /usr/share/doc/crack\-common
+Documentation includes the program's Manual (in HTML and Text files), the
+User's Frequently Asked Questions (FAQ), examples, articles and even some
+humour.
+
+.SH AUTHOR
+This manual page was written by Javier Fernandez-Sanguino <jfs@debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
+
+.I Crack
+and
+.I Crack\-Reporter
+(originally called \fIReporter\fR)
+were written by Alec Muffett  <Alec.Muffett@UK.Sun.COM>
+
--- crack-5.0a.orig/debian/postrm
+++ crack-5.0a/debian/postrm
@@ -0,0 +1,25 @@
+#! /bin/sh
+# postrm script for crack
+#
+set -e
+
+case "$1" in
+       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+	purge)
+# If the user has run crack there is stuff in here
+	[ -d /usr/share/Crack ] && rm -rf /usr/share/Crack
+	[ -d /etc/Crack ] && rm -rf /etc/Crack
+        ;;
+
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+#DEBHELPER#
+
+exit 0
--- crack-5.0a.orig/debian/Crack-Reporter
+++ crack-5.0a/debian/Crack-Reporter
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Wrapper file for Reporter
+# written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution
+# 
+# Licensed under the GNU GPL v2.
+# See /usr/share/doc/common-licenses/GPL
+
+cd /usr/share/Crack
+./Reporter $*
--- crack-5.0a.orig/debian/crack.doc-base.crack-faq
+++ crack-5.0a/debian/crack.doc-base.crack-faq
@@ -0,0 +1,14 @@
+Document: crack-faq
+Title: Crack FAQ
+Author:  Alec Muffett
+Abstract: This document includes Frequently Asked Questions
+ for Crack (the password guessing program).
+Section: admin
+
+
+Format: text
+Files: /usr/share/doc/crack-common/c50-faq.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/crack-common/c50-faq.html
+Files: /usr/share/doc/crack-common/c50-faq.html
--- crack-5.0a.orig/debian/crack.doc-base.crack
+++ crack-5.0a/debian/crack.doc-base.crack
@@ -0,0 +1,14 @@
+Document: crack
+Title: Crack Manual
+Author:  Alec Muffett
+Abstract: This manual describes what crack is
+ and how it can be used to test for vulnerable passwords.
+Section: admin
+
+
+Format: text
+Files: /usr/share/doc/crack-common/manual.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/crack-common/manual.html
+Files: /usr/share/doc/crack-common/manual.html
