#1388 closed defect (fixed)
Small bug in John the Ripper Port
Reported by: | jmpalaciosp@… | Owned by: | yeled@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
There's a small bug in the John the Ripper port, regarding the symlinking of the binary to the /opt/ local/bin location. Instead of explaining it again, I'll quote myself from a message that was sent to the darwinports@… mailing list:
Hi all, apparently there's a small bug in the John the Ripper port. As I was checking my /opt/
local/bin directory I noticed the john "binary" was a link pointing to '/usr/local/darwinports/ dports/sysutils/john/work/destroot/opt/local/share/john/run/john', which obviously breaks after a 'port clean john'. What I think is happening is that the link is created from $PREFIX/bin/john to where the software is built, rather than to where it will ultimately reside, which is /opt/local/share/ run/john.
This is how it was in my box, though I cannot recall if I moved things around causing the
linking to break. An easy one to fix locally, but I still thought about getting the word out. Hope everyone had a good New Year's celebration!
Juan
After some digging around, I found the following line in the Portfile, which I believe is causing the faulty link:
system "ln -s ${destroot}${prefix}/share/john/run/john ${destroot}${prefix}/bin/john"
That resides just below the 'destroot' stage of the Portfile. Hope that helps get this fixed...
Juan.
Attachments (1)
Change History (2)
Changed 21 years ago by tp62@…
Attachment: | patch-Portfile added |
---|
comment:1 Changed 21 years ago by toby@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed fix. Bad, bad yeled!
patch fixing ln -s call