diff options
author | Rick Farina <zerochaos@gentoo.org> | 2012-07-04 17:48:59 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2012-07-04 17:48:59 +0000 |
commit | 5c036b21396108a5485b5392169c1e67f8c0ccc1 (patch) | |
tree | 0603042ad3453976f5cccb75a8550af514f9230e /app-crypt/hashcat-bin | |
parent | minor QA with ebuild, again (diff) | |
download | gentoo-2-5c036b21396108a5485b5392169c1e67f8c0ccc1.tar.gz gentoo-2-5c036b21396108a5485b5392169c1e67f8c0ccc1.tar.bz2 gentoo-2-5c036b21396108a5485b5392169c1e67f8c0ccc1.zip |
minor QA for ebuild
(Portage version: 2.1.11.4/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/hashcat-bin')
-rw-r--r-- | app-crypt/hashcat-bin/ChangeLog | 5 | ||||
-rw-r--r-- | app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild | 20 |
2 files changed, 14 insertions, 11 deletions
diff --git a/app-crypt/hashcat-bin/ChangeLog b/app-crypt/hashcat-bin/ChangeLog index cd96b6de0b66..b898cba3e078 100644 --- a/app-crypt/hashcat-bin/ChangeLog +++ b/app-crypt/hashcat-bin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-crypt/hashcat-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.3 2012/07/03 22:27:31 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.4 2012/07/04 17:48:59 zerochaos Exp $ + + 04 Jul 2012; Rick Farina <zerochaos@gentoo.org> hashcat-bin-0.39.ebuild: + minor QA for ebuild 03 Jul 2012; Rick Farina <zerochaos@gentoo.org> hashcat-bin-0.39.ebuild: fix loader location and minor ebuild style improvements diff --git a/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild b/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild index 6469ef472987..833086a3cdd9 100644 --- a/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild +++ b/app-crypt/hashcat-bin/hashcat-bin-0.39.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/hashcat-bin/hashcat-bin-0.39.ebuild,v 1.3 2012/07/03 22:27:31 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.39.ebuild,v 1.4 2012/07/04 17:48:59 zerochaos Exp $ EAPI=4 @@ -30,7 +30,7 @@ QA_PREBUILT="hashcat-cli*.bin" src_install() { dodoc docs/* - rm -rf *.exe docs || die + rm -r *.exe docs || die use x86 && rm hashcat-cli64.bin use amd64 && rm hashcat-cli32.bin @@ -45,10 +45,10 @@ src_install() { then fperms +x /opt/${PN}/hashcat-cli32.bin cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin - #! /bin/sh - cd /opt/${PN} - echo "Warning: hashcat-cli32.bin is running from /opt/${PN} so be careful of relative paths." - ./hashcat-cli32.bin $@ + #! /bin/sh + cd /opt/${PN} + echo "Warning: hashcat-cli32.bin is running from /opt/${PN} so be careful of relative paths." + exec ./hashcat-cli32.bin $@ EOF fperms +x /opt/bin/hashcat-cli32.bin fi @@ -56,10 +56,10 @@ src_install() { then fperms +x /opt/${PN}/hashcat-cli64.bin cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin - #! /bin/sh - cd /opt/${PN} - echo "Warning: hashcat-cli64.bin is running from /opt/${PN} so be careful of relative paths." - ./hashcat-cli64.bin $@ + #! /bin/sh + cd /opt/${PN} + echo "Warning: hashcat-cli64.bin is running from /opt/${PN} so be careful of relative paths." + exec ./hashcat-cli64.bin $@ EOF fperms +x /opt/bin/hashcat-cli64.bin fi |