Install this version:
emerge -a =app-crypt/wisecracker-1.1
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="An open source framework for tools that can distribute brute force cryptanalysis"
HOMEPAGE="http://selectiveintellect.com/wisecracker.html"
SRC_URI="https://github.com/vikasnkumar/wisecracker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="mpi"
# Tests require OpenCL hardware which is not available in the build sandbox
RESTRICT="test"
DEPEND="virtual/opencl
dev-util/opencl-headers"
RDEPEND="${DEPEND}
dev-libs/openssl
mpi? ( virtual/mpi[cxx] )
dev-util/xxd"
export OPENCL_ROOT="/usr"
src_prepare() {
sed -i -e \
"s:DESTINATION lib:DESTINATION $(get_libdir):" \
src/CMakeLists.txt || die "sed failed"
cmake_src_prepare
}
src_configure() {
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="/usr"
-DARCH=x86_64
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc README.md
}
Manage flags for this package:
euse -i <flag> -p app-crypt/wisecracker |
euse -E <flag> -p app-crypt/wisecracker |
euse -D <flag> -p app-crypt/wisecracker
virtual/opencl dev-util/opencl-headers
virtual/opencl dev-util/opencl-headers dev-libs/openssl mpi? ( virtual/mpi[cxx] ) dev-util/xxd
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | wisecracker-1.1.tar.gz | 362621 bytes | https://github.com/vikasnkumar/wisecracker/archive/v1.1.tar.gz |