From patchwork Fri Oct 16 09:20:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaipaul Cheernam X-Patchwork-Id: 101069 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 41AE4CCA462 for ; Fri, 16 Oct 2026 09:20:45 +0000 (UTC) Received: from MRWPR03CU001.outbound.protection.outlook.com (MRWPR03CU001.outbound.protection.outlook.com [40.107.130.57]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17764.1792142435365498198 for ; Fri, 16 Oct 2026 02:20:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=0cL54CaY; spf=pass (domain: est.tech, ip: 40.107.130.57, mailfrom: jaipaul.cheernam@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HpkFgIy9XKzSS8NgbeRdnX5UGz3i8FhnAHq8YIxnMYbj+7p+mjOYckyDDiJAHNv40TkRk8MXtGHLAjtRoUEc+fXrcGk/86lQ9bLePsj5JkFTpM1mZ60x8LdVkSG67sfTw7pipCutMgGobmps2c/tlmQjWpo81KqIvWXgJqBvxKSwjGYt2BREvNMusewzBj5v3zSaVQ5mPWsjdwCoYyvOyNo88m4l8E0kkGTZpQ77VMOXxTO3738cRrPFjd05FKeYmDupcPMNHdJHjzGupH2iX/fGX7y/Q9KGjfYIc/XJxnaMWpfT7sNy32rzucQp9oU8qE4mhRhe94ZBHWW9zZqW2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=G1ZR7UW2JxeNBr7ldZ5cWx+N4IqfpTVBE8aTXLD9Wrs=; b=ntJtBX+vANbX38fGn6IBhFkT8ZG0MoaKL+QedoUjdmRBO7r0m3MdyU//HzNpzeEUOL5FFiF0BwxoM427SN9V01Pf7RUGaALgJqaawmY5oHFmx1GbYEGpKiX8NSIvK5U1Kw0AbJde0eRWP00tFRLXcQV8d0SCx6aV4sn+uIgDqE1+G3EiyvxfXAo0ndbsATWobnhgsepPO6wXxt8djlJxlFUuOA4kpsSrlLtpEYo3mWRZ2tqYGd8gGdu3otoV5MeEg6NOKBzjW17bnDRBdd2G8LEqhwakLpqeldgUI/k6SPVs6pGSjedTOEuE4doerquJ7vdM7baOZg9b21pra6ry5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G1ZR7UW2JxeNBr7ldZ5cWx+N4IqfpTVBE8aTXLD9Wrs=; b=0cL54CaYUBpMC3E/U8lHGsxoqASE34s7HokKkTN8FQE3RtcyfUIM+KwByN8qX7/kd0lhBOGOsDkIR1sO3kd1SMml9xh9OPATqixoafsW8v82sQ5uXnKrU6xo+qkM+HdSuFRQo7skP7+0cGACPLKS62c5MGUZL+GRuycuF3rpDaacXL/soVjhTFKbmRrGvNnuVDcvFyr2rOZgkOA4McidIAd0aydNSjQbSMitxGJ+bg/HG4ZAFqTW2Pu7NIAxkyI7z4i/v7j7pe2x/51b+Ey0PejqTr0jvK6fpd5U5NCMMEhc00+Olgu/x9ac2KwLEb1S4wpLxUb5B8kyBAtZHlBRZQ== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from VI0P189MB3116.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:2cd::21) by AS8P189MB2022.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:509::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.14; Fri, 16 Oct 2026 09:20:28 +0000 Received: from VI0P189MB3116.EURP189.PROD.OUTLOOK.COM ([fe80::2d33:bb97:b0f8:8167]) by VI0P189MB3116.EURP189.PROD.OUTLOOK.COM ([fe80::2d33:bb97:b0f8:8167%3]) with mapi id 15.21.0522.012; Fri, 16 Oct 2026 09:20:28 +0000 From: Jaipaul Cheernam To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/2] libarchive: upgrade 3.8.9 -> 3.8.10 Date: Fri, 16 Oct 2026 11:20:24 +0200 Message-ID: <20261016092025.19560-1-jaipaul.cheernam@est.tech> X-Mailer: git-send-email 2.39.5 (Apple Git-154) X-ClientProxiedBy: DUZPR01CA0298.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::15) To VI0P189MB3116.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:2cd::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI0P189MB3116:EE_|AS8P189MB2022:EE_ X-MS-Office365-Filtering-Correlation-Id: c68bdb4a-151a-43da-5d0c-08df2b66b7da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|1800799024|376014|366016|6133799003|29003799003|18002099003|10067099003|12006099003|25016099003|13003099007|261009221227099003|261009220027099003|261009223027099003|261009221727099003|261009223327099003|11063799006|56012099006; X-Microsoft-Antispam-Message-Info: xEX4aIrONkfpg+2KUs6RmpBbK+7VSYTC9IHRzFV5Njy3b6lbaAYsM7PLykU/ioQmrNqxMqm1ikrJICpg37+V9TvKwZREwQhVCcpmituN5g4FYOzeWWWuzUJAJPb7JB7aBTvX9jaou4jB0c2Qs5ZfED8deUTe0QIp8p6Xt7EcamqYyt+0Jiw8H833bo6aMf6nCJhedPCR9Y1dHgGoEcckP+TYJ3+MXRB82YNGG31/5wPiX5tELZWbDCRgSgyCrj33TL7Qil1+wOVXxQSlOZ3D9CFRgkaJocrt1trHSHJKCyfr4f2iL2kiX8SZZ8VYA/B68Yba9GGbf1myPSea8qAhGKzs9jvmocIM+QF2DVFFA7MWgEJzVXOeCuxPPVvy5QLsAJ5ySNSHUkIqAwpGg4VyvjLFU32McKQXDWsqgHjJPWFXgaTWgQTi9XXpXOQPZMc4bcMQELTKFdmApIX7vengoMdT81hmOqd7dr/mKGZyjckOAj3oYEKRh6fSMLdesn22ct2fjQ7sF6Ew+jM0P9ri1CIeXCEWsnl74wt6C//LcdFEeKlamsst8RSueZHD8Pm3R84IUNfzEt/S1UXSegPjM5KyaPI9ITtlxn4f7NsM7LY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI0P189MB3116.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(1800799024)(376014)(366016)(6133799003)(29003799003)(18002099003)(10067099003)(12006099003)(25016099003)(13003099007)(261009221227099003)(261009220027099003)(261009223027099003)(261009221727099003)(261009223327099003)(11063799006)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BqObpOhPOH7zasijcTkBmBqdHs9kS1rRVS+9hO57hobXYsjx/UdocU2gZnNq64j3bjlHfVIoRLMPfBcV0aCLGgmpp9/7WZnT92EX1ncoB0BU3AZzbEJibRQXqJ786vHZuXv2MBtCvSopsJ21iDQUUTeYs3qZeADUexM8CZfmV9z740WEl9BfQyMj+gQNVYmA7wo+5upODkZuh32cKSge5mM5lC6i2h/InSc3K31fCQz+OgbEY4pD06Su5d2asXz7tP3ZzGDX7oPVWehjUNSoiKkGBGWzgt1ErB7lTarwwdZLVGBVxH3PElZJACzUd1I7I/wk26Zpb35egjdE23FmpG0vK6VldCPGeg68kDBMxG+PM1vF/qk6D39qUc3bu7NXR41PfQWIXMtAmiw/kZBdSeQqS+lxCCm4jYEzJcdNeJ09f4FkcIOFw8aWodmAhu61iSZei6+Jf1U/uSYIlfOsqdMXDq4E23sCsSOk7XdWV/dCDx2sdFvd3NS1mK0wSq8toY/q9Guxw8Z8OoE/hjH/r2qm3wuMTcdkKCsaZqkbWlnUOQJU9AruXzZqJSwMbxgFMdL7wPMAhkIqWpLWUKU7IR1bDCp7vKz51avZYAFXum8/GjaY19g2MpvIk4IOlZVuZhB7V7i8oXmbZCXYfdRP3FWZnI1wTwQJaI36o0NLUzMYpaQS5MIjt/C75r1kZ7Hxlal9qXnBx19Gcsid25wt4rKGn9JTMrtAgZzCyN/NJ7gWBDJ498FI6SfVneXwqf5jKbDWQmmvXmg8mCwkVupZAQ4+vrFL7GcR/smg5je75GeuliwQFoTbw5h88R4uAx0zeho87LSaRvK0dHY7L1fPY2tAm2zJOCPeMFid2ZvKw/79dIDj/6I+p60GtW4XOdhWlEbi60yctk64TQdufElPi76LwyuVWFMFavfY7zYSX/ANkyaCKbM3lfRZYXdwQ5lkW6q1txfyWko9hVSEIriIHIkK9s03vloRGkax15X7cO82597SNUUkBqNL5KDr9WwbmUZejtHLaTJMM82j1AriQGWgLqZdN63yiAbqBXiLJyCURyrU5GCt7wWk3+xUlGdvsCjNTS5sts9+rxO+jPEqK2yHFlBLpVBV5iUb8jOyc9hrwRMumUSrLCgl2XI7CAHfkoAuFQTuDMxiAcy54/gVLK0meIRCBSbVRx9lxstQBrn4cCXf6scnwJTmTmaiRqC/bSoKNoQAOIB4NCByzBdo0CJN1deTxcgtBkOcfbFdCaMPT01WuJa/eYp8lpWTE6dAOcvfHwDfDPZL2EtbHZCeBAj4h3weP02jUdIoTzCLnpNrIKRj99IaB8wNac6mGWkHwnqSO0GmknxNVz2AR+capyHEySXb2nGmcTwdeAOrCuBk/CDV2OD6SOFvK7xoET5OSIihQWzx8V+lO8/tcAqnfDwXdMGT6m0TsENdhPZ2UctCoCjMB4jc4/JkOhGEzMuPINYiMMmIjIoa3ZNF8/gfgUctWiMa2bn5DEQDl0ibNo5BSbK9GG6YUMDVK1lmXaj17X15H4eyKlzraaZB2UX0RxBqWD2Fj2lQKQ1TQNHJR9bjCNwYWp8GO22PBohYbfeXcgjRnqt5O8gdzIHHCS/NehJnG1T/1qf9NloB1TVdlC7OeOaDRPC8auNijG+FYX25u5aRplr0ohH4Qxl62Icoqv1PRDgnmPYpD5Hi18Lk+f+W0qvs3VhWg79qrFn2xO1m8jgf0Z4KumEM9NfaRgkOYt0ETBbTpc+BNauaA3S9lB8= X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: c68bdb4a-151a-43da-5d0c-08df2b66b7da X-MS-Exchange-CrossTenant-AuthSource: VI0P189MB3116.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2026 09:20:28.3966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4OpGtp5E4+/iHacT+zIagsldAssN9tg+8ZjcTAAAZVrcEAq+8PFoWTNBpMYwf8N+kbbqKlpH420VV9pdwFMmEW9Yf9gLcNmy1r2iXr6bNjQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P189MB2022 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Oct 2026 09:20:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248006 Release: https://github.com/libarchive/libarchive/releases/tag/v3.8.10 ChangeLog: https://github.com/libarchive/libarchive/compare/v3.8.9...v3.8.10 - Drop patches which are part of release now - 0001-append_filter-Use-last-bidder-for-filter.patch - 0001-append_filter-Verify-that-bidder-and-filter-match.patch - 0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch - 0003-Remove-bidder-name.patch - Refresh existing patches Signed-off-by: Jaipaul Cheernam --- ...nd_filter-Use-last-bidder-for-filter.patch | 188 ------------- ...-Verify-that-bidder-and-filter-match.patch | 103 ------- ...aes256-streaming-test-when-no-crypto.patch | 46 ---- .../libarchive/0003-Remove-bidder-name.patch | 258 ------------------ ...vert-RPM-reader-into-a-proper-format.patch | 32 +-- ...0005-Disable-RPM-filter-auto-bidding.patch | 6 +- ...barchive_3.8.9.bb => libarchive_3.8.10.bb} | 8 +- 7 files changed, 20 insertions(+), 621 deletions(-) delete mode 100644 meta/recipes-extended/libarchive/libarchive/0001-append_filter-Use-last-bidder-for-filter.patch delete mode 100644 meta/recipes-extended/libarchive/libarchive/0001-append_filter-Verify-that-bidder-and-filter-match.patch delete mode 100644 meta/recipes-extended/libarchive/libarchive/0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch delete mode 100644 meta/recipes-extended/libarchive/libarchive/0003-Remove-bidder-name.patch rename meta/recipes-extended/libarchive/{libarchive_3.8.9.bb => libarchive_3.8.10.bb} (90%) diff --git a/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Use-last-bidder-for-filter.patch b/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Use-last-bidder-for-filter.patch deleted file mode 100644 index 8e1eb0e9388..00000000000 --- a/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Use-last-bidder-for-filter.patch +++ /dev/null @@ -1,188 +0,0 @@ -From 50b585bb55484cdc70bd92852a477178dc43485c Mon Sep 17 00:00:00 2001 -From: Tobias Stoeckmann -Date: Sun, 2 Aug 2026 14:27:17 +0200 -Subject: [PATCH] append_filter: Use last bidder for filter - -Appending a filter implies appending a bidder. Always use the last added -bidder, since it was just added. This avoids desync situations where -previously added bidders could erroneously match. - -Signed-off-by: Tobias Stoeckmann - -Upstream-Status: Backport [https://github.com/libarchive/libarchive/commit/50b585bb] ---- - libarchive/archive_read_append_filter.c | 72 ++++++++----------------- - 1 file changed, 22 insertions(+), 50 deletions(-) - -diff --git a/libarchive/archive_read_append_filter.c b/libarchive/archive_read_append_filter.c -index 8de1b2ea..9dd9f536 100644 ---- a/libarchive/archive_read_append_filter.c -+++ b/libarchive/archive_read_append_filter.c -@@ -33,14 +33,25 @@ - #include "archive_private.h" - #include "archive_read_private.h" - -+static struct archive_read_filter_bidder * -+get_last_bidder(struct archive_read *a) -+{ -+ size_t i; -+ -+ for (i = 0; i < sizeof(a->bidders) / sizeof(a->bidders[0]); i++) -+ { -+ if (a->bidders[i].vtable == NULL) -+ break; -+ } -+ -+ return a->bidders + (i - 1); -+} -+ - int - archive_read_append_filter(struct archive *_a, int code) - { -- int r1, r2, number_bidders, i; -- const char *str; -- struct archive_read_filter_bidder *b; -- struct archive_read_filter *f; - struct archive_read *a = (struct archive_read *)_a; -+ int r1, r2; - - r2 = (ARCHIVE_OK); - switch (code) -@@ -53,15 +64,12 @@ archive_read_append_filter(struct archive *_a, int code) - r1 = (ARCHIVE_OK); - break; - case ARCHIVE_FILTER_GZIP: -- str = "gzip"; - r1 = archive_read_support_filter_gzip(_a); - break; - case ARCHIVE_FILTER_BZIP2: -- str = "bzip2"; - r1 = archive_read_support_filter_bzip2(_a); - break; - case ARCHIVE_FILTER_COMPRESS: -- str = "compress (.Z)"; - r1 = archive_read_support_filter_compress(_a); - break; - case ARCHIVE_FILTER_PROGRAM: -@@ -69,43 +77,33 @@ archive_read_append_filter(struct archive *_a, int code) - "Cannot append program filter using archive_read_append_filter"); - return (ARCHIVE_FATAL); - case ARCHIVE_FILTER_LZMA: -- str = "lzma"; - r1 = archive_read_support_filter_lzma(_a); - break; - case ARCHIVE_FILTER_XZ: -- str = "xz"; - r1 = archive_read_support_filter_xz(_a); - break; - case ARCHIVE_FILTER_UU: -- str = "uu"; - r1 = archive_read_support_filter_uu(_a); - break; - case ARCHIVE_FILTER_RPM: -- str = "rpm"; - r1 = archive_read_support_filter_rpm(_a); - break; - case ARCHIVE_FILTER_LZ4: -- str = "lz4"; - r1 = archive_read_support_filter_lz4(_a); - break; - case ARCHIVE_FILTER_ZSTD: -- str = "zstd"; - r1 = archive_read_support_filter_zstd(_a); - break; - case ARCHIVE_FILTER_LZIP: -- str = "lzip"; - r1 = archive_read_support_filter_lzip(_a); - break; - case ARCHIVE_FILTER_LZOP: -- str = "lzop"; - r1 = archive_read_support_filter_lzop(_a); - break; - case ARCHIVE_FILTER_LRZIP: -- str = "lrzip"; - r1 = archive_read_support_filter_lrzip(_a); - break; - case ARCHIVE_FILTER_GRZIP: -- str = "grzip"; - r1 = archive_read_support_filter_grzip(_a); - break; - default: -@@ -114,22 +112,10 @@ archive_read_append_filter(struct archive *_a, int code) - return (ARCHIVE_FATAL); - } - -- if (code != ARCHIVE_FILTER_NONE) -+ if (r1 > ARCHIVE_FATAL && code != ARCHIVE_FILTER_NONE) - { -- number_bidders = sizeof(a->bidders) / sizeof(a->bidders[0]); -- -- b = a->bidders; -- for (i = 1; i < number_bidders; i++, b++) -- { -- if (!b->name || !strcmp(b->name, str)) -- break; -- } -- if (!b->name || strcmp(b->name, str)) -- { -- archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER, -- "Internal error: Unable to append filter"); -- return (ARCHIVE_FATAL); -- } -+ struct archive_read_filter_bidder *b; -+ struct archive_read_filter *f; - - f = calloc(1, sizeof(*f)); - if (f == NULL) -@@ -137,6 +123,7 @@ archive_read_append_filter(struct archive *_a, int code) - archive_set_error(&a->archive, ENOMEM, "Out of memory"); - return (ARCHIVE_FATAL); - } -+ b = get_last_bidder(a); - f->bidder = b; - f->archive = a; - f->upstream = a->filter; -@@ -162,37 +149,22 @@ int - archive_read_append_filter_program_signature(struct archive *_a, - const char *cmd, const void *signature, size_t signature_len) - { -- int r, number_bidders, i; -+ struct archive_read *a = (struct archive_read *)_a; - struct archive_read_filter_bidder *b; - struct archive_read_filter *f; -- struct archive_read *a = (struct archive_read *)_a; -+ int r; - - if (archive_read_support_filter_program_signature(_a, cmd, signature, - signature_len) != (ARCHIVE_OK)) - return (ARCHIVE_FATAL); - -- number_bidders = sizeof(a->bidders) / sizeof(a->bidders[0]); -- -- b = a->bidders; -- for (i = 0; i < number_bidders; i++, b++) -- { -- /* Program bidder name set to filter name after initialization */ -- if (b->data && !b->name) -- break; -- } -- if (!b->data) -- { -- archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER, -- "Internal error: Unable to append program filter"); -- return (ARCHIVE_FATAL); -- } -- - f = calloc(1, sizeof(*f)); - if (f == NULL) - { - archive_set_error(&a->archive, ENOMEM, "Out of memory"); - return (ARCHIVE_FATAL); - } -+ b = get_last_bidder(a); - f->bidder = b; - f->archive = a; - f->upstream = a->filter; --- -2.54.0 - diff --git a/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Verify-that-bidder-and-filter-match.patch b/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Verify-that-bidder-and-filter-match.patch deleted file mode 100644 index a91f5182071..00000000000 --- a/meta/recipes-extended/libarchive/libarchive/0001-append_filter-Verify-that-bidder-and-filter-match.patch +++ /dev/null @@ -1,103 +0,0 @@ -From db4fb440792278cd01e0829c93f6b62f567b704b Mon Sep 17 00:00:00 2001 -From: Tobias Stoeckmann -Date: Sun, 2 Aug 2026 14:26:22 +0200 -Subject: [PATCH 1/3] append_filter: Verify that bidder and filter match - -Make sure that appending a filter always matches its supposed bidder. - -Upstream-Status: Submitted [https://github.com/libarchive/libarchive/pull/3346] -Signed-off-by: Tobias Stoeckmann -Signed-off-by: Sumanth Gavini ---- - Makefile.am | 1 + - libarchive/test/CMakeLists.txt | 1 + - .../test/test_archive_read_append_filter.c | 54 +++++++++++++++++++ - 3 files changed, 56 insertions(+) - create mode 100644 libarchive/test/test_archive_read_append_filter.c - -diff --git a/Makefile.am b/Makefile.am -index 2fb4fdf4..c96b3bc6 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -404,6 +404,7 @@ libarchive_test_SOURCES= \ - libarchive/test/test_archive_pathmatch_oob.c \ - libarchive/test/test_archive_read.c \ - libarchive/test/test_archive_read_add_passphrase.c \ -+ libarchive/test/test_archive_read_append_filter.c \ - libarchive/test/test_archive_read_close_twice.c \ - libarchive/test/test_archive_read_multiple_data_objects.c \ - libarchive/test/test_archive_read_next_header_empty.c \ -diff --git a/libarchive/test/CMakeLists.txt b/libarchive/test/CMakeLists.txt -index 44f839f8..c4102c3d 100644 ---- a/libarchive/test/CMakeLists.txt -+++ b/libarchive/test/CMakeLists.txt -@@ -33,6 +33,7 @@ IF(ENABLE_TEST) - test_archive_pathmatch_oob.c - test_archive_read.c - test_archive_read_add_passphrase.c -+ test_archive_read_append_filter.c - test_archive_read_close_twice.c - test_archive_read_multiple_data_objects.c - test_archive_read_next_header_empty.c -diff --git a/libarchive/test/test_archive_read_append_filter.c b/libarchive/test/test_archive_read_append_filter.c -new file mode 100644 -index 00000000..5c301d52 ---- /dev/null -+++ b/libarchive/test/test_archive_read_append_filter.c -@@ -0,0 +1,54 @@ -+/*- -+ * Copyright (c) 2026 Tobias Stoeckmann -+ * All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR -+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -+ * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, -+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ */ -+ -+#include "archive.h" -+#include "test.h" -+ -+DEFINE_TEST(test_archive_read_append_filter) -+{ -+ struct archive *a; -+ int r; -+ -+ a = archive_read_new(); -+ assert(a != NULL); -+ -+ /* Append a program bidder (without filter). */ -+ assertEqualIntA(a, ARCHIVE_OK, -+ archive_read_support_filter_program(a, "prog1")); -+ -+ /* Append a filter program which comes with its own bidder. */ -+ r = archive_read_append_filter_program(a, "prog2"); -+ -+ /* Verify that filter uses its own bidder. */ -+ if (r == ARCHIVE_FATAL) { -+ assertEqualStringA(a, "Can't initialize filter; unable to run program \"prog2\"", -+ archive_error_string(a)); -+ } else { -+ assertEqualIntA(a, ARCHIVE_OK, r); -+ assertEqualStringA(a, "Program: prog2", archive_filter_name(a, 0)); -+ } -+ -+ archive_read_free(a); -+} --- -2.49.0 diff --git a/meta/recipes-extended/libarchive/libarchive/0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch b/meta/recipes-extended/libarchive/libarchive/0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch deleted file mode 100644 index fc962251415..00000000000 --- a/meta/recipes-extended/libarchive/libarchive/0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch +++ /dev/null @@ -1,46 +0,0 @@ -From c2b00a5fff659bbe8d70b5e00cb6abb831170aeb Mon Sep 17 00:00:00 2001 -From: Jaipaul Cheernam -Date: Wed, 29 Jul 2026 13:33:10 +0000 -Subject: [PATCH] test: skip ppmd8 aes256 streaming test when no crypto library - is present - -test_read_format_zip_ppmd8_aes256_streaming fails with 6 assertion -failures on systems without a crypto library (openssl/nettle/mbedtls) -because it tries to decrypt a pre-built encrypted zipx file without -checking crypto availability first. - -Add the same guard used by the other encrypted zip tests in this file. - -Upstream-Status: Submitted [https://github.com/libarchive/libarchive/pull/3335] -Signed-off-by: Jaipaul Cheernam ---- - .../test/test_read_format_zip_zipx_encrypted.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/libarchive/test/test_read_format_zip_zipx_encrypted.c b/libarchive/test/test_read_format_zip_zipx_encrypted.c -index f07e1e5c..a0a431fb 100644 ---- a/libarchive/test/test_read_format_zip_zipx_encrypted.c -+++ b/libarchive/test/test_read_format_zip_zipx_encrypted.c -@@ -257,8 +257,22 @@ DEFINE_TEST(test_read_format_zip_zipx_zstd_encrypted_streaming) - DEFINE_TEST(test_read_format_zip_ppmd8_aes256_streaming) - { - const char *refname = "test_read_format_zip_ppmd8_aes256_streaming.zipx"; -+ struct archive *a; - size_t used; - char buff[600]; -+ -+ /* Check if running system has cryptographic functionality. */ -+ assert((a = archive_write_new()) != NULL); -+ assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_zip(a)); -+ assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); -+ if (ARCHIVE_OK != archive_write_set_options(a, -+ "zip:encryption=aes256")) { -+ skipping("This system does not have cryptographic library"); -+ archive_write_free(a); -+ return; -+ } -+ archive_write_free(a); -+ - extract_reference_file(refname); - FILE *f = fopen(refname, "rb"); - used = fread(buff, 1, sizeof(buff), f); diff --git a/meta/recipes-extended/libarchive/libarchive/0003-Remove-bidder-name.patch b/meta/recipes-extended/libarchive/libarchive/0003-Remove-bidder-name.patch deleted file mode 100644 index bbd24785775..00000000000 --- a/meta/recipes-extended/libarchive/libarchive/0003-Remove-bidder-name.patch +++ /dev/null @@ -1,258 +0,0 @@ -From 76c7142bd2595184826722063598fddf62031cca Mon Sep 17 00:00:00 2001 -From: Tobias Stoeckmann -Date: Sun, 2 Aug 2026 14:31:33 +0200 -Subject: [PATCH 3/3] Remove bidder name - -The name was only needed to find the appropriate bidder for a filter. -Since this has been resolved by accessing the last bidder, since in these -situations the bidder is added first, then the filter, the name is not -needed anymore. - -Upstream-Status: Submitted [https://github.com/libarchive/libarchive/pull/3346] -Signed-off-by: Tobias Stoeckmann -Signed-off-by: Sumanth Gavini ---- - libarchive/archive_read.c | 2 -- - libarchive/archive_read_append_filter.c | 1 - - libarchive/archive_read_private.h | 3 --- - libarchive/archive_read_support_filter_bzip2.c | 2 +- - libarchive/archive_read_support_filter_compress.c | 2 +- - libarchive/archive_read_support_filter_grzip.c | 2 +- - libarchive/archive_read_support_filter_gzip.c | 2 +- - libarchive/archive_read_support_filter_lrzip.c | 2 +- - libarchive/archive_read_support_filter_lz4.c | 2 +- - libarchive/archive_read_support_filter_lzop.c | 2 +- - libarchive/archive_read_support_filter_program.c | 2 +- - libarchive/archive_read_support_filter_rpm.c | 2 +- - libarchive/archive_read_support_filter_uu.c | 2 +- - libarchive/archive_read_support_filter_xz.c | 6 +++--- - libarchive/archive_read_support_filter_zstd.c | 2 +- - 15 files changed, 14 insertions(+), 20 deletions(-) - -diff --git a/libarchive/archive_read.c b/libarchive/archive_read.c -index e844e42d..406d84de 100644 ---- a/libarchive/archive_read.c -+++ b/libarchive/archive_read.c -@@ -1290,7 +1290,6 @@ __archive_read_register_format(struct archive_read *a, - int - __archive_read_register_bidder(struct archive_read *a, - void *bidder_data, -- const char *name, - const struct archive_read_filter_bidder_vtable *vtable) - { - struct archive_read_filter_bidder *bidder; -@@ -1307,7 +1306,6 @@ __archive_read_register_bidder(struct archive_read *a, - memset(a->bidders + i, 0, sizeof(a->bidders[0])); - bidder = (a->bidders + i); - bidder->data = bidder_data; -- bidder->name = name; - bidder->vtable = vtable; - if (bidder->vtable->bid == NULL || bidder->vtable->init == NULL) { - archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER, -diff --git a/libarchive/archive_read_append_filter.c b/libarchive/archive_read_append_filter.c -index 9dd9f536..5cc8ff55 100644 ---- a/libarchive/archive_read_append_filter.c -+++ b/libarchive/archive_read_append_filter.c -@@ -174,7 +174,6 @@ archive_read_append_filter_program_signature(struct archive *_a, - __archive_read_free_filters(a); - return (ARCHIVE_FATAL); - } -- b->name = a->filter->name; - - a->bypass_filter_bidding = 1; - return r; -diff --git a/libarchive/archive_read_private.h b/libarchive/archive_read_private.h -index 3bd8de2d..e30b6c2b 100644 ---- a/libarchive/archive_read_private.h -+++ b/libarchive/archive_read_private.h -@@ -68,8 +68,6 @@ struct archive_read_filter_bidder_vtable { - struct archive_read_filter_bidder { - /* Configuration data for the bidder. */ - void *data; -- /* Name of the filter */ -- const char *name; - const struct archive_read_filter_bidder_vtable *vtable; - }; - -@@ -250,7 +248,6 @@ int __archive_read_register_format(struct archive_read *a, - - int __archive_read_register_bidder(struct archive_read *a, - void *bidder_data, -- const char *name, - const struct archive_read_filter_bidder_vtable *vtable); - - const void *__archive_read_ahead(struct archive_read *, size_t, ssize_t *); -diff --git a/libarchive/archive_read_support_filter_bzip2.c b/libarchive/archive_read_support_filter_bzip2.c -index 588953f2..1cfc55dc 100644 ---- a/libarchive/archive_read_support_filter_bzip2.c -+++ b/libarchive/archive_read_support_filter_bzip2.c -@@ -91,7 +91,7 @@ archive_read_support_filter_bzip2(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "bzip2", -+ if (__archive_read_register_bidder(a, NULL, - &bzip2_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_compress.c b/libarchive/archive_read_support_filter_compress.c -index 4e1f1dc5..4763995e 100644 ---- a/libarchive/archive_read_support_filter_compress.c -+++ b/libarchive/archive_read_support_filter_compress.c -@@ -160,7 +160,7 @@ archive_read_support_filter_compress(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- return __archive_read_register_bidder(a, NULL, "compress (.Z)", -+ return __archive_read_register_bidder(a, NULL, - &compress_bidder_vtable); - } - -diff --git a/libarchive/archive_read_support_filter_grzip.c b/libarchive/archive_read_support_filter_grzip.c -index 9d9ad46e..8457ec7c 100644 ---- a/libarchive/archive_read_support_filter_grzip.c -+++ b/libarchive/archive_read_support_filter_grzip.c -@@ -62,7 +62,7 @@ archive_read_support_filter_grzip(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "grzip", -+ if (__archive_read_register_bidder(a, NULL, - &grzip_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_gzip.c b/libarchive/archive_read_support_filter_gzip.c -index 89ae0f37..34b174b7 100644 ---- a/libarchive/archive_read_support_filter_gzip.c -+++ b/libarchive/archive_read_support_filter_gzip.c -@@ -96,7 +96,7 @@ archive_read_support_filter_gzip(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "gzip", -+ if (__archive_read_register_bidder(a, NULL, - &gzip_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_lrzip.c b/libarchive/archive_read_support_filter_lrzip.c -index 33910fe1..a1d45d77 100644 ---- a/libarchive/archive_read_support_filter_lrzip.c -+++ b/libarchive/archive_read_support_filter_lrzip.c -@@ -61,7 +61,7 @@ archive_read_support_filter_lrzip(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "lrzip", -+ if (__archive_read_register_bidder(a, NULL, - &lrzip_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_lz4.c b/libarchive/archive_read_support_filter_lz4.c -index 19086a1f..28189a07 100644 ---- a/libarchive/archive_read_support_filter_lz4.c -+++ b/libarchive/archive_read_support_filter_lz4.c -@@ -118,7 +118,7 @@ archive_read_support_filter_lz4(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "lz4", -+ if (__archive_read_register_bidder(a, NULL, - &lz4_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_lzop.c b/libarchive/archive_read_support_filter_lzop.c -index ebfaf01e..5a552fce 100644 ---- a/libarchive/archive_read_support_filter_lzop.c -+++ b/libarchive/archive_read_support_filter_lzop.c -@@ -109,7 +109,7 @@ archive_read_support_filter_lzop(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "lzop", -+ if (__archive_read_register_bidder(a, NULL, - &lzop_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_program.c b/libarchive/archive_read_support_filter_program.c -index cf7c3613..a9e02a32 100644 ---- a/libarchive/archive_read_support_filter_program.c -+++ b/libarchive/archive_read_support_filter_program.c -@@ -156,7 +156,7 @@ archive_read_support_filter_program_signature(struct archive *_a, - memcpy(state->signature, signature, signature_len); - } - -- if (__archive_read_register_bidder(a, state, NULL, -+ if (__archive_read_register_bidder(a, state, - &program_bidder_vtable) != ARCHIVE_OK) { - free_state(state); - return (ARCHIVE_FATAL); -diff --git a/libarchive/archive_read_support_filter_rpm.c b/libarchive/archive_read_support_filter_rpm.c -index 01bd1bf7..1cfddf75 100644 ---- a/libarchive/archive_read_support_filter_rpm.c -+++ b/libarchive/archive_read_support_filter_rpm.c -@@ -71,7 +71,7 @@ archive_read_support_filter_rpm(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- return __archive_read_register_bidder(a, NULL, "rpm", -+ return __archive_read_register_bidder(a, NULL, - &rpm_bidder_vtable); - } - -diff --git a/libarchive/archive_read_support_filter_uu.c b/libarchive/archive_read_support_filter_uu.c -index c0f6f48e..10d49648 100644 ---- a/libarchive/archive_read_support_filter_uu.c -+++ b/libarchive/archive_read_support_filter_uu.c -@@ -92,7 +92,7 @@ archive_read_support_filter_uu(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- return __archive_read_register_bidder(a, NULL, "uu", -+ return __archive_read_register_bidder(a, NULL, - &uudecode_bidder_vtable); - } - -diff --git a/libarchive/archive_read_support_filter_xz.c b/libarchive/archive_read_support_filter_xz.c -index 7c8e0cb5..b00ba543 100644 ---- a/libarchive/archive_read_support_filter_xz.c -+++ b/libarchive/archive_read_support_filter_xz.c -@@ -115,7 +115,7 @@ archive_read_support_filter_xz(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "xz", -+ if (__archive_read_register_bidder(a, NULL, - &xz_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -@@ -147,7 +147,7 @@ archive_read_support_filter_lzma(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "lzma", -+ if (__archive_read_register_bidder(a, NULL, - &lzma_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -@@ -180,7 +180,7 @@ archive_read_support_filter_lzip(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "lzip", -+ if (__archive_read_register_bidder(a, NULL, - &lzip_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - -diff --git a/libarchive/archive_read_support_filter_zstd.c b/libarchive/archive_read_support_filter_zstd.c -index 12eac04c..163f54b5 100644 ---- a/libarchive/archive_read_support_filter_zstd.c -+++ b/libarchive/archive_read_support_filter_zstd.c -@@ -87,7 +87,7 @@ archive_read_support_filter_zstd(struct archive *_a) - { - struct archive_read *a = (struct archive_read *)_a; - -- if (__archive_read_register_bidder(a, NULL, "zstd", -+ if (__archive_read_register_bidder(a, NULL, - &zstd_bidder_vtable) != ARCHIVE_OK) - return (ARCHIVE_FATAL); - diff --git a/meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch b/meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch index 03a207f33f1..e309b3a8395 100644 --- a/meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch +++ b/meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch @@ -1,4 +1,4 @@ -From 2606336bce3a7f66cc6c8af28687a82536c9086c Mon Sep 17 00:00:00 2001 +From a20f942aa883a48021b66dc6a00cbae342ee67b9 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Sun, 9 Aug 2026 14:14:59 -0700 Subject: [PATCH] libarchive: Convert RPM reader into a proper format @@ -38,14 +38,14 @@ Signed-off-by: Sumanth Gavini .../test_read_format_cpio_svr4_bzip2_rpm.c | 4 +- .../test_read_format_cpio_svr4_gzip_rpm.c | 4 +- libarchive/test/test_read_format_huge_rpm.c | 13 +- - 15 files changed, 1169 insertions(+), 20 deletions(-) + 15 files changed, 1162 insertions(+), 15 deletions(-) create mode 100644 libarchive/archive_read_support_format_rpm.c diff --git a/Makefile.am b/Makefile.am -index c96b3bc..725e20c 100644 +index 8bc70c5..487bef3 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -210,6 +210,7 @@ libarchive_la_SOURCES= \ +@@ -212,6 +212,7 @@ libarchive_la_SOURCES= \ libarchive/archive_read_support_format_rar.c \ libarchive/archive_read_support_format_rar5.c \ libarchive/archive_read_support_format_raw.c \ @@ -54,7 +54,7 @@ index c96b3bc..725e20c 100644 libarchive/archive_read_support_format_warc.c \ libarchive/archive_read_support_format_xar.c \ diff --git a/contrib/android/Android.mk b/contrib/android/Android.mk -index 9e1c72f..3d1f087 100644 +index f81dcb0..24af25e 100644 --- a/contrib/android/Android.mk +++ b/contrib/android/Android.mk @@ -91,6 +91,7 @@ libarchive_src_files := libarchive/archive_acl.c \ @@ -66,7 +66,7 @@ index 9e1c72f..3d1f087 100644 libarchive/archive_read_support_format_warc.c \ libarchive/archive_read_support_format_xar.c \ diff --git a/libarchive/CMakeLists.txt b/libarchive/CMakeLists.txt -index b296637..d132123 100644 +index ac039c1..34ba173 100644 --- a/libarchive/CMakeLists.txt +++ b/libarchive/CMakeLists.txt @@ -110,6 +110,7 @@ SET(libarchive_SOURCES @@ -78,10 +78,10 @@ index b296637..d132123 100644 archive_read_support_format_warc.c archive_read_support_format_xar.c diff --git a/libarchive/archive.h b/libarchive/archive.h -index a7de6f6..89c60b3 100644 +index 19b316a..f04a747 100644 --- a/libarchive/archive.h +++ b/libarchive/archive.h -@@ -314,7 +314,9 @@ typedef const char *archive_passphrase_callback(struct archive *, +@@ -316,7 +316,9 @@ typedef const char *archive_passphrase_callback(struct archive *, #define ARCHIVE_FILTER_LZMA 5 #define ARCHIVE_FILTER_XZ 6 #define ARCHIVE_FILTER_UU 7 @@ -91,7 +91,7 @@ index a7de6f6..89c60b3 100644 #define ARCHIVE_FILTER_LZIP 9 #define ARCHIVE_FILTER_LRZIP 10 #define ARCHIVE_FILTER_LZOP 11 -@@ -385,6 +387,7 @@ typedef const char *archive_passphrase_callback(struct archive *, +@@ -387,6 +389,7 @@ typedef const char *archive_passphrase_callback(struct archive *, #define ARCHIVE_FORMAT_7ZIP 0xE0000 #define ARCHIVE_FORMAT_WARC 0xF0000 #define ARCHIVE_FORMAT_RAR_V5 0x100000 @@ -99,7 +99,7 @@ index a7de6f6..89c60b3 100644 /* * Codes returned by archive_read_format_capabilities(). -@@ -478,7 +481,9 @@ __LA_DECL int archive_read_support_filter_program(struct archive *, +@@ -480,7 +483,9 @@ __LA_DECL int archive_read_support_filter_program(struct archive *, __LA_DECL int archive_read_support_filter_program_signature (struct archive *, const char * /* cmd */, const void * /* match */, size_t); @@ -109,7 +109,7 @@ index a7de6f6..89c60b3 100644 __LA_DECL int archive_read_support_filter_uu(struct archive *); __LA_DECL int archive_read_support_filter_xz(struct archive *); __LA_DECL int archive_read_support_filter_zstd(struct archive *); -@@ -499,6 +504,7 @@ __LA_DECL int archive_read_support_format_mtree(struct archive *); +@@ -501,6 +506,7 @@ __LA_DECL int archive_read_support_format_mtree(struct archive *); __LA_DECL int archive_read_support_format_rar(struct archive *); __LA_DECL int archive_read_support_format_rar5(struct archive *); __LA_DECL int archive_read_support_format_raw(struct archive *); @@ -118,10 +118,10 @@ index a7de6f6..89c60b3 100644 __LA_DECL int archive_read_support_format_warc(struct archive *); __LA_DECL int archive_read_support_format_xar(struct archive *); diff --git a/libarchive/archive_read.c b/libarchive/archive_read.c -index 406d84d..150bd31 100644 +index 2f006fb..5c51df5 100644 --- a/libarchive/archive_read.c +++ b/libarchive/archive_read.c -@@ -1296,13 +1296,18 @@ __archive_read_register_bidder(struct archive_read *a, +@@ -1297,13 +1297,18 @@ __archive_read_register_bidder(struct archive_read *a, int i, number_slots; archive_check_magic(&a->archive, ARCHIVE_READ_MAGIC, @@ -143,10 +143,10 @@ index 406d84d..150bd31 100644 bidder = (a->bidders + i); bidder->data = bidder_data; diff --git a/libarchive/archive_read_private.h b/libarchive/archive_read_private.h -index e30b6c2..9ff3602 100644 +index 43b7f85..9b27655 100644 --- a/libarchive/archive_read_private.h +++ b/libarchive/archive_read_private.h -@@ -212,7 +212,7 @@ struct archive_read { +@@ -208,7 +208,7 @@ struct archive_read { int (*cleanup)(struct archive_read *); int (*format_capabilties)(struct archive_read *); int (*has_encrypted_entries)(struct archive_read *); @@ -1344,7 +1344,7 @@ index 0000000..fe0e500 + free(hash); +} diff --git a/libarchive/test/test_archive_read_support.c b/libarchive/test/test_archive_read_support.c -index b0c9280..bc256a1 100644 +index ff03c0f..1bef2f7 100644 --- a/libarchive/test/test_archive_read_support.c +++ b/libarchive/test/test_archive_read_support.c @@ -91,6 +91,7 @@ DEFINE_TEST(test_archive_read_support) diff --git a/meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch b/meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch index 26a01599083..86eb48a8045 100644 --- a/meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch +++ b/meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch @@ -1,4 +1,4 @@ -From 882166d7fa113f0c2108864b8a579d01816e1fce Mon Sep 17 00:00:00 2001 +From b367b31b5b764e15c8d484a75c790b6ffa1e20d8 Mon Sep 17 00:00:00 2001 From: Sumanth Gavini Date: Tue, 11 Aug 2026 12:02:31 -0700 Subject: [PATCH] libarchive: Disable RPM filter auto-bidding @@ -20,7 +20,7 @@ Signed-off-by: Sumanth Gavini 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/libarchive/archive_read_support_filter_rpm.c b/libarchive/archive_read_support_filter_rpm.c -index 01bd1bf..8e90da3 100644 +index 1cfddf7..a9b6ef8 100644 --- a/libarchive/archive_read_support_filter_rpm.c +++ b/libarchive/archive_read_support_filter_rpm.c @@ -79,39 +79,14 @@ static int @@ -69,5 +69,3 @@ index 01bd1bf..8e90da3 100644 } static const struct archive_read_filter_vtable --- -2.49.0 diff --git a/meta/recipes-extended/libarchive/libarchive_3.8.9.bb b/meta/recipes-extended/libarchive/libarchive_3.8.10.bb similarity index 90% rename from meta/recipes-extended/libarchive/libarchive_3.8.9.bb rename to meta/recipes-extended/libarchive/libarchive_3.8.10.bb index 2eefa285326..804dcd74516 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.8.9.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.8.10.bb @@ -31,16 +31,12 @@ EXTRA_OECONF += "--enable-largefile --without-iconv" SRC_URI = "https://libarchive.org/downloads/libarchive-${PV}.tar.gz \ file://run-ptest \ - file://0001-append_filter-Use-last-bidder-for-filter.patch \ - file://0001-test-skip-ppmd8-aes256-streaming-test-when-no-crypto.patch \ - file://0001-append_filter-Verify-that-bidder-and-filter-match.patch \ - file://0003-Remove-bidder-name.patch \ file://0004-Convert-RPM-reader-into-a-proper-format.patch \ file://0005-Disable-RPM-filter-auto-bidding.patch \ - " + " UPSTREAM_CHECK_URI = "https://www.libarchive.org/" -SRC_URI[sha256sum] = "f5a6539059cf5e597dbeda37bfa4874b1e8dea063c8d93bf85a2b44af90a5bd4" +SRC_URI[sha256sum] = "a1bffbe5152cfe869751179e7b16648c87c461cb8c46eee75062efbe164cc57c" inherit autotools update-alternatives pkgconfig ptest From patchwork Fri Oct 16 09:20:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaipaul Cheernam X-Patchwork-Id: 101068 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 4ED0ACCA48B for ; Fri, 16 Oct 2026 09:20:45 +0000 (UTC) Received: from MRWPR03CU001.outbound.protection.outlook.com (MRWPR03CU001.outbound.protection.outlook.com [40.107.130.57]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17764.1792142435365498198 for ; Fri, 16 Oct 2026 02:20:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=LCqDfSrz; spf=pass (domain: est.tech, ip: 40.107.130.57, mailfrom: jaipaul.cheernam@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nEEJEU+KJ1a14Mt75yQUb4OOwL5ZKqiXCbJ9rbWS49ob33PpMmtjL6UeEXcvROHhvBUNhIHzgDB30ZvTQ4go2Um/YxYXtdVxjuHGgx+wEJx/54R7kOBCUL1b2YeWaL6Z1fYwrRSNRIgvAoS+bIP8pS5vrPrgezVJXbpnBXnFtVwxZeMOCZ3dXzkZLKf47pQViW4SV9Jkpg65TahJ/8NroHQjwL8mUaAs4AgUZSSsJAsnDT1jslhlaXxC+Pv0Yob+AmRfhAvzNf23MM2A9uw5pCysDitXEB62knpgosbI9NxNvRnumo+GwACbY3OTDk3dhB9cxbvRPQrzvpw0HAxk/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iymbEqnyqOOY7vsvrBP6tIP0Zbx0QIHO+kiDQdpOZAw=; b=ln7iLBvTrtCBTmRSBbIs1UgFGJOzMMXFSJZbEShMyqYGwLvi419a7bPrwgkrFVlLTENjSBcLpapc1+Ku63st3yx09iPW302KHXJFiNaMdlu3XDWnixotTvwxJ0ntS79NtIAa72Rr3E+hyj+n33cWYULis3MZH6Bf+qRA32LESsRscOJhHQ+YeR2cW9isxBoP0SNeb2yJdgV+m0L4bhojue+a0dQr6+dxG5VTtQHL5OdDxlv2RA/HGXGsUhZR+gNKuRMGkdcUHAM8Z9HpLz0LLbdbV6a+yJOVp2H3z7M17E3j84VSDbSZ/2UhGM6Nz3nDWizlanxifR2/WTZGW6eMnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iymbEqnyqOOY7vsvrBP6tIP0Zbx0QIHO+kiDQdpOZAw=; b=LCqDfSrz36OPwattKzHFoUBM356k++kbvgig7qu3BKKl9HhKUTwwl/wCFQs3IWHvGQ7W7SaF4F7fHX8G27yqTbpg75UTythemDsT/1I2nyd+QKRbA3IVe0R/fGbemcgEwlH+X7BhCaJ/we12VlPVXFTIpUam0ZoIZJIyrdyhrdVoZXIBS6TFo8nd/Cu7NhvXeTjuLGVH8frMUwj62i0qnWaOZmuzAn9UKWEQagRTt9zzas1gorxJol8mybB7Qzl/F3nk5sri6ppmjZHcPZyzeCQCjQWZLOoHkfZieV6ajP7+G3fDHtk/P8lgo46xip6fJBuO1wuturjiGY7XkAlYdA== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from VI0P189MB3116.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:2cd::21) by AS8P189MB2022.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:509::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.14; Fri, 16 Oct 2026 09:20:30 +0000 Received: from VI0P189MB3116.EURP189.PROD.OUTLOOK.COM ([fe80::2d33:bb97:b0f8:8167]) by VI0P189MB3116.EURP189.PROD.OUTLOOK.COM ([fe80::2d33:bb97:b0f8:8167%3]) with mapi id 15.21.0522.012; Fri, 16 Oct 2026 09:20:30 +0000 From: Jaipaul Cheernam To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/2] sysklogd: upgrade 2.7.2 -> 2.8.0 Date: Fri, 16 Oct 2026 11:20:25 +0200 Message-ID: <20261016092025.19560-2-jaipaul.cheernam@est.tech> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20261016092025.19560-1-jaipaul.cheernam@est.tech> References: <20261016092025.19560-1-jaipaul.cheernam@est.tech> X-ClientProxiedBy: DU2PR04CA0155.eurprd04.prod.outlook.com (2603:10a6:10:2b0::10) To VI0P189MB3116.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:2cd::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI0P189MB3116:EE_|AS8P189MB2022:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e8d0714-dc4f-4d24-b2fb-08df2b66b92d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|1800799024|376014|366016|6133799003|18002099003|22082099003|10067099003|3023799007|261009223027099003|11063799006|56012099006; X-Microsoft-Antispam-Message-Info: +TFe4qFLIXchmxPlvQbLPUj3I5Vp5qVrvI6hSXLnhNDO4nKUZIVOFhtrYncmXuNEPf+9qZ08c1b/8yjXQuFk60ufm8Z2hWp64tOZuAYmnZiJ7H8sDcr/936tMnde8uPiCm80OfEhfvoliIMl+1WcWEah/lX6Keuv7uk7COVTt0RMB9IQBZs41WjOWTFNJml8YoaDdFM3JFRLayBoNw0FeBVhvF4nx1MH8gpxNCK2hRdLQWfr3TLWH8bykcXP8r0dyYumue+riNTvhSz3+GLVYNSU2bjiC2MRzK+ssW1kgPCrzWioE24JjoBXo4jZTHb6EfP/2MFYHUY9dFIABU5dOVcKSxkK45QH34f37oonq0nx1lLIZ3jcMvHwmKHU8SEXYYjyA5yi7fCFqizD9egYJqlbfRnk64AnxZWF7fmmvfH6pSecESK95bZHTDYb8kmYyQLet1vo7lb/mAntBMcTUYklB0FwBGqDIpLZJG/RzotZ+5lEqZTkJ/N9uQeJ0LxfOdo5SgGmoK8x8zPnoquafFRve76d8MvQJRSpROeFib63uJY8ilYXRwxfLFGoqwPWBNomp/0nCkanhJWZ4TL6KhK4lHEtGY3Jw7aHGZUQA1Xc+ToeP4Ut/jGloBzy3mObmhiSQtF9LURnbHw78eOksX2dehNf9LPL8ZZClckj3dg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI0P189MB3116.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(1800799024)(376014)(366016)(6133799003)(18002099003)(22082099003)(10067099003)(3023799007)(261009223027099003)(11063799006)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rvOiwGCsIUit59HI0Qz/JVvX5KeOdh1qDZ516hZjyAMBWe8zS+thxOUJevy25lmdDSdcmbwmPQj0HCxlsak4CV57siGATFiE60RFSOIoEaaCqgQFzqUd7Qave5Ixjc47GcDo81o4PDNg07yfhIcFjYqzxZHDdfL2gOrxrOhHNGG1mZDGyu2KePrV0b+KZyAsGroH/ZMhePTpXzoHye+xl5wV8oywQJZwDx7G+OXmHjRyUsd+rLQHgOdcWwbJM/x5FJrG0CHMG+iXsiGzmNyPorl3wos2/ntOxU9uXuWBDr7P2y/PBKm57KQj76sUjQZFd8Dndv3Hbkh7DrMT26KxAkxk6tHtD693ik05ufC9IwDsOgl1qVooXBLaDy9TONTaH3VD3/f3jdVBInV9DCoNNQU/GiBQ33AtE4EoxK8cYX/J/YGniXNkW00epm1KZB8AjKLK4yuLz/QjJD3kl3NPJpxstWD4K5+Z3ynuQb/TQshFctDIltm9CddZKD6Yic0DEiQtBbO2yMUdLKwmr/1zdHAvF7bd219P0q+xpyyTWmZaH3dP3MlK6fvI/1NVGV483uE16VV8KR+X7IuehZARvpyKXLzCoQjD1AN8i+RDWMLALbQY23+Zu2jgID/OpL8QYtVr79Dr73l/orPA29yFgryyknoCF+pZuRDM4E7qEFT2PWVdu2LOwQIYWFI7hJgHoFAgRaAg3ElNAKrdV+odV42ymOMKYQZdmbC7oXrm56FQlhdte5kUmGaE0mrO+x2xSYFUJQV/1qGJh4nzhznh/4osXN3cGg/4EtyCpEipICw8QeNJ8kPmzdHnugWskMZhlDPPagUaMp2cZznn8UhqXSgev6L1PDp2/7BSwwMU+zng2KQVs49raWlq4nIj9/GC/zhcfAycI1E9+Eqa18XJSumERtX0MmBwtgVgvOGJvpG5aSiv0v861qTaYVkiqkBuQ/UyoC2VvmPHFi4SSMr4eE3Y05CDGOJOUkCq3d6N3x+7+PMw2RhUyrzAxASjuExyL6BxX46EGCe8R9TjWxHLtXjM6KIm3qiaxYBknMIGfY6rTVco5LiOivZ35H8WWabzN3wBY5u+MfvpOIACCjhGYWX/jHlBSeQipPpsrBm2DU/mzTk098Q2Btp9D9PG5xtcvqPWVcKOa5zBkhUEzbWwvemNF9h1V+IjCxqeOGDEuEnZ4pup3PLv91GJUzevUx4iZQf+UGlGV47D5Z2NLYXXqfBczbHU1O3MHOJtxIpQEBpN0llFopFbyLdA8CLW3SDTUj1T90wLmRqJv505RIuz4id7rcNpcCy3S3IsPlWmJNx8QqiSZZQ9v75l/Cjn1L2wKSbUMbfRz9Cq3KxiGU/YP9WyuQv/t/nBp1+q25jnsQpj51R7yaE4jwmQRa6x3a+UjmmjVJt80RFsI8bFpebfAraP2hTd3JlXtUMRa1IVQfCgFLq0+UvKu9Lpun4CiVdwF7a5MZ9Gaw2qPVM1H2sLaETFaJ/JSKC+02rZYPF9vgg3U+7qe107DCxaEYiYF87rJzDB2DpF2lwew6+nJP8sgf0FyXRuoHSulhMCIGt/rK1NE9PpJmV5d8Ko7ETLAy9nR7eon9DMK/qo6Z4/hOxZJQ2A0ZVI5le2o6oAp5q5fMVyEwg+1XEfoag9BuJh5mij/4idmnjiwT4tOEC/5JeYdsAHdvyxBZApU/0PNXIqP3h37D/9tno3mkmw7Ay9LFudE60JeO5OjGrbmMiihiQmEZ9Imct3iYgKGDkj3CrPmDA= X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 9e8d0714-dc4f-4d24-b2fb-08df2b66b92d X-MS-Exchange-CrossTenant-AuthSource: VI0P189MB3116.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2026 09:20:30.5058 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SMeNbPELNPiu0SkGYrSf0dJuzcDZJChNKlHDRu1UmcIy9RAv5tZyazeYRftqpa6cu8wcbZpf5cROzmtR9DbxnQkHd/ygjwdItqZ2bkEUEvA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P189MB2022 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Oct 2026 09:20:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248007 [v2.8.0][] - 2026-10-15 ----------------------- ### Changes - Add `pri` action option, e.g. `*.* /var/log/messages ;pri`, to always print the message priority in the header, in the format in use (RFC3164 or RFC5424). By Gavin D. Howard. The NetBSD-style `+` destination prefix is an equivalent alternative, e.g. `*.* +/var/log/messages`, and combines with the `-` no-sync prefix as `+-` - Add `hostname=NAME` action option to replace the hostname in messages logged by that action, e.g. to forward under a fixed name from a system whose hostname changes - Add `sd=[SD-ELEMENT]` action option to append a structured data element to every message logged by that action. RFC5424 format only - `logger` now parses a leading `` (PRI) in input messages, e.g. for systemd-style `daemon --foreground 2>&1 | logger` redirection - Add security policy for reporting vulnerabilities ### Fixes - Fix #105: UTF-8 handling with the `-8` flag. Multi-byte sequences, e.g., em-dash, were corrupted by byte-by-byte sanitization; complete valid UTF-8 sequences are now preserved, including the RFC 5424 BOM - Unescape Linux `/dev/kmsg` C-style `\xHH` encoding before sanitization, so UTF-8 in kernel messages is preserved with the `-8` flag - Fix #104: RFC 3164 tag parsing of parenthesized tags. Surrounding parens are stripped from complete tags, `(polkit-agent):` becomes `polkit-agent`, while partial tags like `app(version):` are preserved - `logger`: fix evaluation order violation, found by Coverity Scan [UNRELEASED]: https://github.com/troglobit/sysklogd/compare/v2.8.0...HEAD [v2.8.0]: https://github.com/troglobit/sysklogd/compare/v2.7.2...v2.8.0 Signed-off-by: Jaipaul Cheernam --- .../sysklogd/{sysklogd_2.7.2.bb => sysklogd_2.8.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/sysklogd/{sysklogd_2.7.2.bb => sysklogd_2.8.0.bb} (91%) diff --git a/meta/recipes-extended/sysklogd/sysklogd_2.7.2.bb b/meta/recipes-extended/sysklogd/sysklogd_2.8.0.bb similarity index 91% rename from meta/recipes-extended/sysklogd/sysklogd_2.7.2.bb rename to meta/recipes-extended/sysklogd/sysklogd_2.8.0.bb index c436153d1bf..79e26126533 100644 --- a/meta/recipes-extended/sysklogd/sysklogd_2.7.2.bb +++ b/meta/recipes-extended/sysklogd/sysklogd_2.8.0.bb @@ -10,11 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5b4be4b2549338526758ef479c040943 \ inherit update-rc.d update-alternatives systemd autotools -SRC_URI = "git://github.com/troglobit/sysklogd.git;branch=master;protocol=https;tag=v${PV} \ +SRC_URI = "git://github.com/troglobit/sysklogd.git;branch=v2.x;protocol=https;tag=v${PV} \ file://sysklogd \ " -SRCREV = "5fb314cb9060afa3bd4eed2f0be3200f02f729e9" +SRCREV = "e2c0c1d9585e88b1a85e3634c4dc230517f68f0e" EXTRA_OECONF = "--with-systemd=${systemd_system_unitdir} --without-logger"