mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
* Here we have multiforcer
This commit is contained in:
parent
6f77917635
commit
b56f815793
3 changed files with 65 additions and 0 deletions
3
app-crypt/cuda-multiforcer/Manifest
Normal file
3
app-crypt/cuda-multiforcer/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
AUX multiforcer-path.patch 1098 RMD160 080c94732b63652248833434b28732e4e5d58b8a SHA1 3e46a42084a91ed0bf4148787caa73175df2c821 SHA256 60e2b7e502b566d556e45fb48f8aed86c7cc42e3d5cb1efb1f4c63f384498252
|
||||
DIST CUDA-Multiforcer-src-0.6.tar.bz2 3319836 RMD160 0817e70225412fff9cf13fcc536ca454735aa52c SHA1 0b0dd8ddd761dcecfd54fbc875da2023b3c13c37 SHA256 d38985dcb1d4fdc31eac55bd221c28074a84a80f4de4c845e0d09b3475db32dc
|
||||
EBUILD cuda-multiforcer-0.6.ebuild 710 RMD160 6c0dae7eee3019bdada8bbb7d7bddf9e04c4c7f2 SHA1 bf470fb0c0de946ae207a8a6bc4a6ee1aa549078 SHA256 317f6c901a28622cc032abb45089bcdaf8e0fd960b996026a31496d490757aaa
|
||||
31
app-crypt/cuda-multiforcer/cuda-multiforcer-0.6.ebuild
Normal file
31
app-crypt/cuda-multiforcer/cuda-multiforcer-0.6.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils
|
||||
DESCRIPTION="A GPU-based MD5 MD4 NTLM bruteforcer"
|
||||
HOMEPAGE="http://www.cryptohaze.com/"
|
||||
SRC_URI="http://www.cryptohaze.com/CUDA-Multiforcer-src-0.6.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
DEPEND="dev-util/nvidia-cuda-sdk
|
||||
=dev-libs/argtable-2*"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/Multiforcer"
|
||||
|
||||
src_compile() {
|
||||
epatch "${FILESDIR}/multiforcer-path.patch"
|
||||
# We have it installed
|
||||
rm -rf argtable2-9
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/linux/release/cuda-multiforcer
|
||||
insinto /usr/share/cuda-multiforcer
|
||||
doins -r charsets test_hashes
|
||||
dodoc doc/*
|
||||
}
|
||||
31
app-crypt/cuda-multiforcer/files/multiforcer-path.patch
Normal file
31
app-crypt/cuda-multiforcer/files/multiforcer-path.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
diff -Naur Multiforcer.orig/Makefile Multiforcer/Makefile
|
||||
--- Multiforcer.orig/Makefile 2009-01-25 22:40:37.000000000 +0000
|
||||
+++ Multiforcer/Makefile 2009-02-03 12:13:55.000000000 +0000
|
||||
@@ -32,9 +32,10 @@
|
||||
# Build script for project
|
||||
#
|
||||
################################################################################
|
||||
-ROOTDIR := /home/rgraves/NVIDIA_CUDA_SDK/projects
|
||||
+ROOTDIR := /opt/cuda/sdk/
|
||||
+ROOTBINDIR := ./bin
|
||||
# Add source files here
|
||||
-EXECUTABLE := CUDA-Multiforcer
|
||||
+EXECUTABLE := cuda-multiforcer
|
||||
# Cuda source files (compiled with cudacc)
|
||||
CUFILES := Multiforcer.cu
|
||||
# C/C++ source files (compiled with gcc / c++)
|
||||
@@ -45,4 +46,4 @@
|
||||
# Rules and targets
|
||||
|
||||
|
||||
-include ../../common/common.mk
|
||||
+include /opt/cuda/sdk/common/common.mk
|
||||
diff -Naur Multiforcer.orig/Multiforcer.cu Multiforcer/Multiforcer.cu
|
||||
--- Multiforcer.orig/Multiforcer.cu 2009-01-29 00:29:48.000000000 +0000
|
||||
+++ Multiforcer/Multiforcer.cu 2009-02-03 12:13:37.000000000 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include "./argtable2-9/src/argtable2.h"
|
||||
+#include <argtable2.h>
|
||||
#include <cuda.h>
|
||||
#include <cutil.h>
|
||||
#include "Multiforcer.h"
|
||||
Loading…
Reference in a new issue