aboutsummaryrefslogtreecommitdiffstats
path: root/security/metasploit
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-02-27 22:46:41 +0800
committerwxs <wxs@FreeBSD.org>2010-02-27 22:46:41 +0800
commit6de8308f788657feaa34ac8319a92be43bcb51a6 (patch)
tree2654516e76084cced5ff01b167d243c8c3f9d6b7 /security/metasploit
parenta42391c68f688b0d982dbc2d78af8dde61717206 (diff)
downloadfreebsd-ports-gnome-6de8308f788657feaa34ac8319a92be43bcb51a6.tar.gz
freebsd-ports-gnome-6de8308f788657feaa34ac8319a92be43bcb51a6.tar.zst
freebsd-ports-gnome-6de8308f788657feaa34ac8319a92be43bcb51a6.zip
- Update to 3.3
PR: ports/143220 Submitted by: Sofian Brabez <sbrabez@gmail.com> Approved by: Jonatan B <onatan@gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'security/metasploit')
-rw-r--r--security/metasploit/Makefile30
-rw-r--r--security/metasploit/distinfo6
2 files changed, 26 insertions, 10 deletions
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index a906f04fd959..1820568d5a0b 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -6,37 +6,53 @@
#
PORTNAME= metasploit
-DISTVERSION= 3.2
+DISTVERSION= 3.3.3
CATEGORIES= security
-MASTER_SITES= http://spool.metasploit.com/releases/
+MASTER_SITES= http://www.metasploit.com/releases/
DISTNAME= framework-${DISTVERSION}
MAINTAINER= onatan@gmail.com
COMMENT= Exploit-Framework for Penetration-Testing
-SCRIPTS= msfcli msfconsole msfd msfselfscan msfencode msfmachscan \
+RUN_DEPENDS= infocmp:${PORTSDIR}/devel/ncurses \
+ nasm:${PORTSDIR}/devel/nasm \
+ nmap:${PORTSDIR}/security/nmap
+
+WRKSRC= ${WRKDIR}/msf3
+SCRIPTS= msfcli msfconsole msfd msfelfscan msfencode msfmachscan \
msfopcode msfpayload msfpescan msfweb
NO_BUILD= yes
USE_RUBY= yes
+USE_BZIP2= 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}/www/rubygem-actionpack \
+ rubygem-sqlite3:${PORTSDIR}/databases/rubygem-sqlite3 \
+ 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)
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
+ ${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2
SCRIPTS+= msfgui
.endif
+.if defined(WITH_SVN)
+RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+.endif
+
do-install:
${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 --git a/security/metasploit/distinfo b/security/metasploit/distinfo
index 6e329d5be863..b34ee191b161 100644
--- a/security/metasploit/distinfo
+++ b/security/metasploit/distinfo
@@ -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.3.tar.bz2) = aee22d8cfa2c081051434ad893cd3533
+SHA256 (framework-3.3.3.tar.bz2) = a650778f7946a7f113acd716023978fd94f01325e9a4cf6342fb00ba3f6a2c0b
+SIZE (framework-3.3.3.tar.bz2) = 23438382