hashkill: the latest snapshot added

This commit is contained in:
Anton Bolshakov 2013-03-14 15:07:17 +00:00
parent 8086787875
commit 58d2a38dad
2 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,53 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit git-2 toolchain-funcs autotools pax-utils
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="3fe6458b319983e5cd8e8667a739a939e90aae3c"
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}"
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_install() {
if use pax_kernel; then
pax-mark m src/hashkill
fi
emake DESTDIR="${D}" install || die
dodoc README
}

View file

@ -3,7 +3,7 @@
app-crypt/hashcat-bin
app-crypt/hashcat-gui
app-crypt/steghide
~app-crypt/hashkill-0.3.0
=app-crypt/hashkill-0.3.1_p2013*
app-crypt/oclhashcat-plus-bin
app-crypt/oclhashcat-lite-bin