Date: Fri, 26 Jan 2007 15:40:39 +0200 From: Jonathan <afarsec@012.net.il> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/108373: security/metasploit - fix plist when using WITH_MSFWX Message-ID: <0JCH00GCVASTVI90@i_mtaout3.012.net.il> Resent-Message-ID: <200701261410.l0QEA6XB039942@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 108373 >Category: ports >Synopsis: security/metasploit - fix plist when using WITH_MSFWX >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: Fri Jan 26 14:10:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jonathan >Release: FreeBSD 6.1-STABLE i386 >Organization: Afarsec >Environment: System: FreeBSD server.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun 3 15:27:37 IDT 2006 root@server.afarsec.com:/usr/obj/usr/src/sys/GENERIC-ALTQ i386 >Description: As noted by pav@ and miwi@, when using WITH_MSFWX the plist is wrong. >How-To-Repeat: make WITH_MSFWX=yes install && make deinstall >Fix: --- metasploit-devel-fix-msfwx.diff begins here --- diff -urN metasploit-devel.orig/Makefile metasploit-devel/Makefile --- metasploit-devel.orig/Makefile Thu Jan 25 18:10:08 2007 +++ metasploit-devel/Makefile Thu Jan 25 18:30:56 2007 @@ -25,6 +25,9 @@ .if defined(WITH_MSFWX) RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx SCRIPTS+= msfwx +PLIST_SUB= WITH_MSFWX="" +.else +PLIST_SUB= WITH_MSFWX="@comment " .endif WRKSRC= ${WRKDIR}/framework-${DISTVERSION} diff -urN metasploit-devel.orig/pkg-plist metasploit-devel/pkg-plist --- metasploit-devel.orig/pkg-plist Thu Jan 25 18:10:08 2007 +++ metasploit-devel/pkg-plist Thu Jan 25 18:27:21 2007 @@ -7,7 +7,7 @@ bin/msfpayload bin/msfpescan bin/msfweb -bin/msfwx +%%WITH_MSFWX%%/bin/msfwx %%DATADIR%%/BUGS.txt %%DATADIR%%/README %%DATADIR%%/data/meterpreter/ext_server_priv.dll --- metasploit-devel-fix-msfwx.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0JCH00GCVASTVI90>