Bug 278959 - package security/metasploit still hasn't got any update on fix!
Summary: package security/metasploit still hasn't got any update on fix!
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 19:17 UTC by d0wq92
Modified: 2024-05-18 09:12 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (tanawts)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description d0wq92 2024-05-13 19:17:42 UTC
you said , "keep patience until someone with permissions will update the fix to the metasploit package."

what you did was, 

you removed my bug report as it was fixed! no it's not fixed there's no update available to metasploit package fix it fast.

I gave all my patience i could ,
Comment 1 tanawts 2024-05-13 19:40:03 UTC
Hello d0wq92, the port has already been updated https://cgit.freebsd.org/ports/tree/security/metasploit/distinfo. 

You will need to sync the new port updates to your local ports directory though.

This is process is documented in the FreeBSD Handbook: 
https://docs.freebsd.org/en/books/handbook/ports/#ports-using

Assuming that you cloned your ports tree:
# git clone https://git.FreeBSD.org/ports.git /usr/ports

The following commands will update your ports and rebuild and reinstall metasploit
# git -C /usr/ports pull
# cd /usr/ports/security/metasploit
# make reinstall
Comment 2 d0wq92 2024-05-15 08:57:40 UTC
(In reply to tanawts from comment #1)


That's great, but i never used metasploit from port.

i use <strong>package</strong> not <em>port</em> of metasploit.

which i installed by doing , pkg install metasploit.
Comment 3 tanawts 2024-05-15 12:22:36 UTC
By default, FreeBSD is configured to take updated packages on a Quarterly basis, so if you haven't modified your pkg config, you would not see the update available for at least 3 months.

You can switch this setting and use latest however by running the following:

# mkdir -p /usr/local/etc/pkg/repos
# echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf

This is documented in the handbook here:
https://docs.freebsd.org/en/books/handbook/book/#quarterly-latest-branch

Ports are updated more or less instantaneously once check-ins occur.

Packages take time to rebuild, and if I recall, it's around a 2 day cycle before a recently updated port becomes a package in the branch "Latest".

The Quarterly default is to provide general stability
Comment 4 tanawts 2024-05-15 14:31:39 UTC
In the future if you are curious about what Package versions are available for a given FreeBSD port based upon their FreeBSD Release + Quarterly / Latest Branch and architecture, you can check FreshPorts - https://www.freshports.org/security/metasploit/

Packages (timestamps in pop-ups are UTC): metasploit

ABI	                aarch64	amd64	armv6	armv7	i386	powerpc	powerpc64	powerpc64le

FreeBSD:13:latest	6.4.7	6.4.7	6.0.23	-	6.4.7	-	6.0.23	-
FreeBSD:13:quarterly	6.3.50_3	6.3.50_3	-	-	6.3.50_3	-	-	-
FreeBSD:14:latest	6.3.50_3	6.4.7	-	-	6.4.7	-	-	-
FreeBSD:14:quarterly	6.3.50_3	6.3.50_4	-	-	6.3.50_4	-	-	-
FreeBSD:15:latest	6.3.50_4	6.4.7	n/a	-	n/a	-	-	-
Comment 5 d0wq92 2024-05-18 09:02:09 UTC
(In reply to tanawts from comment #3)
sorry i didn't knew that, thanks.

i will wait for the stable quaterly update