diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/pdfcrack/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/pdfcrack/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/pdfcrack/files/pdfcrack-0.9-build.patch | 27 | ||||
-rw-r--r-- | app-crypt/pdfcrack/metadata.xml | 5 | ||||
-rw-r--r-- | app-crypt/pdfcrack/pdfcrack-0.9.ebuild | 25 |
5 files changed, 72 insertions, 0 deletions
diff --git a/app-crypt/pdfcrack/ChangeLog b/app-crypt/pdfcrack/ChangeLog new file mode 100644 index 000000000000..ef95cec0ad2b --- /dev/null +++ b/app-crypt/pdfcrack/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*pdfcrack-0.9 (22 Mar 2008) + + 22 Mar 2008; Mike Frysinger <vapier@gentoo.org> + +files/pdfcrack-0.9-build.patch, +metadata.xml, +pdfcrack-0.9.ebuild: + Initial import #156516 by Aurélien Francillon, Fabio Rossi, and me. + diff --git a/app-crypt/pdfcrack/Manifest b/app-crypt/pdfcrack/Manifest new file mode 100644 index 000000000000..c83e31749e44 --- /dev/null +++ b/app-crypt/pdfcrack/Manifest @@ -0,0 +1,5 @@ +AUX pdfcrack-0.9-build.patch 722 RMD160 fafd397c2ae52a8fd602614c26e9f5c65254c4da SHA1 6be81bcebfcdc4329921af5bdc93286d00c2047e SHA256 fa8bc0db812711a7f1e233b40ae49d23f114c31c9112257f1273b4ebca052afe +DIST pdfcrack-0.9.tar.gz 28463 RMD160 92ab34fcc376682774931f7e47b580d7a13bf4cc SHA1 91b5da91f0e89e6788e8de7867a646b6a47cbd8a SHA256 db97a437b8b540a00f415689b7ad58b1ff203a238c95bc65418aa458eb1d9f7e +EBUILD pdfcrack-0.9.ebuild 510 RMD160 d3c8fdee4350fea67646961b575b5eb3177e5103 SHA1 05d815b589330ed02da9d0b0f0e41700fa2540df SHA256 e24c57a342d661d6eb0eda851d10ec4bedc2d79800cf280f7514fc7b9ae00514 +MISC ChangeLog 342 RMD160 8087f60bad02ef80b2326e0fd3fc64bfe9042ec1 SHA1 ac3746e2ce50c2fdf53dc26c551ea41fe672af1f SHA256 241cc3761ac20ef34069d77402a2ed9c9aab027ab1e1c4b2dcd71cfd6cdab605 +MISC metadata.xml 159 RMD160 7f0018281c6308f73c2d95b3690e3804f0c353c5 SHA1 09baadee9aeb270d0a7f31be07db9db5c105abbc SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 diff --git a/app-crypt/pdfcrack/files/pdfcrack-0.9-build.patch b/app-crypt/pdfcrack/files/pdfcrack-0.9-build.patch new file mode 100644 index 000000000000..4dba6d9341b2 --- /dev/null +++ b/app-crypt/pdfcrack/files/pdfcrack-0.9-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 \ + -Wconversion -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/metadata.xml b/app-crypt/pdfcrack/metadata.xml new file mode 100644 index 000000000000..d68fe974c15a --- /dev/null +++ b/app-crypt/pdfcrack/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>crypto</herd> +</pkgmetadata> diff --git a/app-crypt/pdfcrack/pdfcrack-0.9.ebuild b/app-crypt/pdfcrack/pdfcrack-0.9.ebuild new file mode 100644 index 000000000000..f708464c854c --- /dev/null +++ b/app-crypt/pdfcrack/pdfcrack-0.9.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.9.ebuild,v 1.1 2008/03/22 03:04:07 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 +} |