Skip to contentSkip to conversation

libssh: use https instead of git in SRC_URI

PATCH New Yi Zhao 1 participant 1 message Nov 1, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 libssh: use https instead of git in SRC_URI

Set protocol to https as the git protocol doesn't work for this repo:

$ git clone git://git.libssh.org/projects/libssh.git
Cloning into 'libssh'...
fatal: unable to connect to git.libssh.org:
git.libssh.org[0: 78.46.21.5]: errno=Connection timed out
git.libssh.org[1: 2a01:4f8:201:2294::2]: errno=Network is unreachable
---
 meta-oe/recipes-support/libssh/libssh_0.8.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libssh/libssh_0.8.9.bb +1 -1
index cbda8b7be..67d3d226f 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
 
 DEPENDS = "zlib openssl"
 
-SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=stable-0.8"
+SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.8"
 SRCREV = "04685a74df9ce1db1bc116a83a0da78b4f4fa1f8"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1