Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2006 10:58:33 GMT
From:      Jonathan <afarsec@012.net.il>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105397: Update security/metasploit-devel to 3.0.b.3
Message-ID:  <200611111058.kABAwX2l094711@freefall.freebsd.org>
Resent-Message-ID: <200611111100.kABB0SMI094794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105397
>Category:       ports
>Synopsis:       Update security/metasploit-devel to 3.0.b.3
>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:   Sat Nov 11 11:00:28 GMT 2006
>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:
New beta for the next version of metasploit framework:

Migration from msfupdate to svn accounts for most of the plist diff.
New dependencies on ruby Gems and database backend via ActiveRecord.
Msfwx requires X (via wx-ruby) but is still not very useful, so it has
to be manually enabled.
kris@ suggesting using RESTRICTED instead of NO_PACKAGE+NO_CDROM.
>How-To-Repeat:
N/A
>Fix:
Sponsored by Afarsec.

--- metasploit-devel-3.0.b.3.diff begins here ---
diff -urN metasploit-devel.orig/Makefile metasploit-devel/Makefile
--- metasploit-devel.orig/Makefile	Thu Oct  5 02:05:52 2006
+++ metasploit-devel/Makefile	Tue Oct 31 14:12:28 2006
@@ -6,22 +6,31 @@
 #
 
 PORTNAME=	metasploit
-DISTVERSION=	3.0-beta-1
+DISTVERSION=	3.0-beta-3
 CATEGORIES=	security
 MASTER_SITES=	#
-DISTNAME=	framework-${DISTVERSION}
+DISTNAME=	framework-${DISTVERSION}-svn
 
 MAINTAINER=	onatan@gmail.com
 COMMENT=	Exploit-Framework for Penetration-Testing
 
-NO_CDROM=	May not be re-sold for more than the cost of duplication
-NO_PACKAGE=	May not be redistributed after patching
+RUN_DEPENDS=	${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
+		${LOCALBASE}/bin/gem:${PORTSDIR}/devel/ruby-gems \
+		${LOCALBASE}/lib/ruby/gems/1.8/specifications/activerecord-1.14.4.gemspec:${PORTSDIR}/databases/rubygem-activerecord
+
+SCRIPTS=	msfcli msfconsole msfd msfencode msflicense msfopcode \
+		msfpayload msfpescan msfweb
+
+.if defined(WITH_MSFWX)
+RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx
+SCRIPTS+=	msfwx
+.endif
+
+WRKSRC=		${WRKDIR}/framework-${DISTVERSION}
+RESTRICTED=	May not be re-sold for more than the cost of duplication, nor redistributed after patching
 CONFLICTS=	metasploit-2*
 NO_BUILD=	yes
 USE_RUBY=	yes
-
-SCRIPTS=	msfcli msfconsole msfd msfencode msflicense msfopcode \
-		msfpayload msfpescan msfweb msfwx
 
 .include <bsd.port.pre.mk>
 
diff -urN metasploit-devel.orig/distinfo metasploit-devel/distinfo
--- metasploit-devel.orig/distinfo	Thu Oct  5 02:05:52 2006
+++ metasploit-devel/distinfo	Tue Oct 31 13:14:22 2006
@@ -1,3 +1,3 @@
-MD5 (framework-3.0-beta-1.tar.gz) = 27f6d4186562a03282bc4f6971c8968d
-SHA256 (framework-3.0-beta-1.tar.gz) = 2537817c4fdf7f217d10d8c5a9392267b7877228b74a648fab9f6b71c426bd44
-SIZE (framework-3.0-beta-1.tar.gz) = 2064950
+MD5 (framework-3.0-beta-3-svn.tar.gz) = 4150b7fed0da02baf36dbd4c86447398
+SHA256 (framework-3.0-beta-3-svn.tar.gz) = 6dde5df73636432a8f9fe21cc88d7debc37fcdb8c6e8aa64df66e4ac1526b7fb
+SIZE (framework-3.0-beta-3-svn.tar.gz) = 4829906

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611111058.kABAwX2l094711>