[Nix-dev] [PATCH-in-git-commit] Fixed Openssh HPN support

Lluís Batlle i Rossell viric at viric.name
Fri Oct 5 09:39:00 CEST 2012


On Fri, Oct 05, 2012 at 12:57:40AM +0000, Bryce L Nordgren wrote:
> I note that the most recent patch for openssh hpn support is for 5.9p1 and
> the current openssh release is at 6.1p1. The patch doesn't apply cleanly
> against current sources. Also, the old URL for the patch is no longer
> working (upstream is apparently using a file manager called "Remository"
> which doesn't give out permanent URLs to files.)
> 
> My patch does the following:
> 
> * If "hpnSupport == true", then openssh 5.9p1 is
> downloaded/patched/compiled; otherwise the version specified by ${name} is.
> * The hpn patch has been checked into my repo.
> 
> https://github.com/bnordgren/nixpkgs-1/commit/9e3abab7a37d4024f4a2132392e688f93986802f
> 
> I did make a patch against 6.1p1 by manually entering the 3 rejected hunks.
> My limited testing with both 5.9p1 and 6.1p1 quickly led to stalled
> transfers. If you're interested, I could share that too.

Do you mean that your patch for HPN for 6.1 works fine? I don't clearly
understand what do you mean by "stalled transfers", and with what version you
get them.

In any case, thank you for revisiting the HPN support! I was looking into it
last week again, but I didn't dare to port the patch to 6.1. And I hadn't
thought of choosing an older openssh only for hpnSupport.

Thank you!


More information about the nix-dev mailing list