Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 21:14:37 +0100 (CET)
From:      Sofian Brabez <sbrabez@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        onatan@gmail.com
Subject:   ports/143220: [update] security/metasploit: update to 3.3 and take maintainership
Message-ID:  <20100125201437.5AEABA0001F@zimbra.ifr.lan>
Resent-Message-ID: <201001252020.o0PKK8bK025560@freefall.freebsd.org>

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

>Number:         143220
>Category:       ports
>Synopsis:       [update] security/metasploit: update to 3.3 and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 25 20:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 7.2-STABLE FreeBSD 7.2-STABLE #2: Thu Nov 19 01:59:45 CET 2009
>Description:
- Update to 3.3
- Update MASTER_SITES
- Use PORTVERSION instead of DISTVERSION
- Take maintainership

Port maintainer (onatan@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- metasploit-3.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/metasploit/Makefile /tmp/metasploit/Makefile
--- /usr/ports/security/metasploit/Makefile	2009-06-16 16:07:01.000000000 +0200
+++ /tmp/metasploit/Makefile	2010-01-25 18:07:12.000000000 +0100
@@ -6,24 +6,31 @@
 #
 
 PORTNAME=	metasploit
-DISTVERSION=	3.2
+PORTVERSION=	3.3
 CATEGORIES=	security
-MASTER_SITES=	http://spool.metasploit.com/releases/
-DISTNAME=	framework-${DISTVERSION}
+MASTER_SITES=	http://www.metasploit.com/releases/
+DISTNAME=	framework-${PORTVERSION}
 
-MAINTAINER=	onatan@gmail.com
+MAINTAINER=	sbrabez@gmail.com
 COMMENT=	Exploit-Framework for Penetration-Testing
 
+WRKSRC=		${WRKDIR}/msf3
 SCRIPTS=	msfcli msfconsole msfd msfselfscan msfencode msfmachscan \
-		msfopcode msfpayload msfpescan msfweb
+		msfopcode msfpayload msfpescan msfrpc msfrpcd msfweb
 
+USE_BZIP2=	yes
 NO_BUILD=	yes
 USE_RUBY=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${RUBY_VER} == 1.9
+.if ${RUBY_VER} == 1.8
 RUN_DEPENDS+=	${LOCALBASE}/bin/gem:${PORTSDIR}/devel/ruby-gems
+.else
+RUN_DEPENDS+=	rubygem-actionpack:${PORTSDIR}/databases/rubygem-activerecord \
+	rubygem-activerecord:${PORTSDIR}/databases/rubygem-activerecord \
+	rubygem-activesupport:${PORTSDIR}/devel/rubygem-activesupport \
+	${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
 .endif
 
 .if defined(WITH_MSFGUI)
@@ -36,7 +43,7 @@
 	${MKDIR} ${DATADIR}
 	${CP} -Rp ${WRKSRC}/ ${DATADIR}
 .for f in ${SCRIPTS}
-	${LN} -s ${DATADIR}/${f} ${PREFIX}/bin
+	${LN} -s ${DATADIR}/${f} ${PREFIX}/bin/${f}
 .endfor
 
 post-install:
diff -ruN --exclude=CVS /usr/ports/security/metasploit/distinfo /tmp/metasploit/distinfo
--- /usr/ports/security/metasploit/distinfo	2009-06-16 16:07:01.000000000 +0200
+++ /tmp/metasploit/distinfo	2010-01-25 15:32:21.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (framework-3.2.tar.gz) = d543bda031b36a247912aa9c6a0f74d9
-SHA256 (framework-3.2.tar.gz) = fc9366a2ab01924e91575352889970e57a551e087c78b5d1dd4287aaf2136a04
-SIZE (framework-3.2.tar.gz) = 13099756
+MD5 (framework-3.3.tar.bz2) = e9fe29c30f70de311333be509babf720
+SHA256 (framework-3.3.tar.bz2) = 226f724ffb5915c8522fcf87ca2f9e787d31c1855dadf80953485f661ea314df
+SIZE (framework-3.3.tar.bz2) = 22614595
--- metasploit-3.3.patch ends here ---

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



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