aboutsummaryrefslogtreecommitdiff
path: root/security/metasploit
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-03-08 15:38:17 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-03-08 15:38:17 +0000
commit02873334697e31469d47647bec2925e48d882832 (patch)
treee2ffbed0914136aa777a2c90488b9cbbfffdd6ea /security/metasploit
parent427e3f638c1cec4b833d991ef14cd3f1232b9bba (diff)
Notes
Diffstat (limited to 'security/metasploit')
-rw-r--r--security/metasploit/Makefile17
-rw-r--r--security/metasploit/distinfo4
2 files changed, 11 insertions, 10 deletions
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index 199993368fa3..df5e11559701 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= metasploit
-PORTVERSION= 4.11.0
+PORTVERSION= 4.11.1
CATEGORIES= security
MASTER_SITES= GH
@@ -19,7 +19,7 @@ RUN_DEPENDS= nasm:${PORTSDIR}/devel/nasm \
rubygem-json>=0:${PORTSDIR}/devel/rubygem-json \
rubygem-metasploit-concern>=0.3.0:${PORTSDIR}/security/rubygem-metasploit-concern \
rubygem-metasploit-model>=0.28.0:${PORTSDIR}/security/rubygem-metasploit-model \
- rubygem-meterpreter_bins>=0.0.12:${PORTSDIR}/security/rubygem-meterpreter_bins \
+ rubygem-meterpreter_bins>=0.0.13:${PORTSDIR}/security/rubygem-meterpreter_bins \
rubygem-msgpack>=0:${PORTSDIR}/devel/rubygem-msgpack \
rubygem-nokogiri>=0:${PORTSDIR}/textproc/rubygem-nokogiri \
rubygem-network_interface>=0.0.1:${PORTSDIR}/net/rubygem-network_interface \
@@ -38,19 +38,18 @@ SCRIPTS= msfbinscan msfcli msfconsole msfd msfelfscan msfencode \
USE_GITHUB= yes
GH_ACCOUNT= rapid7
GH_PROJECT= metasploit-framework
-GH_COMMIT= 4c994d8
+GH_COMMIT= 1cb58d8
-USES= ncurses:port tar:bzip2
+USES= ncurses:port
USE_RUBY= yes
-USE_RUBY_FEATURES= iconv
OPTIONS_DEFINE= DB
OPTIONS_DEFAULT=DB
DB_DESC= Database support
DB_RUN_DEPENDS= rubygem-activerecord>=3.0.0:${PORTSDIR}/databases/rubygem-activerecord \
- rubygem-metasploit-credential>=0.13.8:${PORTSDIR}/security/rubygem-metasploit-credential \
- rubygem-metasploit_data_models>=0.21.1:${PORTSDIR}/security/rubygem-metasploit_data_models \
+ rubygem-metasploit-credential>=0.13.7:${PORTSDIR}/security/rubygem-metasploit-credential \
+ rubygem-metasploit_data_models>=0.22.6:${PORTSDIR}/security/rubygem-metasploit_data_models \
rubygem-pg>=0.11:${PORTSDIR}/databases/rubygem-pg
.include <bsd.port.options.mk>
@@ -59,13 +58,15 @@ post-patch:
${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
/packetfu/s/1.1.9/>= 1.1.9/ ; \
/rb-readline/d' ${WRKSRC}/metasploit-framework.gemspec
+ ${REINPLACE_CMD} 's,3.2.21,3.2.19,' \
+ ${WRKSRC}/lib/metasploit/framework/rails_version_constraint.rb
do-build:
${RM} ${WRKSRC}/Gemfile.lock
${MKDIR} ${WRKSRC}/log
${TOUCH} ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log
${CHMOD} 666 ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log
- ${REINPLACE_CMD} '/^group :development/,/^end/d ; /^group :test/,/^end/d' \
+ ${REINPLACE_CMD} '/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d' \
${WRKSRC}/Gemfile
.if ! ${PORT_OPTIONS:MDB}
${REINPLACE_CMD} '/^group :db do/,/^end/d' ${WRKSRC}/Gemfile
diff --git a/security/metasploit/distinfo b/security/metasploit/distinfo
index 0bf719efabc0..cc03e4fb5a1e 100644
--- a/security/metasploit/distinfo
+++ b/security/metasploit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (metasploit-4.11.0.tar.bz2) = ac35234b6a33949f59ae41efac15e427fabd4d24811374839d5a492da4e3e92e
-SIZE (metasploit-4.11.0.tar.bz2) = 36109691
+SHA256 (metasploit-4.11.1.tar.gz) = dcda2776a631c2645d8a80c87806543b039be0b66c83440bf0bb15a18865c052
+SIZE (metasploit-4.11.1.tar.gz) = 35507882