diff --git a/app-crypt/cuda-rarcrypt/Manifest b/app-crypt/cuda-rarcrypt/Manifest index eda35af6b..072bb8bde 100644 --- a/app-crypt/cuda-rarcrypt/Manifest +++ b/app-crypt/cuda-rarcrypt/Manifest @@ -1 +1 @@ -DIST Cuda-OpenSrc.rar 30751 SHA256 0fceee3e7e521d6e02ddcfcd4756b07ec6bbc728c2ece0eca449d6d6974d3d50 +DIST Cuda-OpenSrc.rar 30751 BLAKE2B 4be634b762c0325a7128f1b7e0e7aaaa17c78a1e6c9875a335a219c3818e5f6d7171cd3b7e550ed7ede1f8d5de7f5207aa97ccb1cabe08cda89252e5ae384626 SHA512 d4664e652bf2add47c28d688a285392fca0edeb4f449e2659ce1ed67f43575d9e59c89d7198231dc9b2c97576eb877e8bd8124c0fd1b9a32adaffa02249d7323 diff --git a/app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2-r1.ebuild b/app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2-r1.ebuild index 317b86e4e..694796c27 100644 --- a/app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2-r1.ebuild +++ b/app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2-r1.ebuild @@ -1,10 +1,7 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=2 - -inherit eutils +EAPI=7 DESCRIPTION="A Nvidia GPU-based RAR bruteforcer" HOMEPAGE="http://www.crark.net/" @@ -12,14 +9,14 @@ SRC_URI="http://www.crark.net/Cuda-OpenSrc.rar" LICENSE="GPL-3" SLOT="0" -KEYWORDS="-*" -#was "x86" -IUSE="" -DEPEND="dev-util/nvidia-cuda-sdk - app-arch/unrar" +DEPEND=" + dev-util/nvidia-cuda-sdk + app-arch/unrar" + RDEPEND="x11-drivers/nvidia-drivers" -S="${WORKDIR}/" + +S="${WORKDIR}" pkg_setup() { if [ -e "${ROOT}"/opt/cuda/sdk/common/common.mk ]; then @@ -34,21 +31,19 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}"/makefile-fixes.patch + 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 -} + esac -src_compile() { - emake || die "emake failed" + default } src_install() { - dobin bin/linux/release/cuda-rarcrypt || die "dobin failed" + dobin bin/linux/release/cuda-rarcrypt dodoc readme } diff --git a/app-crypt/cuda-rarcrypt/metadata.xml b/app-crypt/cuda-rarcrypt/metadata.xml new file mode 100644 index 000000000..4fa8ff351 --- /dev/null +++ b/app-crypt/cuda-rarcrypt/metadata.xml @@ -0,0 +1,8 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + +