hashkill: bump, issue #196

This commit is contained in:
Anton Bolshakov 2013-11-30 03:39:05 +00:00
parent f1d80eaba2
commit 091d13c096
5 changed files with 13 additions and 183 deletions

View file

@ -1,6 +1,4 @@
DIST hashkill-0.3.1.tar.gz 16872469 SHA256 1f72d60e45eb97f6408f9ae3d708f7f4ecb50fc8be43ab2fc4e199800b1c2bdd SHA512 696a6621d3b6c03f08021dd3a4e2716038e9e49ecf5347068d9e1b25d607decaf4d28b7aeb617aebcd26ea24e726f87229b5d02fbd54c7f4aa189c194e629c83 WHIRLPOOL 678cbada15e1b5ddb2335958c1860e1c6339140c53aad04c23373fc6242f5a99f4b0557e4b2a8c3bef35984000bf0149fc80def4e365eae1aeab2d33ba54f743
EBUILD hashkill-0.3.1-r1.ebuild 1364 SHA256 06684559859ee893e2f90c19da5dd67fa733aa4d41b4824ffc2c73f9f4a71cd4 SHA512 33f008f1073386e60763ff7734b7871215bf2ee73fd2857b516e60eda4ebb49418f03ba96409045c005456d0f51e17fb08ae552672694ce68943a0a3fa71a118 WHIRLPOOL d823e17a6887cde927230d9ea0ebcdad22188d09eb26bc007fe47afc7b511318013b864d0d23e6147fbecacc3a2bc0ce2e20d06b8588ceec32bf650256f68378
EBUILD hashkill-0.3.1_p20130427.ebuild 2311 SHA256 cd093cbf0ceb4bd2cd7b295ca972ba9b9112afc341119116e78f4b9022406a19 SHA512 4640064f5e57e73ce377dc956650c1894a69c3c2312ed0bf05a4d165c8e7c64a44069d55711029dd3ca29559a30290e60d1c6e52be4b6555263f825ddbff1457 WHIRLPOOL da5badb25758be9b4c3fecfe393bb3cf589445a7bb43cb8174cbfe63a013ebcd5bc69105c1d781985cac1cf49f92facb2a2aa04875851965ac491db1120a97af
EBUILD hashkill-0.3.1_p20130509.ebuild 2311 SHA256 4cbc0a682f983728a52d640b044737a6a4b7db38e18fcb06484171c9c33ec4a9 SHA512 3812a300a1fb8e10d684fc418eece9f268a23b1c697b82fdec6414f41a42a6cfa040f2c82f0cc5e686bb61569860d768c811ed03315b18580fff826b22f550e9 WHIRLPOOL fdfa1a27ddcd236e993acc1060a4a9461bf9438bb178e116464943ba0c425003eed201d22d4ac55001b2d668c75a9c37030d7e105eff54a3954cd14398ac841e
EBUILD hashkill-0.3.1_p20130730.ebuild 2311 SHA256 eb2391fbe67a48be7581c84bdfcdb879bb6d61202af957fcc026350f6bd9c711 SHA512 af827b330e5e4192b8d6f048db958584f11623c9a9af97c2f0415c1bab290967e2cb4811eefc66e29c211b3283b1b292dee313a3b73f19f50d8a39157e41b326 WHIRLPOOL dc4eda55de06a5927083272740dc72d848f0f2a4b46c736efb2be86c01b61949b12e5e089faa3147d15d5b859c89824433c80b2b597d67416dbdb0cbafa139f3
EBUILD hashkill-0.3.1-r1.ebuild 1371 SHA256 464e24c12324293746e9de8cc90c8fd32db6e229f3e82b9f42e8fe4ecf6fface SHA512 be6504d9e44d7606f1199c9dba6c595991c1726ee143b307558988de8b3f9f76d17df6d6344e5600f67e755ad44c215b6f8c8f438a92e14803b1a1192250aba8 WHIRLPOOL 99980f8ed836e3c2b6d7549788d99c078be630be9deafcc2d80e5fc4af5a0055d13fed68582d66f26f0cc10f1b45946227f708da97d326cfc778592bdb98c954
EBUILD hashkill-0.3.1_p20131031.ebuild 2471 SHA256 63659060cc51ae8614569553a432cbac190d36efaf2788c447d2b8319e42a387 SHA512 452fc33c974ba248459d798c0a5829084cdc2c0382d8c3ce82e4834bff11eb96a3d866e2dfee6c1a603e020e3e3e21513cb6deab2089f564022638dcb6c8bf10 WHIRLPOOL b3fc8d21b554231945b27c75bce416afaf19e9cff914c5a0d17b2b74136c1cdb83835e06fccc6d4f8d2ab8989fa7e26c83a4b462b62691727322225ac5a04c7b
EBUILD hashkill-9999.ebuild 2245 SHA256 aa443e41c821c9c2811cd5053b0f5c317cafaaa0ac8bad9838cf45e22fc32d14 SHA512 5d166073d20f5df87983342f2ff4d5d57d43a759629c024dafd1cb57c419c21fa70aac5b5ec564785489d5c8d3c822c1e1760749fbea8048be3ca298cd7250a0 WHIRLPOOL 908f53301b11ce75801cc03cc63f5106424b3238a824f3e244ef2187a930a92aa9636b95275197b15d83f5c935df12464b72a32f114720b67c41cf840f44e96d

View file

@ -20,7 +20,8 @@ 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"
<dev-libs/json-c-0.11"
RDEPEND="${DEPEND}"
src_prepare() {

View file

@ -1,87 +0,0 @@
# 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="7bea735cfac629392b921fdf27fe769e81e34137"
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|amd-compiler$|amd-compiler \
\n\t\t paxctl -m amd-compiler |g" -i src/kernels/compiler/Makefile
sed -e "s|nvidia-compiler$|nvidia-compiler \
\n\t\t paxctl -m nvidia-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 has_version sys-devel/gcc[-lto]; then
einfo "Warning: 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
}

View file

@ -1,87 +0,0 @@
# 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="02ec3342ec124e3561b7429e78cac9bbdd6e3a86"
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|amd-compiler$|amd-compiler \
\n\t\t paxctl -m amd-compiler |g" -i src/kernels/compiler/Makefile
sed -e "s|nvidia-compiler$|nvidia-compiler \
\n\t\t paxctl -m nvidia-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 has_version sys-devel/gcc[-lto]; then
einfo "Warning: 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
}

View file

@ -9,19 +9,19 @@ 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="3661bcf5a7b0dc54c520407f0b1a32de811ce09b"
EGIT_COMMIT="e2a11efc3a580b0c509f1809e969b2f8d240f8ef"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel json"
DEPEND="opencl? ( virtual/opencl-sdk )
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
video_cards_fglrx? ( x11-drivers/ati-drivers )
dev-libs/json-c"
json? ( <dev-libs/json-c-0.11 )"
RDEPEND="${DEPEND}"
pkg_setup() {
@ -46,13 +46,18 @@ src_prepare() {
sed -e "s|nvidia-compiler$|nvidia-compiler \
\n\t\t paxctl -m nvidia-compiler |g" -i src/kernels/compiler/Makefile
fi
#bug https://github.com/gat3way/hashkill/issues/52
use json || sed -e 's|JS_LIBS="-ljson"|JS_LIBS=""|g' -i json.m4
eautoreconf
}
src_configure() {
econf \
$(use_enable video_cards_nvidia nv-ocl) \
$(use_enable video_cards_fglrx amd-ocl)
$(use_enable video_cards_fglrx amd-ocl) \
$(use_with json)
#the following might fail if gcc is built with USE="multislot"
if has_version sys-devel/gcc[-lto]; then
einfo "Warning: compiling without LTO optimisaiton"