summaryrefslogtreecommitdiff
path: root/app-crypt/pdfcrack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/pdfcrack
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/pdfcrack')
-rw-r--r--app-crypt/pdfcrack/Manifest8
-rw-r--r--app-crypt/pdfcrack/files/pdfcrack-0.14-cflags.patch8
-rw-r--r--app-crypt/pdfcrack/metadata.xml11
-rw-r--r--app-crypt/pdfcrack/pdfcrack-0.15.ebuild28
-rw-r--r--app-crypt/pdfcrack/pdfcrack-0.16.ebuild28
5 files changed, 83 insertions, 0 deletions
diff --git a/app-crypt/pdfcrack/Manifest b/app-crypt/pdfcrack/Manifest
new file mode 100644
index 000000000000..2aeb8fdc17d1
--- /dev/null
+++ b/app-crypt/pdfcrack/Manifest
@@ -0,0 +1,8 @@
+AUX pdfcrack-0.14-cflags.patch 236 SHA256 9b4fa7a71074485727d057952ddc26be0019fc7266a8aab7573c21b4ea0952ff SHA512 8fd2f9bc024bff34bb1f7e90e7f27b80473ca12f340735f4cbb8d3717354df9907a9f05d57950a4a9f9604c2452a75cb7de341b4b84f2d248a63ca047131388b WHIRLPOOL 11e10391821ebc927529c715ed0880829497b2548809cfb9ba6ee3c8f0c5b6e3183ae8f7134591f373c25a633c33d488a5ccc73c7b1db904b137ce53634c27ed
+DIST pdfcrack-0.15.tar.gz 34269 SHA256 791043693f9fc261fa326dbcb5e4de3801d6ae552dbea39293f9b2674c250d3e SHA512 9eef648fcb8c9cd4fb70af3ad4ce1b8da892edc98919104bbee70947d7f93262f44cb6e8854ff10b0e4680fcf0c3abfc258d0d14428d261744ed4b28c792a966 WHIRLPOOL 69ed8f15a1ed80843a1bfb4108a35464d237d803d24630b047df7a18a027d5d73fe48c52dbfa71174de520701b015abbb550873a724473291a50d226d19cbc6e
+DIST pdfcrack-0.16.tar.gz 34467 SHA256 7865b203074ccfd5c612c8ce00c46ffcb4fabaa26154ce9304dfc668c7cb73ef SHA512 460113f28249d1ea1cefc6dac8ff22b33849ccff50f61830144e41eeec47c4b9113845bb955d26757adb0552d8c0dfa43b3f5666c1419afe4063037a1e1c933d WHIRLPOOL 4ac66029156d59265de2639ab8ffc63bfa66353c6c1efeabe7f1c6213db3e73e243fe5d4b612a6f7d94704b225452aef61d41235cd67bb3e1f8fd0fca45192b0
+EBUILD pdfcrack-0.15.ebuild 521 SHA256 f30b4e32ad8212c846a0ed1e3e2f42074c638797d341ce2cc09c932f2c935651 SHA512 25ca773e64b143680011b193432b29f7a8d629977a1bf2143b2ebb292f375def1ef2eff6e8b79f3e9f94ef8b3fc590ad67245d66dba1030e33e554247e17f5fb WHIRLPOOL e0ddb7b7888ca522d4eb6ca3fb1cdfcbabead2ca0d866f6a832690cfb7cb45876f9c4c5cfcf28c5af66dfdffb162f3e272aea7aca8b2e62dae610fd36c995fdc
+EBUILD pdfcrack-0.16.ebuild 521 SHA256 f30b4e32ad8212c846a0ed1e3e2f42074c638797d341ce2cc09c932f2c935651 SHA512 25ca773e64b143680011b193432b29f7a8d629977a1bf2143b2ebb292f375def1ef2eff6e8b79f3e9f94ef8b3fc590ad67245d66dba1030e33e554247e17f5fb WHIRLPOOL e0ddb7b7888ca522d4eb6ca3fb1cdfcbabead2ca0d866f6a832690cfb7cb45876f9c4c5cfcf28c5af66dfdffb162f3e272aea7aca8b2e62dae610fd36c995fdc
+MISC ChangeLog 3085 SHA256 86cfefa617fbf4400f41987f8453dfa1f2c828a2abfa4a73e9a527206c06dbc5 SHA512 b8df9a43e8bfa255e3bdb2acce0087ba7470799ed0c5dc185aca79db73fc92c355511e2d26c206700cd8bac934280bee43dc01d7caeddff7c1c28d37dc3d872a WHIRLPOOL 8313f16881234291ff0b1b4025b00c8b65b887ad89e81c422fe3419988c72f890a4b0e88823f0d6aaea3540a25caca0531802b1631e8a5a6aa3fc613a9f7e18a
+MISC ChangeLog-2015 1562 SHA256 c81d026d76daa71454d0393620edc5e2bf9fb36a4101be7a45b78dcda4d5c771 SHA512 fe5e8ff90d91b94ae8ebbcf5a6432cfbb914526fd8465940d14f0d62cffd7d49c5c788967bda1d68051511133787a8767146a27bc83e05de72a9bc122e2e38f7 WHIRLPOOL 03381d75c997986f18d3941c5f21db2126ba69036efe43c6dac9351c88221317104e494631982db1378f7d07a326c304cbe610d353bca283c86a5b5117e2fb92
+MISC metadata.xml 318 SHA256 94722bdbf9c7dde8c4351f478362183774ee0dd0e831102b8aab96b251ab8010 SHA512 19b662a277c05c40365c89346bb98a42e1cc8924a0343899be55dcff0d38b919f681fd8b32ed8e0db0ef07b717847caf4df73d862bc73e46f2c6fe7985a94db5 WHIRLPOOL cc4e1e1f360851a4f79057fec109448e2fea1583183a0dd489f9f2467939e6633db441537a77a5227e31991555478fc3d30fbbcaef0f04a01d626a71b912d50c
diff --git a/app-crypt/pdfcrack/files/pdfcrack-0.14-cflags.patch b/app-crypt/pdfcrack/files/pdfcrack-0.14-cflags.patch
new file mode 100644
index 000000000000..7ea168878d1e
--- /dev/null
+++ b/app-crypt/pdfcrack/files/pdfcrack-0.14-cflags.patch
@@ -0,0 +1,8 @@
+--- pdfcrack-0.14/Makefile
++++ pdfcrack-0.14/Makefile
+@@ -1,4 +1,4 @@
+-CFLAGS += -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O3 -g
++CFLAGS += -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
+
+ all: pdfcrack
+
diff --git a/app-crypt/pdfcrack/metadata.xml b/app-crypt/pdfcrack/metadata.xml
new file mode 100644
index 000000000000..e76ba30337e1
--- /dev/null
+++ b/app-crypt/pdfcrack/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>crypto@gentoo.org</email>
+ <name>Crypto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">pdfcrack</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-crypt/pdfcrack/pdfcrack-0.15.ebuild b/app-crypt/pdfcrack/pdfcrack-0.15.ebuild
new file mode 100644
index 000000000000..206b6b4510de
--- /dev/null
+++ b/app-crypt/pdfcrack/pdfcrack-0.15.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+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 ~ppc ~x86"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.14-cflags.patch"
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin pdfcrack
+ dodoc changelog README
+}
diff --git a/app-crypt/pdfcrack/pdfcrack-0.16.ebuild b/app-crypt/pdfcrack/pdfcrack-0.16.ebuild
new file mode 100644
index 000000000000..206b6b4510de
--- /dev/null
+++ b/app-crypt/pdfcrack/pdfcrack-0.16.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+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 ~ppc ~x86"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.14-cflags.patch"
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin pdfcrack
+ dodoc changelog README
+}