git: 0986fcb0a5ea - main - security/metasploit: update to 6.4.58

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Mon, 21 Apr 2025 07:26:38 UTC
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0986fcb0a5eae5a8a1c7b754530b1db408327fc8

commit 0986fcb0a5eae5a8a1c7b754530b1db408327fc8
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2025-04-21 07:25:22 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2025-04-21 07:25:22 +0000

    security/metasploit: update to 6.4.58
    
    This version now uses rails 7.1
    Adjust dependencies accordingly
    
    PR:             285758
---
 converters/rubygem-xdr/Makefile                  |  6 +++---
 databases/rubygem-arel-helpers/Makefile          |  3 ++-
 devel/rubygem-elftools/Makefile                  |  3 ++-
 security/metasploit/Makefile                     | 20 +++++++++++---------
 security/metasploit/distinfo                     |  6 +++---
 security/rubygem-metasploit-concern/Makefile     |  7 ++++---
 security/rubygem-metasploit-credential/Makefile  |  4 ++--
 security/rubygem-metasploit-credential/distinfo  |  6 +++---
 security/rubygem-metasploit-model/Makefile       |  8 ++++----
 security/rubygem-metasploit-model/distinfo       |  6 +++---
 security/rubygem-metasploit_data_models/Makefile |  8 ++++----
 security/rubygem-metasploit_data_models/distinfo |  6 +++---
 12 files changed, 44 insertions(+), 39 deletions(-)

diff --git a/converters/rubygem-xdr/Makefile b/converters/rubygem-xdr/Makefile
index 0b54ca36561d..f59732f7b8c0 100644
--- a/converters/rubygem-xdr/Makefile
+++ b/converters/rubygem-xdr/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xdr
 PORTVERSION=	3.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	converters rubygems
 MASTER_SITES=	RG
 
@@ -11,8 +11,8 @@ WWW=		https://github.com/stellar/ruby-xdr
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	rubygem-activemodel70>=7.0:databases/rubygem-activemodel70 \
-		rubygem-activesupport70>=7.0:devel/rubygem-activesupport70
+RUN_DEPENDS=	rubygem-activemodel71>=7.1:databases/rubygem-activemodel71 \
+		rubygem-activesupport71>=7.1:devel/rubygem-activesupport71
 
 USES=		gem
 
diff --git a/databases/rubygem-arel-helpers/Makefile b/databases/rubygem-arel-helpers/Makefile
index 29922be9f781..d7bc132dc441 100644
--- a/databases/rubygem-arel-helpers/Makefile
+++ b/databases/rubygem-arel-helpers/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	arel-helpers
 PORTVERSION=	2.16.0
+PORTREVISION=	1
 CATEGORIES=	databases rubygems
 MASTER_SITES=	RG
 
@@ -9,7 +10,7 @@ WWW=		https://github.com/camertron/arel-helpers
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	rubygem-activerecord70>=7.0:databases/rubygem-activerecord70
+RUN_DEPENDS=	rubygem-activerecord71>=7.1:databases/rubygem-activerecord71
 
 USES=		gem
 
diff --git a/devel/rubygem-elftools/Makefile b/devel/rubygem-elftools/Makefile
index a7213599584f..e95bf0463cb2 100644
--- a/devel/rubygem-elftools/Makefile
+++ b/devel/rubygem-elftools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	elftools
 PORTVERSION=	1.3.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -9,7 +10,7 @@ WWW=		https://github.com/david942j/rbelftools
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	rubygem-bindata>=2:devel/rubygem-bindata
+RUN_DEPENDS=	rubygem-bindata24>=2:devel/rubygem-bindata24
 
 NO_ARCH=	yes
 
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index a5a778449a06..5dc994025af5 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	metasploit
-DISTVERSION=	6.4.49
-PORTREVISION=	2
+DISTVERSION=	6.4.58
 CATEGORIES=	security
 
 MAINTAINER=	tanawts@gmail.com
@@ -14,9 +13,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		nmap:security/nmap \
 		rubygem-aarch64>=0:devel/rubygem-aarch64 \
 		rubygem-abbrev>=0:textproc/rubygem-abbrev \
-		rubygem-actionpack70>=7.0:www/rubygem-actionpack70 \
-		rubygem-activerecord70>=7.0:databases/rubygem-activerecord70 \
-		rubygem-activesupport70>=7.0:devel/rubygem-activesupport70 \
+		rubygem-actionpack71>=7.1:www/rubygem-actionpack71 \
+		rubygem-activerecord71>=7.1:databases/rubygem-activerecord71 \
+		rubygem-activesupport71>=7.1:devel/rubygem-activesupport71 \
 		rubygem-aws-sdk-ec2>=0:devel/rubygem-aws-sdk-ec2 \
 		rubygem-aws-sdk-ec2instanceconnect>=0:devel/rubygem-aws-sdk-ec2instanceconnect \
 		rubygem-aws-sdk-iam>=0:devel/rubygem-aws-sdk-iam \
@@ -71,7 +70,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		rubygem-network_interface>=0:net/rubygem-network_interface \
 		rubygem-nexpose>=0:security/rubygem-nexpose \
 		rubygem-nokogiri>=0:textproc/rubygem-nokogiri \
-		rubygem-octokit>=0:net/rubygem-octokit \
+		rubygem-octokit4>=4:net/rubygem-octokit4 \
 		rubygem-openssl-ccm>=0:security/rubygem-openssl-ccm \
 		rubygem-openvas-omp>=0:security/rubygem-openvas-omp \
 		rubygem-ostruct>=0:devel/rubygem-ostruct \
@@ -81,7 +80,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		rubygem-pdf-reader>=0:print/rubygem-pdf-reader \
 		rubygem-pg>=0:databases/rubygem-pg \
 		rubygem-puma>=0:www/rubygem-puma \
-		rubygem-railties70>=7.0:www/rubygem-railties70 \
+		rubygem-rack-session10>=0:www/rubygem-rack-session10 \
+		rubygem-rackup10>=0:www/rubygem-rackup10 \
+		rubygem-railties71>=7.1:www/rubygem-railties71 \
 		rubygem-rasn1>=0:security/rubygem-rasn1 \
 		rubygem-recog>=0:security/rubygem-recog \
 		rubygem-redcarpet>=0:textproc/rubygem-redcarpet \
@@ -104,12 +105,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		rubygem-rex-struct2>=0:security/rubygem-rex-struct2 \
 		rubygem-rex-text>=0:security/rubygem-rex-text \
 		rubygem-rex-zip>=0:security/rubygem-rex-zip \
+		rubygem-rinda>=0:devel/rubygem-rinda \
 		rubygem-ruby-macho>=0:devel/rubygem-ruby-macho \
 		rubygem-ruby-mysql>=0:databases/rubygem-ruby-mysql \
 		rubygem-ruby_smb>=0:net/rubygem-ruby_smb \
 		rubygem-rubyntlm>=0:net/rubygem-rubyntlm \
 		rubygem-rubyzip>=0:archivers/rubygem-rubyzip \
-		rubygem-sinatra2>=0:www/rubygem-sinatra2 \
+		rubygem-sinatra3>=0:www/rubygem-sinatra3 \
 		rubygem-sqlite3>=0:databases/rubygem-sqlite3 \
 		rubygem-sshkey>=0:security/rubygem-sshkey \
 		rubygem-swagger-blocks>=0:devel/rubygem-swagger-blocks \
@@ -190,7 +192,7 @@ NO_ARCH_IGNORE=	template_x64_bsd.bin template_x86_bsd.bin CVE-2013-2171.bin
 
 post-patch:
 	${REINPLACE_CMD} "/rb-readline/d ; /win32api/d ; \
-		/msgpack/s|, '~> 1.6.0'|| ; /octokit/s|, '~> 4.0'|| ; /rasn1/s|, '0.13.0'|| ; /ffi/s|, '< 1.17.0'|| ; /sqlite3/s|, '1.7.3'|| ; /irb/s|, '~> 1.7.4'|| ; /faraday/s|, '2.7.11'|| ; /concurrent-ruby/s|, '1.3.4'||" \
+		/msgpack/s|, '~> 1.6.0'|| ; /octokit/s|, '~> 4.0'|| ; /rasn1/s|, '0.14.0'|| ; /ffi/s|, '< 1.17.0'|| ; /sqlite3/s|, '1.7.3'|| ; /irb/s|, '~> 1.7.4'|| ; /faraday/s|, '2.7.11'|| ; /concurrent-ruby/s|, '1.3.4'||" \
 		${WRKSRC}/metasploit-framework.gemspec
 
 do-build:
diff --git a/security/metasploit/distinfo b/security/metasploit/distinfo
index 0567cdd04e1a..65f126a2ad97 100644
--- a/security/metasploit/distinfo
+++ b/security/metasploit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739886168
-SHA256 (rapid7-metasploit-framework-6.4.49_GH0.tar.gz) = cc44fe38397f4d4babb93be56e1b3b4178002a8ca054cfdf940e2379c1a0e266
-SIZE (rapid7-metasploit-framework-6.4.49_GH0.tar.gz) = 75341603
+TIMESTAMP = 1744966168
+SHA256 (rapid7-metasploit-framework-6.4.58_GH0.tar.gz) = 7729cf17d36dd8fbb1268d1c023bf5dc56dcc086977b11070ba92ed31cc7bfe0
+SIZE (rapid7-metasploit-framework-6.4.58_GH0.tar.gz) = 75560540
diff --git a/security/rubygem-metasploit-concern/Makefile b/security/rubygem-metasploit-concern/Makefile
index 7bcba427efac..57899175ffbd 100644
--- a/security/rubygem-metasploit-concern/Makefile
+++ b/security/rubygem-metasploit-concern/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	metasploit-concern
 PORTVERSION=	5.0.4
+PORTREVISION=	1
 CATEGORIES=	security rubygems
 MASTER_SITES=	RG
 
@@ -10,9 +11,9 @@ WWW=		https://github.com/rapid7/metasploit-concern
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-activemodel70>=7.0:databases/rubygem-activemodel70 \
-		rubygem-activesupport70>=7.0:devel/rubygem-activesupport70 \
-		rubygem-railties70>=7.0:www/rubygem-railties70 \
+RUN_DEPENDS=	rubygem-activemodel71>=7.1:databases/rubygem-activemodel71 \
+		rubygem-activesupport71>=7.1:devel/rubygem-activesupport71 \
+		rubygem-railties71>=7.1:www/rubygem-railties71 \
 		rubygem-zeitwerk>=0:devel/rubygem-zeitwerk
 
 NO_ARCH=	yes
diff --git a/security/rubygem-metasploit-credential/Makefile b/security/rubygem-metasploit-credential/Makefile
index 9bac3c6b7daa..defcf800c250 100644
--- a/security/rubygem-metasploit-credential/Makefile
+++ b/security/rubygem-metasploit-credential/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	metasploit-credential
-PORTVERSION=	6.0.12
+PORTVERSION=	6.0.14
 CATEGORIES=	security rubygems
 MASTER_SITES=	RG
 
@@ -15,7 +15,7 @@ RUN_DEPENDS=	rubygem-metasploit-concern>=0:security/rubygem-metasploit-concern \
 		rubygem-metasploit-model>=0:security/rubygem-metasploit-model \
 		rubygem-net-ssh>=0:security/rubygem-net-ssh \
 		rubygem-pg>=0:databases/rubygem-pg \
-		rubygem-railties70>=7.0:www/rubygem-railties70 \
+		rubygem-railties71>=7.1:www/rubygem-railties71 \
 		rubygem-rex-socket>=0:security/rubygem-rex-socket \
 		rubygem-rubyntlm>=0:net/rubygem-rubyntlm \
 		rubygem-rubyzip>=0:archivers/rubygem-rubyzip
diff --git a/security/rubygem-metasploit-credential/distinfo b/security/rubygem-metasploit-credential/distinfo
index 094894b601b9..f963ff6a905d 100644
--- a/security/rubygem-metasploit-credential/distinfo
+++ b/security/rubygem-metasploit-credential/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739885678
-SHA256 (rubygem/metasploit-credential-6.0.12.gem) = 256b16fabcd7e92b24e633754b370fd32e369084657905f33b96b2ef77b58325
-SIZE (rubygem/metasploit-credential-6.0.12.gem) = 114176
+TIMESTAMP = 1744966669
+SHA256 (rubygem/metasploit-credential-6.0.14.gem) = 9d1704a1cff23f549027d8b81433d48c516eea7732048d873e8d1cff42706cb5
+SIZE (rubygem/metasploit-credential-6.0.14.gem) = 111616
diff --git a/security/rubygem-metasploit-model/Makefile b/security/rubygem-metasploit-model/Makefile
index f2fadddcbca0..360295f31328 100644
--- a/security/rubygem-metasploit-model/Makefile
+++ b/security/rubygem-metasploit-model/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	metasploit-model
-PORTVERSION=	5.0.2
+PORTVERSION=	5.0.3
 CATEGORIES=	security rubygems
 MASTER_SITES=	RG
 
@@ -10,9 +10,9 @@ WWW=		https://github.com/rapid7/metasploit-model
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-activemodel70>=7.0:databases/rubygem-activemodel70 \
-		rubygem-activesupport70>=7.0:devel/rubygem-activesupport70 \
-		rubygem-railties70>=7.0:www/rubygem-railties70
+RUN_DEPENDS=	rubygem-activemodel71>=7.1:databases/rubygem-activemodel71 \
+		rubygem-activesupport71>=7.1:devel/rubygem-activesupport71 \
+		rubygem-railties71>=7.1:www/rubygem-railties71
 
 NO_ARCH=	yes
 
diff --git a/security/rubygem-metasploit-model/distinfo b/security/rubygem-metasploit-model/distinfo
index cd8b7e14ebd1..fcbe1fc06f00 100644
--- a/security/rubygem-metasploit-model/distinfo
+++ b/security/rubygem-metasploit-model/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1704463269
-SHA256 (rubygem/metasploit-model-5.0.2.gem) = 27de70f93ce42f115359848967d878897dde4904b7f654e5c2d5aab6ad04c56e
-SIZE (rubygem/metasploit-model-5.0.2.gem) = 82432
+TIMESTAMP = 1744966734
+SHA256 (rubygem/metasploit-model-5.0.3.gem) = 282b836c72ebe6e9f011331d787ece0f12776325ee62ce718fb96345a1a4e3bd
+SIZE (rubygem/metasploit-model-5.0.3.gem) = 76800
diff --git a/security/rubygem-metasploit_data_models/Makefile b/security/rubygem-metasploit_data_models/Makefile
index a512b10d9760..d1b46c9abbb5 100644
--- a/security/rubygem-metasploit_data_models/Makefile
+++ b/security/rubygem-metasploit_data_models/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	metasploit_data_models
-PORTVERSION=	6.0.6
+PORTVERSION=	6.0.9
 PORTEPOCH=	2
 CATEGORIES=	security rubygems
 MASTER_SITES=	RG
@@ -11,13 +11,13 @@ WWW=		https://github.com/rapid7/metasploit_data_models
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-activerecord70>=7.0:databases/rubygem-activerecord70 \
-		rubygem-activesupport70>=7.0:devel/rubygem-activesupport70 \
+RUN_DEPENDS=	rubygem-activerecord71>=7.1:databases/rubygem-activerecord71 \
+		rubygem-activesupport71>=7.1:devel/rubygem-activesupport71 \
 		rubygem-arel-helpers>=0:databases/rubygem-arel-helpers \
 		rubygem-metasploit-concern>=0:security/rubygem-metasploit-concern \
 		rubygem-metasploit-model>=3.1:security/rubygem-metasploit-model \
 		rubygem-pg>=0:databases/rubygem-pg \
-		rubygem-railties70>=7.0:www/rubygem-railties70 \
+		rubygem-railties71>=7.1:www/rubygem-railties71 \
 		rubygem-recog>=0:security/rubygem-recog \
 		rubygem-webrick>=0:www/rubygem-webrick
 
diff --git a/security/rubygem-metasploit_data_models/distinfo b/security/rubygem-metasploit_data_models/distinfo
index 4c3ffda43568..fda66f3b1c12 100644
--- a/security/rubygem-metasploit_data_models/distinfo
+++ b/security/rubygem-metasploit_data_models/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739885858
-SHA256 (rubygem/metasploit_data_models-6.0.6.gem) = 4d987aa81b5dcae24a54bb5836dc0b702b947fc2cdff52485987cfbbfc9b9b84
-SIZE (rubygem/metasploit_data_models-6.0.6.gem) = 178176
+TIMESTAMP = 1744966810
+SHA256 (rubygem/metasploit_data_models-6.0.9.gem) = f4e8cdc0465b64b20e459b48c543eefe7d523d86dc26a45cd1b3178ce5e83c7b
+SIZE (rubygem/metasploit_data_models-6.0.9.gem) = 174080