mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 00:01:15 +02:00
oclhashcat-plus-bin: moved to gentoo
This commit is contained in:
parent
8715db8684
commit
bb49496d1a
4 changed files with 0 additions and 394 deletions
|
|
@ -1,9 +0,0 @@
|
|||
DIST oclHashcat-plus-0.07.7z 19121359 RMD160 6c547a38212850d7397ce918d04810f52fc19643 SHA1 3c9ccecac7c8207fc8fc4efafdb68a20884dabd5 SHA256 fac1e97180bae8576a9c8273b25f5482e30ad1617b293cbfed114ed0f7a71fe6
|
||||
DIST oclHashcat-plus-0.071.7z 204204 RMD160 9ac411993990432cfaeed731c78307692475be7c SHA1 fe83d09a3e8c52c215ad3074291cfb272cf07dda SHA256 7b23796e7153f0348777b9bc966cf1f485d786b23e32e3a26315ce454dbeeccf
|
||||
DIST oclHashcat-plus-0.08-32.7z 19262455 RMD160 1fc921914b1013c9baabefd37789e15056472207 SHA1 0d5319b4be5107b63723a74adfb1fa9d0bdaa3c2 SHA256 619a15cfcb80ab0c595c05dd9771cef8edb986716110df6007e589fb9313db05
|
||||
DIST oclHashcat-plus-0.08-64.7z 22033687 RMD160 d199437954a977b9f2dc6ade6817704052fe96fe SHA1 80915e1bc4d159a5eb08e0cde34983e3cf097709 SHA256 216e918ae767ffdc89f9582d7d8b22672195a20158c9d05a9d674edb52ea5325
|
||||
DIST oclHashcat-plus-0.081-32.7z 19358773 RMD160 09b2088ea69b31798bef3ce1119a89bf0f86d1ea SHA1 b545fc05bf81ea81f0b782f6fce65be7881ab5f8 SHA256 2b293e19dc87e969eea4e1b75055b791d4855d6066858fd1075494ba44179aca
|
||||
DIST oclHashcat-plus-0.081-64.7z 22259753 RMD160 4acbece6a1911e84ca7df2edfbd2f5ab7e61a027 SHA1 2fc8a56e2182e9835d9184da2ce82b16f8fc320f SHA256 5390a8a3c6b8887536e936c918ca2cfeba6b971e4cd9a57dca36a3cfa5e83684
|
||||
EBUILD oclhashcat-plus-bin-0.071.ebuild 5157 RMD160 371a04247e4356c3911d69b06eadd18fe449bc24 SHA1 382c47e3132b495abfa174818b731bb0fd0ed160 SHA256 4a083fc28f043f77bd294af00ed922f49eaf1a74817be0c0c2533eeacde85efe
|
||||
EBUILD oclhashcat-plus-bin-0.08.ebuild 5150 RMD160 b7749a99d2288acbea5539c6d93f52f358b3126b SHA1 4019e429deb7a6cc05552e605355f3b64917b81e SHA256 68c72e32043b733dd62ab65f9ed470d39c1b080ccf51b23711c7d00c3557ffce
|
||||
EBUILD oclhashcat-plus-bin-0.081.ebuild 5124 RMD160 510e3893bba176e5d602a9df1af8091addb7d974 SHA1 4fb957c7a606f33bf9ecc9075baa22047fb2e795 SHA256 cbbcc6f97733589288bc85a8c48d73b30bb162cf146e6a7864ad104cff1fc10b
|
||||
|
|
@ -1,129 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
MY_P="oclHashcat-plus-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An opencl multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/oclhashcat-plus/"
|
||||
|
||||
SRC_URI="http://hashcat.net/files/oclHashcat-plus-0.07.7z \
|
||||
http://hashcat.net/files/${MY_P}.7z"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx
|
||||
video_cards_nvidia"
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}"
|
||||
|
||||
#without the 0.071 patch nvidia should be =275.43
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-275.43 )
|
||||
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
#S="${WORKDIR}/${MY_P}"
|
||||
S="${WORKDIR}/oclHashcat-plus-0.07"
|
||||
|
||||
RESTRICT="strip binchecks"
|
||||
|
||||
src_prepare() {
|
||||
#here we combine the 0.07 and the 0.071 patch
|
||||
mv -f "${WORKDIR}"/*.bin "${S}"
|
||||
rm -rf ${WORKDIR}/*.exe
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -rf *.exe docs
|
||||
if use x86; then
|
||||
rm oclHashcat-plus64.bin
|
||||
rm cudaHashcat-plus64.bin
|
||||
rm kernels/4098/*64* kernels/4318/*64*
|
||||
fi
|
||||
if use amd64; then
|
||||
rm oclHashcat-plus32.bin
|
||||
rm cudaHashcat-plus32.bin
|
||||
rm kernels/4098/*32* kernels/4318/*32*
|
||||
fi
|
||||
if ! use video_cards_fglrx; then
|
||||
rm -rf kernels/4098
|
||||
rm -f oclHashcat-plus*.bin
|
||||
fi
|
||||
if ! use video_cards_nvidia; then
|
||||
rm -rf kernels/4318
|
||||
rm -f cudaHashcat-plus*.bin
|
||||
fi
|
||||
pax-mark m *Hashcat-plus*.bin
|
||||
|
||||
#already in aircrack-ng
|
||||
rm -rf contrib/aircrack-ng_r1959
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/* || die "Copy files failed"
|
||||
|
||||
dodir /usr/bin
|
||||
cd "${ED}/opt/oclHashcat-plus-bin/"
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "oclHashcat-plus and all related files have been installed in /opt/oclhashcat-plus-bin"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "Please run one of the following binaries to use gpu accelerated hashcat:"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit ATI accelerated \"oclHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin /usr/bin/oclHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'echo "Warning: oclHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo './oclHashcat-plus64.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo "32 bit ATI accelerated \"oclHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin /usr/bin/oclHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'echo "Warning: oclHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo './oclHashcat-plus32.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin /usr/bin/cudaHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo './cudaHashcat-plus64.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
fperms +x /usr/bin/cudaHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo 32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin /usr/bin/cudaHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo './cudaHashcat-plus32.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
fperms +x /usr/bin/oclhashcat-plus
|
||||
}
|
||||
|
|
@ -1,128 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
MY_P="oclHashcat-plus-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An opencl multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/oclhashcat-plus/"
|
||||
|
||||
SRC_URI="amd64? ( http://hashcat.net/files/oclHashcat-plus-0.08-64.7z ) \
|
||||
x86? ( http://hashcat.net/files/oclHashcat-plus-0.08-32.7z )"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx
|
||||
video_cards_nvidia"
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-290.40 )
|
||||
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
#S="${WORKDIR}/${MY_P}"
|
||||
S="${WORKDIR}/oclHashcat-plus-0.08"
|
||||
|
||||
RESTRICT="strip binchecks"
|
||||
|
||||
src_prepare() {
|
||||
#here we combine the 0.07 and the 0.071 patch
|
||||
mv -f "${WORKDIR}"/*.bin "${S}"
|
||||
rm -rf ${WORKDIR}/*.exe
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -rf *.exe docs
|
||||
if use x86; then
|
||||
rm oclHashcat-plus64.bin
|
||||
rm cudaHashcat-plus64.bin
|
||||
rm kernels/4098/*64* kernels/4318/*64*
|
||||
fi
|
||||
if use amd64; then
|
||||
rm oclHashcat-plus32.bin
|
||||
rm cudaHashcat-plus32.bin
|
||||
rm kernels/4098/*32* kernels/4318/*32*
|
||||
fi
|
||||
if ! use video_cards_fglrx; then
|
||||
rm -rf kernels/4098
|
||||
rm -f oclHashcat-plus*.bin
|
||||
fi
|
||||
if ! use video_cards_nvidia; then
|
||||
rm -rf kernels/4318
|
||||
rm -f cudaHashcat-plus*.bin
|
||||
fi
|
||||
pax-mark m *Hashcat-plus*.bin
|
||||
|
||||
#already in aircrack-ng
|
||||
rm -rf contrib/aircrack-ng_r1959
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/* || die "Copy files failed"
|
||||
|
||||
dodir /usr/bin
|
||||
cd "${ED}/opt/oclHashcat-plus-bin/"
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "oclHashcat-plus and all related files have been installed in /opt/oclhashcat-plus-bin"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "Please run one of the following binaries to use gpu accelerated hashcat:"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit ATI accelerated \"oclHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin /usr/bin/oclHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'echo "Warning: oclHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo './oclHashcat-plus64.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo "32 bit ATI accelerated \"oclHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin /usr/bin/oclHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'echo "Warning: oclHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo './oclHashcat-plus32.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin /usr/bin/cudaHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo './cudaHashcat-plus64.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
fperms +x /usr/bin/cudaHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo 32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin /usr/bin/cudaHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo './cudaHashcat-plus32.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
fperms +x /usr/bin/oclhashcat-plus
|
||||
}
|
||||
|
|
@ -1,128 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
MY_P="oclHashcat-plus-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An opencl multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/oclhashcat-plus/"
|
||||
|
||||
SRC_URI="amd64? ( http://hashcat.net/files/${MY_P}-64.7z ) \
|
||||
x86? ( http://hashcat.net/files/${MY_P}-32.7z )"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx
|
||||
video_cards_nvidia"
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-290.40 )
|
||||
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
#S="${WORKDIR}/${MY_P}"
|
||||
S="${WORKDIR}/oclHashcat-plus-0.08"
|
||||
|
||||
RESTRICT="strip binchecks"
|
||||
|
||||
src_prepare() {
|
||||
#here we combine the 0.07 and the 0.071 patch
|
||||
mv -f "${WORKDIR}"/*.bin "${S}"
|
||||
rm -rf ${WORKDIR}/*.exe
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -rf *.exe docs
|
||||
if use x86; then
|
||||
rm oclHashcat-plus64.bin
|
||||
rm cudaHashcat-plus64.bin
|
||||
rm kernels/4098/*64* kernels/4318/*64*
|
||||
fi
|
||||
if use amd64; then
|
||||
rm oclHashcat-plus32.bin
|
||||
rm cudaHashcat-plus32.bin
|
||||
rm kernels/4098/*32* kernels/4318/*32*
|
||||
fi
|
||||
if ! use video_cards_fglrx; then
|
||||
rm -rf kernels/4098
|
||||
rm -f oclHashcat-plus*.bin
|
||||
fi
|
||||
if ! use video_cards_nvidia; then
|
||||
rm -rf kernels/4318
|
||||
rm -f cudaHashcat-plus*.bin
|
||||
fi
|
||||
pax-mark m *Hashcat-plus*.bin
|
||||
|
||||
#already in aircrack-ng
|
||||
rm -rf contrib/aircrack-ng_r1959
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/* || die "Copy files failed"
|
||||
|
||||
dodir /usr/bin
|
||||
cd "${ED}/opt/oclHashcat-plus-bin/"
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "oclHashcat-plus and all related files have been installed in /opt/oclhashcat-plus-bin"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
echo 'echo "Please run one of the following binaries to use gpu accelerated hashcat:"' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit ATI accelerated \"oclHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus64.bin /usr/bin/oclHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo 'echo "Warning: oclHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
echo './oclHashcat-plus64.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus64.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/oclHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo "32 bit ATI accelerated \"oclHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/oclHashcat-plus32.bin /usr/bin/oclHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo 'echo "Warning: oclHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
echo './oclHashcat-plus32.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin ]
|
||||
then
|
||||
echo 'echo "64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus64.bin /usr/bin/cudaHashcat-plus64.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
echo './cudaHashcat-plus64.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin
|
||||
fperms +x /usr/bin/cudaHashcat-plus64.bin
|
||||
|
||||
fi
|
||||
if [ -f "${ED}"/opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin ]
|
||||
then
|
||||
echo 'echo 32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus
|
||||
fperms +x /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin
|
||||
#dosym /opt/oclhashcat-plus-bin/cudaHashcat-plus32.bin /usr/bin/cudaHashcat-plus32.bin
|
||||
#workaround for need to be run from /opt/oclHashcat-plus-bin
|
||||
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo 'echo "Warning: cudaHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
echo './cudaHashcat-plus32.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin
|
||||
fperms +x /usr/bin/oclHashcat-plus32.bin
|
||||
fi
|
||||
fperms +x /usr/bin/oclhashcat-plus
|
||||
}
|
||||
Loading…
Reference in a new issue