--- pdfcrack-0.10.orig/debian/compat +++ pdfcrack-0.10/debian/compat @@ -0,0 +1 @@ +5 --- pdfcrack-0.10.orig/debian/changelog +++ pdfcrack-0.10/debian/changelog @@ -0,0 +1,55 @@ +pdfcrack (0.10-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable, remaining changes (LP: #272468): + - Suggest pdf-viewer instead of pdf-reader + + -- Nathan Handler Sat, 20 Sep 2008 07:55:10 -0500 + +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 Wed, 23 Jul 2008 11:16:06 +0200 + +pdfcrack (0.9-1ubuntu1) intrepid; urgency=low + + * Suggest pdf-viewer instead of pdf-reader (LP: #224507) + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Nathan Handler Mon, 07 Jul 2008 19:37:57 -0500 + +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 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 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 Sat, 29 Jul 2006 12:04:47 +0200 + --- pdfcrack-0.10.orig/debian/watch +++ pdfcrack-0.10/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://heanet.dl.sourceforge.net/sourceforge/pdfcrack/pdfcrack-(.*)\.tar\.gz --- pdfcrack-0.10.orig/debian/copyright +++ pdfcrack-0.10/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Nacho Barrientos Arias on +Sat, 29 Jul 2006 12:04:47 +0200. + +It was downloaded from http://sourceforge.net/projects/pdfcrack + +Upstream Author: Henning Noren + +Copyright (C) 2006-2007 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, Nacho Barrientos Arias +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pdfcrack-0.10.orig/debian/rules +++ pdfcrack-0.10/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_clean -k + 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.10.orig/debian/control +++ pdfcrack-0.10/debian/control @@ -0,0 +1,21 @@ +Source: pdfcrack +Section: utils +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Nacho Barrientos Arias +Build-Depends: debhelper (>= 5), quilt +Standards-Version: 3.8.0 +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.10.orig/debian/dirs +++ pdfcrack-0.10/debian/dirs @@ -0,0 +1 @@ +/usr/bin --- pdfcrack-0.10.orig/debian/docs +++ pdfcrack-0.10/debian/docs @@ -0,0 +1 @@ +README --- pdfcrack-0.10.orig/debian/patches/01_drop_strip_calls.diff +++ pdfcrack-0.10/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.10.orig/debian/patches/series +++ pdfcrack-0.10/debian/patches/series @@ -0,0 +1 @@ +01_drop_strip_calls.diff -p1 --- pdfcrack-0.10.orig/debian/manpages/pdfcrack.1 +++ pdfcrack-0.10/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 for the Debian GNU/Linux system (but may be used by others). +.SH BUGS +Report bugs to Henning Noren . +.SH COPYRIGHT +Copyright \(co 2006, Henning Noren \- 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 +