From patchwork Mon Sep 19 12:33:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12962 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 076D8C6FA8B for ; Mon, 19 Sep 2022 12:33:48 +0000 (UTC) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mx.groups.io with SMTP id smtpd.web11.19183.1663590825459686992 for ; Mon, 19 Sep 2022 05:33:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ot9ZC/6H; spf=pass (domain: gmail.com, ip: 209.85.160.176, mailfrom: akuster808@gmail.com) Received: by mail-qt1-f176.google.com with SMTP id w2so16803879qtv.9 for ; Mon, 19 Sep 2022 05:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=33N0CGoGcWeEGh961EwU4d8hjcRzbpmINF7jm49TMpw=; b=Ot9ZC/6HH231FNUnQWgJwGJXr/KQ8qi9WMQFhlzAvDaKEQOyqrHN6G4+4/q4MEHSrh 6pE8H/7aS0UgQNRBIeCNiIn5AcCjl0HWoLrH10zAsXC+75UMSNLo6zn2eHB+T7hJneuD 7m4F+TQJwUfQK4doaWRRxTqvq/F0jQVzdY1zdUoW/Fka2V7dli5rrg20XUVzfC3cMCe+ E1qHC0jPhQ5mziF25Hk/RLagIvnDDoxOqiie+AYXIy68zR6bpgU88M+rtOC3OJpAWaZV Vp3D9ftDvHQo+XNCmBX8kMggtuQrWc88J6V8d4lpYG1tL40QbGUZw/TpqypUKFvtmOhW qz0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=33N0CGoGcWeEGh961EwU4d8hjcRzbpmINF7jm49TMpw=; b=HNJ6AMZ/yhOheyyeE3CSnt1ORMVWSNJ59+t2A4dwyQMU4vUnkx41vNmqmpftUERSlI NUcYzZgElv8JkMHICcP8ACvKWgPh3uYPZLeieniD9mYyfXYX9KRhF8mpHZFL4cEAdpoX bphESTeyQgTHFvtaX7AspO/L/NZsR0kSbn5wglPDaE9dozZbf8sFycgRrvzWR8b3251H 567hgRBM4M2JT4ebkIlRFUdPuruZ/VGBD51FGxuvU/eFlQ34jYiVSQPgy+fC6nTZI3cs 9OX+sspyYlg1sHRCElwUSe69p1BioijEbg5EEMzWhDgOuy+27qf5XbX7s71xGVshYGrz 1EGQ== X-Gm-Message-State: ACrzQf2kBdYOAoWUODYzsHBgcW9rtPMl8QqF9z/DW3JqcV67mLABkC4/ FRw/UjrdDeqxKGtechMs9mraEhFX3Gk= X-Google-Smtp-Source: AMsMyM7R36Hs789Ppjbv6VzcCwO+d08LcXNHkIgq3x2e07MDfV5sGflNk1SyvxFY4Xj84vNBunShlg== X-Received: by 2002:a05:622a:120c:b0:35b:bbed:9b14 with SMTP id y12-20020a05622a120c00b0035bbbed9b14mr14766058qtx.652.1663590824102; Mon, 19 Sep 2022 05:33:44 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:43 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 01/11] nodejs-oe-cache-native: initial checkin Date: Mon, 19 Sep 2022 08:33:28 -0400 Message-Id: <035d9c61e81b32cb62706cfdbfae08b1bac7ae88.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98852 From: Enrico Scholz This implements an 'npm cache add' like functionality but allows to specify the key of the data and sets metadata which are required to find the data. It is used to cache information as done during 'npm install'. Keyformat and metadata are nodejs version specific. Signed-off-by: Enrico Scholz Signed-off-by: Khem Raj --- .../nodejs/nodejs-oe-cache-16.14/oe-npm-cache | 77 +++++++++++++++++++ .../nodejs/nodejs-oe-cache-native_16.14.bb | 21 +++++ 2 files changed, 98 insertions(+) create mode 100755 meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-16.14/oe-npm-cache create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_16.14.bb diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-16.14/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-16.14/oe-npm-cache new file mode 100755 index 0000000000..f596207648 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-16.14/oe-npm-cache @@ -0,0 +1,77 @@ +#!/usr/bin/env node + +/// Usage: oe-npm-cache +/// ... meta - metainformation about package +/// tgz - tarball + +const process = require("node:process"); + +module.paths.unshift("@@libdir@@/node_modules/npm/node_modules"); + +const cacache = require('cacache') +const fs = require('fs') + +// argv[0] is 'node', argv[1] is this script +const cache_dir = process.argv[2] +const type = process.argv[3] +const key = process.argv[4] +const file = process.argv[5] + +const data = fs.readFileSync(file) + +// metadata content is highly nodejs dependent; when cache entries are not +// found, place debug statements in 'make-fetch-happen/lib/cache/policy.js' +// (CachePolicy::satisfies()) +const xlate = { + 'meta': { + 'key_prefix': 'make-fetch-happen:request-cache:', + 'metadata': function() { + return { + time: Date.now(), + url: key, + reqHeaders: { + 'accept': 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*', + }, + resHeaders: { + "content-type": "application/json", + "status": 200, + }, + options: { + compress: true, + } + }; + }, + }, + + 'tgz': { + 'key_prefix': 'make-fetch-happen:request-cache:', + 'metadata': function() { + return { + time: Date.now(), + url: key, + reqHeaders: { + 'accept': '*/*', + }, + resHeaders: { + "content-type": "application/octet-stream", + "status": 200, + }, + options: { + compress: true, + }, + }; + }, + }, +}; + +const info = xlate[type]; +let opts = {} + +if (info.metadata) { + opts['metadata'] = info.metadata(); +} + +cacache.put(cache_dir, info.key_prefix + key, data, opts) + .then(integrity => { + console.log(`Saved content of ${key} (${file}).`); +}) diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_16.14.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_16.14.bb new file mode 100644 index 0000000000..a61dd5018f --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_16.14.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "OE helper for manipulating npm cache" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI = "\ + file://oe-npm-cache \ +" + +inherit native + +B = "${WORKDIR}/build" + +do_configure() { + sed -e 's!@@libdir@@!${libdir}!g' < '${WORKDIR}/oe-npm-cache' > '${B}/oe-npm-cache' +} + +do_install() { + install -D -p -m 0755 ${B}/oe-npm-cache ${D}${bindir}/oe-npm-cache +} + +RDEPENDS:${PN} = "nodejs-native" From patchwork Mon Sep 19 12:33:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12964 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 09B2FC54EE9 for ; Mon, 19 Sep 2022 12:33:48 +0000 (UTC) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by mx.groups.io with SMTP id smtpd.web12.19192.1663590826487048450 for ; Mon, 19 Sep 2022 05:33:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JzHgOjEf; spf=pass (domain: gmail.com, ip: 209.85.219.41, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f41.google.com with SMTP id d1so21732101qvs.0 for ; Mon, 19 Sep 2022 05:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=oLcRdc2epiXyn8Ri1HANYPUNsB0wwSbLjMCxSB8U9gg=; b=JzHgOjEfLOtRpGUuZgVZ7vswYyUFpJonJ3FFdqgqSqcODiX+wIReOqMc037j0svaao z/LLk1NLOBS593pxFNuOqCzAxWbZXgILcUxXHy50bSUqvyUv8FAN6M0uNNcjDpaot7Pd 84kTtdQt1iaNWjPQZPrYu7vpnIDaLDnZcd7Nb2QGFOLaOpbTzxbEUw3VHQEh92NhtmjF 98FOq08Xhqjnhtr6nFFqZifeNd0VoXHA6CkSO4d2x04THxUC1F1AzHKU14neAL8KhU57 X1Rn47Rl9YfNIwfc3AlUnukumFgtpG3Cc/LXEiWCLCxBmjOyBUocIbdMeaFXoUCEg3td ASRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=oLcRdc2epiXyn8Ri1HANYPUNsB0wwSbLjMCxSB8U9gg=; b=Uf6U44fACkZuZwkfFo+I7tWB/Ey5sgfmwWEdzQAA9RrxYBtfWHiJ7rWzEB7TzkMXom Gf1ZJzhTgKGDZS5H4vlyq6Y2mo0QA26kjUqVIfhDk8ciYMeC8BpeydL9gstJPaCYGueB c6NL2VvZ9dyvvjyhi4mkKI73ghMw56mYIVF4sa1tNoVR1KQgT8rKlSuWg/TWK6jak1YM HUgK7daDeehq7e/dogtxqDdEY1tOOkECFiD71G9Za6GFYRKlfR6SP22kVvjfa0Htecy1 A/BpNeXpMByoQJIkBDwla05h0NXK3Zmyqpjy439Del8kmLL+X6NbZW+upmHbvFLxUFzt mDbQ== X-Gm-Message-State: ACrzQf2qGNPYOeWp5NhGxMHTxASxMMDa1z06l/LN9DvEyaKOa0qehh3Z VLz8h0rp8YsjI18Kf8aDBw+jEQMWWsc= X-Google-Smtp-Source: AMsMyM6XdzbhXzKc481ZzdRuCFlVwGNLJfKozjGavtBTOGg2dlqPzfvdmy2t9gNSVFua0MPjgrkB/g== X-Received: by 2002:a05:6214:19c7:b0:4ad:32e9:a414 with SMTP id j7-20020a05621419c700b004ad32e9a414mr5789243qvc.115.1663590825099; Mon, 19 Sep 2022 05:33:45 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:44 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 02/11] wireguard-module: 1.0.20210219 -> 1.0.20220627 Date: Mon, 19 Sep 2022 08:33:29 -0400 Message-Id: <4d804bdf92f7542217a7eef7c376bc9f277e4e16.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98853 From: Jose Quaresma Also change the git protocol to https. Relevant changes: - 18fbcd6 version: bump - 3ec3e82 compat: handle backported rng and blake2s - ba45dd6 qemu: give up on RHEL8 in CI - c7560fd qemu: set panic_on_warn=1 from cmdline - 33c87a1 qemu: use vports on arm - 894152a netns: limit parallelism to $(nproc) tests at once - f888673 netns: make routing loop test non-fatal - f9d9b4d device: check for metadata_dst with skb_valid_dst() - f909532 qemu: enable ACPI for SMP - ec89ca6 socket: ignore v6 endpoints when ipv6 is disabled - fa32671 socket: free skb in send6 when ipv6 is disabled - ffb8cd6 qemu: simplify RNG seeding - 4eff63d queueing: use CFI-safe ptr_ring cleanup function - 273018b crypto: curve25519-x86_64: use in/out register constraints more precisely - 4f4c019 compat: drop Ubuntu 14.04 - 743eef2 version: bump - 3c9f3b6 crypto: curve25519-x86_64: solve register constraints with reserved registers - 8e40dd6 compat: udp_tunnel: don't take reference to non-init namespace - ea6b8e7 compat: siphash: use _unaligned version by default - 5325bc8 ratelimiter: use kvcalloc() instead of kvzalloc() - e44c78c receive: drop handshakes if queue lock is contended - 5707d38 receive: use ring buffer for incoming handshakes - 68abb1b device: reset peer src endpoint when netns exits - ea3f5fb main: rename 'mod_init' & 'mod_exit' functions to be module-specific - cb001d4 netns: actually test for routing loops - 2715e64 compat: update for RHEL 8.5 - 2974725 compat: account for grsecurity backports and changes - 50dda8c compat: account for latest c8s backports - d378f93 version: bump - fb4a0da qemu: increase default dmesg log size - 8f4414d qemu: add disgusting hacks for RHEL 8 - fd7a462 allowedips: add missing __rcu annotation to satisfy sparse - 383461d allowedips: free empty intermediate nodes when removing single node - 03add82 allowedips: allocate nodes in kmem_cache - b56d48c allowedips: remove nodes in O(1) - 3c14c4b allowedips: initialize list head in selftest - 4d8b7ed peer: allocate in kmem_cache - 6fbc0e6 global: use synchronize_net rather than synchronize_rcu - 405caf0 kbuild: do not use -O3 - b50ef4d netns: make sure rp_filter is disabled on vethc - e67b722 version: bump - 1edffe2 Revert "compat: skb_mark_not_on_list will be backported to Ubuntu 18.04" - 2cf9543 compat: update and improve detection of CentOS Stream 8 - 122f06b compat: icmp_ndo_send functions were backported extensively Signed-off-by: Jose Quaresma Signed-off-by: Khem Raj (cherry picked from commit e2a2320a7953fd70e8b416f9f6741d0b6654f280) Signed-off-by: Armin Kuster --- ...odule_1.0.20210219.bb => wireguard-module_1.0.20220627.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-kernel/wireguard/{wireguard-module_1.0.20210219.bb => wireguard-module_1.0.20220627.bb} (85%) diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20210219.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20220627.bb similarity index 85% rename from meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20210219.bb rename to meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20220627.bb index ce2ba65526..d80bdd87ab 100644 --- a/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20210219.bb +++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20220627.bb @@ -1,8 +1,8 @@ require wireguard.inc -SRCREV = "122f06bfd8fc7b06a0899fa9adc4ce8e06900d98" +SRCREV = "18fbcd68a35a892527345dc5679d0b2d860ee004" -SRC_URI = "git://git.zx2c4.com/wireguard-linux-compat;branch=master" +SRC_URI = "git://git.zx2c4.com/wireguard-linux-compat;protocol=https;branch=master" inherit module kernel-module-split From patchwork Mon Sep 19 12:33:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12967 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 D3FD7ECAAD3 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) by mx.groups.io with SMTP id smtpd.web11.19184.1663590827455554512 for ; Mon, 19 Sep 2022 05:33:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X81m3m1t; spf=pass (domain: gmail.com, ip: 209.85.219.42, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f42.google.com with SMTP id ml1so21702729qvb.1 for ; Mon, 19 Sep 2022 05:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=j/FXDWoRhOSxeYtfLRPtRaqEUj8TQyeDdypyrtjL9ac=; b=X81m3m1t8eYMgMrq3/gCn3tHUVFdp7XFAajXjj/RHeQ3MQpr35Rw78tKYGUsuzIFsV Vnozrp+vcGWgxd1+DY22o0+GjzM1eEBXgcsLYntq/iMCQvM7CgUzyAJzpVnMrFNLszCC SfnXX7Xd1oPUfU5erF5QYVsTeVGY/w6RTaxr7JqmQ+M7tkEm+C3+SdyVqZLoJoX9AgC+ cpXO+Z1nsoyK0S6YD0x/lFsqsFoBtSiQCOe0+1vv2pW09OtcSYFjggUI+1WC/tSaZzy2 1mR8uWQ7/nKbuStHqTkSNXMK7w+YuglXEhv0AxyPFJm/AlLA5I1Ahbf1zwF5OlnLCAQl QmcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=j/FXDWoRhOSxeYtfLRPtRaqEUj8TQyeDdypyrtjL9ac=; b=iHJEsyK3zCl7CDDXv7wlGYfJi5ll2OrUaeRJip2suzWUdN3PGC/RnFPDx4uc6d5tek PylD8j97ctF2vf1+r1Eiyg1q5UhIQIf+KV/mYQzFAI7GpE+jbpcKPqpr/iFAnGdU02bt byF5IC+foBwHxYQ4viEOF+iTTnDQhG8bwBb2jJre3Hi8Z/7YyRo3amtrz2NnUSlaBGh0 LENg64jw0uptYUHJeXxuR90zthbfSzSCLQz/ZHSv3yp0yegXg8n+E1+FGZ1lHQisgZDH p7rK9Fi3vX/BsptrGRnFRsIs/hyra3VyxWqgs76baDbVkb9m+lR6ww+PYS7za2h7K53V 3y6g== X-Gm-Message-State: ACrzQf3RNAv2op5vTNENnkwHbTvAHeMEOYOPm+N1r2YE8l7tewsigMGJ loKJrc+pdQ+Jsgg7c8isoelJboJI48o= X-Google-Smtp-Source: AMsMyM4caM5t77102PCQkDWlI3gZvO0EwRTiYpHAfHoTu8/4qexSGkgm3pcuNV/vmFOknWay0M9WdA== X-Received: by 2002:a05:6214:1c4b:b0:4aa:b3a6:976b with SMTP id if11-20020a0562141c4b00b004aab3a6976bmr14075933qvb.81.1663590826203; Mon, 19 Sep 2022 05:33:46 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:45 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 03/11] wireguard-tools: Add a new package for wg-quick Date: Mon, 19 Sep 2022 08:33:30 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98854 From: Jose Quaresma - This will move the dependencie of bash to wg-quick Signed-off-by: Jose Quaresma Signed-off-by: Khem Raj (cherry picked from commit f36a158aa0b6dc5d595c08f33733f889a7202b36) Signed-off-by: Armin Kuster --- .../wireguard/wireguard-tools_1.0.20210914.bb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb index 0c686aae2a..20435338c3 100644 --- a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb +++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb @@ -16,11 +16,19 @@ do_install () { install } +PACKAGES += "${PN}-wg-quick" + FILES:${PN} = " \ + ${bindir}/wg \ ${sysconfdir} \ +" +FILES:${PN}-wg-quick = " \ + ${bindir}/wg-quick \ ${systemd_system_unitdir} \ - ${bindir} \ " -RDEPENDS:${PN} = "bash" -RRECOMMENDS:${PN} = "kernel-module-wireguard" +RDEPENDS:${PN}-wg-quick = "${PN} bash" +RRECOMMENDS:${PN} = " \ + kernel-module-wireguard \ + ${PN}-wg-quick \ + " From patchwork Mon Sep 19 12:33:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12973 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 11F9DC6FA95 for ; Mon, 19 Sep 2022 12:33:58 +0000 (UTC) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by mx.groups.io with SMTP id smtpd.web11.19185.1663590828359382457 for ; Mon, 19 Sep 2022 05:33:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h4CoThxL; spf=pass (domain: gmail.com, ip: 209.85.160.180, mailfrom: akuster808@gmail.com) Received: by mail-qt1-f180.google.com with SMTP id h21so20429213qta.3 for ; Mon, 19 Sep 2022 05:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=NqwnAJspODwFcCPKWqAho17V2IFuuMSkefPsoZofWhQ=; b=h4CoThxLEPxXIPb3mlCQ9IIbb+eH/spmsF9L1V/AL26eE8ou+gLZAH3rPIi5VEz68H Z7Sz1bReMCe1I1amOqkn2V8MfzhlMY38KoicovTt5BxZ6sCFpODHp3C4Fd5ITNOqSkZL W1lzAztmceBFFINScjFFAJBvjNcUuUqsluvOJXU5IIjzUvfFifjcXBWGawv0aI4XK2lP Ytf/OhsPquk3Usb88huyw9r7HyB7NxJOYbXSDow0wGXKEW3wzpENPukjYc+l4VU2eYCZ Uo1AqslWzr4x/FMMbrCdnlOe2sLzknRXguh7MevXveScWPT3fyq6/zqqm3cawqSZC6i4 HZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=NqwnAJspODwFcCPKWqAho17V2IFuuMSkefPsoZofWhQ=; b=AVk2M3O+a2IdpZs48f9sRhm3xXazurcOeclgsGWquXePs7/YJVIDjwVNoR0egOQEuh jHyfzH24k3Tu4XOoEqCBWJmHoSOigM4hF58vfu4BzHQzFVGWkMyJ6dmXvQo3inpar1ap VbLv6HskzuIc2AZ7lL4M7uwxROyZtRzdyaUCCpTfLajhISfcefC2BimdqXzQZ3rG0Cus SLvr2UT5IB98NcaemI/At27usQTqW5a96VpcDgmtE0JQ4bdOoLe3+VbwIJGlD/FOjaHq CwNM8E4KYVo3oHaobsyI76i1cqfukQKYttIa2rZ/SCUWDn/yUoalILa0rrw7fguWfjVL 2k7A== X-Gm-Message-State: ACrzQf1Jc5WypTkEx42/zr1kK/Ufy4QkB7Uo5WppCdVWxkRSeOJwVDtK q/NT0GMgJ72FWKxuFEGRXRsOAk2C/GU= X-Google-Smtp-Source: AMsMyM7hL6aHbaQUKO/bPBWAk1rz/RW0ZZ1yUUpYVyDmyqVfSHwT0Z/LNmZBORC5gs3Bw7Gj5rtvUA== X-Received: by 2002:a05:622a:11c2:b0:343:69d:65b2 with SMTP id n2-20020a05622a11c200b00343069d65b2mr14696067qtk.491.1663590827090; Mon, 19 Sep 2022 05:33:47 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:46 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 04/11] ntpsec: Add -D_GNU_SOURCE and fix building with devtool Date: Mon, 19 Sep 2022 08:33:31 -0400 Message-Id: <9f1013ba4555257989b640d3c37bf2f322a1a311.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98855 From: Khem Raj wscript detects .git directory and if its present them invokes git describe --dirty which does not work on the devtool created git repository, since its synthesized. Add GNU_SOURCE define to get strptime() definition Signed-off-by: Khem Raj (cherry picked from commit 375be9fd60e22fb60b53d664983cb70d26d8a288) Signed-off-by: Armin Kuster --- ...01-wscript-Widen-the-search-for-tags.patch | 29 +++++++++++++++++++ .../recipes-support/ntpsec/ntpsec_1.2.1.bb | 6 ++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Widen-the-search-for-tags.patch diff --git a/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Widen-the-search-for-tags.patch b/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Widen-the-search-for-tags.patch new file mode 100644 index 0000000000..98c62eed49 --- /dev/null +++ b/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Widen-the-search-for-tags.patch @@ -0,0 +1,29 @@ +From 9a7dead72f41e79979625c9bdef2fb638427d3d6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 Aug 2022 20:54:17 -0700 +Subject: [PATCH] wscript: Widen the search for tags + +Default is to look for annotated tags, howveer when using devtool we +create our own git tree from release tarballs which will have tags but +they are not annotated, therefore broaden the search to include all tags + +Upstream-Status: Inappropriate [OE-specific] + +Signed-off-by: Khem Raj +--- + wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index 879ded1..dff835d 100644 +--- a/wscript ++++ b/wscript +@@ -177,7 +177,7 @@ def configure(ctx): + if build_desc: + build_desc = ' ' + build_desc + if ctx.env.BIN_GIT: +- cmd = ctx.env.BIN_GIT + shlex.split("describe --dirty") ++ cmd = ctx.env.BIN_GIT + shlex.split("describe --tags --dirty") + git_short_hash = ctx.cmd_and_log(cmd).strip() + git_short_hash = '-'.join(git_short_hash.split('-')[1:]) + diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb index 3efac7d983..bed0e2e108 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb @@ -16,7 +16,9 @@ SRC_URI = "https://ftp.ntpsec.org/pub/releases/ntpsec-${PV}.tar.gz \ file://0001-ntpd-ntp_sandbox.c-allow-clone3-for-glibc-2.34-in-se.patch \ file://0001-ntpd-ntp_sandbox.c-allow-newfstatat-on-all-archs-for.patch \ file://0002-ntpd-ntp_sandbox.c-match-riscv-to-aarch-in-seccomp-f.patch \ - file://volatiles.ntpsec" + file://volatiles.ntpsec \ + file://0001-wscript-Widen-the-search-for-tags.patch \ + " SRC_URI[sha256sum] = "f2684835116c80b8f21782a5959a805ba3c44e3a681dd6c17c7cb00cc242c27a" @@ -54,7 +56,7 @@ export PYTAG = "cpython${@ d.getVar('PYTHON_BASEVERSION').replace('.', '')}" export pyext_PATTERN = "%s.so" export PYTHON_LDFLAGS = "-lpthread -ldl" -CFLAGS:append = " -I${PYTHON_INCLUDE_DIR}" +CFLAGS:append = " -I${PYTHON_INCLUDE_DIR} -D_GNU_SOURCE" EXTRA_OECONF = "--cross-compiler='${CC}' \ --cross-cflags='${CFLAGS}' \ From patchwork Mon Sep 19 12:33:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12972 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 EC257C6FA94 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by mx.groups.io with SMTP id smtpd.web08.19283.1663590829132195734 for ; Mon, 19 Sep 2022 05:33:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WzET+CXy; spf=pass (domain: gmail.com, ip: 209.85.219.43, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f43.google.com with SMTP id w4so21706242qvp.2 for ; Mon, 19 Sep 2022 05:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=P4207C2xLmXt8gwzLdj6+WYqW3OMMiVxzBmbgRIZYaE=; b=WzET+CXywQutZS/BIVkOtu7mKFEmxJdX/pKGwWGyLWbo3ctLkYJnQpDDh1YEcgER6X 1XToL96oE/u+j0ePmvLx70qJmV00nqBQq8cv/AS01mZH0LThnxv3l+BL4M0eMAr7kODO JhEKDT/1z4eE/j9uajWio9U1hEEs75JcQtlgg9BtwnHsuCvwM6FCbN3qpYgFazW3uutC 1JEAISVM/dDvO4z/ZE9UM8B1JQrnuqYGIsPAItWI242zhIqKtG3l7mxxxTBUQ7iZPjnv /pVvbQbvIuey59kgUkRd/kpoG5Fo3nM1Xadze2C9kRJIMdLUE+d8QmGu165w3aWkOTsP hHSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=P4207C2xLmXt8gwzLdj6+WYqW3OMMiVxzBmbgRIZYaE=; b=PlAcrmjNY3y75SHUnb5RUyVSRnf4gNSDWtqHKSu7R9u+MGWpAfA1AA1R0leuOIDdS4 r7JrXhML8vgTUyZwiqpbdanxoCAyTdTNG8SedsFeZdOLCK0HFJ7eGIQOWHZulMtsj17i hgXXIqxr2PQGeWoVNilt3JUCwwmz1CadXfe06X9wJ6AZ/8o7YFHdkKH1sWI8HNxr4ZMR Hf4bXoGcA993TgZEuLqWlT4XPz7JiYD/BqpaSdZk4oN+SWUyvlP3PsRT3zZnM4n8eLFl rMifTjOCQ8zNJrMCBqZqsad7p4J25MpgS/jRWLPI/TNg/Lztc9QBA7lmFfm/c9BRrhzs WybA== X-Gm-Message-State: ACrzQf3KUkRxUMzPzHyulf4qvx85efHTCkeaqlwd2Kqjv88jZ18/0FlN auDH8npG/F5PxtWP/qafxVL3dfEsuXo= X-Google-Smtp-Source: AMsMyM7Pr6BzZ+j8kAFLkQ1VPbEhnZS3k0Pxb8nSCslmL8MCE9FNSRc84/AXKxr+UgayfC+9hkwlFw== X-Received: by 2002:a05:6214:21eb:b0:4ac:7ac8:345 with SMTP id p11-20020a05621421eb00b004ac7ac80345mr14592879qvj.90.1663590827882; Mon, 19 Sep 2022 05:33:47 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:47 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 05/11] gd: Fix build with clang-15 Date: Mon, 19 Sep 2022 08:33:32 -0400 Message-Id: <09acaf6b08477144c5f64202614884f4a94916d9.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98856 From: Khem Raj Signed-off-by: Khem Raj (cherry picked from commit e1e889bae41529770cb800aba3bfd1189e4ac39d) Signed-off-by: Armin Kuster --- ...1-Fix-deprecared-function-prototypes.patch | 115 ++++++++++++++++++ meta-oe/recipes-support/gd/gd_2.3.3.bb | 1 + 2 files changed, 116 insertions(+) create mode 100644 meta-oe/recipes-support/gd/gd/0001-Fix-deprecared-function-prototypes.patch diff --git a/meta-oe/recipes-support/gd/gd/0001-Fix-deprecared-function-prototypes.patch b/meta-oe/recipes-support/gd/gd/0001-Fix-deprecared-function-prototypes.patch new file mode 100644 index 0000000000..5ac5170721 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd/0001-Fix-deprecared-function-prototypes.patch @@ -0,0 +1,115 @@ +From 6379331cd0647fc6f149f55e4505a9a92e4f159f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 Aug 2022 22:43:26 -0700 +Subject: [PATCH] Fix deprecared function prototypes + +Fixes following errors: +error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] + +Upstream-Status: Submitted [https://github.com/libgd/libgd/pull/835] +Signed-off-by: Khem Raj +--- + src/gd_nnquant.c | 32 +++++++------------------------- + src/gd_tiff.c | 4 +--- + 2 files changed, 8 insertions(+), 28 deletions(-) + +diff --git a/src/gd_nnquant.c b/src/gd_nnquant.c +index 8b9aa794..013f7160 100644 +--- a/src/gd_nnquant.c ++++ b/src/gd_nnquant.c +@@ -112,12 +112,7 @@ typedef struct { + + /* Initialise network in range (0,0,0,0) to (255,255,255,255) and set parameters + ----------------------------------------------------------------------- */ +-static void initnet(nnq, thepic, len, sample, colours) +-nn_quant *nnq; +-unsigned char *thepic; +-int len; +-int sample; +-int colours; ++static void initnet(nn_quant *nnq, unsigned char *thepic, int len, int sample, int colours) + { + register int i; + register int *p; +@@ -163,9 +158,7 @@ static void unbiasnet(nn_quant *nnq) + } + + /* Output colormap to unsigned char ptr in RGBA format */ +-static void getcolormap(nnq, map) +-nn_quant *nnq; +-unsigned char *map; ++static void getcolormap(nn_quant *nnq, unsigned char *map) + { + int i,j; + for(j=0; j < nnq->netsize; j++) { +@@ -232,9 +225,7 @@ static void inxbuild(nn_quant *nnq) + + /* Search for ABGR values 0..255 (after net is unbiased) and return colour index + ---------------------------------------------------------------------------- */ +-static unsigned int inxsearch(nnq, al,b,g,r) +-nn_quant *nnq; +-register int al, b, g, r; ++static unsigned int inxsearch(nn_quant *nnq, int al, int b, int g, int r) + { + register int i, j, dist, a, bestd; + register int *p; +@@ -306,9 +297,7 @@ register int al, b, g, r; + + /* Search for biased ABGR values + ---------------------------- */ +-static int contest(nnq, al,b,g,r) +-nn_quant *nnq; +-register int al,b,g,r; ++static int contest(nn_quant *nnq, int al, int b, int g, int r) + { + /* finds closest neuron (min dist) and updates freq */ + /* finds best neuron (min dist-bias) and returns position */ +@@ -362,9 +351,7 @@ register int al,b,g,r; + /* Move neuron i towards biased (a,b,g,r) by factor alpha + ---------------------------------------------------- */ + +-static void altersingle(nnq, alpha,i,al,b,g,r) +-nn_quant *nnq; +-register int alpha,i,al,b,g,r; ++static void altersingle(nn_quant *nnq, int alpha, int i,int al, int b, int g, int r) + { + register int *n; + +@@ -382,10 +369,7 @@ register int alpha,i,al,b,g,r; + /* Move adjacent neurons by precomputed alpha*(1-((i-j)^2/[r]^2)) in radpower[|i-j|] + --------------------------------------------------------------------------------- */ + +-static void alterneigh(nnq, rad,i,al,b,g,r) +-nn_quant *nnq; +-int rad,i; +-register int al,b,g,r; ++static void alterneigh(nn_quant *nnq, int rad, int i, int al,int b,int g, int r) + { + register int j,k,lo,hi,a; + register int *p, *q; +@@ -429,9 +413,7 @@ register int al,b,g,r; + /* Main Learning Loop + ------------------ */ + +-static void learn(nnq, verbose) /* Stu: N.B. added parameter so that main() could control verbosity. */ +-nn_quant *nnq; +-int verbose; ++static void learn(nn_quant *nnq, int verbose) /* Stu: N.B. added parameter so that main() could control verbosity. */ + { + register int i,j,al,b,g,r; + int radius,rad,alpha,step,delta,samplepixels; +diff --git a/src/gd_tiff.c b/src/gd_tiff.c +index 7f72b610..3d90e61a 100644 +--- a/src/gd_tiff.c ++++ b/src/gd_tiff.c +@@ -446,9 +446,7 @@ BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtx *out) + } + + /* Check if we are really in 8bit mode */ +-static int checkColorMap(n, r, g, b) +-int n; +-uint16_t *r, *g, *b; ++static int checkColorMap(int n, uint16_t *r, uint16_t *g, uint16_t *b) + { + while (n-- > 0) + if (*r++ >= 256 || *g++ >= 256 || *b++ >= 256) diff --git a/meta-oe/recipes-support/gd/gd_2.3.3.bb b/meta-oe/recipes-support/gd/gd_2.3.3.bb index 9d4ee1fe4b..cc2c1571e6 100644 --- a/meta-oe/recipes-support/gd/gd_2.3.3.bb +++ b/meta-oe/recipes-support/gd/gd_2.3.3.bb @@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ace63adfdac78400fc30fa22ee9c1bb1" DEPENDS = "freetype libpng jpeg zlib tiff" SRC_URI = "git://github.com/libgd/libgd.git;nobranch=1;protocol=https \ + file://0001-Fix-deprecared-function-prototypes.patch \ " SRCREV = "b5319a41286107b53daa0e08e402aa1819764bdc" From patchwork Mon Sep 19 12:33:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12971 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 E8E40C6FA92 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by mx.groups.io with SMTP id smtpd.web08.19284.1663590829949256404 for ; Mon, 19 Sep 2022 05:33:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KRJk/8i3; spf=pass (domain: gmail.com, ip: 209.85.219.44, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f44.google.com with SMTP id y9so21684340qvo.4 for ; Mon, 19 Sep 2022 05:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=EbrrHhFPyCg+3SYKwJmnPnxF0ZrI+pZ/GMqutTtcAgs=; b=KRJk/8i3ETWt8RabVdlrzL+k2ZsSjSGn1yZI975SJYd6VYuI27AueM2j09tDqYZXlF yMcvBQCvVFTVzL2ZFaPEQdeDUHxplEmLcSGhN6Y93ocmFCeW7fTowNg16jIGxpREnbgi c6TM+cmiajhXIrTXfuvx88SHHZQGZIEvLDrSbfQViw69K0+CLzT+JkoafRLzFoIU4CwR yeqxckspoi1g3GoiPFnwYLGAzswcBhphLpf3YcHoidjQUet3FGn/XnYhi4+v8cLZK3ON jfTQhgnmPaunVKdNsU4OZY911zCQ8hFcFiJJ0vrUzFoDH6+/HNQTlQOhbaw17iF7g7Mv LkyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=EbrrHhFPyCg+3SYKwJmnPnxF0ZrI+pZ/GMqutTtcAgs=; b=6l+D3KmWRnklENaQI5SVqUMVT+fY+KN4L3RwyO7stDyiPHvYAlJh5DFXkhHFeV4GOQ IIeOe3GNEXFkXHocir00Q/Rn58fwlH8cwcd+1TsmaqD5Epuol4KWT/VgJlPY7tOKb7tj yx9up2lF/Yjz/OPW7nS7XrvfzsijcWv0ACj/ujRWCIUUg2fe2hZsOakyt/il0wVm+Tqo GB0Dp9jY28+nWnnYRTOGxwQ4sY8F7cebz3cRR1kt09Qd9eYCSVlLnqHKqcytv1pfcFOj 4/jSzCsZUo5GqWTU6lYoIFprUaVTS9CN9RLbkpPNpilLU7B8OZi5LYOGfdq4WUw9H7ru mIIg== X-Gm-Message-State: ACrzQf105HKwdaoWjzTzssF7m1GztQfXI0ZYRnDUDxiY9UUZ8xI8IPIh Y9WjKg+SCzhL/Dn7F5YuYEArB+FoRcQ= X-Google-Smtp-Source: AMsMyM5MXE4b5QX3LD8dWXnhdniQVk8dYdr5tWmpgoeUuuO3wbNc8qLYidCF9NYfz7fTITj5YYEJkQ== X-Received: by 2002:ad4:5ba3:0:b0:4ad:3465:787b with SMTP id 3-20020ad45ba3000000b004ad3465787bmr5238374qvq.114.1663590828620; Mon, 19 Sep 2022 05:33:48 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:48 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 06/11] safec: Remove unused variable 'len' Date: Mon, 19 Sep 2022 08:33:33 -0400 Message-Id: <8e8f36ef97b3c0b4d9f7b41a9d6bf02ec0156c3b.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98857 From: Khem Raj Signed-off-by: Khem Raj (cherry picked from commit 8cb8931757214d63c9140cdba83ee5dfc968bc28) Signed-off-by: Armin Kuster --- ...strpbrk_s-Remove-unused-variable-len.patch | 42 +++++++++++++++++++ meta-oe/recipes-core/safec/safec_3.7.1.bb | 3 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-core/safec/safec/0001-strpbrk_s-Remove-unused-variable-len.patch diff --git a/meta-oe/recipes-core/safec/safec/0001-strpbrk_s-Remove-unused-variable-len.patch b/meta-oe/recipes-core/safec/safec/0001-strpbrk_s-Remove-unused-variable-len.patch new file mode 100644 index 0000000000..4fd36ab8ab --- /dev/null +++ b/meta-oe/recipes-core/safec/safec/0001-strpbrk_s-Remove-unused-variable-len.patch @@ -0,0 +1,42 @@ +From b1d7cc6495c541cdd99399b4d1a835997376dcbf Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 Aug 2022 23:42:33 -0700 +Subject: [PATCH] strpbrk_s: Remove unused variable len + +Fixes +error: variable 'len' set but not used [-Werror,-Wunused-but-set-variable] + +Upstream-Status: Submitted [https://github.com/rurban/safeclib/pull/123] +Signed-off-by: Khem Raj +--- + src/extstr/strpbrk_s.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/extstr/strpbrk_s.c b/src/extstr/strpbrk_s.c +index 5bb7a0f8..2cf8a8be 100644 +--- a/src/extstr/strpbrk_s.c ++++ b/src/extstr/strpbrk_s.c +@@ -79,7 +79,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen, + #endif + { + char *ps; +- rsize_t len; + + CHK_SRC_NULL("strpbrk_s", firstp) + *firstp = NULL; +@@ -121,7 +120,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen, + while (*dest && dmax) { + + ps = src; +- len = slen; + while (*ps) { + + /* check for a match with the substring */ +@@ -130,7 +128,6 @@ EXPORT errno_t _strpbrk_s_chk(char *dest, rsize_t dmax, char *src, rsize_t slen, + return RCNEGATE(EOK); + } + ps++; +- len--; + } + dest++; + dmax--; diff --git a/meta-oe/recipes-core/safec/safec_3.7.1.bb b/meta-oe/recipes-core/safec/safec_3.7.1.bb index 5ffe7d7528..9dd6f1c7cc 100644 --- a/meta-oe/recipes-core/safec/safec_3.7.1.bb +++ b/meta-oe/recipes-core/safec/safec_3.7.1.bb @@ -9,7 +9,8 @@ inherit autotools pkgconfig S = "${WORKDIR}/git" SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8" SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \ -" + file://0001-strpbrk_s-Remove-unused-variable-len.patch \ + " COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux' From patchwork Mon Sep 19 12:33:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12968 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 E70FCC6FA93 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by mx.groups.io with SMTP id smtpd.web10.19053.1663590830730293927 for ; Mon, 19 Sep 2022 05:33:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TXZL6h3G; spf=pass (domain: gmail.com, ip: 209.85.219.45, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f45.google.com with SMTP id g4so21684325qvo.3 for ; Mon, 19 Sep 2022 05:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=kmicGxfZPe5amsoWOJn33jyPbycxf/JoVK6A/3ryckg=; b=TXZL6h3GjEuZ8w3MwR2JZikOouDLCYH6x14EkiFW38K6ieoi6kZyKnhJZIzBcPDVzq TbDZiIEsVQ9jJGnvG6ayXZxFHPI78BE6yZymCPfkVcmL1xcBMpTPDeA6qsvJqb9/CjBu C5YLXXMPRsyEljp33q/Y8sdalW3ZodvcRp7Um6ueRvT9Cn5r5dyHD5V60b57MAxYsDCc ASlvOXXhLrb/iXHy0IpWKwcsy01CLg11kNqJTrHh7uSho52RXHQ3ZCD19Mk7nOGy9Fka BuWjTZJ1nbBf/VeZkwh9pAlqn6wCoAwpROC083wnySke4QnqFUNA3ALJ95oaddMdgX0n nrqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=kmicGxfZPe5amsoWOJn33jyPbycxf/JoVK6A/3ryckg=; b=iEpGfjnT2zcDmqe2r2AR/H8o4x9zR4yQ/3qRcZExzaYyNVl99qvkSfxQixs6G66QF4 3CgTco6VI7V+ZxuKnKDhSTBzMPz25JNEOL3JBwUMEfv4fXeqa2KG3q9wbGD9/NuKpt71 tsudOMNPc65Ei+bX0vZ/hsD0Emam1tnCHTB47zc/WnfaxeARkhz7m3GsI029KBz38Vss wNctVdhyObhrQVfL5ywHQZ1+eDaajKH1Z8UOq8H7Cr5DvZFpOIqis6HXfqwWhP7VjsWv y5bSoi/M/ZSzvJvFqei1C8uNCegE9jEGo//XSOWkayr5fcLCb59bz0wrT7lfh2Pb+wLr NB9Q== X-Gm-Message-State: ACrzQf0lNPwq5uFlxNhsZqPv519njGQ2KLNx3/dp9eKUQh8aMMB8vBBV X/9VhfDsKnzqi1869cvGCE12gbRjHhM= X-Google-Smtp-Source: AMsMyM4SZB+sOAJRfTWDNS29tMPNU3FeCDD3Nv4AzaMRd9RDvkPkkqIpB4KLcV9zCVOmjOfZHltg1g== X-Received: by 2002:ad4:5d4d:0:b0:4ad:2883:e40b with SMTP id jk13-20020ad45d4d000000b004ad2883e40bmr7829797qvb.51.1663590829619; Mon, 19 Sep 2022 05:33:49 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:48 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 07/11] php: upgrade 8.1.8 -> 8.1.9 Date: Mon, 19 Sep 2022 08:33:34 -0400 Message-Id: <3cd6cc5dec3e8c5e692cf29b0293cb3955a982db.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98858 From: Wang Mingyu Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj (cherry picked from commit 610b8fdfd45467ae1007878cc98baae2e73fb0cb) Signed-off-by: Armin Kuster --- meta-oe/recipes-devtools/php/{php_8.1.8.bb => php_8.1.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/php/{php_8.1.8.bb => php_8.1.9.bb} (99%) diff --git a/meta-oe/recipes-devtools/php/php_8.1.8.bb b/meta-oe/recipes-devtools/php/php_8.1.9.bb similarity index 99% rename from meta-oe/recipes-devtools/php/php_8.1.8.bb rename to meta-oe/recipes-devtools/php/php_8.1.9.bb index d5cf7d8b21..a93adeefe8 100644 --- a/meta-oe/recipes-devtools/php/php_8.1.8.bb +++ b/meta-oe/recipes-devtools/php/php_8.1.9.bb @@ -33,7 +33,7 @@ SRC_URI:append:class-target = " \ " S = "${WORKDIR}/php-${PV}" -SRC_URI[sha256sum] = "b8815a5a02431453d4261e3598bd1f28516e4c0354f328c12890f257870e4c01" +SRC_URI[sha256sum] = "9ebb0e2e571db6fd5930428dcb2d19ed3e050338ec1f1347c282cae92fc086ff" CVE_CHECK_IGNORE += "\ CVE-2007-2728 \ From patchwork Mon Sep 19 12:33:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12969 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 DF0FBC6FA91 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by mx.groups.io with SMTP id smtpd.web12.19192.1663590826487048450 for ; Mon, 19 Sep 2022 05:33:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WQA/ceg+; spf=pass (domain: gmail.com, ip: 209.85.219.41, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f41.google.com with SMTP id d1so21732273qvs.0 for ; Mon, 19 Sep 2022 05:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=4YJAMHpKw6c/171FvdnLkoQWSm2I9XqhQvF1bLOmH8M=; b=WQA/ceg+dlxRfK0khPQujKnYq4Cc1HXWsmSTKfwt152PXvR3h6BOI4WjjUmG1OIglI 2iyyFYfAoAllD+phT1nEW3X7mlJ37DhYDcbY4dLUGS/wWsVWNmgJxL83NB7S2g+8fZp8 +85P06Fc15HX4PerCBpxEXw3zSABgIlni48rTxiU23b9BAQeqHP5nuGBIG7O8+xnuUTa QWBvcaG11oJPLH+znq2NDPPVqX553R6rwG8w26RDor8sH3ThG+mN+vsav4rGYjdOCmKw 69cqaOx2zKCyvDD6EKuePJlghbJGlyKNpbOOHOSPZ8vN9OQ8rvZBPwFwe3gPLefm75qa axXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=4YJAMHpKw6c/171FvdnLkoQWSm2I9XqhQvF1bLOmH8M=; b=b9dFzA73BIc3XEuaxyuHx4Cyy8A6AtkjvRnIkQdvy0Psf6ZNyffrOC0IGW4IwB6iZs dKxIOtlQkDE7Wa2q1TXDz6xS8EGs/HqeequS8PzI9MxJoiuXAd7F72Uu5nkOweejElYs 0Hm1Jvv3+ojCptiZnvnKfBzhz7dbQgziBmMfvT6G9wza8SLYlLqOdNdH5n7DwAILN2sq k9dntY3KPnzOhC2VuR009WgXHKEnUpo+JRqBH8H+404ycIH7QdbRK4ioEX8IJwz7WXOC YS05TPpTpxD9gossEA9PKTApHsahqMyKELAGitAAoMK4Lk2pZDUNh/N1+6D+tVAzlCHx XaKQ== X-Gm-Message-State: ACrzQf2O98z4PLVRyuiVijGKb1FMKr11juXBFauEjcRTZNSXq5pKvJPt kXX1rjM6bqWJZFKkA4I9bn9WjnDXiJI= X-Google-Smtp-Source: AMsMyM6UTMezD7fxGBSadgv5BKDfE9gRDcY7XYxES3qm/tQOmQK8qBunYA4NrPJupniKlB3Byolrvw== X-Received: by 2002:a05:6214:411a:b0:4ac:9402:e7de with SMTP id kc26-20020a056214411a00b004ac9402e7demr14346883qvb.128.1663590830493; Mon, 19 Sep 2022 05:33:50 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:49 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 08/11] libldb: upgrade 2.3.3 -> 2.3.4 Date: Mon, 19 Sep 2022 08:33:35 -0400 Message-Id: <02f2e6d762b660e12fd64dd1d638d7d43b2d5eb3.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98859 From: Yi Zhao Required by samba 4.14.14. Signed-off-by: Yi Zhao Signed-off-by: Khem Raj (cherry picked from commit 1cd743f8d8053cc9d34cd1a0204d4d333722e0f5) Signed-off-by: Armin Kuster --- .../libldb/{libldb_2.3.3.bb => libldb_2.3.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-support/libldb/{libldb_2.3.3.bb => libldb_2.3.4.bb} (95%) diff --git a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb b/meta-networking/recipes-support/libldb/libldb_2.3.4.bb similarity index 95% rename from meta-networking/recipes-support/libldb/libldb_2.3.3.bb rename to meta-networking/recipes-support/libldb/libldb_2.3.4.bb index 6dd3ec3a9a..af5f0427d4 100644 --- a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb +++ b/meta-networking/recipes-support/libldb/libldb_2.3.4.bb @@ -32,8 +32,8 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \ file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42" -SRC_URI[md5sum] = "6824f69ea3bb58cb8a3be4c179e7569a" -SRC_URI[sha256sum] = "9ef39700ff05b3e8f5801d2a39fe1ba023218650f81c9d377caca22f49076807" +SRC_URI[md5sum] = "b01d6913a06901c22c5bc6caedc548ac" +SRC_URI[sha256sum] = "f2e88dcab7b6007d92724b62f8a16e7c6e77275885c60eb4f87097e4aa4082c1" inherit pkgconfig waf-samba From patchwork Mon Sep 19 12:33:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12965 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 DDCAAC6FA90 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by mx.groups.io with SMTP id smtpd.web08.19284.1663590829949256404 for ; Mon, 19 Sep 2022 05:33:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m2n/gTdY; spf=pass (domain: gmail.com, ip: 209.85.219.44, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f44.google.com with SMTP id y9so21684423qvo.4 for ; Mon, 19 Sep 2022 05:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=SVYQyxL4AsrcVL5XeyJWufYlbxinHZtQmbPbiPNSroo=; b=m2n/gTdYQsVDXnFMEvzk7O5dae/lCl4hPH5gqApRNyOSxqP54q6ggdAeYLQuNrIsPn 8K6qFLyiykyNTx8fSgrkpLqXN21KzFbTayqTPhgFwMbS3EDrEoRgsTdhOVwlqht5jY4q 4Or9UKGjjFDRb1NGnuzj74cOSHVex5O2Wa6AV4i4Yezx5bEuGXTCCfmVHROKjBoUptsk juYiHEBFb4ld/Rz/GWL9GvSwb+kFORmVOIM3K8Llziq7VzYjmkwUdXCB5qx+r7S/1xC3 cZvYcwQ+JRh/8e/fR2iMuAZm/1tfT2XtJc5EtnJ1ho1PeNaPZSZVWeQmi5aRiZT4yH2E fsPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=SVYQyxL4AsrcVL5XeyJWufYlbxinHZtQmbPbiPNSroo=; b=XXfy0duxYQ39VkvMzLpoadGzvtpszMdnRfILsPRFpyz1PDsGaLFJfQJRmusaMNMkZ9 Y8fzirx9elSPQDmBl0nf2e8UFSCdb/QTdpMLx8q3/vX0kJ04f/jvHDp9jyudFW6blILI Zf69/KNC5UiJjno6l+LGti7Ol5s+GZ2ismI2s/givhtXwKUJiLCkbSgg5iMCF85ySN9i T7N6RvWjKjn+adWSXbiQRLvxVEBuAJs06FdF2ZKLgOz8DHthnnLNnBLzIeJtU6hPD5p7 wTjbakZmAIhN+VLauvisEGCWLEzrekSD0cNxDOE53IjwrmkJeeVnZG+5mYfMiMBSJeuk jh1g== X-Gm-Message-State: ACrzQf2DC86xq5hFPIHRwiQlICZ3i6xerLRaZYCWnBWvmjIBJuVcayCY lNmUoZv6vA4OdhQJ1l8qjO/v0OD4/mM= X-Google-Smtp-Source: AMsMyM68WG57/i3V/WmNHY2mzqT0Z801Z8rjD51SoCejbR62YU7xuF6EuQywbzYTzJi0Ekf3FQuAHQ== X-Received: by 2002:a0c:e0d3:0:b0:4aa:9d28:6603 with SMTP id x19-20020a0ce0d3000000b004aa9d286603mr14180885qvk.91.1663590831310; Mon, 19 Sep 2022 05:33:51 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:50 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 09/11] samba: upgrade 4.14.13 -> 4.14.14 Date: Mon, 19 Sep 2022 08:33:36 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98860 From: Yi Zhao This is a security release in order to address the following defects: CVE-2022-2031: Samba AD users can bypass certain restrictions associated with changing passwords. https://www.samba.org/samba/security/CVE-2022-2031.html CVE-2022-32744: Samba AD users can forge password change requests for any user. https://www.samba.org/samba/security/CVE-2022-32744.html CVE-2022-32745: Samba AD users can crash the server process with an LDAP add or modify request. https://www.samba.org/samba/security/CVE-2022-32745.html CVE-2022-32746: Samba AD users can induce a use-after-free in the server process with an LDAP add or modify request. https://www.samba.org/samba/security/CVE-2022-32746.html CVE-2022-32742: Server memory information leak via SMB1. https://www.samba.org/samba/security/CVE-2022-32742.html Release Notes: https://www.samba.org/samba/history/samba-4.14.14.html Signed-off-by: Yi Zhao Signed-off-by: Khem Raj (cherry picked from commit 0afcb4be77acdb7af3624278ebd5869f0e88bdfe) Signed-off-by: Armin Kuster --- .../samba/{samba_4.14.13.bb => samba_4.14.14.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-connectivity/samba/{samba_4.14.13.bb => samba_4.14.14.bb} (99%) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.13.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb similarity index 99% rename from meta-networking/recipes-connectivity/samba/samba_4.14.13.bb rename to meta-networking/recipes-connectivity/samba/samba_4.14.14.bb index 49e93fc536..cb3678d7b6 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.14.13.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb @@ -31,7 +31,7 @@ SRC_URI:append:libc-musl = " \ file://samba-fix-musl-lib-without-innetgr.patch \ " -SRC_URI[sha256sum] = "e1df792818a17d8d21faf33580d32939214694c92b84fb499464210d86a7ff75" +SRC_URI[sha256sum] = "abd5e9e6aa45e55114b188ba189ebdfc8fd3d7718d43f749e477ce7f791e5519" UPSTREAM_CHECK_REGEX = "samba\-(?P4\.14(\.\d+)+).tar.gz" From patchwork Mon Sep 19 12:33:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12966 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 D2F3DC54EE9 for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by mx.groups.io with SMTP id smtpd.web12.19197.1663590833369388415 for ; Mon, 19 Sep 2022 05:33:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E9Ihd+Tm; spf=pass (domain: gmail.com, ip: 209.85.219.52, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f52.google.com with SMTP id j8so10759958qvt.13 for ; Mon, 19 Sep 2022 05:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=kjSFcZR1UfaD+9XsRQBHHQn/hKOBipnAxb0LsT9Z558=; b=E9Ihd+Tmss/dAgDRLq808Xq31J7mp0YMBV0f2AWFS/7Zxv29JxGeZ0F/Vuxk8JUDTB msvm0NIRfip0EBgOexzcfZw7r0LY8FCf31a2N2gbIvDBXTo40hD/v4XPgbLivp9s6Ij4 JYdk1hlJIRWiWtJxWCYiQhnMb61kDmbGRFjpXZM9LXotJ0lFy70zbw9f5uMX2xIY7HcE ima+sZiqWOeqAl7jWirXeT5yNJXTuLsdhK82sIoSLkJHoCrrPifg+TiJwIu1oiVZ6E0+ QeOkmyZkv3z6/MAkoNJcv+NItmTotHK3hXWRETo+2YNk1yQ3tEbQwzYMIhpvj/ODQwRu H/bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=kjSFcZR1UfaD+9XsRQBHHQn/hKOBipnAxb0LsT9Z558=; b=cQTJwRZCd5NLRLzJvDOv0SSL8XxLlfOj0UJAXClvjIJFlERMNjP1B3GGO09/BP/anR XbUQsRxWTBE7nhXzpSqKyx2FO7Z1VPQ3dxwypa3a9Ne+cGAMsmNVkZit/a0Wi6rRnB8V cgqJ3ac7/GEUqPuZAXamXfppYPvzWJem2oqIISfWevsTKRy1OW/L7ALb8hO/YEr5tvqF YA7/ik5Vqab7AxvtTJ84lGTPwNLfdS5F2pKQ8/qraJBliFcBqNeBwtdExeHJtzD1mErP hbK6yBzosqsBbPjSp70uBm+57g0cTiA/HtSjZvE6bEH+RTpCkm98YLT7q9QRH3UNsBo9 Wl/Q== X-Gm-Message-State: ACrzQf25qx88U8pBqkyWGO3v3Pq2mZxeWqK7VoOt0PE8qZgNoDkmIepQ 8bs0QV/WW1XDbm7mUYt8m8mxYnkA9uk= X-Google-Smtp-Source: AMsMyM4v5TxcdWl0imBYjVgYRrFZhfnjeDYWjraoFxbj8vljyAwzPzbtJCatDbVO+9km4LrE9PU05Q== X-Received: by 2002:a05:6214:29e8:b0:4ad:2f1f:b9c with SMTP id jv8-20020a05621429e800b004ad2f1f0b9cmr6883881qvb.8.1663590832117; Mon, 19 Sep 2022 05:33:52 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:51 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 10/11] samba: fix buildpaths issue Date: Mon, 19 Sep 2022 08:33:37 -0400 Message-Id: <13f1e688421fff4b24fbef311f7c47118633f0c5.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98861 From: Yi Zhao The test case tfork_cmd_send in smbtorture fails on target as it requries a script located in the source directory: $ smbtorture ncalrpc:localhost local.tfork.tfork_cmd_send test: tfork_cmd_send /buildarea/build/tmp/work/core2-64-poky-linux/samba/4.14.14-r0/samba-4.14.14/testprogs/blackbox/tfork.sh: Failed to exec child - No such file or directory This also triggers the buildpaths warning: QA Issue: File /usr/bin/smbtorture in package samba-testsuite contains reference to TMPDIR [buildpaths] Skip this test case in smbtorture to avoid the warning. Signed-off-by: Yi Zhao Signed-off-by: Khem Raj (cherry picked from commit 2b8b5dbe03cb83df1bb6c6dc1cfbf5c2bf836cf9) Signed-off-by: Armin Kuster --- ...orture-skip-test-case-tfork_cmd_send.patch | 38 +++++++++++++++++++ .../samba/samba_4.14.14.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch diff --git a/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch b/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch new file mode 100644 index 0000000000..90ee317860 --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch @@ -0,0 +1,38 @@ +From 059b517f9ef6cbdc696e0983ce255b1728042827 Mon Sep 17 00:00:00 2001 +From: Yi Zhao +Date: Thu, 25 Aug 2022 16:46:04 +0800 +Subject: [PATCH] smbtorture: skip test case tfork_cmd_send + +The test case tfork_cmd_send fails on target as it requires a script +located in the source directory: + +$ smbtorture ncalrpc:localhost local.tfork.tfork_cmd_send +test: tfork_cmd_send +/buildarea/build/tmp/work/core2-64-poky-linux/samba/4.14.14-r0/samba-4.14.14/testprogs/blackbox/tfork.sh: +Failed to exec child - No such file or directory + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao +--- + lib/util/tests/tfork.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c +index 70ae975..4826ce6 100644 +--- a/lib/util/tests/tfork.c ++++ b/lib/util/tests/tfork.c +@@ -839,10 +839,6 @@ struct torture_suite *torture_local_tfork(TALLOC_CTX *mem_ctx) + "tfork_threads", + test_tfork_threads); + +- torture_suite_add_simple_test(suite, +- "tfork_cmd_send", +- test_tfork_cmd_send); +- + torture_suite_add_simple_test(suite, + "tfork_event_file_handle", + test_tfork_event_file_handle); +-- +2.25.1 + diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb index cb3678d7b6..53526a26b6 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb @@ -21,6 +21,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ file://0004-Add-options-to-configure-the-use-of-libbsd.patch \ file://0005-samba-build-dnsserver_common-code.patch \ file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \ + file://0001-smbtorture-skip-test-case-tfork_cmd_send.patch \ " SRC_URI:append:libc-musl = " \ From patchwork Mon Sep 19 12:33:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akuster808 X-Patchwork-Id: 12970 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 D2F78C6FA8B for ; Mon, 19 Sep 2022 12:33:57 +0000 (UTC) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by mx.groups.io with SMTP id smtpd.web12.19192.1663590826487048450 for ; Mon, 19 Sep 2022 05:33:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eOPISkaY; spf=pass (domain: gmail.com, ip: 209.85.219.41, mailfrom: akuster808@gmail.com) Received: by mail-qv1-f41.google.com with SMTP id d1so21732364qvs.0 for ; Mon, 19 Sep 2022 05:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=NzBEqyvg7m6CVXXzvZ7hRSLqmqsN+RgSrZ4Kg7PMdlM=; b=eOPISkaYRo+3tQMheSQhrlylz+70tsCy6bEcRxmh9FdMuegZ33DQmFPmkAYhm4aFMa 5T56vFUCVbdpfw0Syd4IWCSdY0ad3SjY7WeiGbsZu949g+BTrNt7Vi4OPeLkjAtqKjCi zSHbf2TQsF8M+GjFaDPuBzijo5xllgbU07Gkx8uHAv87X3osz5SKh4l4QXBQh4gkH997 EGBn0nQJ3A+hp2/Ke9DiHBo+6Un7E6kaWUJil49z/9At3SO3w3bUjyVn5d9Pmnt6tPuH vbkxSVow/FeDnxEe9Z8gQVvIV/V9iLeVhHor7ZAbOAnfpISfHRjUEd8q/8gjGz5mDu+n 3udg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=NzBEqyvg7m6CVXXzvZ7hRSLqmqsN+RgSrZ4Kg7PMdlM=; b=h+lpTSjKtrwqyKstzp8J+qkISi3Y4Z3Vr17tLA3QT6FYwz6FXO/HUggf1ycFtbUus8 lmJXNfHgC24x8OvIkl/B1kMh80ZVem0xbqMcTwi7EWcqhODaOTqvFecj7V4NIZTRCEgG I8wkejCMZ6bzIogaiwCraRFS8atvWb2+D5SX2j7nmp85O681njtIGftV/kPrYdB4NiGT j4ESzjTM7fKmSijiZHzwJmLKCb3HRQnBMcCVZ+vPA6xFFnjYcOMTk4jeqhxuTt/XZ94n Nhcd/NxtUuVf1qhbavFgdKJKZTwdJTjdbJdwUymnNDtosaBdbLo5oVBcEQ4TzgFM3/Ms bNzQ== X-Gm-Message-State: ACrzQf2TTbmy5PbRIoEkB++UNtPd7EkRL/MOElFFxXdPfaRoI1T5viSG FqPTb26onM6vvDxsGdA2vBvyfarN/mk= X-Google-Smtp-Source: AMsMyM7KYmgzU7nqTErotebUgebLWlY39wqCFm/+E4z5Fn4aBzpTnD3bsr8GcZuuXVVuvoKQGN0/yg== X-Received: by 2002:a0c:c547:0:b0:4ac:9897:543f with SMTP id y7-20020a0cc547000000b004ac9897543fmr14629789qvi.17.1663590833057; Mon, 19 Sep 2022 05:33:53 -0700 (PDT) Received: from keaua.attlocal.net ([2600:1700:9190:ba10:b6ed:2737:547c:2270]) by smtp.gmail.com with ESMTPSA id br41-20020a05620a462900b006ce16588056sm12541040qkb.89.2022.09.19.05.33.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 05:33:52 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Subject: [kirkstone 11/11] postgresql: make sure pam conf installed when pam enabled Date: Mon, 19 Sep 2022 08:33:38 -0400 Message-Id: <05dcac98473402d87e0af73bbc2c5a6a840abe93.1663590728.git.akuster808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 ; Mon, 19 Sep 2022 12:33:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98862 From: Mingli Yu Update the pam check logic to make sure pam conf installed. Before the patch: root@intel-x86-64:~# rpm -ql postgresql | grep pam.d | grep postgresql root@intel-x86-64:~# After the patch: root@intel-x86-64:~# rpm -ql postgresql | grep pam.d | grep postgresql /etc/pam.d/postgresql root@intel-x86-64:~# Signed-off-by: Mingli Yu Signed-off-by: Khem Raj (cherry picked from commit a755af4fb5ca2e158b00214bb18e27ba69c200fd) Signed-off-by: Armin Kuster --- meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index bef33e6bb4..60d44ce979 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc @@ -205,7 +205,7 @@ do_install:append() { # multiple server config directory install -d -m 700 ${D}${sysconfdir}/default/${BPN} - if [ "${@d.getVar('enable_pam')}" = "pam" ]; then + if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/pam.d install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql fi