--- pdfcrack-0.11.orig/debian/dirs
+++ pdfcrack-0.11/debian/dirs
@@ -0,0 +1 @@
+/usr/bin
--- pdfcrack-0.11.orig/debian/docs
+++ pdfcrack-0.11/debian/docs
@@ -0,0 +1 @@
+README
--- pdfcrack-0.11.orig/debian/control
+++ pdfcrack-0.11/debian/control
@@ -0,0 +1,20 @@
+Source: pdfcrack
+Section: utils
+Priority: optional
+Maintainer: Nacho Barrientos Arias <nacho@debian.org>
+Build-Depends: debhelper (>= 7), quilt
+Standards-Version: 3.8.3
+Homepage: http://sourceforge.net/projects/pdfcrack
+
+Package: pdfcrack
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: pdf-viewer
+Description: PDF files password cracker
+ pdfcrack is a simple tool for recovering passwords from pdf-documents.
+ It should be able to handle all pdfs that uses the standard security handler
+ but the pdf-parsing routines are a bit of a quick hack so you might stumble
+ across some pdfs where the parser needs to be fixed to handle.
+ .
+ pdfcrack allows configure the size of the searched password, use an 
+ external wordlist file and save cracking sessions to restore it later.
--- pdfcrack-0.11.orig/debian/rules
+++ pdfcrack-0.11/debian/rules
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp: patch
+	dh_testdir
+	touch $@
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE) CFLAGS="$(CFLAGS)"
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	$(MAKE) clean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	install -m 755 pdfcrack $(CURDIR)/debian/pdfcrack/usr/bin
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs changelog
+	dh_installdocs
+	dh_installman debian/manpages/pdfcrack.1
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install configure
--- pdfcrack-0.11.orig/debian/watch
+++ pdfcrack-0.11/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pdfcrack/pdfrack-(.+)\.tar\.gz
--- pdfcrack-0.11.orig/debian/README.source
+++ pdfcrack-0.11/debian/README.source
@@ -0,0 +1 @@
+See /usr/share/doc/quilt/README.source
--- pdfcrack-0.11.orig/debian/changelog
+++ pdfcrack-0.11/debian/changelog
@@ -0,0 +1,51 @@
+pdfcrack (0.11-1) unstable; urgency=low
+
+  * New upstream release 
+  * debian/control
+   + Update standards-version to 3.8.3 (no changes).
+   + Suggest pdf-viewer instead of pdf-reader (closes: #498032).
+  * debian/watch
+   + Using SF.net redirector
+
+ -- Nacho Barrientos Arias <nacho@debian.org>  Thu, 24 Sep 2009 16:00:45 +0200
+
+pdfcrack (0.10-1) unstable; urgency=low
+
+  * New upstream release (closes: #490187).
+  * debian/control
+   + Set Standards-Version to 3.8.0 (no changes).
+
+ -- Nacho Barrientos Arias <nacho@debian.org>  Wed, 23 Jul 2008 11:16:06 +0200
+
+pdfcrack (0.9-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control
+  - Move the homepage to the new field.
+  - Add quilt as build-dep.
+  - New maintainer email address.
+  - Suggest pdf-reader instead of xpdf-reader
+  * debian/rules
+  - Apply patches
+  * debian/patches
+  - 01_drop_strip_calls: removes explicit strip calls
+    (closes: #437761).
+
+ -- Nacho Barrientos Arias <nacho@debian.org>  Fri, 23 Nov 2007 23:23:42 +0100
+
+pdfcrack (0.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/rules
+  - Minor clean.
+  - Removed -fweb from CFLAGS's set, not required now. 
+
+ -- Nacho Barrientos Arias <chipi@criptonita.com>  Thu, 26 Oct 2006 12:19:46 +0200
+
+pdfcrack (0.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #380328).
+  * Added manpage for pdfcrack not included in upstream sources.
+
+ -- Nacho Barrientos Arias <chipi@criptonita.com>  Sat, 29 Jul 2006 12:04:47 +0200
+
--- pdfcrack-0.11.orig/debian/compat
+++ pdfcrack-0.11/debian/compat
@@ -0,0 +1 @@
+7
--- pdfcrack-0.11.orig/debian/copyright
+++ pdfcrack-0.11/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Nacho Barrientos Arias 
+<chipi@criptonita.com> on Sat, 29 Jul 2006 12:04:47 +0200.
+
+It was downloaded from http://sourceforge.net/projects/pdfcrack
+
+Upstream Author: Henning Noren <confusion42@users.sourceforge.net>
+
+Copyright (C) 2006-2009 Henning Noren.
+Copyright (C) 1996-2005 Glyph & Cog, LLC.
+
+License:
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+Parts of pdfcrack.c and md5.c is derived/copied/inspired from
+xpdf/poppler and are copyright 1995-2006 Glyph & Cog, LLC. All this stuff is
+licensed under the GPL.
+
+The Debian packaging is (C) 2006-2009, 
+  Nacho Barrientos Arias <nacho@debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
--- pdfcrack-0.11.orig/debian/manpages/pdfcrack.1
+++ pdfcrack-0.11/debian/manpages/pdfcrack.1
@@ -0,0 +1,72 @@
+.TH PDFCRACK 1 "october 26, 2006" "pdfcrack 0.8" ""
+.SH NAME
+\fBpdfcrack \- PDF files password cracker
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+\fBpdfcrack\fP -f \fIfilename\fP [\fIoptions\fP]
+.fam T
+.fi
+.SH DESCRIPTION
+\fBpdfcrack\fP is a simple tool for recovering passwords from pdf-documents. It should be able to handle all pdfs that uses the standard security handler but the pdf-parsing routines are a bit of a quick hack so you might stumble across some pdfs where the parser needs to be fixed to handle.
+.SH OPTIONS
+.TP
+.B
+\fB\-b, --bench\fP
+Perform benchmark and exit.
+.TP
+.B
+\fB\-c\fP, \fB--charset=\fP\fISTRING\fP
+Use the characters in \fISTRING\fP as charset.
+.TP
+.B
+\fB\-m\fP, \fB--maxpw=\fP\fIINTEGER\fP
+Stop when reaching \fIINTEGER\fP as password length.
+.TP
+.B
+\fB\-n\fP, \fB--minpw=\fP\fIINTEGER\fP
+Skip trying passwords shorter than \fIINTEGER\fP.
+.TP
+.B
+\fB\-l\fP, \fB--loadState=\fP\fIFILE\fP
+Continue from the state saved in \fIFILENAME\fP.
+.TP
+.B
+\fB\-o, --owner\fP
+Work with the ownerpassword.
+.TP
+.B
+\fB\-p\fP, \fB--password=\fP\fISTRING\fP
+Uses STRING as userpassword to speed up breaking ownerpassword (implies -o).
+.TP
+.B
+\fB\-q, --quiet\fP
+Run quietly.
+.TP
+.B
+\fB\-s, --permutate\fP
+Try permutating the passwords (currently only supports switching first character to uppercase).
+.TP
+.B
+\fB\-u, --user\fP
+Work with the userpassword (default).
+.TP
+.B
+\fB\-v, --version\fP
+Print version and exit.
+.TP
+.B
+\fB\-w\fP, \fB--wordlist=\fP\fIFILE\fP
+Use \fIFILE\fP as source of passwords to try.
+.SH AUTHOR
+Written by Nacho Barrientos Arias <chipi@criptonita.com> for the Debian GNU/Linux system (but may be used by others).
+.SH BUGS
+Report bugs to Henning Noren <confusion42@users.sourceforge.net>.
+.SH COPYRIGHT
+Copyright \(co 2006, Henning Noren <confusion42@users.sourceforge.net> \- All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, Inc.
+.PP
+.nf
+.fam C
+http://sourceforge.net/projects/pdfcrack
+
--- pdfcrack-0.11.orig/debian/patches/01_drop_strip_calls.diff
+++ pdfcrack-0.11/debian/patches/01_drop_strip_calls.diff
@@ -0,0 +1,16 @@
+Index: p/Makefile
+===================================================================
+--- p.orig/Makefile	2007-11-23 22:51:36.000000000 +0100
++++ p/Makefile	2007-11-23 22:51:43.000000000 +0100
+@@ -7,11 +7,9 @@
+ pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
+ 	benchmark.o
+ 	gcc $(CFLAGS) -o $@ $+
+-	strip $@
+ 
+ pdfreader: pdfparser.o pdfreader.o common.o
+ 	gcc $(CFLAGS) -o $@ $+
+-	strip $@
+ 
+ clean:
+ 	rm -f pdfcrack pdfreader testreader *.o
--- pdfcrack-0.11.orig/debian/patches/series
+++ pdfcrack-0.11/debian/patches/series
@@ -0,0 +1 @@
+01_drop_strip_calls.diff -p1
