summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Underwood <robertu94@users.noreply.github.com>2020-08-04 10:21:55 -0700
committerGitHub <noreply@github.com>2020-08-04 12:21:55 -0500
commitb35b950ee2b767a0fac9ee3afefa62dedeed6cce (patch)
treea96b9df35c5b03cef028c5214d7e14d3da455d80
parent91671be7ccc8481e66c4dc681c3f656883a3314d (diff)
downloadspack-b35b950ee2b767a0fac9ee3afefa62dedeed6cce.tar.gz
spack-b35b950ee2b767a0fac9ee3afefa62dedeed6cce.tar.bz2
spack-b35b950ee2b767a0fac9ee3afefa62dedeed6cce.tar.xz
spack-b35b950ee2b767a0fac9ee3afefa62dedeed6cce.zip
Add openssh runtime dependency to git (#17872)
If you use git to clone a repository ssh, git transfers control the ssh binary available on your path, if that ssh binary was built with contradictory version of openssl/kerberos, then your git commands will fail.
-rw-r--r--var/spack/repos/builtin/packages/git/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py
index 1094e3373d..ce83cf165e 100644
--- a/var/spack/repos/builtin/packages/git/package.py
+++ b/var/spack/repos/builtin/packages/git/package.py
@@ -193,6 +193,7 @@ class Git(AutotoolsPackage):
depends_on('pcre2', when='@2.14:')
depends_on('perl')
depends_on('zlib')
+ depends_on('openssh', type='run')
depends_on('autoconf', type='build')
depends_on('automake', type='build')