Skip to content

Commit

Permalink
cvs: use ssh instead of rsh.
Browse files Browse the repository at this point in the history
If no ssh executable can be found during the configure phase, CVS
defaults to using rsh for remote connections instead.
  • Loading branch information
joshuakb2 committed Oct 9, 2024
1 parent b294a9c commit 826405d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/applications/version-management/cvs/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, nano }:
{ lib, stdenv, fetchurl, fetchpatch, nano, runCommand }:

stdenv.mkDerivation rec {
pname = "cvs";
Expand All @@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0pjir8cwn0087mxszzbsi1gyfc6373vif96cw4q3m1x6p49kd1bq";
};

fake-ssh = runCommand "fakeSsh" {} ''
mkdir -p $out/bin
touch $out/bin/ssh
chmod +x $out/bin/ssh
'';

buildInputs = [fake-ssh];

patches = [
./getcwd-chroot.patch
./CVE-2012-0804.patch
Expand Down

0 comments on commit 826405d

Please sign in to comment.