Atfer security/rubygem-net-ssh update to 6.0.2 (ports r537941) oxidized cannot start since it requires net-ssh '~> 5'. Patching oxidized.gemspec is not an option since oxidized requires net-ssh for a reason. Many old algorithms were disabled in net-ssh 6. - s.add_runtime_dependency(%q<net-ssh>.freeze, ["~> 5"]) + s.add_runtime_dependency(%q<net-ssh>.freeze, [">= 5"]) Oxidized starts after this change, but it cannot connect anymore to devices which firmware uses older algorithms. Probably we need to introduce new port security/rubygem-net-ssh4 to resolve this issue.
I meant we need to introduce security/rubygem-net-ssh5.
this looks like a headache. lemme check upstream plans.
Created attachment 215567 [details] patch to re-enable backwards compatibility can you try this patch and see if it works? It replaces the existing patch-oxidized.gemspec.
It works. Thank you.
Created attachment 215590 [details] Fix for this problem
Request feedback from committer of ports r537941 (rubygem-net-ssh update)
A commit references this bug: Author: mfechner Date: Tue Jun 16 07:53:29 UTC 2020 New revision: 539331 URL: https://svnweb.freebsd.org/changeset/ports/539331 Log: Made rubygem net-ssh version 5 available as it is required by net-mgmt/rubygem-oxidized. PR: 247172 Changes: head/security/Makefile head/security/rubygem-net-ssh5/ head/security/rubygem-net-ssh5/Makefile
^Triage: Assign to committer resolving
I suggest not to modify dependencies of a port, there is a high risk you break the port if you do not know exactly what you are doing. I made rubygem-net-ssh5 available (in commit 539331), can you correct the dependency to this port?
(In reply to Nick Hilliard from comment #5) is it ok for you, if I fix the dependency?
yep sure, go ahead
A commit references this bug: Author: mfechner Date: Tue Jun 16 08:12:15 UTC 2020 New revision: 539332 URL: https://svnweb.freebsd.org/changeset/ports/539332 Log: Fixed depedencies to use rubygem-net-ssh version 5 and more clearly define max versions. PR: 247172 Submitted by: nick@foobar.org Reported by: moiseev@mezonplus.ru Approved by: nick (maintainer), koobs Changes: head/net-mgmt/rubygem-oxidized/Makefile
Thanks a lot for reporting this! Should be fixed now.