svn commit: r374025 - head/security/metasploit

Antoine Brodin antoine at FreeBSD.org
Fri Dec 5 13:32:42 UTC 2014


Author: antoine
Date: Fri Dec  5 13:32:41 2014
New Revision: 374025
URL: https://svnweb.freebsd.org/changeset/ports/374025
QAT: https://qat.redports.org/buildarchive/r374025/

Log:
  Remove dependency on rb-readline, it works fine without it

Modified:
  head/security/metasploit/Makefile

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Fri Dec  5 13:13:14 2014	(r374024)
+++ head/security/metasploit/Makefile	Fri Dec  5 13:32:41 2014	(r374025)
@@ -3,6 +3,7 @@
 
 PORTNAME=	metasploit
 PORTVERSION=	4.10.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	GH
 
@@ -27,7 +28,6 @@ RUN_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
 		rubygem-pcaprub>=0:${PORTSDIR}/net/rubygem-pcaprub \
 		rubygem-railties>=3.0.0:${PORTSDIR}/www/rubygem-railties \
 		rubygem-recog>=1.0:${PORTSDIR}/security/rubygem-recog \
-		rubygem-rb-readline>=0:${PORTSDIR}/devel/rubygem-rb-readline \
 		rubygem-robots>=0:${PORTSDIR}/www/rubygem-robots \
 		rubygem-rubyzip>=1.1:${PORTSDIR}/archivers/rubygem-rubyzip \
 		rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 \
@@ -57,8 +57,9 @@ DB_RUN_DEPENDS=	rubygem-activerecord>=3.
 .include <bsd.port.options.mk>
 
 post-patch:
-	${REINPLACE_CMD} 's,git ls-files,find . ! -type d ! -ipath "config/*" | sed "s|^./||", ; \
-		/packetfu/s/1.1.9/>= 1.1.9/' ${WRKSRC}/metasploit-framework.gemspec
+	${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
 
 do-build:
 	${RM} ${WRKSRC}/Gemfile.lock


More information about the svn-ports-head mailing list