Skip to contentSkip to conversation

weechat: upgrade 3.0 -> 3.4

PATCH New Wang Mingyu 1 participant 3 messages Jan 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weechat: upgrade 3.0 -> 3.4

refresh 0001-use-pkg-config-for-gcrypt-instead.patch

License-Update:
Url changed
from "https://www.gnu.org/philosophy/why-not-lgpl.html" to "https://www.gnu.org/licenses/why-not-lgpl.html"

Changelog:
=========
New features
----------------
core: add support of static arrays in hdata
core: add command /toggle
api: add parameters pointers, extra_vars and options in function hdata_search
api: add user variables in evaluation of expressions with "define:name,value"
api: add IRC message parameters "param1" to "paramN" and "num_params" in output of irc_message_parse
irc: allow quotes around IRC message in command /server fakerecv
trigger: hide key and password in command "/msg nickserv setpass nick key password"
trigger: add support of option "-server" when hiding passwords in command /msg nickserv register

Bug fixes
---------------
core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" when multiple "strip_items" are given
core: fix random integer number with large range in evaluation of expressions on GNU/Hurd
core: fix access to integer/long/time arrays in hdata
api: fix search of option when the section is not given in functions config_search_option and config_search_section_option
irc: fix join of channels with long name (issue #1717)
irc: fix parsing of parameters in all IRC messages (issue #1666)
irc: fix parsing of CAP message when there is no prefix (issue #1707)
irc: fix parsing of TAGMSG message when there is a colon before the channel

Documentation
---------------
doc: remove tester's guide
doc: add dark theme (automatic, following browser/desktop settings)
doc: make build reproducible
doc: disable web fonts
doc: switch from prettify to pygments for syntax highlighting

Tests
--------------
core: add build with CMake and Ninja in CI
core: add build on macOS 11 in CI

Build
------------
ruby: add detection of Ruby 3.0 (issue #1721, issue #1605)
core: add targets "changelog" and "rn" to build HTML version of ChangeLog and release notes (CMake build only)

---
 .../0001-use-pkg-config-for-gcrypt-instead.patch   | 14 +++++++-------
 .../weechat/{weechat_3.0.bb => weechat_3.4.bb}     |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)
 rename meta-networking/recipes-irc/weechat/{weechat_3.0.bb => weechat_3.4.bb} (87%)
meta-networking/recipes-irc/weechat/weechat/0001-use-pkg-config-for-gcrypt-instead.patch +7 -7
index 0717e9654..4a33dd720 100644
@@ -28,10 +28,10 @@ Index: weechat-2.7.1/cmake/FindGCRYPT.cmake
  
  if(LIBGCRYPT_CONFIG_EXECUTABLE)
  
--   exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
--   exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
-+   exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS libgcrypt --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
-+   exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS libgcrypt --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
- 
-    if(${GCRYPT_CFLAGS} MATCHES "\n")
-       set(GCRYPT_CFLAGS " ")
+-  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 " ")
meta-networking/recipes-irc/weechat/weechat_3.4.bb renamed from meta-networking/recipes-irc/weechat/weechat_3.0.bb +2 -2
similarity index 87%
rename from meta-networking/recipes-irc/weechat/weechat_3.0.bb
rename to meta-networking/recipes-irc/weechat/weechat_3.4.bb
index 9f7e39297..ca404ebc8 100644
@@ -2,7 +2,7 @@ SUMMARY = "Full-featured IRC plugin: multi-servers, proxy support, IPv6, SASL au
 HOMEPAE = "https://weechat.org/"
 SECTION = "net"
 LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 DEPENDS = "openssl zlib icu libgcrypt gnutls curl aspell"
 
@@ -10,7 +10,7 @@ SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz \
            file://0001-use-pkg-config-for-gcrypt-instead.patch \
            "
 
-SRC_URI[sha256sum] = "6cb7d25a363b66b835f1b9f29f3580d6f09ac7d38505b46a62c178b618d9f1fb"
+SRC_URI[sha256sum] = "7cd3dcc7029e888de49e13ebbcc3749586ff59c9d97f89f5eeb611067c7bb94c"
 
 inherit cmake pkgconfig
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 pkcs11-helper: upgrade 1.27 -> 1.28

0001-build-openssl-remove-RSA_SSLV23_PADDING-constant-usa.patch 0001-nss-use-nss-pkcs11-h.patch
removed since they're included in 1.28.

Changelog:
=========
* build: openssl: remove RSA_SSLV23_PADDING constant usage due to openssl-3 compatibility.
* build: nss: use nss pkcs11.h
* build: windows: checksum in PE
* build: windows: support openssl-1.1.1
* mbed: require >=mbedtls-2, mbed dropped polarssl compatibility,
* certificate: add methods accept full mechanism
* core: load provider library as private.
* core: add pkcs11h_getProperty, pkcs11h_setProperty to support adding properties without breaking API.
* core: add pkcs11h_initializeProvider, pkcs11h_registerProvider, pkcs11h_setProviderProperty, pkcs11h_setProviderPropertyByName to support adding properties without breaking API
* core: add initialization arguments property
* core: add PKCS11H_PROVIDER_PROPERTY_PROVIDER_DESTRUCT_HOOK.
* session: respect login required token flag.
* certificate: respect always authenticate flag.

---
 ...move-RSA_SSLV23_PADDING-constant-usa.patch | 27 --------
 .../0001-nss-use-nss-pkcs11-h.patch           | 61 -------------------
 ...1-helper_1.27.bb => pkcs11-helper_1.28.bb} |  7 +--
 3 files changed, 2 insertions(+), 93 deletions(-)
 delete mode 100644 meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper/0001-build-openssl-remove-RSA_SSLV23_PADDING-constant-usa.patch
 delete mode 100644 meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper/0001-nss-use-nss-pkcs11-h.patch
 rename meta-oe/recipes-crypto/pkcs11-helper/{pkcs11-helper_1.27.bb => pkcs11-helper_1.28.bb} (83%)
meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper/0001-build-openssl-remove-RSA_SSLV23_PADDING-constant-usa.patch deleted +0 -27
deleted file mode 100644
index f2baae914..000000000
@@ -1,27 +0,0 @@
-From 5b9a8da964ee0b998955cd986000cfa27cfa698d Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <[email protected]>
-Date: Wed, 4 Aug 2021 19:02:34 +0300
-Subject: [PATCH] build: openssl: remove RSA_SSLV23_PADDING constant usage
-
-Due to openssl-3 compatibility, thanks to t0b3
-
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- lib/pkcs11h-openssl.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/lib/pkcs11h-openssl.c b/lib/pkcs11h-openssl.c
-index 9c9b2cd..85c8193 100644
---- a/lib/pkcs11h-openssl.c
-+++ b/lib/pkcs11h-openssl.c
-@@ -474,9 +474,6 @@ __pkcs11h_openssl_rsa_dec (
- 		case RSA_PKCS1_OAEP_PADDING:
- 			mech = CKM_RSA_PKCS_OAEP;
- 		break;
--		case RSA_SSLV23_PADDING:
--			rv = CKR_MECHANISM_INVALID;
--		break;
- 		case RSA_NO_PADDING:
- 			mech = CKM_RSA_X_509;
- 		break;
meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper/0001-nss-use-nss-pkcs11-h.patch deleted +0 -61

61 lines not on this page · raw message

meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.28.bb renamed from meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.27.bb +2 -5
similarity index 83%
rename from meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.27.bb
rename to meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.28.bb
index 389d1bc7b..afad03c9a 100644
@@ -15,14 +15,11 @@ LIC_FILES_CHKSUM = " \
     file://COPYING.GPL;md5=8a71d0475d08eee76d8b6d0c6dbec543 \
     file://COPYING.BSD;md5=66b7a37c3c10483c1fd86007726104d7 \
 "
-SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https \
-           file://0001-build-openssl-remove-RSA_SSLV23_PADDING-constant-usa.patch \
-           file://0001-nss-use-nss-pkcs11-h.patch \
-           "
+SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 # v1.27
-SRCREV = "564a582d600c7eec7b8e303a22b575fd52622174"
+SRCREV = "a4b46d545c33459610d4b4ae85a43a76e03a8c5e"
 
 UPSTREAM_CHECK_GITTAGREGEX = "pkcs11-helper-(?P<pver>\d+(\.\d+)+)"
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 wolfssl: upgrade 5.0.0 -> 5.1.0

In reply to Wang Mingyu
---
 .../wolfssl/{wolfssl_5.0.0.bb => wolfssl_5.1.0.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_5.0.0.bb => wolfssl_5.1.0.bb} (93%)
meta-networking/recipes-connectivity/wolfssl/wolfssl_5.1.0.bb renamed from meta-networking/recipes-connectivity/wolfssl/wolfssl_5.0.0.bb +1 -1
similarity index 93%
rename from meta-networking/recipes-connectivity/wolfssl/wolfssl_5.0.0.bb
rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_5.1.0.bb
index ba4c774fa..7b43b0678 100644
@@ -13,7 +13,7 @@ PROVIDES += "cyassl"
 RPROVIDES:${PN} = "cyassl"
 
 SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https;branch=master"
-SRCREV = "7e01af012157bc20c840011a018619915380f05c"
+SRCREV = "2b670c026debc8e70621eb5c75b60931c9aa0bc5"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1