Date: Sun, 23 Jan 2005 07:06:59 GMT From: Yonatan <onatan@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/76593: Fix installation of security/metasploit Message-ID: <200501230706.j0N76xDw026885@www.freebsd.org> Resent-Message-ID: <200501230710.j0N7AQFq078860@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76593 >Category: ports >Synopsis: Fix installation of security/metasploit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 23 07:10:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yonatan >Release: 5.0 >Organization: >Environment: FreeBSD run.run.run.to.the.cities.of.the.future 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Aug 28 21:09:30 IDT 2003 root@:/usr/obj/usr/src/sys/SERVER i386 >Description: 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. >How-To-Repeat: cd /usr/ports/security/metasploit ; make install clean msfconsole msfconsole: command not found >Fix: --- 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 .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501230706.j0N76xDw026885>