From e8bedf18671a21bdc000a0cebf23c5cb83fe9b18 Mon Sep 17 00:00:00 2001 From: Akhilesh Nema Date: Wed, 8 Jan 2025 17:15:20 -0800 Subject: [PATCH] package/libgsasl: bump version to 2.2.1 Release notes, since 1.10.0: 2.0.0: https://lists.gnu.org/archive/html/help-gsasl/2022-06/msg00005.html 2.0.1: https://lists.gnu.org/archive/html/help-gsasl/2022-07/msg00000.html 2.2.0: https://lists.gnu.org/archive/html/help-gsasl/2022-09/msg00001.html 2.2.1: https://lists.gnu.org/archive/html/help-gsasl/2024-01/msg00003.html Updates: - COPYING.LIB renamed to COPYING.LESSER. https://gitlab.com/gsasl/gsasl/-/commit/2492403b4e6d65a3c2d6dd7eee9ddedbc733275b - Upstream tarball no longer includes the lib prefix. - COPYING hash changed due to copyright URL update. https://gitlab.com/gsasl/gsasl/-/commit/89c4c35d7b0204dc3d6ecbccadab47d76640f0be - README hash changed due to multiple revisions. https://gitlab.com/gsasl/gsasl/-/commits/master/README.md?ref_type=heads - Tarball's sha256sum mentioned in the release notes was base64-encoded. It was decoded with the following command: echo "1FtWLhO9E7n8ILNy9LUyaXQM9iefg28JzhG50yvO4HU=" | base64 -d | xxd -c 32 -p Also, this libgsasl-2.2.1 fixes a msmtp-1.8.27 build failure. When using a Buildroot config with: BR2_PACKAGE_MSMTP=y BR2_PACKAGE_LIBGSASL=y BR2_PACKAGE_OPENSSL=y mtmsp is failing to build with error. smtp.c: In function 'smtp_auth': smtp.c:1392:19: error: 'GSASL_CB_TLS_EXPORTER' undeclared (first use in this function); did you mean 'GSASL_CB_TLS_UNIQUE'? 1392 | ? GSASL_CB_TLS_EXPORTER : GSASL_CB_TLS_UNIQUE, | ^~~~~~~~~~~~~~~~~~~~~ This GSASL_CB_TLS_EXPORTER was introduced in gsasl v2.1.0. This bump fixes this build failure. Fixes: https://gitlab.com/buildroot.org/buildroot/-/commit/e9007bc74ed571234bb938c1fdc4cc99d6571bfc https://autobuild.buildroot.org/results/835fec8275d4ff6eed298b892807dd295436d99d Signed-off-by: Akhilesh Nema [Julien: - add other release notes since previous version - add comment about msmtp build failure fix ] Signed-off-by: Julien Olivain --- package/libgsasl/libgsasl.hash | 14 +++++++------- package/libgsasl/libgsasl.mk | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package/libgsasl/libgsasl.hash b/package/libgsasl/libgsasl.hash index 75e5a317fa..81907f8875 100644 --- a/package/libgsasl/libgsasl.hash +++ b/package/libgsasl/libgsasl.hash @@ -1,11 +1,11 @@ -# From https://lists.gnu.org/archive/html/help-gsasl/2021-01/msg00007.html -sha1 a16ff428bbf28fcfa681c7edd2cd2bb087bcc4e7 libgsasl-1.10.0.tar.gz -sha224 20b37757fccb6a0f8b4c6fcb28f51a3b4b8a4b1fdb4736da07707a0b libgsasl-1.10.0.tar.gz +# From https://lists.gnu.org/archive/html/help-gsasl/2024-01/msg00003.html +sha1 c238b3af05af3804808cbf734f049a06840d787c gsasl-2.2.1.tar.gz +sha256 d45b562e13bd13b9fc20b372f4b53269740cf6279f836f09ce11b9d32bcee075 gsasl-2.2.1.tar.gz # Locally calculated after checking pgp signature -sha256 f1b553384dedbd87478449775546a358d6f5140c15cccc8fb574136fdc77329f libgsasl-1.10.0.tar.gz +sha256 d45b562e13bd13b9fc20b372f4b53269740cf6279f836f09ce11b9d32bcee075 gsasl-2.2.1.tar.gz # Hash for license files: -sha256 26e99818ca6ce79d8b2c461fabc72dc6e03483e6b0fd9692dcb07ab1b09bbac7 README -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 8908e3d66e17102a3b921e1f7f80be5dc9c905ad15561579d46a7074387e311b README +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/libgsasl/libgsasl.mk b/package/libgsasl/libgsasl.mk index b1981dea3b..b8570058a4 100644 --- a/package/libgsasl/libgsasl.mk +++ b/package/libgsasl/libgsasl.mk @@ -4,10 +4,11 @@ # ################################################################################ -LIBGSASL_VERSION = 1.10.0 +LIBGSASL_VERSION = 2.2.1 +LIBGSASL_SOURCE = gsasl-$(LIBGSASL_VERSION).tar.gz LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl LIBGSASL_LICENSE = LGPL-2.1+ (library), GPL-3.0+ (programs) -LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING +LIBGSASL_LICENSE_FILES = README COPYING.LESSER COPYING LIBGSASL_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)