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 | 11 |
1 files changed, 8 insertions, 3 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 index 38f162693..4a5a05060 100644 --- a/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb +++ b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb | |||
@@ -11,6 +11,9 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ | |||
11 | file://CVE-2019-17498.patch \ | 11 | file://CVE-2019-17498.patch \ |
12 | file://run-ptest \ | 12 | file://run-ptest \ |
13 | " | 13 | " |
14 | |||
15 | SRC_URI_append_ptest = " file://0001-Don-t-let-host-enviroment-to-decide-if-a-test-is-bui.patch" | ||
16 | |||
14 | SRC_URI[md5sum] = "1beefafe8963982adc84b408b2959927" | 17 | SRC_URI[md5sum] = "1beefafe8963982adc84b408b2959927" |
15 | SRC_URI[sha256sum] = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd" | 18 | SRC_URI[sha256sum] = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd" |
16 | 19 | ||
@@ -29,7 +32,7 @@ PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGI | |||
29 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
30 | 33 | ||
31 | # required for ptest on documentation | 34 | # required for ptest on documentation |
32 | RDEPENDS_${PN}-ptest = "man-db" | 35 | RDEPENDS_${PN}-ptest = "man-db openssh" |
33 | RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-en-us" | 36 | RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-en-us" |
34 | 37 | ||
35 | do_compile_ptest() { | 38 | do_compile_ptest() { |
@@ -39,9 +42,11 @@ do_compile_ptest() { | |||
39 | 42 | ||
40 | do_install_ptest() { | 43 | do_install_ptest() { |
41 | install -d ${D}${PTEST_PATH}/tests | 44 | install -d ${D}${PTEST_PATH}/tests |
42 | install -m 0755 ${B}/tests/.libs/simple ${D}${PTEST_PATH}/tests/ | ||
43 | install -m 0755 ${S}/tests/mansyntax.sh ${D}${PTEST_PATH}/tests/ | ||
44 | install -m 0755 ${S}/test-driver ${D}${PTEST_PATH}/ | 45 | install -m 0755 ${S}/test-driver ${D}${PTEST_PATH}/ |
46 | cp -rf ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests/ | ||
47 | cp -rf ${S}/tests/mansyntax.sh ${D}${PTEST_PATH}/tests/ | ||
48 | cp -rf ${S}/tests/ssh2.sh ${D}${PTEST_PATH}/tests/ | ||
49 | cp -rf ${S}/tests/etc ${D}${PTEST_PATH}/tests/ | ||
45 | mkdir -p ${D}${PTEST_PATH}/docs | 50 | mkdir -p ${D}${PTEST_PATH}/docs |
46 | cp -r ${S}/docs/* ${D}${PTEST_PATH}/docs/ | 51 | cp -r ${S}/docs/* ${D}${PTEST_PATH}/docs/ |
47 | } | 52 | } |