Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2020 11:26:52 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530769 - head/security/metasploit
Message-ID:  <202004051126.035BQqMt091773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sun Apr  5 11:26:52 2020
New Revision: 530769
URL: https://svnweb.freebsd.org/changeset/ports/530769

Log:
  security/metasploit: Update rubygem-rex-exploitation dependency
  
  While here, reorder some variables.
  
  PR:	245047
  Submitted by:	rl+fbsd@ciphron.de
  Approved by:	tanawts@gmail.com(maintainer, timeout > 1 week)

Modified:
  head/security/metasploit/Makefile

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Sun Apr  5 11:24:14 2020	(r530768)
+++ head/security/metasploit/Makefile	Sun Apr  5 11:26:52 2020	(r530769)
@@ -62,7 +62,7 @@ RUN_DEPENDS=	nmap:security/nmap \
 		rubygem-rex-bin_tools>=0:security/rubygem-rex-bin_tools \
 		rubygem-rex-core>=0:security/rubygem-rex-core \
 		rubygem-rex-encoder>=0:security/rubygem-rex-encoder \
-		rubygem-rex-exploitation>=0:security/rubygem-rex-exploitation \
+		rubygem-rex-exploitation>=0.1.22:security/rubygem-rex-exploitation \
 		rubygem-rex-java>=0:security/rubygem-rex-java \
 		rubygem-rex-mime>=0:security/rubygem-rex-mime \
 		rubygem-rex-nop>=0:security/rubygem-rex-nop \
@@ -93,16 +93,6 @@ RUN_DEPENDS=	nmap:security/nmap \
 		rubygem-faye-websocket>=0:www/rubygem-faye-websocket \
 		rubygem-eventmachine>=0:devel/rubygem-eventmachine
 
-SCRIPTS=	msfconsole msfd msfdb msfrpc msfrpcd msfvenom
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	rapid7
-GH_PROJECT=	metasploit-framework
-
-NO_ARCH=	yes
-NO_ARCH_IGNORE=	template_x64_bsd.bin template_x86_bsd.bin CVE-2013-2171.bin
-STRIP=
-
 USES=		python shebangfix
 USE_RUBY=	yes
 SHEBANG_FILES=	data/exploits/CVE-2017-17562/build.sh \
@@ -139,6 +129,14 @@ SHEBANG_FILES=	data/exploits/CVE-2017-17562/build.sh \
 		tools/hardware/killerbee_msfrelay.py \
 		tools/modules/aws-aggregator-userdata.sh
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	rapid7
+GH_PROJECT=	metasploit-framework
+
+NO_ARCH=	yes
+NO_ARCH_IGNORE=	template_x64_bsd.bin template_x86_bsd.bin CVE-2013-2171.bin
+STRIP=
+
 post-patch:
 	${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
 		/rb-readline/d' \
@@ -157,7 +155,7 @@ do-build:
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC} && ${PAX} -rw . ${STAGEDIR}${DATADIR}
-.for f in ${SCRIPTS}
+.for f in msfd msfdb msfrpc msfrpcd msfvenom
 	${RLN} ${STAGEDIR}${DATADIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f}
 .endfor
 



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