[oe] [meta-oe][PATCH] libssh2: upgrade 1.8.2 -> 1.9.0

Zheng Ruoqin zhengrq.fnst at cn.fujitsu.com
Wed Nov 6 14:53:02 UTC 2019


1) Upgrade libssh2 from 1.8.2 to 1.9.0.

2) Modify PACKAGECONFIG for configure options have been changed in new version.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
---
 .../libssh2/{libssh2_1.8.2.bb => libssh2_1.9.0.bb}                | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-support/libssh2/{libssh2_1.8.2.bb => libssh2_1.9.0.bb} (59%)

diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.8.2.bb b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb
similarity index 59%
rename from meta-oe/recipes-support/libssh2/libssh2_1.8.2.bb
rename to meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb
index 6428958..25e0af3 100644
--- a/meta-oe/recipes-support/libssh2/libssh2_1.8.2.bb
+++ b/meta-oe/recipes-support/libssh2/libssh2_1.9.0.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca"
 
 SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz"
 
-SRC_URI[md5sum] = "616efd99af3d9ef731a26bed6cee9593"
-SRC_URI[sha256sum] = "088307d9f6b6c4b8c13f34602e8ff65d21c2dc4d55284dfe15d502c4ee190d67"
+SRC_URI[md5sum] = "1beefafe8963982adc84b408b2959927"
+SRC_URI[sha256sum] = "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd"
 
 inherit autotools pkgconfig
 
@@ -21,7 +21,7 @@ EXTRA_OECONF += "\
 
 # only one of openssl and gcrypt could be set
 PACKAGECONFIG ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-openssl --with-libssl-prefix=${STAGING_LIBDIR},--without-openssl,openssl"
-PACKAGECONFIG[gcrypt] = "--with-libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR},--without-libgcrypt,libgcrypt"
+PACKAGECONFIG[openssl] = "--with-crypto=openssl --with-libssl-prefix=${STAGING_LIBDIR}, , openssl"
+PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR}, , libgcrypt"
 
 BBCLASSEXTEND = "native"
-- 
2.7.4





More information about the Openembedded-devel mailing list