git: 71bb03491b11 - main - security/metasploit: fix runtime

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 10:05:34 UTC
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71bb03491b119a3181a4158f39c8305dafbd58c0

commit 71bb03491b119a3181a4158f39c8305dafbd58c0
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2024-01-05 10:04:30 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2024-01-05 10:05:25 +0000

    security/metasploit: fix runtime
    
    PR:             276006
    MFH:            2024Q1
---
 security/metasploit/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index 101c6efa5bbf..14043aabaf9c 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	metasploit
 DISTVERSION=	6.2.23
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	security
 
 MAINTAINER=	tanawts@gmail.com
@@ -168,7 +168,7 @@ post-patch:
 	${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
 		/rb-readline/d ; /win32api/d' \
 		${WRKSRC}/metasploit-framework.gemspec
-	${REINPLACE_CMD} "/concurrent-ruby/s|,'1.0.5'||" \
+	${REINPLACE_CMD} "/concurrent-ruby/s|,'1.0.5'|| ; /octokit/s|, '~> 4.0'||" \
 		${WRKSRC}/metasploit-framework.gemspec
 
 do-build: