diff options
Diffstat (limited to 'meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb')
-rw-r--r-- | meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb deleted file mode 100644 index 0b8ccbd21..000000000 --- a/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb +++ /dev/null | |||
@@ -1,53 +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 | " | ||
15 | |||
16 | SRC_URI_append_ptest = " file://0001-Don-t-let-host-enviroment-to-decide-if-a-test-is-bui.patch" | ||
17 | |||
18 | SRC_URI[md5sum] = "1beefafe8963982adc84b408b2959927" | ||
19 | SRC_URI[sha256sum] = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd" | ||
20 | |||
21 | inherit autotools pkgconfig ptest | ||
22 | |||
23 | EXTRA_OECONF += "\ | ||
24 | --with-libz \ | ||
25 | --with-libz-prefix=${STAGING_LIBDIR} \ | ||
26 | " | ||
27 | |||
28 | # only one of openssl and gcrypt could be set | ||
29 | PACKAGECONFIG ??= "openssl" | ||
30 | PACKAGECONFIG[openssl] = "--with-crypto=openssl --with-libssl-prefix=${STAGING_LIBDIR}, , openssl" | ||
31 | PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR}, , libgcrypt" | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||
34 | |||
35 | # required for ptest on documentation | ||
36 | RDEPENDS_${PN}-ptest = "man-db openssh" | ||
37 | RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-en-us" | ||
38 | |||
39 | do_compile_ptest() { | ||
40 | sed -i "/\$(MAKE) \$(AM_MAKEFLAGS) check-TESTS/d" tests/Makefile | ||
41 | oe_runmake check | ||
42 | } | ||
43 | |||
44 | do_install_ptest() { | ||
45 | install -d ${D}${PTEST_PATH}/tests | ||
46 | install -m 0755 ${S}/test-driver ${D}${PTEST_PATH}/ | ||
47 | cp -rf ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests/ | ||
48 | cp -rf ${S}/tests/mansyntax.sh ${D}${PTEST_PATH}/tests/ | ||
49 | cp -rf ${S}/tests/ssh2.sh ${D}${PTEST_PATH}/tests/ | ||
50 | cp -rf ${S}/tests/etc ${D}${PTEST_PATH}/tests/ | ||
51 | mkdir -p ${D}${PTEST_PATH}/docs | ||
52 | cp -r ${S}/docs/* ${D}${PTEST_PATH}/docs/ | ||
53 | } | ||