summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-05-18 07:53:13 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-05-18 07:53:13 +0000
commit4a01b3fba29b4285e6b9a2f35dbb845d5a4023b6 (patch)
tree2eae7c2a6cfb5c8f39dad81c35e8361652859455 /security
parentUpdate to 0.4.1 (diff)
Update to 4.12.2
Notes
Notes: svn path=/head/; revision=415430
Diffstat (limited to 'security')
-rw-r--r--security/metasploit/Makefile13
-rw-r--r--security/metasploit/distinfo6
2 files changed, 10 insertions, 9 deletions
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index d291da9e8d03..d6c641706f0a 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= metasploit
-PORTVERSION= 4.12.1
+PORTVERSION= 4.12.2
CATEGORIES= security
MAINTAINER= tanawts@gmail.com
@@ -51,18 +51,19 @@ USE_GITHUB= yes
GH_ACCOUNT= rapid7
GH_PROJECT= metasploit-framework
+NO_ARCH= yes
+
USES= ncurses:port
USE_RUBY= yes
post-patch:
${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
- /rb-readline-r7/d' ${WRKSRC}/metasploit-framework.gemspec
+ /rb-readline-r7/d ; /tzinfo-data/d' \
+ ${WRKSRC}/metasploit-framework.gemspec
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
+ ${TOUCH} ${WRKSRC}/Gemfile.lock
${REINPLACE_CMD} '/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d' \
${WRKSRC}/Gemfile
@@ -79,7 +80,7 @@ post-install:
@${ECHO} "bin/${f}" >> ${TMPPLIST}
.endfor
@${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
- ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+ ${SED} 's,${STAGEDIR}${PREFIX}/,, ; /Gemfile.lock/s|^|@(,,0666) |' >> ${TMPPLIST}
@${FIND} -ds ${STAGEDIR}${DATADIR} -type d -empty | \
${SED} 's,${STAGEDIR}${PREFIX}/,, ; s,^,@dir ,' >> ${TMPPLIST}
diff --git a/security/metasploit/distinfo b/security/metasploit/distinfo
index 15e63b9ae251..1ac80645dbc5 100644
--- a/security/metasploit/distinfo
+++ b/security/metasploit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1463297270
-SHA256 (rapid7-metasploit-framework-4.12.1_GH0.tar.gz) = 7d05b75b8649001bff07a48c8384f889f94224362051f885912c5533fc11e152
-SIZE (rapid7-metasploit-framework-4.12.1_GH0.tar.gz) = 23281025
+TIMESTAMP = 1463557453
+SHA256 (rapid7-metasploit-framework-4.12.2_GH0.tar.gz) = f3543ddbae2d9254acd24aa7823e413ee0e7510b2f7c9c7724f092096de8a6a9
+SIZE (rapid7-metasploit-framework-4.12.2_GH0.tar.gz) = 23300903