This commit is contained in:
blshkv 2020-05-24 10:14:37 +08:00
parent 30ed3098d3
commit e53e1f4a60
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
8 changed files with 0 additions and 107 deletions

View file

@ -1 +0,0 @@
DIST Cuda-OpenSrc.rar 30751 BLAKE2B 4be634b762c0325a7128f1b7e0e7aaaa17c78a1e6c9875a335a219c3818e5f6d7171cd3b7e550ed7ede1f8d5de7f5207aa97ccb1cabe08cda89252e5ae384626 SHA512 d4664e652bf2add47c28d688a285392fca0edeb4f449e2659ce1ed67f43575d9e59c89d7198231dc9b2c97576eb877e8bd8124c0fd1b9a32adaffa02249d7323

View file

@ -1,49 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A Nvidia GPU-based RAR bruteforcer"
HOMEPAGE="http://www.crark.net/"
SRC_URI="http://www.crark.net/Cuda-OpenSrc.rar"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-util/nvidia-cuda-sdk
app-arch/unrar"
RDEPEND="x11-drivers/nvidia-drivers"
S="${WORKDIR}"
pkg_setup() {
if [ -e "${ROOT}"/opt/cuda/sdk/common/common.mk ]; then
export CUDAVERSION="2.2"
elif [ -e "${ROOT}"/opt/cuda/sdk/C/common/common.mk ]; then
export CUDAVERSION="2.3"
elif [ -e "${ROOT}"/opt/cuda/sdk/C/shared/common.mk ]; then
export CUDAVERSION="3.0"
else
die "Something failed to detect the CUDA SDK version properly"
fi
}
src_prepare() {
eapply "${FILESDIR}"/makefile-fixes.patch
case ${CUDAVERSION} in
2.2) epatch "${FILESDIR}"/cuda-sdk-2.2.patch ;;
2.3) epatch "${FILESDIR}"/cuda-sdk-2.3.patch ;;
3.0) epatch "${FILESDIR}"/cuda-sdk-3.0.patch ;;
*) die "Why is CUDAVERSION set to $CUDAVERSION?"
esac
default
}
src_install() {
dobin bin/linux/release/cuda-rarcrypt
dodoc readme
}

View file

@ -1,12 +0,0 @@
diff -Naur cuda-rarcrypt.orig/Makefile cuda-rarcrypt/Makefile
--- cuda-rarcrypt.orig/Makefile 2009-04-28 12:50:15.000000000 +0000
+++ cuda-rarcrypt/Makefile 2009-06-04 20:01:55.000000000 +0000
@@ -22,7 +23,7 @@
################################################################################
# Rules and targets
-include ../../common/common.mk
+include /opt/cuda/sdk/common/common.mk

View file

@ -1,12 +0,0 @@
diff -Naur cuda-rarcrypt.orig/Makefile cuda-rarcrypt/Makefile
--- cuda-rarcrypt.orig/Makefile 2009-04-28 12:50:15.000000000 +0000
+++ cuda-rarcrypt/Makefile 2009-06-04 20:01:55.000000000 +0000
@@ -22,7 +23,7 @@
################################################################################
# Rules and targets
-include ../../common/common.mk
+include /opt/cuda/sdk/C/common/common.mk

View file

@ -1,12 +0,0 @@
diff -Naur cuda-rarcrypt.orig/Makefile cuda-rarcrypt/Makefile
--- cuda-rarcrypt.orig/Makefile 2009-04-28 12:50:15.000000000 +0000
+++ cuda-rarcrypt/Makefile 2009-06-04 20:01:55.000000000 +0000
@@ -22,7 +23,7 @@
################################################################################
# Rules and targets
-include ../../common/common.mk
+include /opt/cuda/sdk/C/shared/common.mk

View file

@ -1,12 +0,0 @@
diff -Naur cuda-rarcrypt.orig/Makefile cuda-rarcrypt/Makefile
--- cuda-rarcrypt.orig/Makefile 2009-04-28 12:50:15.000000000 +0000
+++ cuda-rarcrypt/Makefile 2009-06-04 20:01:55.000000000 +0000
@@ -1,5 +1,6 @@
# Add source files here
-EXECUTABLE := rarcrypt
+ROOTBINDIR :=./bin
+EXECUTABLE := cuda-rarcrypt
# CUDA source files (compiled with cudacc)
CUFILES := rarcrypt.cu

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -38,7 +38,6 @@ PDEPEND="
)"
#removed from stage1? because it doesn't build for me
# app-crypt/cuda-rarcrypt
# net-analyzer/authforce
# app-crypt/md5bf