From 4b7e4341327e867208bfc3d8ba1954af66641e60 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Mon, 6 Mar 2023 19:02:55 +0800 Subject: libssh: upgrade 0.8.9 -> 0.10.4 ChangeLog: https://git.libssh.org/projects/libssh.git/tree/CHANGELOG?h=libssh-0.10.4 Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-support/libssh/libssh_0.10.4.bb | 29 +++++++++++++++++++ meta-oe/recipes-support/libssh/libssh_0.8.9.bb | 37 ------------------------- 2 files changed, 29 insertions(+), 37 deletions(-) create mode 100644 meta-oe/recipes-support/libssh/libssh_0.10.4.bb delete mode 100644 meta-oe/recipes-support/libssh/libssh_0.8.9.bb (limited to 'meta-oe/recipes-support/libssh') diff --git a/meta-oe/recipes-support/libssh/libssh_0.10.4.bb b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb new file mode 100644 index 000000000..3a57a728a --- /dev/null +++ b/meta-oe/recipes-support/libssh/libssh_0.10.4.bb @@ -0,0 +1,29 @@ +SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol" +HOMEPAGE = "http://www.libssh.org" +SECTION = "libs" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0" + +DEPENDS = "zlib openssl" + +SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.10" +SRCREV = "e8322817a9e5aaef0698d779ddd467a209a85d85" + +S = "${WORKDIR}/git" + +inherit cmake + +PACKAGECONFIG ??= "gcrypt" +PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, " +PACKAGECONFIG[gcrypt] = "-DWITH_GCRYPT=1, -DWITH_GCRYPT=0, libgcrypt, " + +ARM_INSTRUCTION_SET:armv5 = "arm" + +EXTRA_OECMAKE = " \ + -DWITH_PCAP=1 \ + -DWITH_SFTP=1 \ + -DWITH_ZLIB=1 \ + -DWITH_EXAMPLES=0 \ + " + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb b/meta-oe/recipes-support/libssh/libssh_0.8.9.bb deleted file mode 100644 index c7e9c3320..000000000 --- a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol" -HOMEPAGE = "http://www.libssh.org" -SECTION = "libs" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0" - -DEPENDS = "zlib openssl" - -SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.8" -SRCREV = "04685a74df9ce1db1bc116a83a0da78b4f4fa1f8" - -S = "${WORKDIR}/git" - -inherit cmake - -PACKAGECONFIG ??= "gcrypt" -PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, " -PACKAGECONFIG[gcrypt] = "-DWITH_GCRYPT=1, -DWITH_GCRYPT=0, libgcrypt, " - -ARM_INSTRUCTION_SET:armv5 = "arm" - -EXTRA_OECMAKE = " \ - -DWITH_PCAP=1 \ - -DWITH_SFTP=1 \ - -DWITH_ZLIB=1 \ - -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ - " - -do_configure:prepend () { - # Disable building of examples - sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' ${S}/CMakeLists.txt \ - || bbfatal "Failed to disable examples" -} - -TOOLCHAIN = "gcc" - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf