mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
00de17fa46
Upstream-Status: Backport [https://gitlab.com/libssh/libssh-mirror/-/commit/533d881b0f4b24c72b35ecc97fa35d295d063e53 & https://gitlab.com/libssh/libssh-mirror/-/commit/2782cb0495b7450bd8fe43ce4af886b66fea6c40 & https://gitlab.com/libssh/libssh-mirror/-/commit/10b3ebbe61a7031a3dae97f05834442220447181 & https://gitlab.com/libssh/libssh-mirror/-/commit/245ad744b5ab0582fef7cf3905a717b791d7e08b] Signed-off-by: Vijay Anusuri <vanusuri@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
42 lines
1.1 KiB
BlitzBasic
42 lines
1.1 KiB
BlitzBasic
SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol"
|
|
HOMEPAGE = "http://www.libssh.org"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
|
|
|
|
DEPENDS = "zlib openssl libgcrypt"
|
|
|
|
SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=stable-0.8 \
|
|
file://CVE-2020-16135-1.patch \
|
|
file://CVE-2020-16135-2.patch \
|
|
file://CVE-2020-16135-3.patch \
|
|
file://CVE-2020-16135-4.patch \
|
|
"
|
|
|
|
SRCREV = "04685a74df9ce1db1bc116a83a0da78b4f4fa1f8"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
PACKAGECONFIG ??=""
|
|
PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, "
|
|
|
|
ARM_INSTRUCTION_SET_armv5 = "arm"
|
|
|
|
EXTRA_OECMAKE = " \
|
|
-DWITH_GCRYPT=1 \
|
|
-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"
|