Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432740 - app-crypt/hashcat: Wrapper scripts don't accept arguments
Summary: app-crypt/hashcat: Wrapper scripts don't accept arguments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-25 16:51 UTC by Mike Auty (RETIRED)
Modified: 2012-08-25 22:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hashcat-bin-0.40.ebuild using make_wrapper from eutils (hashcat-bin-0.40.ebuild,1.38 KB, text/plain)
2012-08-25 16:51 UTC, Mike Auty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2012-08-25 16:51:52 UTC
Created attachment 322202 [details]
hashcat-bin-0.40.ebuild using make_wrapper from eutils

I just tried installing hashcat and making use it of, and found that the $@ symbol in the wrapper scripts doesn't get written out to the files during the cat operation.  My guess is that they're interpretted when the cat happens, rather than being written in directly.  This is easy to test by doing an install and then running "/opt/bin/hashcat_cli64.bin --help".  Rather than providing a list of options it'll suggest running with --help again.

I've converted the ebuild over to using make_wrapper instead (and there doesn't seem to be a good reason for changing to the hashcat directory, so it executes directly and there's now no warning about relative directories).  Hopefully this'll be an easy bump, but do please let me know if there's any questions or anything else I can help with...
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2012-08-25 22:24:19 UTC
changing $@ to \$@ fixes the issue. the loaders will remain custom to make usage easier for users until such time as users tell me I'm wrong.

+  25 Aug 2012; Rick Farina <zerochaos@gentoo.org> hashcat-bin-0.39.ebuild,
+  hashcat-bin-0.40.ebuild:
+  fix loader re bug #432740

loaders for oclhashcat-plus-bin and oclhashcat-lite-bin are already in this format.

thanks for the report.