ports/108373: security/metasploit - fix plist when using WITH_MSFWX

Jonathan afarsec at 012.net.il
Fri Jan 26 14:10:06 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list