Bug 258569 - security/metasploit: update to 6.1.6
Summary: security/metasploit: update to 6.1.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-18 10:21 UTC by Marco Beishuizen
Modified: 2021-09-20 20:15 UTC (History)
2 users (show)

See Also:
mbeis: maintainer-feedback+


Attachments
security/metasploit: update to 6.1.6 (1.22 KB, patch)
2021-09-18 10:21 UTC, Marco Beishuizen
mbeis: maintainer-approval+
Details | Diff
security/metasploit: update to 6.1.6 (2.96 KB, patch)
2021-09-20 19:12 UTC, Marco Beishuizen
mbeis: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Beishuizen 2021-09-18 10:21:23 UTC
Created attachment 227975 [details]
security/metasploit: update to 6.1.6

security/metasploit: update to 6.1.6

See for changes: https://github.com/rapid7/metasploit-framework/releases
Comment 1 Marco Beishuizen 2021-09-18 11:20:18 UTC
Got some warnings now:

The following modules could not be loaded!../
[!]  /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/exchange_enum.go
[!]   /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/onprem_enum.go
[!]   /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/host_id.go

I'll try to correct this and submit a new patch.
Comment 2 Marco Beishuizen 2021-09-20 19:12:22 UTC
Created attachment 228060 [details]
security/metasploit: update to 6.1.6
Comment 3 Marco Beishuizen 2021-09-20 19:18:47 UTC
I updated the patch. The warnings about modules not being in GOROOT are caused bij a go environment setting GO111MODULES. This should be set to off, which is the default afaics. My env setting was probably old and not updated by go upgrades I guess. Setting go env -w GO111MODULES=off manually results in the warning going away.
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2021-09-20 20:13:35 UTC
Committed!
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-09-20 20:15:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b0fadb1eb48d1d5d19e52669f19a91fa9ebb00f

commit 5b0fadb1eb48d1d5d19e52669f19a91fa9ebb00f
Author:     Marco Beishuizen <mbeis@xs4all.nl>
AuthorDate: 2021-09-20 20:13:05 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-09-20 20:14:08 +0000

    security/metasploit: update to 6.1.6

    PR:     258569

 security/metasploit/Makefile | 17 ++++++++++++++---
 security/metasploit/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 6 deletions(-)