From patchwork Wed Nov 27 23:35:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 53334 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 9BA9DD6D247 for ; Wed, 27 Nov 2024 23:36:13 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web11.84797.1732750564124733040 for ; Wed, 27 Nov 2024 15:36:04 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=1061310084=hongxu.jia@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ARNVK0U014252 for ; Wed, 27 Nov 2024 15:36:03 -0800 Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [147.11.82.254]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43671c8cyk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 27 Nov 2024 15:36:01 -0800 (PST) Received: from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.43; Wed, 27 Nov 2024 15:36:00 -0800 Received: from ala-lpggp7.wrs.com (147.11.136.210) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server id 15.1.2507.43 via Frontend Transport; Wed, 27 Nov 2024 15:36:00 -0800 From: Hongxu Jia To: Subject: [PATCH 1/4] man-db: upgrade 2.12.1 -> 2.13.0 Date: Wed, 27 Nov 2024 15:35:57 -0800 Message-ID: <20241127233600.4124020-1-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: MxHkwgB7yFv96yD7uekhKuVsRgURGGjO X-Proofpoint-ORIG-GUID: MxHkwgB7yFv96yD7uekhKuVsRgURGGjO X-Authority-Analysis: v=2.4 cv=QYicvtbv c=1 sm=1 tr=0 ts=6747ace1 cx=c_pps a=K4BcnWQioVPsTJd46EJO2w==:117 a=K4BcnWQioVPsTJd46EJO2w==:17 a=VlfZXiiP6vEA:10 a=NEAV23lmAAAA:8 a=t7CeM3EgAAAA:8 a=pGLkceISAAAA:8 a=crZMmNxFx5g1mS9ZmPQA:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-27_10,2024-11-27_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2411270185 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 ; Wed, 27 Nov 2024 23:36:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207968 Due to meta-clang has upgraded clang to 19.1.2 release [1] which contains clang fix [2], drop 0001-man-Move-local-variable-declaration-to-function-scop.patch [1] https://github.com/kraj/meta-clang/commit/d3180c5e597f587c822192caba3ceced2452b861 [2] https://github.com/llvm/llvm-project/commit/8bd06d5b6584 Signed-off-by: Hongxu Jia --- ...ariable-declaration-to-function-scop.patch | 38 ------------------- .../{man-db_2.12.1.bb => man-db_2.13.0.bb} | 3 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch rename meta/recipes-extended/man-db/{man-db_2.12.1.bb => man-db_2.13.0.bb} (94%) diff --git a/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch b/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch deleted file mode 100644 index 57ecd48b1f..0000000000 --- a/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e4125223631f0d555fc327da6d8705bcc8ee5ba5 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 9 Feb 2022 17:30:16 -0800 -Subject: [PATCH] man: Move local variable declaration to function scope - -There is a clang bug [1] unearthed here, so help clang by re-arranging -code without changing the logic, until its fixed in clang - -[1] https://github.com/llvm/llvm-project/issues/53692 - -Upstream-Status: Inappropriate [Inappropriate: Clang bug] -Signed-off-by: Khem Raj ---- - src/man.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/man.c b/src/man.c -index 195d35d..6870989 100644 ---- a/src/man.c -+++ b/src/man.c -@@ -379,7 +379,7 @@ static void init_html_pager (void) - static error_t parse_opt (int key, char *arg, struct argp_state *state) - { - static bool apropos, whatis; /* retain values between calls */ -- -+ char *s; - /* Please keep these keys in the same order as in options above. */ - switch (key) { - case 'C': -@@ -411,7 +411,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) - case OPT_WARNINGS: - #ifdef NROFF_WARNINGS - { -- char *s = xstrdup -+ s = xstrdup - (arg ? arg : default_roff_warnings); - const char *warning; - diff --git a/meta/recipes-extended/man-db/man-db_2.12.1.bb b/meta/recipes-extended/man-db/man-db_2.13.0.bb similarity index 94% rename from meta/recipes-extended/man-db/man-db_2.12.1.bb rename to meta/recipes-extended/man-db/man-db_2.13.0.bb index 5c6797c8f1..2fa18a8f24 100644 --- a/meta/recipes-extended/man-db/man-db_2.12.1.bb +++ b/meta/recipes-extended/man-db/man-db_2.13.0.bb @@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \ file://99_mandb \ - file://0001-man-Move-local-variable-declaration-to-function-scop.patch \ " -SRC_URI[sha256sum] = "ddee249daeb78cf92bab794ccd069cc8b575992265ea20e239e887156e880265" +SRC_URI[sha256sum] = "82f0739f4f61aab5eb937d234de3b014e777b5538a28cbd31433c45ae09aefb9" DEPENDS = "libpipeline gdbm groff-native base-passwd" RDEPENDS:${PN} += "base-passwd" From patchwork Wed Nov 27 23:35:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 53333 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 9CAB4D6D24C for ; Wed, 27 Nov 2024 23:36:13 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.84391.1732750565267071149 for ; Wed, 27 Nov 2024 15:36:05 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=1061310084=hongxu.jia@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ARNVK0V014252 for ; Wed, 27 Nov 2024 15:36:05 -0800 Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [147.11.82.254]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43671c8cyk-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 27 Nov 2024 15:36:03 -0800 (PST) Received: from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.43; Wed, 27 Nov 2024 15:36:01 -0800 Received: from ala-lpggp7.wrs.com (147.11.136.210) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server id 15.1.2507.43 via Frontend Transport; Wed, 27 Nov 2024 15:36:01 -0800 From: Hongxu Jia To: Subject: [PATCH 2/4] gnupg: upgrade 2.5.0 -> 2.5.1 Date: Wed, 27 Nov 2024 15:35:58 -0800 Message-ID: <20241127233600.4124020-2-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241127233600.4124020-1-hongxu.jia@windriver.com> References: <20241127233600.4124020-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: Tb0cp8Oss7U_fg2G93CPvVxLWl2vaOW3 X-Proofpoint-ORIG-GUID: Tb0cp8Oss7U_fg2G93CPvVxLWl2vaOW3 X-Authority-Analysis: v=2.4 cv=QYicvtbv c=1 sm=1 tr=0 ts=6747ace3 cx=c_pps a=K4BcnWQioVPsTJd46EJO2w==:117 a=K4BcnWQioVPsTJd46EJO2w==:17 a=VlfZXiiP6vEA:10 a=NEAV23lmAAAA:8 a=t7CeM3EgAAAA:8 a=pGLkceISAAAA:8 a=QyXUC8HyAAAA:8 a=xNClMKtuDglbprIgsYkA:9 a=N8Xg02xKa4WkyV1Z:21 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-27_10,2024-11-27_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2411270185 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 ; Wed, 27 Nov 2024 23:36:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207969 Due to upstream [build: Remove configure option --enable-gpg-is-gpg2][1], drop option --enable-gpg-is-gpg2 and remove gpg2 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 --- ...0001-Woverride-init-is-not-needed-with-gcc-9.patch | 2 +- ...e.ac-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 +- ...utogen.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} | 10 +++------- 7 files changed, 15 insertions(+), 22 deletions(-) rename meta/recipes-support/gnupg/{gnupg_2.5.0.bb => gnupg_2.5.1.bb} (89%) 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 89% rename from meta/recipes-support/gnupg/gnupg_2.5.0.bb rename to meta/recipes-support/gnupg/gnupg_2.5.1.bb index 9cfdbdf0a4..6cc61a70bd 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 \ " @@ -63,7 +60,6 @@ do_configure:prepend () { } do_install:append() { - ln -sf gpg2 ${D}${bindir}/gpg ln -sf gpgv2 ${D}${bindir}/gpgv } @@ -76,7 +72,7 @@ do_install:append:class-nativesdk() { } create_wrappers() { - for i in gpg2 gpgconf gpg-agent gpg-connect-agent; do + for i in gpgconf gpg-agent gpg-connect-agent; do create_wrapper ${D}${bindir}/$i GNUPG_BINDIR=$1 done } From patchwork Wed Nov 27 23:35:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 53332 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 9DD74D6D24D for ; Wed, 27 Nov 2024 23:36:13 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.84392.1732750565675221210 for ; Wed, 27 Nov 2024 15:36:05 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=1061310084=hongxu.jia@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ARNVK0W014252 for ; Wed, 27 Nov 2024 15:36:05 -0800 Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [147.11.82.254]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43671c8cyk-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 27 Nov 2024 15:36:05 -0800 (PST) Received: from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.43; Wed, 27 Nov 2024 15:36:01 -0800 Received: from ala-lpggp7.wrs.com (147.11.136.210) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server id 15.1.2507.43 via Frontend Transport; Wed, 27 Nov 2024 15:36:01 -0800 From: Hongxu Jia To: Subject: [PATCH 3/4] gpgme: upgrade 1.23.2 -> 1.24.0 Date: Wed, 27 Nov 2024 15:35:59 -0800 Message-ID: <20241127233600.4124020-3-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241127233600.4124020-1-hongxu.jia@windriver.com> References: <20241127233600.4124020-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: W9CJ8lGqPyk45L6L7sVsJ7dIsypDyb9b X-Proofpoint-ORIG-GUID: W9CJ8lGqPyk45L6L7sVsJ7dIsypDyb9b X-Authority-Analysis: v=2.4 cv=QYicvtbv c=1 sm=1 tr=0 ts=6747ace5 cx=c_pps a=K4BcnWQioVPsTJd46EJO2w==:117 a=K4BcnWQioVPsTJd46EJO2w==:17 a=VlfZXiiP6vEA:10 a=GwUem0DFAAAA:8 a=t7CeM3EgAAAA:8 a=ag1SF4gXAAAA:8 a=omOdbC7AAAAA:8 a=QyXUC8HyAAAA:8 a=yZOkjnsv2i9aY3vixXIA:9 a=0F8nxsaTWsPSERmV:21 a=r0dl5i_q2XGqDZkti5dn:22 a=FdTzh2GWekK77mhwV6Dw:22 a=Yupwre4RP9_Eg_Bd0iYG:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-27_10,2024-11-27_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2411270185 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 ; Wed, 27 Nov 2024 23:36:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207970 Reabse patches: - 0001-pkgconfig.patch - 0001-autogen.sh-remove-unknown-in-version.patch Drop backport patch: - 0004-python-import.patch Drop obsolete patch: - 0008-do-not-auto-check-var-PYTHON.patch Signed-off-by: Hongxu Jia --- ...autogen.sh-remove-unknown-in-version.patch | 17 ++++--- .../gpgme/gpgme/0001-pkgconfig.patch | 51 ++++++++++--------- .../gpgme/gpgme/0004-python-import.patch | 34 ------------- .../0008-do-not-auto-check-var-PYTHON.patch | 35 ------------- .../{gpgme_1.23.2.bb => gpgme_1.24.0.bb} | 4 +- 5 files changed, 39 insertions(+), 102 deletions(-) delete mode 100644 meta/recipes-support/gpgme/gpgme/0004-python-import.patch delete mode 100644 meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch rename meta/recipes-support/gpgme/{gpgme_1.23.2.bb => gpgme_1.24.0.bb} (94%) diff --git a/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch b/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch index 6d67e6d6c9..920df3d4c3 100644 --- a/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch +++ b/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch @@ -1,6 +1,6 @@ -From acc4750ffa79a5c2ef3c95cf31ef51352a68837b Mon Sep 17 00:00:00 2001 -From: Chen Qi -Date: Tue, 28 Feb 2023 13:43:51 +0800 +From 0d76b00111a112032eb8522791b70664100d4e0a Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Tue, 26 Nov 2024 23:23:42 -0800 Subject: [PATCH] autogen.sh: remove '-unknown' in version python setuptools >=66.0.0 treats '-unknown' as an invalid version. @@ -13,20 +13,25 @@ Upstream-Status: Submitted [https://lists.gnupg.org/pipermail/gnupg-devel/2023-F Signed-off-by: Chen Qi +Rebase to 1.24.0 +Signed-off-by: Hongxu Jia --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh -index 4e1665b..a55326d 100755 +index 9f912972..9f7559b4 100755 --- a/autogen.sh +++ b/autogen.sh -@@ -269,7 +269,7 @@ if [ "$myhost" = "find-version" ]; then +@@ -271,7 +271,7 @@ if [ "$myhost" = "find-version" ]; then else ingit=no beta=yes - tmp="-unknown" + tmp="" + cid="0000000" rev="0000000" rvd="0" - fi +-- +2.25.1 + diff --git a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch index 831771ca2d..2fddf4c553 100644 --- a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch +++ b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch @@ -1,6 +1,6 @@ -From 7b3a00cb0fc27c896dd85c9afc474bd9c2aea30d Mon Sep 17 00:00:00 2001 -From: Richard Purdie -Date: Fri, 10 May 2019 14:23:55 +0800 +From e4e75bee348d297bd8288e6fd7e99ab033cbb90c Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Tue, 26 Nov 2024 23:04:52 -0800 Subject: [PATCH] pkgconfig Update gpgme to use pkgconfig instead of -config files since its @@ -15,30 +15,31 @@ Rebase to 1.13.0 Signed-off-by: Hongxu Jia Rebase to 1.17.0 Signed-off-by: Wang Mingyu - +Rebase to 1.24.0 +Signed-off-by: Hongxu Jia --- configure.ac | 1 + src/Makefile.am | 4 +- src/gpgme-pthread.pc.in | 15 +++++ - src/gpgme.m4 | 119 +++------------------------------------- + src/gpgme.m4 | 118 +++------------------------------------- src/gpgme.pc.in | 4 +- - 5 files changed, 29 insertions(+), 114 deletions(-) + 5 files changed, 28 insertions(+), 114 deletions(-) create mode 100644 src/gpgme-pthread.pc.in diff --git a/configure.ac b/configure.ac -index ae4c7da..df892c9 100644 +index 933fb150..08589a6b 100644 --- a/configure.ac +++ b/configure.ac -@@ -1112,6 +1112,7 @@ AC_CONFIG_FILES(Makefile src/Makefile +@@ -1160,6 +1160,7 @@ AC_CONFIG_FILES(Makefile src/Makefile src/gpgme-glib.pc src/gpgme.h) AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) +AC_CONFIG_FILES(src/gpgme-pthread.pc) AC_CONFIG_FILES(lang/cpp/Makefile lang/cpp/src/Makefile) AC_CONFIG_FILES(lang/cpp/tests/Makefile) - AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) + AC_CONFIG_FILES(lang/cpp/src/gpgmepp.pc) diff --git a/src/Makefile.am b/src/Makefile.am -index ca70950..bda5498 100644 +index 03708620..e716ce4d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,11 +20,11 @@ @@ -57,7 +58,7 @@ index ca70950..bda5498 100644 noinst_SCRIPTS = gpgme-config diff --git a/src/gpgme-pthread.pc.in b/src/gpgme-pthread.pc.in new file mode 100644 -index 0000000..074bbf6 +index 00000000..074bbf6e --- /dev/null +++ b/src/gpgme-pthread.pc.in @@ -0,0 +1,15 @@ @@ -77,19 +78,18 @@ index 0000000..074bbf6 +Cflags: -I${includedir} +Requires: libassuan gpg-error diff --git a/src/gpgme.m4 b/src/gpgme.m4 -index 8cc2898..0ff550e 100644 +index 5f689e18..249e8c98 100644 --- a/src/gpgme.m4 +++ b/src/gpgme.m4 -@@ -168,7 +168,7 @@ dnl config script does not match the host specification the script - dnl is added to the gpg_config_script_warn variable. +@@ -166,7 +166,6 @@ dnl is added to the gpg_config_script_warn variable. dnl AC_DEFUN([AM_PATH_GPGME], --[ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl -+[ + [ AC_REQUIRE([AC_CANONICAL_HOST])dnl +- AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl tmp=ifelse([$1], ,1:0.4.2,$1) if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` -@@ -178,36 +178,12 @@ AC_DEFUN([AM_PATH_GPGME], +@@ -176,36 +175,12 @@ AC_DEFUN([AM_PATH_GPGME], min_gpgme_version="$tmp" fi @@ -128,7 +128,7 @@ index 8cc2898..0ff550e 100644 if test "$tmp" -gt 0 ; then if test "$req_gpgme_api" -ne "$tmp" ; then ok=no -@@ -216,19 +192,11 @@ AC_DEFUN([AM_PATH_GPGME], +@@ -214,19 +189,11 @@ AC_DEFUN([AM_PATH_GPGME], fi fi if test $ok = yes; then @@ -148,7 +148,7 @@ index 8cc2898..0ff550e 100644 ]) dnl AM_PATH_GPGME_PTHREAD([MINIMUM-VERSION, -@@ -236,9 +204,8 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) +@@ -234,9 +201,8 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) dnl Test for libgpgme and define GPGME_PTHREAD_CFLAGS dnl and GPGME_PTHREAD_LIBS. dnl @@ -160,7 +160,7 @@ index 8cc2898..0ff550e 100644 tmp=ifelse([$1], ,1:0.4.2,$1) if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` -@@ -248,40 +215,12 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ +@@ -246,40 +212,12 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ min_gpgme_version="$tmp" fi @@ -203,7 +203,7 @@ index 8cc2898..0ff550e 100644 if test "$tmp" -gt 0 ; then if test "$req_gpgme_api" -ne "$tmp" ; then ok=no -@@ -290,19 +229,11 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ +@@ -288,19 +226,11 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ fi fi if test $ok = yes; then @@ -223,7 +223,7 @@ index 8cc2898..0ff550e 100644 ]) -@@ -321,36 +252,12 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], +@@ -319,36 +249,12 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], min_gpgme_version="$tmp" fi @@ -262,7 +262,7 @@ index 8cc2898..0ff550e 100644 if test "$tmp" -gt 0 ; then if test "$req_gpgme_api" -ne "$tmp" ; then ok=no -@@ -359,17 +266,9 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], +@@ -357,17 +263,9 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], fi fi if test $ok = yes; then @@ -281,7 +281,7 @@ index 8cc2898..0ff550e 100644 - AC_SUBST(GPGME_GLIB_LIBS) ]) diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in -index 9ddef5c..932645b 100644 +index 9ddef5cd..932645be 100644 --- a/src/gpgme.pc.in +++ b/src/gpgme.pc.in @@ -9,6 +9,6 @@ Name: gpgme @@ -293,3 +293,6 @@ index 9ddef5c..932645b 100644 +Cflags: -I${includedir} +Libs: -L${libdir} -lgpgme URL: https://www.gnupg.org/software/gpgme/index.html +-- +2.25.1 + diff --git a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch b/meta/recipes-support/gpgme/gpgme/0004-python-import.patch deleted file mode 100644 index fa0eccfce3..0000000000 --- a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch +++ /dev/null @@ -1,34 +0,0 @@ -From f51bf1114bee6d56a950dcc6ebb46d6138b3faed Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Wed, 16 Aug 2017 02:06:45 -0400 -Subject: [PATCH 4/7] python import - -Don't check for output on stderr to know if an import worked, host inputrc and -sysroot readline can cause warnings on stderr. - -Upstream-Status: Backport (from autoconf-archive 883a2abd) -Signed-off-by: Ross Burton - -Rebase to 1.9.0 - -Signed-off-by: Hongxu Jia ---- - m4/ax_python_devel.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 -index b990d5b..318b089 100644 ---- a/m4/ax_python_devel.m4 -+++ b/m4/ax_python_devel.m4 -@@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference. - # - AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) --- -2.7.4 - diff --git a/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch b/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch deleted file mode 100644 index a11621ed64..0000000000 --- a/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 84c389705e7742d2b68e144a5733e618441d293e Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Fri, 10 May 2019 16:19:54 +0800 -Subject: [PATCH] do not auto check var-PYTHON - -Upstream auto check the version of python rather than specify option -[ff6ff61 python: Auto-check for all installed python versions.] - -In oe-core, don't check var-PYTHON, use the setting from recipe, -only check specific python 2.7 and 3.7 - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia - ---- - configure.ac | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index df892c9..8c6194e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -590,9 +590,8 @@ if test "$found_py" = "1"; then - if test "$found_py" = "1" -o "$found_py3" = "1"; then - # Reset everything, so that we can look for another Python. - m4_foreach([mym4pythonver], -- [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10], -- [3.11],[3.12],[all]], -- [unset PYTHON -+ [[2.7],[3.7]], -+ [ - unset PYTHON_VERSION - unset PYTHON_CPPFLAGS - unset PYTHON_LDFLAGS diff --git a/meta/recipes-support/gpgme/gpgme_1.23.2.bb b/meta/recipes-support/gpgme/gpgme_1.24.0.bb similarity index 94% rename from meta/recipes-support/gpgme/gpgme_1.23.2.bb rename to meta/recipes-support/gpgme/gpgme_1.24.0.bb index 55f164e4a9..d717c0cbb7 100644 --- a/meta/recipes-support/gpgme/gpgme_1.23.2.bb +++ b/meta/recipes-support/gpgme/gpgme_1.24.0.bb @@ -22,16 +22,14 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ file://0001-pkgconfig.patch \ file://0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch \ file://0003-Correctly-install-python-modules.patch \ - file://0004-python-import.patch \ file://0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch \ file://0006-fix-build-path-issue.patch \ - file://0008-do-not-auto-check-var-PYTHON.patch \ file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \ file://0001-posix-io.c-Use-off_t-instead-of-off64_t.patch \ file://0001-autogen.sh-remove-unknown-in-version.patch \ " -SRC_URI[sha256sum] = "9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224" +SRC_URI[sha256sum] = "61e3a6ad89323fecfaff176bc1728fb8c3312f2faa83424d9d5077ba20f5f7da" PYTHON_DEPS = "${@bb.utils.contains('LANGUAGES', 'python', 'swig-native', '', d)}" From patchwork Wed Nov 27 23:36:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 53331 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 ACE40D6D24E for ; Wed, 27 Nov 2024 23:36:13 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web11.84798.1732750566970692173 for ; Wed, 27 Nov 2024 15:36:06 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=1061310084=hongxu.jia@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ARNVK0Z014252 for ; Wed, 27 Nov 2024 15:36:06 -0800 Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [147.11.82.254]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43671c8cyk-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 27 Nov 2024 15:36:05 -0800 (PST) Received: from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by ALA-EXCHNG02.corp.ad.wrs.com (147.11.82.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.43; Wed, 27 Nov 2024 15:36:01 -0800 Received: from ala-lpggp7.wrs.com (147.11.136.210) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server id 15.1.2507.43 via Frontend Transport; Wed, 27 Nov 2024 15:36:01 -0800 From: Hongxu Jia To: Subject: [PATCH 4/4] scocat: upgrade 1.8.0.0 -> 1.8.0.1 Date: Wed, 27 Nov 2024 15:36:00 -0800 Message-ID: <20241127233600.4124020-4-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241127233600.4124020-1-hongxu.jia@windriver.com> References: <20241127233600.4124020-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: WxX0nzA-_OY-CMzlJuUUF_H949YZAjnD X-Proofpoint-ORIG-GUID: WxX0nzA-_OY-CMzlJuUUF_H949YZAjnD X-Authority-Analysis: v=2.4 cv=QYicvtbv c=1 sm=1 tr=0 ts=6747ace5 cx=c_pps a=K4BcnWQioVPsTJd46EJO2w==:117 a=K4BcnWQioVPsTJd46EJO2w==:17 a=VlfZXiiP6vEA:10 a=-AnQz9JOAAAA:8 a=rFFRleaeAAAA:8 a=t7CeM3EgAAAA:8 a=0tM9zMZimARFnrHklU0A:9 a=3bnadFWGKyIZm4bBUiDd:22 a=YLtI_f64H5IAZ6mI3Lwl:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-27_10,2024-11-27_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2411270185 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 ; Wed, 27 Nov 2024 23:36:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207971 Rebase 0001-fix-compile-procan.c-failed.patch to 1.8.0.1 Signed-off-by: Hongxu Jia --- .../0001-fix-compile-procan.c-failed.patch | 30 +++++++++---------- .../{socat_1.8.0.0.bb => socat_1.8.0.1.bb} | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) rename meta/recipes-connectivity/socat/{socat_1.8.0.0.bb => socat_1.8.0.1.bb} (95%) diff --git a/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch b/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch index 9051ae1abe..ea00dfa0a9 100644 --- a/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch +++ b/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch @@ -1,7 +1,7 @@ -From 4f887cc665c9a48b83e20ef4abe57afa7e365e0e Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Tue, 5 Dec 2023 23:02:22 -0800 -Subject: [PATCH v2] fix compile procan.c failed +From c4c3d5f2d4dfe8167205e8d20b4cb7a197706c16 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Wed, 27 Nov 2024 04:09:59 -0800 +Subject: [PATCH] fix compile procan.c failed 1. Compile socat failed if out of tree build (build dir != source dir) ... @@ -24,23 +24,23 @@ C source compile. Use first word of $(CC) to defeine marco CC [1] https://repo.or.cz/socat.git/commit/cd5673dbd0786c94e0b3ace7e35fab14c01e3185 Upstream-Status: Submitted [socat@dest-unreach.org] -Signed-off-by: Hongxu Jia + +Rebase to 1.8.0.1 +Signed-off-by: Hongxu Jia --- - Makefile.in | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + Makefile.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index c01b1a4..48dad69 100644 +index 631d31d..103d4d1 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -109,8 +109,8 @@ depend: $(CFILES) $(HFILES) - socat: socat.o libxio.a +@@ -110,7 +110,7 @@ socat: socat.o libxio.a $(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS) --procan.o: procan.c -- $(CC) $(CFLAGS) -c -D CC=\"$(CC)\" -o $@ procan.c -+procan.o: $(srcdir)/procan.c -+ $(CC) $(CFLAGS) -c -D CC=\"$(firstword $(CC))\" -o $@ $(srcdir)/procan.c + procan.o: $(srcdir)/procan.c +- $(CC) $(CFLAGS) -c -D CC="\"$(CC)\"" -o $@ $(srcdir)/procan.c ++ $(CC) $(CFLAGS) -c -D CC="\"$(firstword $(CC))\"" -o $@ $(srcdir)/procan.c PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o procan: $(PROCAN_OBJS) @@ -58,5 +58,5 @@ index c01b1a4..48dad69 100644 $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST) mkdir -p $(DESTDIR)$(MANDEST)/man1 -- -2.42.0 +2.25.1 diff --git a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb b/meta/recipes-connectivity/socat/socat_1.8.0.1.bb similarity index 95% rename from meta/recipes-connectivity/socat/socat_1.8.0.0.bb rename to meta/recipes-connectivity/socat/socat_1.8.0.1.bb index 912605c95c..95b4017040 100644 --- a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb +++ b/meta/recipes-connectivity/socat/socat_1.8.0.1.bb @@ -13,7 +13,7 @@ SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ file://0001-fix-compile-procan.c-failed.patch \ " -SRC_URI[sha256sum] = "e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7" +SRC_URI[sha256sum] = "6a283565db7cf86292c6f70504c58abb03e29888adeed5a6c5f3457e803c1b81" inherit autotools