mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
hashkill: version bump, android support. Upstream bug report #15
This commit is contained in:
parent
f0488c3f09
commit
df30d32cd6
2 changed files with 86 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
DIST hashkill-0.3.1.tar.gz 16872469 SHA256 1f72d60e45eb97f6408f9ae3d708f7f4ecb50fc8be43ab2fc4e199800b1c2bdd SHA512 696a6621d3b6c03f08021dd3a4e2716038e9e49ecf5347068d9e1b25d607decaf4d28b7aeb617aebcd26ea24e726f87229b5d02fbd54c7f4aa189c194e629c83 WHIRLPOOL 678cbada15e1b5ddb2335958c1860e1c6339140c53aad04c23373fc6242f5a99f4b0557e4b2a8c3bef35984000bf0149fc80def4e365eae1aeab2d33ba54f743
|
||||
EBUILD hashkill-0.3.1-r1.ebuild 1311 SHA256 1674cd0db684741a0fdc0a36fb69b6686ba3967fe29306f80a60734e1945f2d6 SHA512 f02e3cd6a6de0d172bbcd263afe85049ab2282d4cb4c5483c256a1bff535ca08b1e31834bdb2c4e42983a14d62b32cbfd13d81a7d1397ede0bb9be068ed62c58 WHIRLPOOL 0ec9385d43eb85f09f759581cf3a62a76cd451baf1ecee24c3681fa66502eeb905c4c21a4ba043db08814521ede113fd9e6a6375bf557ed2826c51e75736508e
|
||||
EBUILD hashkill-0.3.1_p20130427.ebuild 2258 SHA256 2ca62463d08cb25f7fc78efcf0daca4a3ebecf44be9e5caff9ea2315cfb683bd SHA512 f7ffcb48f36ccda588ff6ade47852152155ff03f24a09f8b3a27052981c0ff97ba04ab50850c5f225b41faca0582ff2a2603233626a49d563a097ddc52ebb0c6 WHIRLPOOL a483a3137b76f7522eccb9b1311b413e2a3c2e4f580c3e599d5d4ec99ea35199bbd5e8f4492bd1535d1e54752212904dc30ee11fc9d2f6ec5ac70bd905c95a84
|
||||
EBUILD hashkill-0.3.1_p20130504.ebuild 2258 SHA256 337dcb595a18fe3131614f0d5ae4c0d7f54d1f81b7c58ee31b5aee48196c4cb0 SHA512 d13a462a609922e3985dbba05414b028f894f103d36d35e33809b96a32404d6d732fccb2d3de21a7f0105256776f98a43e955cd24424c9e9c4b18e8721e0011e WHIRLPOOL a28b7ed2475b0addaeae078220ba8430d95ead361ac873dd80919b8b7c0a65988c1eeeacbb35ec0a7387fab54651324138b60fee4612541c196693b78064a9a4
|
||||
EBUILD hashkill-9999.ebuild 2192 SHA256 4308f3da1d63dd340380ce73570f5ea05e41b079e2725181913a056f841b461b SHA512 b06e593cebdb32126fcf6441f62645fceab1888b52daa045b24b50624314650cecfd305da386ca92d64478006baa9c436d88af15c708ace93a5fe2a8bde232bc WHIRLPOOL 47f88c7d2a92797860bbbffb7b9635f283ed63434e370d2247da0d5ee3f3689e277734e440f2d14278398847e8c0b7cb79e0603d2c6bcd0a9e71a1f87baa83e8
|
||||
|
|
|
|||
85
app-crypt/hashkill/hashkill-0.3.1_p20130504.ebuild
Normal file
85
app-crypt/hashkill/hashkill-0.3.1_p20130504.ebuild
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit git-2 autotools pax-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Multi-threaded password recovery tool with multi-GPU support"
|
||||
HOMEPAGE="http://www.gat3way.eu/hashkill"
|
||||
EGIT_REPO_URI="git://github.com/gat3way/hashkill.git"
|
||||
EGIT_COMMIT="fa6f9d98f0a3f75bf0dd4a07d195e024a3210373"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
|
||||
|
||||
DEPEND="opencl? ( virtual/opencl-sdk )
|
||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
||||
dev-libs/json-c"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use video_cards_nvidia; then
|
||||
if [ ! -w /dev/nvidia0 ]; then
|
||||
einfo "To compile this package portage likely must be in the video group."
|
||||
einfo "Please run \"gpasswd -a portage video\" if build fails."
|
||||
fi
|
||||
fi
|
||||
if use video_cards_fglrx; then
|
||||
if [ ! -w /dev/ati ]; then
|
||||
einfo "To compile this package portage likely must be in the video group."
|
||||
einfo "Please run \"gpasswd -a portage video\" if build fails."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use pax_kernel; then
|
||||
sed -e "s|-Wno-unused-result -D_7ZIP_ST -ldl$|-Wno-unused-result -D_7ZIP_ST -ldl \
|
||||
\n\t\paxctl -m *-compiler|g" -i src/kernels/compiler/Makefile
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable video_cards_nvidia nv-ocl) \
|
||||
$(use_enable video_cards_fglrx amd-ocl)
|
||||
#the following might fail if gcc is built with USE="multislot"
|
||||
if [[ $(gcc-version) == 4.5 ]] && has_version sys-devel/gcc:4.5[-lto]; then
|
||||
einfo "Compiling without LTO optimisaiton"
|
||||
sed -i 's| -flto -fwhole-program||g' src/Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
#the way opencl is doing compilation it requires this no matter what for both devices for enumeration
|
||||
# Upstream bug https://github.com/gat3way/hashkill/issues/35
|
||||
# we need write access to nvidia devices
|
||||
addwrite /dev/nvidia0
|
||||
addwrite /dev/nvidiactl
|
||||
# we need write access to ati devices
|
||||
addwrite /dev/ati
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests
|
||||
./test.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use pax_kernel; then
|
||||
pax-mark m src/hashkill
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README
|
||||
}
|
||||
Loading…
Reference in a new issue