Conversation
Without openssh, cvs tries to use rsh to access remote repositories, and other modern distributions (Ubuntu for example) build with openssh.
Do you have a link for this? That'll make it easier to have confidence this'll work. |
|
Here's the diff debian applies to the latest version of their cvs package: http://deb.debian.org/debian/pool/main/c/cvs/cvs_1.12.13+real-30.diff.gz You can see that they add I checked what Arch does with their cvs package, and they actually don't add this configure flag. Then I checked Fedora, and they do set the default to ssh. So basically the distros I've used before configure with ssh, but some modern and popular distros do not. Maybe it should be left as is, then. At runtime cvs will use whatever is specified in the |
|
Considering that arch doesn't build with openssh and that it's relatively easy to get cvs to use openssh by changing one environment variable, I'm closing this pull request. |
This change adds openssh as a dependency of cvs and builds cvs with a fully qualified path to the ssh binary it should use. Without openssh, cvs tries to use rsh to access remote repositories, so other modern distributions (Ubuntu for example) specify something like
--with-rsh=/usr/bin/sshwhen configuring cvs.I tried to get this change introduced a while back in #347374, but it must've gotten lost in the weeds. I've been using a custom overlay all this time so I never noticed the standard cvs package still can't use ssh.
Although this pull request has the same end goal as the previous one, I think this one is a much better approach.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.