--- pdfresurrect-0.6.orig/Makefile.in +++ pdfresurrect-0.6/Makefile.in @@ -15,11 +15,11 @@ install: cp $(APP) $(PREFIX)/bin/ - cp $(MANPAGE) $(PREFIX)/man/man1/ + cp $(MANPAGE) $(PREFIX)/share/man/man1/ uninstall: rm $(PREFIX)/bin/$(APP) - rm $(PREFIX)/man/man1/$(MANPAGE) + rm $(PREFIX)/share/man/man1/$(MANPAGE) clean: rm -rfv $(OBJS) $(APP) --- pdfresurrect-0.6.orig/pdfresurrect.1 +++ pdfresurrect-0.6/pdfresurrect.1 @@ -42,7 +42,7 @@ .B \-s Scrub the previous history data from the specified PDF. .SH NOTES -The scrubbing feature (-s) should not be trusted for any serious security +The scrubbing feature (\-s) should not be trusted for any serious security uses. After using this feature, please verify that it in fact zero'd all of the objects that were of concern (those objects that were to be zero'd). .PP --- pdfresurrect-0.6.orig/debian/rules +++ pdfresurrect-0.6/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/pdfresurrect. + $(MAKE) PREFIX=$(CURDIR)/debian/pdfresurrect/usr install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pdfresurrect-0.6.orig/debian/docs +++ pdfresurrect-0.6/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README --- pdfresurrect-0.6.orig/debian/README.Debian +++ pdfresurrect-0.6/debian/README.Debian @@ -0,0 +1,8 @@ +pdfresurrect for Debian +------------------------ + +More information on PDF revisions can be found in this paper: + + http://www.757labs.com/projects/pdfresurrect/pdfresurrect_paper.pdf + + -- Francois Marier Fri, 22 May 2009 11:43:25 +1200 --- pdfresurrect-0.6.orig/debian/changelog +++ pdfresurrect-0.6/debian/changelog @@ -0,0 +1,13 @@ +pdfresurrect (0.6-1) unstable; urgency=low + + * New upstream release + * Drop manpage and build changes (merged upstream) + * Fix hyphen problem in upstream manpage + + -- Francois Marier Sun, 24 May 2009 11:05:13 +1200 + +pdfresurrect (0.5-1) unstable; urgency=low + + * Initial release (Closes: #529706) + + -- Francois Marier Fri, 22 May 2009 14:53:51 +1200 --- pdfresurrect-0.6.orig/debian/watch +++ pdfresurrect-0.6/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/_/./ \ +http://www.757labs.com/projects/pdfresurrect/ releases/pdfresurrect-v([0-9_]+).tar.gz --- pdfresurrect-0.6.orig/debian/dirs +++ pdfresurrect-0.6/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- pdfresurrect-0.6.orig/debian/compat +++ pdfresurrect-0.6/debian/compat @@ -0,0 +1 @@ +7 --- pdfresurrect-0.6.orig/debian/copyright +++ pdfresurrect-0.6/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by: + + Francois Marier on Thu, 21 May 2009 14:04:42 +1200 + +It was downloaded from: + + http://www.757labs.com/projects/pdfresurrect/#downloads + +Upstream Author: + + Matt Davis + +Copyright: + + Copyright (C) 2008-2009 Matt Davis + +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 3 of the License, or + (at your option) any later version. + + This package 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2009 Francois Marier + +and is licensed under the GPL version 3, see above. --- pdfresurrect-0.6.orig/debian/control +++ pdfresurrect-0.6/debian/control @@ -0,0 +1,24 @@ +Source: pdfresurrect +Section: text +Priority: extra +Maintainer: Francois Marier +Build-Depends: debhelper (>= 7), autotools-dev +Standards-Version: 3.8.1 +Homepage: http://www.757labs.com/projects/pdfresurrect/ +Vcs-git: git://git.debian.org/git/collab-maint/pdfresurrect.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/pdfresurrect.git;a=summary + +Package: pdfresurrect +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: tool for extracting/scrubbing versioning data from PDF documents + PDFResurect is a tool for analyzing and manipulating revisions to + PDF documents (sometimes known as Adobe Acrobat files). The PDF format + allows for previous changes to be retained in a revised version of the + document, thereby keeping a running history of revisions to the document. + . + This tool extracts all previous revisions while also producing a summary + of changes between revisions. It can also "scrub" or write data over the + original instances of PDF objects that have been modified or deleted, in + an effort to disguise information from previous versions that might not + be intended for anyone else to read. --- pdfresurrect-0.6.orig/debian/menu +++ pdfresurrect-0.6/debian/menu @@ -0,0 +1,2 @@ +?package(pdfresurrect):needs="text" section="Applications/Text"\ + title="pdfresurrect" command="/usr/bin/pdfresurrect"