mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #612] Bogus information in ./configure --help #281
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Jun 1, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/612
We should try to mute this part of
./configure --helpfrom being generated:Eventually we'll support JOHN_SYSTEMWIDE which might use some of the above but until then it should just be muted.
@magnumripper commented on GitHub (Jun 1, 2014):
If we can't turn it off I guess we could use something like
AC_PREFIX_DEFAULT([../run])@magnumripper commented on GitHub (Oct 2, 2014):
That helped a little but we still got bogus information about bin/lib dirs.
@magnumripper commented on GitHub (Oct 2, 2014):
Hmm, also, if doing a
./configure --prefix=/tmpI believe everything will still go to ../run. So this text is lying.@jfoug commented on GitHub (Nov 25, 2014):
./configure -help=short really is what would be better to have shown as default, and ./configure --help=long should show what the 'current' --help shows, BUT how do we do that??
@jfoug commented on GitHub (Dec 6, 2014):
Why don't we look at installing john properly?
@jfoug commented on GitHub (Dec 6, 2014):
All the help shit is hard coded strings, we have little/no control over them, unless we edit code, or post process the configure file.
I found this in /usr/share/autoconf/autoconf/general.m4
Scratch that. I AM able to do this. Please list EXACTLY what you want the text to be, and I will make it so!!!! All I have to do is to make our own replacement m4 macro for m4_define([_AC_INIT_HELP]
So I will do it exactly like it is today, and then we can edit this.
@jfoug commented on GitHub (Dec 6, 2014):
with the above commit, we are now in full control of the help message. I will start stripping out stuff we do not want at all. We MUST document where the original code is located at, so that we can later revert this, IF we do a proper GNU install package.
@jfoug commented on GitHub (Dec 7, 2014):
What do you think @magnumripper @frank-dittrich
@jfoug commented on GitHub (Dec 7, 2014):
WOOT WOOT. I did not think this was doable, BUT, m4 is yer friend (from hell), lol.
@magnumripper commented on GitHub (Dec 7, 2014):
Awesome! I did not think this was impossible.
Sooner or later we might want to do that, but that will be yet another huge difference between core and Jumbo that will be hard to merge. On the other hand, Solar hasn't committed a bit in 16 months...
@magnumripper commented on GitHub (Dec 7, 2014):
That should have read "I did not think this was possible" !
@jfoug commented on GitHub (Dec 7, 2014):
Neither did I, but o tracked down where it was created, then simply cut the macro out and pasted the whole macro at very start of configure.ac and was shocked when it worked. This was not a Google find. I searched a lot and found nothing. Even now, after learning the name of the macro _AC_INIT_HELP, I find absolutely nothing on Google. So I think this is a '0 day' solution to this.