From patchwork Sat Jan 25 15:42:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 56100 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDD43C0218C for ; Sat, 25 Jan 2025 15:42:46 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.web10.12348.1737819764181010323 for ; Sat, 25 Jan 2025 07:42:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VO81MKBV; spf=pass (domain: gmail.com, ip: 209.85.128.44, mailfrom: gudni.m.g@gmail.com) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso19542185e9.3 for ; Sat, 25 Jan 2025 07:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737819762; x=1738424562; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tiIpqxlSw1zOH7dyq+CmVKsHqh4SHEGBX4OaX88YP4U=; b=VO81MKBVOlfYtKMW8RGNKJ16ppb/ZwrLuGJIW74dSCBnmhEL3q5o5jx1ATv5tOxm6P oqBQFheBzzY4xs1A7PABU12NjnIS+FQeFVZ1tOCb+euRbnAzD+Er1wBOxdn8PxciXgsL KgGbrhHrskAPEVUBOp9oIAtNHISG1MaWrme7d6EpbOm9QuWFhhbWvIh86jmzK5xoZT9k FsBWnd2emQA3o58R1M0OZc36xZts3WLPJq1+oYxav9i54UQ1cSdSTmXWh3cFQclltVbk t3h/uV4e5ePjJb0kuz2D/aDVK1EsnLQLUJPm0/SZjzQhSX3e6op4hRhTUXUKr0LSWsn5 8Rjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737819762; x=1738424562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tiIpqxlSw1zOH7dyq+CmVKsHqh4SHEGBX4OaX88YP4U=; b=JrxeDVMHZZaXO6Ybjp77PH551inAa1ZMVf667zr+OiNC+4GS5fI8V1abHQqH6zPDpW hA/8PQTcTkANHZ5qxfBMuwG5foOw/vB8ytKvGGIeVVgF9aDibixSYLLb+t+f6H0UycN4 2zClgHvtpEbX/lo8n1yn6IcanVAUyF4HhJUUph99+LHfXltC6PWvtO69Lb7CJrvOHC4U cVc62FxRff/F2Tdv352nLWef4UxfDhNj32GR7QlQXMB1y08cXuYzLbtnmMt9UDYW3g+G VM60dShDBm5/de8+9kCB6gzMSLq7FN3ORtlemE3KZw71QR+n60/MYpn9rFfWz/jpx5lX cgtQ== X-Gm-Message-State: AOJu0Ywdj1uDzEFLTuG19u/OEXIsA8kcrilKx6uaetoymm9RqLLhYAjf i6dn/o4M/IYRFm41mBE6Mml6yaleh3sF5KaBXPOEPkukLolOTi8fp0acKmW0 X-Gm-Gg: ASbGnctw2JbsyXzWB87vfHyRV/jjU7Y9O1r4QbK+hFI6SGE5rQzeYkZJ/ZN4hFgrUAM 64DgYWyX7thDI2i2YJlEHSrjHLQ2x8ZOgXnk58Rtqqo13ncxNDnA+Vhr77IafR/bBCYnYWEDBsk 1kYt2AD5+4GqdA9lqvDSIAVCp1QJ+TfKFi2DJQOqAEPi+zLZEJ86M6AdUoigj54AM7DFsQvoCOZ 9WudRO1cAr+JkqHJRnEkGcbLqbpByeSQlPQZb+N9tNoqDugrErjQsRoQNHQE5zawBtGk3fjyq5y nWPsLZbNaebuxHeGSwZroU/w+wEQlA== X-Google-Smtp-Source: AGHT+IFhpX7U9UKM8vAWaIJEaHjqUTDYlRpQJsXwChXNpuX7JfcL4MEVUYVPK+WUJ34rHzHxhLx4bQ== X-Received: by 2002:a05:600c:138a:b0:434:9d62:aa23 with SMTP id 5b1f17b1804b1-4389142e88dmr284880575e9.20.1737819761580; Sat, 25 Jan 2025 07:42:41 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4c6fadsm64063345e9.32.2025.01.25.07.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2025 07:42:40 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-core@lists.openembedded.org Cc: hongxu , Hongxu Jia , Richard Purdie Subject: [styhead][PATCH 1/3] gnupg: upgrade 2.5.0 -> 2.5.1 Date: Sat, 25 Jan 2025 15:42:13 +0000 Message-ID: <20250125154215.3316474-2-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250125154215.3316474-1-gudni.m.g@gmail.com> References: <20250125154215.3316474-1-gudni.m.g@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Jan 2025 15:42:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210266 From: hongxu Due to upstream [build: Remove configure option --enable-gpg-is-gpg2][1], drop option --enable-gpg-is-gpg2 and remove gpg2/gpgv2 installation Due to upsream [doc: Remove included yat2m and build HTML versions of the man pages.][2], it used standard detection on yat2m other than build it from source. Because no native recipe provide yat2m in Yocto, explicitly disable doc via option --disable-doc [1] https://github.com/gpg/gnupg/commit/2125f228d36c0882a87bce433a18253154653d50 [2] https://github.com/gpg/gnupg/commit/60c541f5880e8c603ca9372d3ca8b7ad68b97018 Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- ...1-Woverride-init-is-not-needed-with-gcc-9.patch | 2 +- ...c-use-a-custom-value-for-the-location-of-.patch | 6 +++--- .../gnupg/0001-fix-compile-failure-with-musl.patch | 11 ++++------- ...0002-use-pkgconfig-instead-of-npth-config.patch | 2 +- ...gen.sh-fix-find-version-for-beta-checking.patch | 2 +- meta/recipes-support/gnupg/gnupg/relocate.patch | 4 ++-- .../gnupg/{gnupg_2.5.0.bb => gnupg_2.5.1.bb} | 14 +++----------- 7 files changed, 15 insertions(+), 26 deletions(-) rename meta/recipes-support/gnupg/{gnupg_2.5.0.bb => gnupg_2.5.1.bb} (87%) diff --git a/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch b/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch index 77d7507edc..024f4a9f10 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch @@ -1,4 +1,4 @@ -From 6392cb71a23adfd601537049da4e5e06e51d2e50 Mon Sep 17 00:00:00 2001 +From 69d132c4cca738f148551af24932010fb1029ea1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 20 Dec 2018 17:37:48 -0800 Subject: [PATCH] Woverride-init is not needed with gcc 9 diff --git a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch index 12b1447138..702cba4b71 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch @@ -1,4 +1,4 @@ -From a0e986b487891ef8e3bb41b95f969e00edd4923f Mon Sep 17 00:00:00 2001 +From d9ef954b602c17839c52a1d7dc73e2354e5fbbbb Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 22 Jan 2018 18:00:21 +0200 Subject: [PATCH] configure.ac: use a custom value for the location of @@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index e4f8c0e..fa75ec8 100644 +index 29592fd..7286862 100644 --- a/configure.ac +++ b/configure.ac -@@ -1925,7 +1925,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", +@@ -1911,7 +1911,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", AC_DEFINE_UNQUOTED(GPGTAR_NAME, "gpgtar", [The name of the gpgtar tool]) diff --git a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch b/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch index fef05cf3c8..13c1a36366 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch @@ -1,4 +1,4 @@ -From 4a7d4d6e45c68708ec95335b0f11d6596b23095a Mon Sep 17 00:00:00 2001 +From 2e7534f3f7694ba426615b2061c235908097bb9b Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 22 Aug 2024 15:31:16 +0800 Subject: [PATCH] fix compile failure with musl @@ -20,17 +20,14 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+) diff --git a/scd/app.c b/scd/app.c -index 926ab79..7bf58a2 100644 +index 525950e..7180178 100644 --- a/scd/app.c +++ b/scd/app.c -@@ -23,6 +23,7 @@ - #include +@@ -24,6 +24,7 @@ #include + #include #include +#include #include "scdaemon.h" #include "../common/exechelp.h" --- -2.27.0 - diff --git a/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch b/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch index 945abb55ff..a7a6f03c7d 100644 --- a/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch +++ b/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch @@ -1,4 +1,4 @@ -From fa93b5f7c2da0e5846b80de9c6296966ca2a3d83 Mon Sep 17 00:00:00 2001 +From d5fc05998d7260fd94a558c53f6e6c35a384d163 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 16 Aug 2017 11:16:30 +0800 Subject: [PATCH] use pkgconfig instead of npth config diff --git a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch index 761fd6c608..8aeb87dfd4 100644 --- a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch +++ b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch @@ -1,4 +1,4 @@ -From e8f67e3bbbdbaa17cfe88c1f7a8f488eb4936281 Mon Sep 17 00:00:00 2001 +From 21396a6e74d188a2198439aa27403c29c1dbcea8 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Wed, 16 Aug 2017 11:23:22 +0800 Subject: [PATCH] autogen.sh: fix find-version for beta checking diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index 5c4d81f87a..6fcbc2d18f 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch @@ -1,4 +1,4 @@ -From 4e556a5edde8a97312abae63f8e9b5f989ca5c91 Mon Sep 17 00:00:00 2001 +From 3c761174b0ec6f49f184f16a0b0eaade44264edc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Sep 2018 14:44:40 +0100 Subject: [PATCH] Allow the environment to override where gnupg looks for its @@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/homedir.c b/common/homedir.c -index 3929108..d3a7b8f 100644 +index a73182e..9994a9a 100644 --- a/common/homedir.c +++ b/common/homedir.c @@ -1439,7 +1439,7 @@ gnupg_socketdir (void) diff --git a/meta/recipes-support/gnupg/gnupg_2.5.0.bb b/meta/recipes-support/gnupg/gnupg_2.5.1.bb similarity index 87% rename from meta/recipes-support/gnupg/gnupg_2.5.0.bb rename to meta/recipes-support/gnupg/gnupg_2.5.1.bb index 9cfdbdf0a4..080056f74c 100644 --- a/meta/recipes-support/gnupg/gnupg_2.5.0.bb +++ b/meta/recipes-support/gnupg/gnupg_2.5.1.bb @@ -24,7 +24,7 @@ SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for- file://relocate.patch" SRC_URI:append:class-nativesdk = " file://relocate.patch" -SRC_URI[sha256sum] = "2222c827d4e7087f15e7f72739d004abc1d05c6c5f0a5a12b24c6a6cc5d173fb" +SRC_URI[sha256sum] = "8a34bb318499867962c939e156666ada93ed81f01926590ac68f3ff79178375e" EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \ @@ -32,17 +32,14 @@ EXTRA_OECONF = "--disable-ldap \ --with-bzip2=${STAGING_LIBDIR}/.. \ --with-readline=${STAGING_LIBDIR}/.. \ --with-mailprog=${sbindir}/sendmail \ - --enable-gpg-is-gpg2 \ --disable-tests \ + --disable-doc \ " -# yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise -CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m" # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) PACKAGES =+ "${PN}-gpg" FILES:${PN}-gpg = " \ ${bindir}/gpg \ - ${bindir}/gpg2 \ ${bindir}/gpg-agent \ " @@ -62,11 +59,6 @@ do_configure:prepend () { rm -f ${S}/m4/libgcrypt.m4 } -do_install:append() { - ln -sf gpg2 ${D}${bindir}/gpg - ln -sf gpgv2 ${D}${bindir}/gpgv -} - do_install:append:class-native() { create_wrappers ${STAGING_BINDIR_NATIVE} } @@ -76,7 +68,7 @@ do_install:append:class-nativesdk() { } create_wrappers() { - for i in gpg2 gpgconf gpg-agent gpg-connect-agent; do + for i in gpg gpgconf gpg-agent gpg-connect-agent; do create_wrapper ${D}${bindir}/$i GNUPG_BINDIR=$1 done } From patchwork Sat Jan 25 15:42:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 56102 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D42B9C0218C for ; Sat, 25 Jan 2025 15:42:56 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.12066.1737819765277990375 for ; Sat, 25 Jan 2025 07:42:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SIGS5XdI; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: gudni.m.g@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-438a39e659cso19554515e9.2 for ; Sat, 25 Jan 2025 07:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737819763; x=1738424563; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qNjHh6swjRDLoUY1xLyRYLMAzkHo53ALxYyIoPvTbkk=; b=SIGS5XdIQLDMaNL4EPyKd/DTULD6GydyCV8W8zlFD74kNC2GG4UN3TBbkD6ScO36dU hHP4cIoxtAoVNgFsbB6h38P+hHZmhRzjqFMDQF78Smb0vOjbiH7pi3r+VHtMKt7R1A2S h421LxVxYeL+Xb37xk3yHivY7bXei7x8mpTDQAD5uMNjRy1d/9DE1PVCLeNSAWPLLXkZ AcW9/eKSL9jIGddIGoIGYjW+q2yp0dbzSgNNi1VKKpLY0cniSJvlKg99z8JgxgEl+U/U vuA9c/yl4/HsvpmeX/sswsanzBpTYusEyKfF3J3bsaGnL2S6KjZe2b+gIuIZbMAqGSSL Em/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737819763; x=1738424563; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qNjHh6swjRDLoUY1xLyRYLMAzkHo53ALxYyIoPvTbkk=; b=CWMi5c2x9QlbNbGIBtN4y0AWSKIDi8VCKXaJJjWJPZEmOK8YVRn8ZUcuUqmyj4VMUA /5rsMEeYQ63hLIyYkzsT9EQYuMxBHLbzbwhDveEl+iqw0UEHK5tJNK+NrUTKMKC+vL+m AK06JbqEvrltl3TZDY+Qq+jOrpSnhCn8MmeEUYFjDxrfKQMqWTjgQG8PZdVxF7wT41Q1 QzaDnVI1JT2mC6JLG+WAfujTcPkqzS3e3Gp55/UxsPe0/L71fGNzdyjOzjMohfzA4HNB TIf8EMjwjbWcwomxnWu6UrIWUUrHf6egpm+7SRdqA+QnnDsOpoQ5Wyo+OE82NLlh6yxU Oqpg== X-Gm-Message-State: AOJu0YxYqrU/pLK1piy48ScCzZszwUdQ5IjI2GKAdHLzE6DomaHjaWjt G7ui35EyMZRlbVz9UYEKdOMRvotCr9yObtMsY4NTP6hV43X55sdjpASzw41i X-Gm-Gg: ASbGncvcbmYuG4n2nVKnxjZzfNL9LwLdGWMPd0rvvBf3ANX5XA14SNokk/lLkAgpqeP 5RQQ2WSCLRUgRylWR+JRVibjkca5yUdgOOXk9/3xnKBaDgQbBCge3Hyy99AoX1wv+X0pdgKIP8N 22G9L1BJsE4yo8YiXlDqZKq+KQpgBtwPasN7qXgt5oQ08r0uPT8NsxkEoN0jUGwG42i73ZnkaKc nKQMqr4JXYI3SZetfcl7U/Fw24kbqSJslT6Dg2SCiFxZ/x0ESGVz5z+ZXp3oN4WSgqJ8+BMPNUe 5NgtFPkVRTKqZsHWmCUcGltvVVYaJA== X-Google-Smtp-Source: AGHT+IFtIAuqtE4sT/WQ1wUgdr5m09jNMn3J6ndwAJAgtAiQwP6jHZPK6fjgyZp8CQnreaT+ChvI6g== X-Received: by 2002:a05:600c:3c82:b0:434:f623:9fe3 with SMTP id 5b1f17b1804b1-438913e024emr362002665e9.16.1737819762955; Sat, 25 Jan 2025 07:42:42 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4c6fadsm64063345e9.32.2025.01.25.07.42.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2025 07:42:42 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-core@lists.openembedded.org Cc: Wang Mingyu , Richard Purdie Subject: [styhead][PATCH 2/3] gnupg: upgrade 2.5.1 -> 2.5.2 Date: Sat, 25 Jan 2025 15:42:14 +0000 Message-ID: <20250125154215.3316474-3-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250125154215.3316474-1-gudni.m.g@gmail.com> References: <20250125154215.3316474-1-gudni.m.g@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Jan 2025 15:42:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210267 From: Wang Mingyu 0001-fix-compile-failure-with-musl.patch relocate.patch refreshed for 2.5.2 Changelog: ============ * gpg: Add option 16 to --full-gen-key to create ECC+Kyber. * gpg: For composite algos add the algo string to the colons listings. * gpg: Validate the trustdb after the import of a trusted key. * gpg: Exclude expired trusted keys from the key validation process. * gpg: Fix a wrong decryption failed status for signed and OCB encrypted messages without a signature verification key. * gpg: Retain binary representation for import->export with Ed25519 key signatures. * gpg: Fix comparing ed448 to ed25519 with --assert-pubkey-algo. * gpg: Avoid a failure exit code for expired ultimately trusted keys. * gpg: Emit status error for an invalid ADSK. * gpg: Allow the use of an ADSK subkey as ADSK subkey. * gpg: Fix --quick-set-expire for V5 subkey fingerprints. * gpg: Robust error handling for SCD READKEY. * gpg: Fix cv25519 v5 export regression. * gpgsm: Nearly fourfold speedup of validated certificate listings. * gpgsm: Improvement for some rare P12 files. * gpgsm: Terminate key listing on output write error. * agent: Add option --status to the LISTRUSTED command. * agent: Fix detection of the yet unused trustflag de-vs. * agent: Allow ssh to sign data larger than the Assuan line length. * keyboxd: Fix a race condition on the database handle. * dirmngr: A list of used URLs for loaded CRLs is printed first in the output of the LISTCRL command. * scd: More mitigations against lock ups with multiple cards or apps. * gpgtar: Use log-file from common.conf only in --batch mode. * gpgtar: Fix directory creation during extraction. * gpg-mail-tube: Minor fixes. * gpgconf: Add list flag to trusted-key et al. * Implement GNUPG_ASSUME_COMPLIANCE envvar and registry key for testing de-vs compliance mode. * Enable additional runtime protections in speedo builds for windows. * Fix a race condition in creating the socket directory. * Fix a build problem on macOS (missing unistd.h). Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../0001-fix-compile-failure-with-musl.patch | 8 ++++---- .../recipes-support/gnupg/gnupg/relocate.patch | 18 +++++++++--------- .../gnupg/{gnupg_2.5.1.bb => gnupg_2.5.2.bb} | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) rename meta/recipes-support/gnupg/{gnupg_2.5.1.bb => gnupg_2.5.2.bb} (97%) diff --git a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch b/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch index 13c1a36366..ec99f4b10c 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch @@ -1,4 +1,4 @@ -From 2e7534f3f7694ba426615b2061c235908097bb9b Mon Sep 17 00:00:00 2001 +From 81c222ea179ef73fcae4b50c56342bdad4787a28 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 22 Aug 2024 15:31:16 +0800 Subject: [PATCH] fix compile failure with musl @@ -20,7 +20,7 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+) diff --git a/scd/app.c b/scd/app.c -index 525950e..7180178 100644 +index ba7bb23..7d41e53 100644 --- a/scd/app.c +++ b/scd/app.c @@ -24,6 +24,7 @@ @@ -29,5 +29,5 @@ index 525950e..7180178 100644 #include +#include - #include "scdaemon.h" - #include "../common/exechelp.h" + #ifndef HAVE_W32_SYSTEM + #include /* F_SETFD F_GETFL F_SETFL O_NONBLOCK fcntl(2) */ diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index 6fcbc2d18f..08e70fb444 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch @@ -1,4 +1,4 @@ -From 3c761174b0ec6f49f184f16a0b0eaade44264edc Mon Sep 17 00:00:00 2001 +From 93fef8f493ee66856ef02351da25583eea94202d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Sep 2018 14:44:40 +0100 Subject: [PATCH] Allow the environment to override where gnupg looks for its @@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/homedir.c b/common/homedir.c -index a73182e..9994a9a 100644 +index d26ddd9..24224c0 100644 --- a/common/homedir.c +++ b/common/homedir.c -@@ -1439,7 +1439,7 @@ gnupg_socketdir (void) +@@ -1451,7 +1451,7 @@ gnupg_socketdir (void) if (!name) { unsigned int dummy; @@ -25,7 +25,7 @@ index a73182e..9994a9a 100644 gpgrt_annotate_leaked_object (name); } -@@ -1468,7 +1468,7 @@ gnupg_sysconfdir (void) +@@ -1480,7 +1480,7 @@ gnupg_sysconfdir (void) if (dir) return dir; else @@ -34,7 +34,7 @@ index a73182e..9994a9a 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1504,7 +1504,7 @@ gnupg_bindir (void) +@@ -1516,7 +1516,7 @@ gnupg_bindir (void) return name; } else @@ -43,7 +43,7 @@ index a73182e..9994a9a 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1531,7 +1531,7 @@ gnupg_libexecdir (void) +@@ -1543,7 +1543,7 @@ gnupg_libexecdir (void) return name; } else @@ -52,7 +52,7 @@ index a73182e..9994a9a 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1561,7 +1561,7 @@ gnupg_libdir (void) +@@ -1573,7 +1573,7 @@ gnupg_libdir (void) return name; } else @@ -61,7 +61,7 @@ index a73182e..9994a9a 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1592,7 +1592,7 @@ gnupg_datadir (void) +@@ -1604,7 +1604,7 @@ gnupg_datadir (void) return name; } else @@ -70,7 +70,7 @@ index a73182e..9994a9a 100644 #endif /*!HAVE_W32_SYSTEM*/ } -@@ -1624,7 +1624,7 @@ gnupg_localedir (void) +@@ -1636,7 +1636,7 @@ gnupg_localedir (void) return name; } else diff --git a/meta/recipes-support/gnupg/gnupg_2.5.1.bb b/meta/recipes-support/gnupg/gnupg_2.5.2.bb similarity index 97% rename from meta/recipes-support/gnupg/gnupg_2.5.1.bb rename to meta/recipes-support/gnupg/gnupg_2.5.2.bb index 080056f74c..64c63e31ce 100644 --- a/meta/recipes-support/gnupg/gnupg_2.5.1.bb +++ b/meta/recipes-support/gnupg/gnupg_2.5.2.bb @@ -24,7 +24,7 @@ SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for- file://relocate.patch" SRC_URI:append:class-nativesdk = " file://relocate.patch" -SRC_URI[sha256sum] = "8a34bb318499867962c939e156666ada93ed81f01926590ac68f3ff79178375e" +SRC_URI[sha256sum] = "7f404ccc6a58493fedc15faef59f3ae914831cff866a23f0bf9d66cfdd0fea29" EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \ From patchwork Sat Jan 25 15:42:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 56101 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E75C0218D for ; Sat, 25 Jan 2025 15:42:56 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web10.12351.1737819767092029014 for ; Sat, 25 Jan 2025 07:42:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FI3GW2w1; spf=pass (domain: gmail.com, ip: 209.85.128.54, mailfrom: gudni.m.g@gmail.com) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-436a03197b2so20299875e9.2 for ; Sat, 25 Jan 2025 07:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737819765; x=1738424565; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EDU3f3IuqhzMoMKK4yY5eb8zUt7rw2cZZEUA1u9OAs4=; b=FI3GW2w1j8DpyDdpgZBUb1UNP0gXGxr3LhxBpGya3TIwbtjmEgmsvTmdNuipXkzE8/ eVpSjyga5lPlXDCjguabyi3yCLce/iypsvxj8hW2BzWFdO6VhcVCayPd43J3kx1H8p/8 KdOf9XwsYn2TZUZ94QX/KlxGJA9XDe3ZVO+MMY5yc/95AGXy5GZ/wl6lnSLFHvVHSuP4 RYgIMuYrESy757WjipRQUCE4nen9Sc3R/14Z+8BWZop96rH/1WmSiurAlcUwfqRhKxNC vRmSjTptFSI/Cy9hvyJNBQxqsNp/cALaJv5SlrFVyox5Q7jez0dYEMesq1QUBKDauI0q 9MNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737819765; x=1738424565; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EDU3f3IuqhzMoMKK4yY5eb8zUt7rw2cZZEUA1u9OAs4=; b=PHuIav9w8bDn9i9nEe3/Geho2tdG5KJ6WNFat+VJN354umfD9W3goEOvVreqkGnDIM jcZfaGuhY5OXIfHlQftiFqkq3WGt/DJ2V2AGcZeGpf+Uy4RBzT1EKFAqvre8pMYzAKWd sA8JLeKsnBnBiM8GLYYQ8MLEHTPqGADwA62L3t5uiOxsxHMe23EDuB3uOMCLOsi/NCpH Lz6Elhut5S2D4SEaUIWI+noDFO90qfLrN1SeX8fOU3Tv6XhFs0qMJmhtz/9k58OLTOIq opv3Nlv7C2pYEnG3aXYIWgru3Ce5+0fYOTaM0d2C9qONoPJXaMkIEDcDvjUtB7T117f6 fFzg== X-Gm-Message-State: AOJu0YyJel8rTNNA5xw42APGpU4edwggl/SoAvvwFeBS7UF0rXuECGRS rrwphtrPKnJncJyTj6GjJgHQNnyfoujSDJW34pap6bPeG/0VrnYQ2oTDsxnE X-Gm-Gg: ASbGncu5fvHCL/VggWWqFsjD+nXObLToDuisYwBcSsk54QqyRxEgAzlORAYTDrXDvHS xK8YkHfKiyx+SWcGjfaJVSJdUloJkeuXQkDvPc4cM3cuEFcTHAdYpJ/1oo+M/vTs26hOTP6wvO2 tT4CiEzUqFaJaD2J6jkFt6n7pDjcbCdYhnVM1b2+7f+mMEFNYmsyBUfL9j8i4ZUJMCBfZQKj+On 3oGPDEY6ItSVPlzSxHhwQ9F/lF+RCfqaiLGNQqtH0edsOWh9M4Hsub6QQqbd3X2wwcydyIwfo0l zc0G/TuV820IMr54llzcCxnDQIgnjg== X-Google-Smtp-Source: AGHT+IFMfVOefzvBOwjDc86lW6tCD1f49Vl1ypJWYsB6plDHawcFv2IdykoE/3kXbI2wXBPTS8oUoQ== X-Received: by 2002:a05:600c:46cc:b0:434:a468:4a57 with SMTP id 5b1f17b1804b1-43891436f39mr264488695e9.26.1737819765035; Sat, 25 Jan 2025 07:42:45 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4c6fadsm64063345e9.32.2025.01.25.07.42.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2025 07:42:44 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-core@lists.openembedded.org Cc: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= Subject: [styhead][PATCH 3/3] gnupg: remove obsolete patch Date: Sat, 25 Jan 2025 15:42:15 +0000 Message-ID: <20250125154215.3316474-4-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250125154215.3316474-1-gudni.m.g@gmail.com> References: <20250125154215.3316474-1-gudni.m.g@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Jan 2025 15:42:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210268 Remove a patch which is already merged in v2.5.1 See for reference: https://github.com/gpg/gnupg/commit/1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f https://dev.gnupg.org/T7193 Signed-off-by: Guðni Már Gilbert --- .../0001-fix-compile-failure-with-musl.patch | 33 ------------------- meta/recipes-support/gnupg/gnupg_2.5.2.bb | 1 - 2 files changed, 34 deletions(-) delete mode 100644 meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch diff --git a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch b/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch deleted file mode 100644 index ec99f4b10c..0000000000 --- a/meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 81c222ea179ef73fcae4b50c56342bdad4787a28 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Thu, 22 Aug 2024 15:31:16 +0800 -Subject: [PATCH] fix compile failure with musl - -``` -../../gnupg-2.5.0/scd/app.c:379:3: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] - 379 | write (card_list_lock.notify_pipe[1], "", 1); - | ^~~~~ - | fwrite -``` -To access the Posix low level file interface such as open, read, -write and close, should include . - -Upstream-Status: Backport [https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f] - -Signed-off-by: Hongxu Jia ---- - scd/app.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/scd/app.c b/scd/app.c -index ba7bb23..7d41e53 100644 ---- a/scd/app.c -+++ b/scd/app.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #ifndef HAVE_W32_SYSTEM - #include /* F_SETFD F_GETFL F_SETFL O_NONBLOCK fcntl(2) */ diff --git a/meta/recipes-support/gnupg/gnupg_2.5.2.bb b/meta/recipes-support/gnupg/gnupg_2.5.2.bb index 64c63e31ce..8e87382f12 100644 --- a/meta/recipes-support/gnupg/gnupg_2.5.2.bb +++ b/meta/recipes-support/gnupg/gnupg_2.5.2.bb @@ -18,7 +18,6 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0002-use-pkgconfig-instead-of-npth-config.patch \ file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ - file://0001-fix-compile-failure-with-musl.patch \ " SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ file://relocate.patch"