diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2021-09-08 20:01:25 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-11 18:41:38 +0100 |
| commit | 0f89346baa40887ad3c7a170f5d0c19566e2c3c5 (patch) | |
| tree | fbff387b5f542b685de524e9d5eb4c6c348cc7f0 /meta/recipes-support/libssh2/libssh2_1.9.0.bb | |
| parent | 8bddba7249e5aaec5952c507c123d0269139a4ad (diff) | |
| download | poky-0f89346baa40887ad3c7a170f5d0c19566e2c3c5.tar.gz | |
libssh2: update 1.9.0 -> 1.10.0
0001-configure-Conditionally-undefine-backend-m4-macro.patch no
longer needed; code removed upstream.
License-Update: copyright years
(From OE-Core rev: 6547e565cc1685eb4e42f61d88203cf743a06284)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libssh2/libssh2_1.9.0.bb')
| -rw-r--r-- | meta/recipes-support/libssh2/libssh2_1.9.0.bb | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-support/libssh2/libssh2_1.9.0.bb b/meta/recipes-support/libssh2/libssh2_1.9.0.bb deleted file mode 100644 index a0cbb6af6b..0000000000 --- a/meta/recipes-support/libssh2/libssh2_1.9.0.bb +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | SUMMARY = "A client-side C library implementing the SSH2 protocol" | ||
| 2 | HOMEPAGE = "http://www.libssh2.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | |||
| 5 | DEPENDS = "zlib" | ||
| 6 | |||
| 7 | LICENSE = "BSD-3-Clause" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca" | ||
| 9 | |||
| 10 | SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ | ||
| 11 | file://CVE-2019-17498.patch \ | ||
| 12 | file://0001-configure-Conditionally-undefine-backend-m4-macro.patch \ | ||
| 13 | file://run-ptest \ | ||
| 14 | file://0001-kex.c-move-EC-macro-outside-of-if-check-549-550.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI:append:ptest = " file://0001-Don-t-let-host-enviroment-to-decide-if-a-test-is-bui.patch" | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "1beefafe8963982adc84b408b2959927" | ||
| 20 | SRC_URI[sha256sum] = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd" | ||
| 21 | |||
| 22 | inherit autotools pkgconfig ptest | ||
| 23 | |||
| 24 | EXTRA_OECONF += "\ | ||
| 25 | --with-libz \ | ||
| 26 | --with-libz-prefix=${STAGING_LIBDIR} \ | ||
| 27 | " | ||
| 28 | |||
| 29 | # only one of openssl and gcrypt could be set | ||
| 30 | PACKAGECONFIG ??= "openssl" | ||
| 31 | PACKAGECONFIG[openssl] = "--with-crypto=openssl --with-libssl-prefix=${STAGING_LIBDIR}, , openssl" | ||
| 32 | PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR}, , libgcrypt" | ||
| 33 | |||
| 34 | BBCLASSEXTEND = "native nativesdk" | ||
| 35 | |||
| 36 | # required for ptest on documentation | ||
| 37 | RDEPENDS:${PN}-ptest = "man-db openssh util-linux-col" | ||
| 38 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us" | ||
| 39 | |||
| 40 | do_compile_ptest() { | ||
| 41 | sed -i "/\$(MAKE) \$(AM_MAKEFLAGS) check-TESTS/d" tests/Makefile | ||
| 42 | oe_runmake check | ||
| 43 | } | ||
| 44 | |||
| 45 | do_install_ptest() { | ||
| 46 | install -d ${D}${PTEST_PATH}/tests | ||
| 47 | install -m 0755 ${S}/test-driver ${D}${PTEST_PATH}/ | ||
| 48 | cp -rf ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests/ | ||
| 49 | cp -rf ${S}/tests/mansyntax.sh ${D}${PTEST_PATH}/tests/ | ||
| 50 | cp -rf ${S}/tests/ssh2.sh ${D}${PTEST_PATH}/tests/ | ||
| 51 | cp -rf ${S}/tests/etc ${D}${PTEST_PATH}/tests/ | ||
| 52 | mkdir -p ${D}${PTEST_PATH}/docs | ||
| 53 | cp -r ${S}/docs/* ${D}${PTEST_PATH}/docs/ | ||
| 54 | } | ||
