summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-crypt/pdfcrack/ChangeLog8
-rw-r--r--app-crypt/pdfcrack/Manifest11
-rw-r--r--app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch27
-rw-r--r--app-crypt/pdfcrack/pdfcrack-0.10.ebuild25
4 files changed, 66 insertions, 5 deletions
diff --git a/app-crypt/pdfcrack/ChangeLog b/app-crypt/pdfcrack/ChangeLog
index ef95cec0ad2b..5f8252ec1564 100644
--- a/app-crypt/pdfcrack/ChangeLog
+++ b/app-crypt/pdfcrack/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/pdfcrack
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pdfcrack/ChangeLog,v 1.1 2008/03/22 03:04:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pdfcrack/ChangeLog,v 1.2 2008/05/01 00:06:47 vapier Exp $
+
+*pdfcrack-0.10 (01 May 2008)
+
+ 01 May 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/pdfcrack-0.10-build.patch, +pdfcrack-0.10.ebuild:
+ Version bump.
*pdfcrack-0.9 (22 Mar 2008)
diff --git a/app-crypt/pdfcrack/Manifest b/app-crypt/pdfcrack/Manifest
index 6710ee25350e..d92ef1fe0d25 100644
--- a/app-crypt/pdfcrack/Manifest
+++ b/app-crypt/pdfcrack/Manifest
@@ -1,15 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX pdfcrack-0.10-build.patch 709 RMD160 956acdf03775ca48fb95cf3518573e105c53df77 SHA1 e444f8b243e48290f0b399a34dcae08f513f9ad5 SHA256 38a1183b7cc92a2c2fc690e777a1b18d5567e2e01ac0db4d977b211fa3552175
AUX pdfcrack-0.9-build.patch 722 RMD160 fafd397c2ae52a8fd602614c26e9f5c65254c4da SHA1 6be81bcebfcdc4329921af5bdc93286d00c2047e SHA256 fa8bc0db812711a7f1e233b40ae49d23f114c31c9112257f1273b4ebca052afe
+DIST pdfcrack-0.10.tar.gz 29303 RMD160 cfeb5baeb7c01f10e37f24c685af728118ce36c9 SHA1 839f85ec87c6059764ceade4d3c283aea4021714 SHA256 4f3e2f1110285b12a2a7ae8f9da4ac2f76f17b54d2a85c6f3d21a1f2d426ad00
DIST pdfcrack-0.9.tar.gz 28463 RMD160 92ab34fcc376682774931f7e47b580d7a13bf4cc SHA1 91b5da91f0e89e6788e8de7867a646b6a47cbd8a SHA256 db97a437b8b540a00f415689b7ad58b1ff203a238c95bc65418aa458eb1d9f7e
+EBUILD pdfcrack-0.10.ebuild 611 RMD160 ac440837ceeb0a42a880bd1a1057ff42ae42ee13 SHA1 16733ea24e194cc6107f9490defe27f2e217cb7e SHA256 10ebb6dc1bf597f3a8a2eab38cd462a32e11b0e9fff345163ae2c05c633c9fc9
EBUILD pdfcrack-0.9.ebuild 610 RMD160 f71c025a0c3ef1226921d8a857fccf607115d47b SHA1 e7778c95994d55ee615ee1ee3b338cd735868916 SHA256 f9bc7c658d125324a5b19e750f147f9d2a1ec77a7ed2f43ab9f019d964957ff2
-MISC ChangeLog 432 RMD160 49e516bc8b31cfc1c6641337cf7f0813e2b350a4 SHA1 6c0f249672fad6d0e2ed208e2f26d216aa7c87d8 SHA256 943482d16ad6064057ca24a5e70ce0c6ee9d36de0140cbc708bb57abcb1a9f2b
+MISC ChangeLog 588 RMD160 cac15527ae073d0f6e50e08633c2125b67373522 SHA1 f67e783fdad4a6a41376aac392d96703ce58b3e0 SHA256 6bc9930bea4bb18713a110efe28f36feb635932c2c50f7a3bb66765830fbb6f6
MISC metadata.xml 159 RMD160 7f0018281c6308f73c2d95b3690e3804f0c353c5 SHA1 09baadee9aeb270d0a7f31be07db9db5c105abbc SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFH5Hesj9hvisErhMIRAshOAJ4xR2XbocwJbF6YXMFrpgh+djb8pACgoDRy
-wZvMiz1U5FQlw/+ecfABPGE=
-=CH/y
+iD8DBQFIGQmij9hvisErhMIRAhjeAJ0dX1rynBBb5fjyFGn6hc8rngLcJACggL1h
+TNzb8dg8NXIN2IZVS2FXpFI=
+=fGes
-----END PGP SIGNATURE-----
diff --git a/app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch b/app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch
new file mode 100644
index 000000000000..3f830a57c239
--- /dev/null
+++ b/app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch
@@ -0,0 +1,27 @@
+just use implicit rules so correct variables get used
+
+--- Makefile
++++ Makefile
+@@ -1,20 +1,13 @@
+-CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
++CFLAGS+= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
+ -Wmissing-noreturn -Wbad-function-cast \
+- -Wmissing-prototypes -Winline -Wredundant-decls -O3
++ -Wmissing-prototypes -Winline -Wredundant-decls
+
+ all: pdfcrack
+
+ 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
+-
+-%.o: %.c
+- gcc $(CFLAGS) -c -o $@ $+
diff --git a/app-crypt/pdfcrack/pdfcrack-0.10.ebuild b/app-crypt/pdfcrack/pdfcrack-0.10.ebuild
new file mode 100644
index 000000000000..b1db97c235db
--- /dev/null
+++ b/app-crypt/pdfcrack/pdfcrack-0.10.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pdfcrack/pdfcrack-0.10.ebuild,v 1.1 2008/05/01 00:06:47 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Tool for recovering passwords and content from PDF-files"
+HOMEPAGE="http://pdfcrack.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_install() {
+ dobin pdfcrack || die
+ dodoc changelog README TODO
+}