OpenSSH 10.0 released, some help with two patches would be appreciated

grey artkiver at gmail.com
Thu Apr 10 04:59:02 UTC 2025


Hello!

As some of you have already noticed (and for those of you who haven't)
OpenSSH 10.0 has been released!

I've been documenting my efforts to update the MacPorts Portfile here:

https://trac.macports.org/ticket/72317

I could use some help with refactoring patches for ssh-agent.c and
sshd-session.c.

Specifically that means:

agent.patch

and

patch-sshd-session.c-apple-sandbox-named-external.diff

respectively.

(Stored in the files subdirectory i.e. under net/openssh/files/)

The Trac issue has my preliminary efforts at modifying those attached
since initially port -v install was failing to apply the previous
iterations of the patches because ssh-agent.c and sshd-session.c
changed upstream; but my first pass hasn't gone so smoothly so I am
hopeful that some more seasoned MacPorts contributors can be of
assistance?

I also added a Portfile which just removes those patches/diffs
entirely and OpenSSH does build and install using that methodology,
but I think the previous patches (honestly, before my time) are
related to: launchd and sandboxing, so it might be worth maintaining
that functionality if possible?

I'm going to keep trying to fix the errors locally too, but my eyes
are feeling a bit blurry staring at the screen presently and I thought
it might be worth asking for other expert perspective rather than
flounder out of my depths for much longer.

I'm feeling pretty chagrined since I thought I had done due diligence
testing a snapshot on April 7th which seemed relatively uneventful and
I was thinking that removing the legacy_dsa variant was going to be
one of the bigger changes, but clearly I didn't test enough to get
ahead of this; my apologies.

Thank you in advance to anyone who can help!

|
グ
レ
ェ
ーgrey


More information about the macports-dev mailing list