diff options
author | Richard Farina <zerochaos@gentoo.org> | 2012-07-04 17:51:22 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2012-07-04 17:51:22 +0000 |
commit | 70b954f268c1bdfb94513204951824eb24d950db (patch) | |
tree | a81439692ec781f6d454eba035a6454226227b50 /app-crypt | |
parent | minor QA for ebuild (diff) | |
download | historical-70b954f268c1bdfb94513204951824eb24d950db.tar.gz historical-70b954f268c1bdfb94513204951824eb24d950db.tar.bz2 historical-70b954f268c1bdfb94513204951824eb24d950db.zip |
minor ebuild QA
Package-Manager: portage-2.1.11.4/cvs/Linux x86_64
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/oclhashcat-plus-bin/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild | 28 |
2 files changed, 19 insertions, 15 deletions
diff --git a/app-crypt/oclhashcat-plus-bin/ChangeLog b/app-crypt/oclhashcat-plus-bin/ChangeLog index 5a2c51f1fbe4..42983a838606 100644 --- a/app-crypt/oclhashcat-plus-bin/ChangeLog +++ b/app-crypt/oclhashcat-plus-bin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/oclhashcat-plus-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.2 2012/07/04 03:38:29 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.3 2012/07/04 17:51:22 zerochaos Exp $ + + 04 Jul 2012; Rick Farina <zerochaos@gentoo.org> + oclhashcat-plus-bin-0.081.ebuild: + minor ebuild QA 04 Jul 2012; Rick Farina <zerochaos@gentoo.org> oclhashcat-plus-bin-0.081.ebuild: diff --git a/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild b/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild index 59276515e329..d6f8e953b955 100644 --- a/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild +++ b/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild,v 1.2 2012/07/04 03:38:29 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild,v 1.3 2012/07/04 17:51:22 zerochaos Exp $ EAPI=4 @@ -37,9 +37,9 @@ QA_PREBUILT="*Hashcat-plus*.bin" src_install() { dodoc docs/* - rm -rf *.exe docs || die + rm -r *.exe docs || die #patches already in aircrack-ng - rm -rf contrib/aircrack-ng_r1959 || die + rm -r contrib/aircrack-ng_r1959 || die #the current release (0.08) seperates 64bit from 32 bit, will he stay with this? #if ! use amd64; then @@ -53,12 +53,12 @@ src_install() { # rm kernels/4098/*32* kernels/4318/*32* || die #fi if ! use video_cards_fglrx; then - rm -rf kernels/4098 || die - rm -f oclHashcat-plus*.bin || die + rm -r kernels/4098 || die + rm oclHashcat-plus*.bin || die fi if ! use video_cards_nvidia; then - rm -rf kernels/4318 || die - rm -f cudaHashcat-plus*.bin || die + rm -r kernels/4318 || die + rm cudaHashcat-plus*.bin || die fi pax-mark m *Hashcat-plus*.bin @@ -68,9 +68,9 @@ src_install() { dodir /opt/bin cat <<-EOF > "${ED}"/opt/bin/oclhashcat-plus - #! /bin/sh - echo "oclHashcat-plus and all related files have been installed in /opt/${PN}" - echo "Please run one of the following binaries to use gpu accelerated hashcat:" + #! /bin/sh + echo "oclHashcat-plus and all related files have been installed in /opt/${PN}" + echo "Please run one of the following binaries to use gpu accelerated hashcat:" EOF for x in oclHashcat-plus64.bin oclHashcat-plus32.bin cudaHashcat-plus64.bin cudaHashcat-plus32.bin @@ -95,10 +95,10 @@ src_install() { fperms +x /opt/${PN}/${x} cat <<-EOF > "${ED}"/opt/bin/${x} - #! /bin/sh - cd /opt/${PN} - echo "Warning: ${x} is running from /opt/${PN} so be careful of relative paths." - ./${x} "\$@" + #! /bin/sh + cd /opt/${PN} + echo "Warning: ${x} is running from /opt/${PN} so be careful of relative paths." + exec ./${x} "\$@" EOF fperms +x /opt/bin/${x} |