summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2012-07-01 22:41:56 +0000
committerRick Farina <zerochaos@gentoo.org>2012-07-01 22:41:56 +0000
commit2529d1f76b552a331ee15fb324c358b0ef34e958 (patch)
treecf60a42cca8c042465ad6958337d041a7393fbe0 /app-crypt
parentMaintainer -> app-doc. (diff)
downloadgentoo-2-2529d1f76b552a331ee15fb324c358b0ef34e958.tar.gz
gentoo-2-2529d1f76b552a331ee15fb324c358b0ef34e958.tar.bz2
gentoo-2-2529d1f76b552a331ee15fb324c358b0ef34e958.zip
initial
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/hashcat-bin/ChangeLog9
-rw-r--r--app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild61
-rw-r--r--app-crypt/hashcat-bin/metadata.xml10
3 files changed, 80 insertions, 0 deletions
diff --git a/app-crypt/hashcat-bin/ChangeLog b/app-crypt/hashcat-bin/ChangeLog
new file mode 100644
index 000000000000..e2f5779f3c8f
--- /dev/null
+++ b/app-crypt/hashcat-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-crypt/hashcat-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.1 2012/07/01 22:41:56 zerochaos Exp $
+
+*hashcat-bin-0.39 (01 Jul 2012)
+
+ 01 Jul 2012; Rick Farina <zerochaos@gentoo.org> +hashcat-bin-0.39.ebuild,
+ +metadata.xml:
+ initial
diff --git a/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild b/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild
new file mode 100644
index 000000000000..a3ba0e8574a0
--- /dev/null
+++ b/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild,v 1.1 2012/07/01 22:41:56 zerochaos Exp $
+
+EAPI=4
+
+MY_P="hashcat-${PV}"
+
+inherit eutils pax-utils
+DESCRIPTION="An multi-threaded multihash cracker"
+HOMEPAGE="http://hashcat.net/hashcat/"
+
+SRC_URI="http://hashcat.net/files/${MY_P}.7z"
+
+#license applies to this version per http://hashcat.net/forum/thread-1348.html
+LICENSE="hashcat"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/p7zip"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="strip binchecks"
+
+src_install() {
+ dodoc docs/*
+ rm -rf *.exe docs
+ use x86 && rm hashcat-cli64.bin
+ use amd64 && rm hashcat-cli32.bin
+
+ #I assume this is needed but I didn't check
+ pax-mark m hashcat-cli*.bin
+
+ insinto /opt/${PN}
+ doins -r "${S}"/*
+
+ dodir /usr/bin
+ if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
+ then
+ fperms +x /opt/${PN}/hashcat-cli32.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/hashcat-cli32.bin
+ echo 'cd /opt/hashcat-bin' >> "${ED}"/usr/bin/hashcat-cli32.bin
+ echo 'echo "Warning: hashcat-cli32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/hashcat-cli32.bin
+ echo './hashcat-cli32.bin $@' >> "${ED}"/usr/bin/hashcat-cli32.bin
+ fperms +x /usr/bin/hashcat-cli32.bin
+ fi
+ if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
+ then
+ fperms +x /opt/${PN}/hashcat-cli64.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/hashcat-cli64.bin
+ echo 'cd /opt/hashcat-bin' >> "${ED}"/usr/bin/hashcat-cli64.bin
+ echo 'echo "Warning: hashcat-cli64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/hashcat-cli64.bin
+ echo './hashcat-cli64.bin $@' >> "${ED}"/usr/bin/hashcat-cli64.bin
+ fperms +x /usr/bin/hashcat-cli64.bin
+ fi
+}
diff --git a/app-crypt/hashcat-bin/metadata.xml b/app-crypt/hashcat-bin/metadata.xml
new file mode 100644
index 000000000000..88e9eb110229
--- /dev/null
+++ b/app-crypt/hashcat-bin/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<maintainer>
+<email>zerochaos@gentoo.org</email>
+<name>Rick Farina</name>
+</maintainer>
+</pkgmetadata>
+