| Summary: | Fix installation of security/metasploit | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | onatan |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed committed, thanks |
The maintainer of this one was really silly. How could he have missed that, I wonder... The entire package is cp'ed to ${DATADIR} and then the perl scripts are linked to from ${PREFIX}/bin, but the link is made to the wrong location, so it never worked. Fix: .include <bsd.port.post.mk>--PUg4pEF1iW87GhUGHcbkYX60rzDndjPxduHETkj6JhyYueXv Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- metasploit.orig/Makefile Wed Jan 12 05:52:42 2005 +++ metasploit/Makefile Sun Jan 23 08:52:04 2005 @@ -31,7 +31,7 @@ ${MKDIR} ${DATADIR} ${CP} -Rp ${WRKSRC}/ ${DATADIR} . for i in msfcli msfconsole msfdldebug msfelfscan msfencode msflogdump msfpayload msfpayload.cgi msfpescan msfupdate msfweb - ${LN} -s ${WRKSRC}/$i ${PREFIX}/bin/ + ${LN} -s ${DATADIR}/$i ${PREFIX}/bin/ . endfor How-To-Repeat: cd /usr/ports/security/metasploit ; make install clean msfconsole msfconsole: command not found