package/libgpg-error: bump to version 1.42
PATCH 1/5 package/libgpg-error: bump to version 1.42
Drop patch (not needed since
https://dev.gnupg.org/rE1fb90a7da186ee2ee098a666f6f3a35bb1720e59)
--- .../0001-build-Fix-disable-threads.patch | 39 ++++++++++++++ ...nfigure.ac-fix-build-without-threads.patch | 54 ------------------- package/libgpg-error/libgpg-error.hash | 6 +-- package/libgpg-error/libgpg-error.mk | 4 +- 4 files changed, 43 insertions(+), 60 deletions(-) create mode 100644 package/libgpg-error/0001-build-Fix-disable-threads.patch delete mode 100644 package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch
package/libgpg-error/0001-build-Fix-disable-threads.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka <[email protected]> +Date: Mon, 21 Jun 2021 12:16:20 +0900 +Subject: [PATCH] build: Fix --disable-threads. + +* src/gen-lock-obj.sh: Fix generating '}}}'. + +-- + +GnuPG-bug-id: 5495 +Reported-by: Fabrice Fontaine <[email protected]> +Fixes-commit: 1fb90a7da186ee2ee098a666f6f3a35bb1720e59 +Signed-off-by: NIIBE Yutaka <[email protected]> +[Retrieved from: +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + src/gen-lock-obj.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh +index 258eec6..014667f 100755 +--- a/src/gen-lock-obj.sh ++++ b/src/gen-lock-obj.sh +@@ -121,10 +121,10 @@ while test "$i" -lt $ac_mtx_size; do + fi + i=$(( i + 1 )) + done ++echo '}}}' + fi + + cat <<'EOF' +-}}} + ## + ## Local Variables: + ## mode: c +-- +2.11.0 +
package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch deleted +0 -54
54 lines not on this page · raw message
package/libgpg-error/libgpg-error.hash +3 -3
@@ -1,10 +1,10 @@ # From https://www.gnupg.org/download/integrity_check.html -sha1 66d6270511a48bac0bf347330e7a12c62f3a1ab4 libgpg-error-1.41.tar.bz2 +sha1 5e620d71fc24d287a7ac2460b1d819074bb8b9bb libgpg-error-1.42.tar.bz2 # Locally calculated after checking pgp signature -# https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.41.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.42.tar.bz2.sig # using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 64b078b45ac3c3003d7e352a5e05318880a5778c42331ce1ef33d1a0d9922742 libgpg-error-1.41.tar.bz2 +sha256 fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23 libgpg-error-1.42.tar.bz2 # Locally calculated sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB
package/libgpg-error/libgpg-error.mk +1 -3
@@ -4,7 +4,7 @@ # ################################################################################ -LIBGPG_ERROR_VERSION = 1.41 +LIBGPG_ERROR_VERSION = 1.42 LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2 LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+
@@ -15,8 +15,6 @@ LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) LIBGPG_ERROR_CONF_OPTS = --disable-tests \ --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) -# We're patching configure.ac -LIBGPG_ERROR_AUTORECONF= YES ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) LIBGPG_ERROR_CONF_OPTS += --enable-threads
Signature · 1 line
2.30.2
PATCH 2/5 package/libgcrypt: security bump to version 1.9.3
Fix CVE-2021-33560: Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against mpi_powm, and the window size is not chosen appropriately. (There is also an interoperability problem because the selection of the k integer value does not properly consider the differences between basic ElGamal encryption and generalized ElGamal encryption.) This, for example, affects use of ElGamal in OpenPGP.
--- package/libgcrypt/libgcrypt.hash | 6 +++--- package/libgcrypt/libgcrypt.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
package/libgcrypt/libgcrypt.hash +3 -3
@@ -1,7 +1,7 @@ # From https://www.gnupg.org/download/integrity_check.html -sha1 29bd5d0a8f674d4521167dd518ef99b26d1e8f27 libgcrypt-1.9.2.tar.bz2 +sha1 6b18f453fee677078586279d96fb88e5df7b3f35 libgcrypt-1.9.3.tar.bz2 # Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.9.2.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.9.3.tar.bz2.sig # using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 b2c10d091513b271e47177274607b1ffba3d95b188bbfa8797f948aec9053c5a libgcrypt-1.9.2.tar.bz2 +sha256 97ebe4f94e2f7e35b752194ce15a0f3c66324e0ff6af26659bbfb5ff2ec328fd libgcrypt-1.9.3.tar.bz2 sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB
package/libgcrypt/libgcrypt.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBGCRYPT_VERSION = 1.9.2 +LIBGCRYPT_VERSION = 1.9.3 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_LICENSE = LGPL-2.1+ LIBGCRYPT_LICENSE_FILES = COPYING.LIB
Signature · 1 line
2.30.2
PATCH 2/5 package/libgcrypt: security bump to version 1.9.3
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fix CVE-2021-33560: Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against
mpi_powm, and the window size is not chosen appropriately. (There is also an interoperability problem because the selection of the k integer value does not properly consider the differences between basic ElGamal encryption and generalized ElGamal encryption.) This, for example, affects use of ElGamal in OpenPGP.
Quoted 3 lines
Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2021.02.x and 2021.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/5 package/libksba: bump to version 1.6.0
In reply to Fabrice FontaineUpdate hash of AUTHORS file (update in year:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commitdiff;h=1015bea2f8a55b965dee29e17118bc73c2deca39)
--- package/libksba/libksba.hash | 4 ++-- package/libksba/libksba.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/libksba/libksba.hash +2 -2
@@ -1,8 +1,8 @@ # Locally calculated after checking pgp signature -sha256 ae4af129216b2d7fdea0b5bf2a788cd458a79c983bb09a43f4d525cc87aba0ba libksba-1.5.0.tar.bz2 +sha256 dad683e6f2d915d880aa4bed5cea9a115690b8935b78a1bbe01669189307a48b libksba-1.6.0.tar.bz2 # Hash for license files: -sha256 4d7ff8486176da695f3c81da2ac7ce1b9e5331e0a1667d9ebfe44057088a4220 AUTHORS +sha256 8f1b87e551d97b2b23b6d3403a5d598c63ea89824cb8ee351f631f6cab2beaa5 AUTHORS sha256 6197b98c6bf69838c624809c509d84333de1bc847155168c0e84527446a27076 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf COPYING.GPLv3
package/libksba/libksba.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBKSBA_VERSION = 1.5.0 +LIBKSBA_VERSION = 1.6.0 LIBKSBA_SOURCE = libksba-$(LIBKSBA_VERSION).tar.bz2 LIBKSBA_SITE = ftp://ftp.gnupg.org/gcrypt/libksba LIBKSBA_LICENSE = LGPL-3.0+ or GPL-2.0+ (library, headers), GPL-3.0+ (manual, tests, build system)
Signature · 1 line
2.30.2
PATCH 4/5 package/libassuan: bump to version 2.5.5
In reply to Fabrice Fontaine--- package/libassuan/libassuan.hash | 6 +++--- package/libassuan/libassuan.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
package/libassuan/libassuan.hash +3 -3
@@ -1,8 +1,8 @@ # From https://www.gnupg.org/download/integrity_check.html -sha1 55a35918e95566ef94e8843879a7dd3f87de3781 libassuan-2.5.4.tar.bz2 +sha1 ec4f67c0117ccd17007c748a392ded96dc1b1ae9 libassuan-2.5.5.tar.bz2 # Locally calculated after checking signature -# https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.4.tar.bz2.sig +# https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.5.tar.bz2.sig # using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 c080ee96b3bd519edd696cfcebdecf19a3952189178db9887be713ccbcb5fbf0 libassuan-2.5.4.tar.bz2 +sha256 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4 libassuan-2.5.5.tar.bz2 sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
package/libassuan/libassuan.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBASSUAN_VERSION = 2.5.4 +LIBASSUAN_VERSION = 2.5.5 LIBASSUAN_SITE = ftp://ftp.gnupg.org/gcrypt/libassuan LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2 LIBASSUAN_LICENSE = LGPL-2.1+ (library), GPL-3.0 (tests, doc)
Signature · 1 line
2.30.2
PATCH 5/5 package/gnupg2: bump to version 2.2.28
In reply to Fabrice Fontainehttps://dev.gnupg.org/T5153
https://dev.gnupg.org/T5234
https://dev.gnupg.org/T5482
--- ...dirmngr-Fix-build-with--disable-ldap.patch | 43 +++++++++++++++++++ package/gnupg2/gnupg2.hash | 8 ++-- package/gnupg2/gnupg2.mk | 2 +- 3 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 package/gnupg2/0001-dirmngr-Fix-build-with--disable-ldap.patch
package/gnupg2/0001-dirmngr-Fix-build-with--disable-ldap.patch new file +43 -0
@@ -0,0 +1,43 @@ +From c6900f5723b4edc899aaea267ed599b5ad724142 Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka <[email protected]> +Date: Fri, 11 Jun 2021 10:30:02 +0900 +Subject: [PATCH] dirmngr: Fix build with --disable-ldap. + +* dirmngr/dirmngr.c (parse_rereadable_options) [USE_LDAP]: +Conditionalize. + +-- + +Reported-by: Phil Pennock +Signed-off-by: NIIBE Yutaka <[email protected]> +(cherry picked from commit c8b2162c0e7eb42b74811b7ed225fa0f56be4083) +[Retrieved from: +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=c6900f5723b4edc899aaea267ed599b5ad724142] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + dirmngr/dirmngr.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c +index 915e0e601..330983f3f 100644 +--- a/dirmngr/dirmngr.c ++++ b/dirmngr/dirmngr.c +@@ -770,6 +770,7 @@ parse_rereadable_options (gpgrt_argparse_t *pargs, int reread) + case oRecursiveResolver: enable_recursive_resolver (1); break; + + case oLDAPServer: ++#if USE_LDAP + { + ldap_server_t server; + char *p; +@@ -791,6 +792,7 @@ parse_rereadable_options (gpgrt_argparse_t *pargs, int reread) + opt.ldapservers = server; + } + } ++#endif + break; + + case oKeyServer: +-- +2.11.0 +
package/gnupg2/gnupg2.hash +4 -4
@@ -1,7 +1,7 @@ -# From https://lists.gnupg.org/pipermail/gnupg-announce/2020q4/000450.html -sha1 074b21dd07419575fa31c0c5d3116596d5544cbd gnupg-2.2.25.tar.bz2 +# From https://lists.gnupg.org/pipermail/gnupg-announce/2021q2/000460.html +sha1 5f92b7b32d594cf21ea2b48cdaa2e460daccd6e3 gnupg-2.2.28.tar.bz2 # Calculated based on the hash above and signature -# https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.25.tar.bz2.sig +# https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.28.tar.bz2.sig # using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 c55307b247af4b6f44d2916a25ffd1fb64ce2e509c3c3d028dbe7fbf309dc30a gnupg-2.2.25.tar.bz2 +sha256 6ff891fc7583a9c3fb9f097ee0d1de0a12469d4b53997e7ba5064950637dfaec gnupg-2.2.28.tar.bz2 sha256 bc2d6664f6276fa0a72d57633b3ae68dc7dcb677b71018bf08c8e93e509f1357 COPYING
package/gnupg2/gnupg2.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -GNUPG2_VERSION = 2.2.25 +GNUPG2_VERSION = 2.2.28 GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2 GNUPG2_SITE = https://gnupg.org/ftp/gcrypt/gnupg GNUPG2_LICENSE = GPL-3.0+
Signature · 1 line
2.30.2
PATCH 1/5 package/libgpg-error: bump to version 1.42
In reply to Fabrice FontaineQuoted 6 lines · On Mon, 21 Jun 2021 07:47:43 +0200 Fabrice Fontaine…
Drop patch (not needed since
https://dev.gnupg.org/rE1fb90a7da186ee2ee098a666f6f3a35bb1720e59)Signed-off-by Fabrice Fontaine <[email protected]>
Quoted 8 lines
--- .../0001-build-Fix-disable-threads.patch | 39 ++++++++++++++ ...nfigure.ac-fix-build-without-threads.patch | 54 ------------------- package/libgpg-error/libgpg-error.hash | 6 +-- package/libgpg-error/libgpg-error.mk | 4 +- 4 files changed, 43 insertions(+), 60 deletions(-) create mode 100644 package/libgpg-error/0001-build-Fix-disable-threads.patch delete mode 100644 package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch
Series applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com