Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 07:53:13 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415430 - head/security/metasploit
Message-ID:  <201605180753.u4I7rDR1085668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed May 18 07:53:13 2016
New Revision: 415430
URL: https://svnweb.freebsd.org/changeset/ports/415430

Log:
  Update to 4.12.2

Modified:
  head/security/metasploit/Makefile
  head/security/metasploit/distinfo

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Wed May 18 07:52:21 2016	(r415429)
+++ head/security/metasploit/Makefile	Wed May 18 07:53:13 2016	(r415430)
@@ -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}
 

Modified: head/security/metasploit/distinfo
==============================================================================
--- head/security/metasploit/distinfo	Wed May 18 07:52:21 2016	(r415429)
+++ head/security/metasploit/distinfo	Wed May 18 07:53:13 2016	(r415430)
@@ -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



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