summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-07-15 15:16:26 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-07-15 15:16:26 +0000
commit84702465988bf1fc587efcc6304c5a89484e4969 (patch)
tree87de1e2622f4e7b2868fcb858c2f051694f44cb0 /app-crypt/pkcrack
parentpkcrack license for app-crypt/pkcrack (diff)
downloadgentoo-2-84702465988bf1fc587efcc6304c5a89484e4969.tar.gz
gentoo-2-84702465988bf1fc587efcc6304c5a89484e4969.tar.bz2
gentoo-2-84702465988bf1fc587efcc6304c5a89484e4969.zip
initial import
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-crypt/pkcrack')
-rw-r--r--app-crypt/pkcrack/ChangeLog10
-rw-r--r--app-crypt/pkcrack/Manifest3
-rw-r--r--app-crypt/pkcrack/files/digest-pkcrack-1.2.21
-rw-r--r--app-crypt/pkcrack/metadata.xml8
-rw-r--r--app-crypt/pkcrack/pkcrack-1.2.2.ebuild53
5 files changed, 75 insertions, 0 deletions
diff --git a/app-crypt/pkcrack/ChangeLog b/app-crypt/pkcrack/ChangeLog
new file mode 100644
index 000000000000..652b13e119a9
--- /dev/null
+++ b/app-crypt/pkcrack/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-crypt/pkcrack
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/ChangeLog,v 1.1 2005/07/15 15:16:26 dragonheart Exp $
+
+*pkcrack-1.2.2 (15 Jul 2005)
+
+ 15 Jul 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +pkcrack-1.2.2.ebuild:
+ initial import
+
diff --git a/app-crypt/pkcrack/Manifest b/app-crypt/pkcrack/Manifest
new file mode 100644
index 000000000000..9e39790dee14
--- /dev/null
+++ b/app-crypt/pkcrack/Manifest
@@ -0,0 +1,3 @@
+MD5 a2ff558bf505972dba54e7f74d1640b9 pkcrack-1.2.2.ebuild 1152
+MD5 9c45f6a8bc141e118261d128d895d337 metadata.xml 293
+MD5 a7516ee7cacf204c68e7480dfda6c114 files/digest-pkcrack-1.2.2 65
diff --git a/app-crypt/pkcrack/files/digest-pkcrack-1.2.2 b/app-crypt/pkcrack/files/digest-pkcrack-1.2.2
new file mode 100644
index 000000000000..7443af4b10f0
--- /dev/null
+++ b/app-crypt/pkcrack/files/digest-pkcrack-1.2.2
@@ -0,0 +1 @@
+MD5 41e2037ceb95fc0717f7d9ae0abe10db pkcrack-1.2.2.tar.gz 174208
diff --git a/app-crypt/pkcrack/metadata.xml b/app-crypt/pkcrack/metadata.xml
new file mode 100644
index 000000000000..18d7c93b8f4e
--- /dev/null
+++ b/app-crypt/pkcrack/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<longdescription>
+pkcrack is a password cracking program for zip files. It works using a plain text cipher attack.
+</longdescription>
+</pkgmetadata>
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
new file mode 100644
index 000000000000..98f7c62fcfcd
--- /dev/null
+++ b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/pkcrack-1.2.2.ebuild,v 1.1 2005/07/15 15:16:26 dragonheart Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="PkZip cipher breaker"
+HOMEPAGE="http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html"
+SRC_URI="http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/${P}.tar.gz"
+LICENSE="pkcrack"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="test"
+DEPEND="test? ( app-arch/zip )
+ virtual/libc"
+RDEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \
+ -e "s/^CFLAGS=.*/CFLAGS=${CFLAGS}/" \
+ Makefile
+ sed -i -e "s:void main:int main:" *.c
+}
+
+src_compile() {
+ cd ${S}/src
+ emake || die "emake failed"
+}
+
+src_test() {
+ cd ${S}/test
+ make CC="$(tc-getCC)" all || die "self test failed"
+}
+
+src_install() {
+ cd ${S}/src
+ dobin pkcrack zipdecrypt findkey extract makekey
+ dodoc ${S}/doc/*
+}
+
+pkg_postinst() {
+ einfo "Author DEMANDS :-) a postcard be sent to:"
+ einfo ""
+ einfo " Peter Conrad"
+ einfo " Am Heckenberg 1"
+ einfo " 56727 Mayen"
+ einfo " Germany"
+ einfo ""
+ einfo "See: http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/pkcrack-readme.html"
+ epause 5
+}