From: Peter Marko <peter.ma...@siemens.com> Solves CVE-2024-46613
Update dependencies: - remove openssl and icu - add cjson and gettext-native Remove patch to find gcrypt which is no longer needed. Signed-off-by: Peter Marko <peter.ma...@siemens.com> --- ...01-use-pkg-config-for-gcrypt-instead.patch | 37 ------------------- .../{weechat_4.0.4.bb => weechat_4.5.0.bb} | 8 ++-- 2 files changed, 3 insertions(+), 42 deletions(-) delete mode 100644 meta-networking/recipes-irc/weechat/weechat/0001-use-pkg-config-for-gcrypt-instead.patch rename meta-networking/recipes-irc/weechat/{weechat_4.0.4.bb => weechat_4.5.0.bb} (79%) diff --git a/meta-networking/recipes-irc/weechat/weechat/0001-use-pkg-config-for-gcrypt-instead.patch b/meta-networking/recipes-irc/weechat/weechat/0001-use-pkg-config-for-gcrypt-instead.patch deleted file mode 100644 index 4a33dd7204..0000000000 --- a/meta-networking/recipes-irc/weechat/weechat/0001-use-pkg-config-for-gcrypt-instead.patch +++ /dev/null @@ -1,37 +0,0 @@ -From dc6b11f4cc6035b4701e1d7f7c91b2f45757e7a2 Mon Sep 17 00:00:00 2001 -From: Alejandro Enedino Hernandez Samaniego - <alejan...@enedino.org> -Date: Wed, 26 Feb 2020 13:55:16 -0800 -Subject: [PATCH] use pkg-config for gcrypt instead - -Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejan...@enedino.org> - -Upstream-Status: Inappropriate [oe-specific] - ---- - cmake/FindGCRYPT.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: weechat-2.7.1/cmake/FindGCRYPT.cmake -=================================================================== ---- weechat-2.7.1.orig/cmake/FindGCRYPT.cmake -+++ weechat-2.7.1/cmake/FindGCRYPT.cmake -@@ -27,15 +27,15 @@ - # GCRYPT_LDFLAGS = ldflags to use to compile - # - --find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config) -+find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES pkg-config) - - set(GCRYPT_LDFLAGS) - set(GCRYPT_CFLAGS) - - if(LIBGCRYPT_CONFIG_EXECUTABLE) - -- execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) -- execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) -+ execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} libgcrypt --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) -+ execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} libgcrypt --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) - - if(NOT DEFINED ${GCRYPT_CFLAGS}) - set(GCRYPT_CFLAGS " ") diff --git a/meta-networking/recipes-irc/weechat/weechat_4.0.4.bb b/meta-networking/recipes-irc/weechat/weechat_4.5.0.bb similarity index 79% rename from meta-networking/recipes-irc/weechat/weechat_4.0.4.bb rename to meta-networking/recipes-irc/weechat/weechat_4.5.0.bb index d13764e4c7..cca2bf4ecc 100644 --- a/meta-networking/recipes-irc/weechat/weechat_4.0.4.bb +++ b/meta-networking/recipes-irc/weechat/weechat_4.5.0.bb @@ -4,13 +4,11 @@ SECTION = "net" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" -DEPENDS = "openssl zlib icu libgcrypt gnutls curl aspell zstd" +DEPENDS = "zlib libgcrypt gnutls curl aspell zstd cjson gettext-native" -SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz \ - file://0001-use-pkg-config-for-gcrypt-instead.patch \ - " +SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz" -SRC_URI[sha256sum] = "ae5f4979b5ada0339b84e741d5f7e481ee91e3fecd40a09907b64751829eb6f6" +SRC_URI[sha256sum] = "b85e800af0f7c9f2d60d72c0f7e56abbaa60274a4d47be17407907292da30398" inherit cmake pkgconfig -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#114447): https://lists.openembedded.org/g/openembedded-devel/message/114447 Mute This Topic: https://lists.openembedded.org/mt/110215916/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-