Ok I have tried to have a go at updating the port.
The obvious problems are a few of the patches in the port dont exist for the newest version. Not sure how this is supposed to be handled, is this a way to temp drop support for the patches but allow them to be enabled again if they get updated?
One patch has been updated but the way to download it is confusing so I havent updated it.
The rest of the port I have updated to the best of my abaility after looking at the porters handbook and am testing now (it includes the hpn patch updated and a couple of others).
Portupgrade picked up the change as below.
Code:
---> Upgrading 'openssh-portable-5.2.p1_2,1' to 'openssh-portable-5.6.p1,1' (security/openssh-portable)
However it fails on the patching part, the hpn patch asks for file to patch, yet I can patch the src fine if doing so manually.
--Update--
The hpn patch needs -p1 which I cannot find an option for in the Makefile, I can only find an option for it on externally downloaded patches, not ones in files dir. The official download site however is a gzipped patch so I for now have the patch not gzipped on my own webspace so the port can work and so the hpn patch downloads and now uses -p1 and works. On an official port I guess this wont be legal so not a viable solution. I now however have a new problem in that one of the freebsd patches on this port has a failed hunk.
This port is not a simple one it has over 10 patches altogether, some of which look essential as they freebsd specific and not optional on make config, my aim is to have all the essential patches working.