summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2012-07-02 01:25:52 +0000
committerRichard Farina <zerochaos@gentoo.org>2012-07-02 01:25:52 +0000
commit062f1050246a9483f351d518e19fdf1b29b634fa (patch)
tree467d74d1969ac8211aed597532096f84c711f346 /app-crypt/oclhashcat-lite-bin
parenttrade RESTRICT=binchecks for QA_PREBUILT (diff)
downloadhistorical-062f1050246a9483f351d518e19fdf1b29b634fa.tar.gz
historical-062f1050246a9483f351d518e19fdf1b29b634fa.tar.bz2
historical-062f1050246a9483f351d518e19fdf1b29b634fa.zip
initial commit of oclhashcat-lite-bin
Package-Manager: portage-2.1.11.3/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/oclhashcat-lite-bin')
-rw-r--r--app-crypt/oclhashcat-lite-bin/ChangeLog9
-rw-r--r--app-crypt/oclhashcat-lite-bin/Manifest24
-rw-r--r--app-crypt/oclhashcat-lite-bin/metadata.xml10
-rw-r--r--app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.10.ebuild110
4 files changed, 153 insertions, 0 deletions
diff --git a/app-crypt/oclhashcat-lite-bin/ChangeLog b/app-crypt/oclhashcat-lite-bin/ChangeLog
new file mode 100644
index 000000000000..6085972a32a0
--- /dev/null
+++ b/app-crypt/oclhashcat-lite-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-crypt/oclhashcat-lite-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v 1.1 2012/07/02 01:25:52 zerochaos Exp $
+
+*oclhashcat-lite-bin-0.10 (02 Jul 2012)
+
+ 02 Jul 2012; Rick Farina <zerochaos@gentoo.org> +metadata.xml,
+ +oclhashcat-lite-bin-0.10.ebuild:
+ initial commit of oclhashcat-lite-bin
diff --git a/app-crypt/oclhashcat-lite-bin/Manifest b/app-crypt/oclhashcat-lite-bin/Manifest
new file mode 100644
index 000000000000..aa9f89a63b26
--- /dev/null
+++ b/app-crypt/oclhashcat-lite-bin/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST oclHashcat-lite-0.10.7z 2478892 RMD160 bb4354b4bd03aa2d0dc686b649d64431fd5f109e SHA1 94aefe2091e6b9422f7ee77d0db8ef814b9d42ce SHA256 4d4d668981c249e4a7dff139f0952794300ac1d6dac6b9cd355a90928af98b78
+EBUILD oclhashcat-lite-bin-0.10.ebuild 4345 RMD160 3a45c08afacb9b3cd93bcf177c5584f2c8875bd3 SHA1 93da17ce37beeb61644b72648751476b3043e7c8 SHA256 b145e403c2956f15c3ed243076f74cde625fe547973df61dce35a1aab03f9276
+MISC ChangeLog 416 RMD160 2f3b3376e37db742bf22d4549494b1ff899ea21c SHA1 195bdd50ee35312e754d0a82264f5ad31e44d8f8 SHA256 16480c4c9c943c432d8c82f7c4387d5a419a13fee03bc28cc771eacf0ae4f82b
+MISC metadata.xml 248 RMD160 9be78fc0023d72adbaca76feca5a5dfc600976e7 SHA1 01b020ce75fdad7ceab0d6cf3b971107031cb264 SHA256 c48f1d43aa5eb2f3374c54e1be22241c09bc94d9fd2156794be28f7b09af4bac
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBAgAGBQJP8PirAAoJEKXdFCfdEflKrrAP/1N1ZaaNVOd+XkDOjdjA69gY
+ahlfer8Of+3qj/F6YGpmCx528PsJ6Pga2hBZGqOZpf/+N5urz+BsM6G/FhkoaJ3/
+MiwaXF6BZDfJZGB1b6nq0IPEU0HROGnN+QdZ+ntexQy3lPipe/I+fGNnuONsGEKt
+Jcnj9tqWw6R11Jqs0Qkzj4O0NG8Pbxrtg0fNBJpB/UXVwwq39upVPdb7wjmzY875
+bgzYGT00+2qVZeqrDuZqnPXKeoicNDkdFFNIonwRrfhkO3wBMOI98ijqrndNgNH9
+gCgN+ym0gXb7k2YtKMO0gPR8GyTxslnSKl/lCdaOOVMOwMGQ3Wc7jODu7Lrr+NeB
+SeTJ/XJuMroa1OTeD/AjoMogayZq+UQkrIaYkxbdd+21hDmFX+3m5mODtxi15J5y
+85R1N8Zvt7vBkyssfA/cf450LAQNBbqEac6WcUX/gK/6f1Xn4WUMVw6XnaszLP2Q
+8HL4llE/bMtnSZOWAol45/zzv6dY0afzHHyZ60IuDQBhGE9zMTn4nQ8E5UyK1q6f
+NiU1kfWTrbbF8inVBOgRaR2lgp7VZZKNjeB6G9vZaI6eZ7+uve3pgcj5QReQbkLx
+uYwATiBVnts3TVqPY8lqQurP/rlHjpVuAB9yr1Zg3rxgW97uE8DZUE4lhutYE+co
+O6CBPkdbtQf9+ivcCtSZ
+=5WDu
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/oclhashcat-lite-bin/metadata.xml b/app-crypt/oclhashcat-lite-bin/metadata.xml
new file mode 100644
index 000000000000..88e9eb110229
--- /dev/null
+++ b/app-crypt/oclhashcat-lite-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>
+
diff --git a/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.10.ebuild b/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.10.ebuild
new file mode 100644
index 000000000000..dbfcbc0ffe87
--- /dev/null
+++ b/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.10.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.10.ebuild,v 1.1 2012/07/02 01:25:52 zerochaos Exp $
+
+EAPI=4
+
+inherit eutils pax-utils
+
+DESCRIPTION="An opencl hash cracker"
+HOMEPAGE="http://hashcat.net/oclhashcat-lite/"
+MY_P="oclHashcat-lite-${PV}"
+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_VIDEO_CARDS="video_cards_fglrx
+ video_cards_nvidia"
+
+IUSE="${IUSE_VIDEO_CARDS}"
+
+RDEPEND="sys-libs/zlib
+ video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-290.40 )
+ video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.4 )"
+DEPEND="${RDEPEND}
+ app-arch/p7zip"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="strip"
+QA_PREBUILT="*Hashcat-lite*.bin"
+
+src_install() {
+ dodoc docs/*
+ rm -rf *.exe docs
+ if use x86; then
+ rm oclHashcat-lite64.bin
+ rm cudaHashcat-lite64.bin
+ fi
+ if use amd64; then
+ rm oclHashcat-lite32.bin
+ rm cudaHashcat-lite32.bin
+ fi
+ if ! use video_cards_fglrx; then
+ rm -rf kernels/4098
+ rm -f oclHashcat-lite*.bin
+ fi
+ if ! use video_cards_nvidia; then
+ rm -rf kernels/4318
+ rm -f cudaHashcat-lite*.bin
+ fi
+
+ #I assume this is needed but I didn't check
+ pax-mark m *Hashcat-lite*.bin
+
+ insinto /opt/${PN}
+ doins -r "${S}"/*
+
+ dodir /usr/bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/oclhashcat-lite
+ echo 'echo "oclHashcat-lite and all related files have been installed in /opt/oclhashcat-lite-bin"' >> "${ED}"/usr/bin/oclhashcat-lite
+ echo 'echo "Please run one of the following binaries to use gpu accelerated hashcat:"' >> "${ED}"/usr/bin/oclhashcat-lite
+ if [ -f "${ED}"/opt/${PN}/oclHashcat-lite64.bin ]
+ then
+ echo 'echo "64 bit ATI accelerated \"oclHashcat-lite64.bin\""' >> "${ED}"/usr/bin/oclhashcat-lite
+ fperms +x /opt/${PN}/oclHashcat-lite64.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-lite64.bin
+ echo 'cd /opt/oclhashcat-lite-bin' >> "${ED}"/usr/bin/oclHashcat-lite64.bin
+ echo 'echo "Warning: oclHashcat-lite64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-lite64.bin
+ echo './oclHashcat-lite64.bin $@' >> "${ED}"/usr/bin/oclHashcat-lite64.bin
+ fperms +x /usr/bin/oclHashcat-lite64.bin
+
+ fi
+ if [ -f "${ED}"/opt/${PN}/oclHashcat-lite32.bin ]
+ then
+ echo 'echo "32 bit ATI accelerated \"oclHashcat-lite32.bin\""' >> "${ED}"/usr/bin/oclhashcat-lite
+ fperms +x /opt/${PN}/oclHashcat-lite32.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-lite32.bin
+ echo 'cd /opt/oclhashcat-lite-bin' >> "${ED}"/usr/bin/oclHashcat-lite32.bin
+ echo 'echo "Warning: oclHashcat-lite32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-lite32.bin
+ echo './oclHashcat-lite32.bin $@' >> "${ED}"/usr/bin/oclHashcat-lite32.bin
+ fperms +x /usr/bin/oclHashcat-lite32.bin
+ fi
+ if [ -f "${ED}"/opt/${PN}/cudaHashcat-lite64.bin ]
+ then
+ echo 'echo "64 bit NVIDIA accelerated \"cudaHashcat-lite64.bin\""' >> "${ED}"/usr/bin/oclhashcat-lite
+ fperms +x /opt/${PN}/cudaHashcat-lite64.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-lite64.bin
+ echo 'cd /opt/oclhashcat-lite-bin' >> "${ED}"/usr/bin/cudaHashcat-lite64.bin
+ echo 'echo "Warning: cudaHashcat-lite64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-lite64.bin
+ echo './cudaHashcat-lite64.bin $@' >> "${ED}"/usr/bin/cudaHashcat-lite64.bin
+ fperms +x /usr/bin/cudaHashcat-lite64.bin
+
+ fi
+ if [ -f "${ED}"/opt/${PN}/cudaHashcat-lite32.bin ]
+ then
+ echo 'echo 32 bit NVIDIA accelerated \"cudaHashcat-lite32.bin\""' >> "${ED}"/usr/bin/oclhashcat-lite
+ fperms +x /opt/${PN}/cudaHashcat-lite32.bin
+ echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-lite32.bin
+ echo 'cd /opt/oclhashcat-lite-bin' >> "${ED}"/usr/bin/cudaHashcat-lite32.bin
+ echo 'echo "Warning: cudaHashcat-lite32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-lite32.bin
+ echo './cudaHashcat-lite32.bin $@' >> "${ED}"/usr/bin/cudaHashcat-lite32.bin
+ fperms +x /usr/bin/oclHashcat-lite32.bin
+ fi
+ fperms +x /usr/bin/oclhashcat-lite
+ fowners root:video /opt/${PN}
+ einfo "oclhashcat-lite can be run as user if you are in the video group"
+}