From patchwork Tue May 23 04:26:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24298 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 59E36C77B7A for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.13892.1684816021346120497 for ; Mon, 22 May 2023 21:27:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=mH7Ba8J+; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-64d18d772bdso6234786b3a.3 for ; Mon, 22 May 2023 21:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816020; x=1687408020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=I8j8ppYyxHzuT8r2EhWRK7S2rDSpK49vQloV9MN1bnk=; b=mH7Ba8J+78QqcoPxaTIvEunUDY8ON3J8dua1IFhk6S3uwnrlgDi9M+RcdCT55hDgtS ygQBEH584gtB7XUAmYtJRrsgOd2M6T+s4mRuP3DjRUBAV7V8cMXv9vtVBl2Bp6ET/YgQ gAE9pVbv3t+F0No4hTma46WcU/qX73/ioTpdZW0sw3JC0JjFXmK+xeBI4/Oa//4Rvfpe odV//S/+t6sAX3KBd5ojwy9tCcPKSw8cfLtVN5E1fDW1N9e4kH7TUEf90Tw6NJQ7POhE UG/f4/UkiU9nl/kcSrSSga8dSoeZZ+/8nhoukfISXEZ2L0r8gNXmXt7/4m4usCiQil00 PScg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816020; x=1687408020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I8j8ppYyxHzuT8r2EhWRK7S2rDSpK49vQloV9MN1bnk=; b=VKZa0emop67t6HJicJpOcv4iv9xs/orGqPClaEJH49QtbxBmePxFlj0ISXexjAGp8D geeLttmfRlCyM5xhmpMDPHZRdU/mkVUo2pBrPC1sydMWfZPtz5LuHnQMwOHohLkiExdA 8ykV/hylZKqRrZY4yI6Qm9dNhIKnuwNtRPQnTF1pJt+GV3zp2bCZ74shbfp7/Be9DqZx 0kQ7hQ+u0OXD9izquz6S5/FllpWH29LjAJkIDXJu/q78gHcCY4AZkrS7YSO8Q+vRhGs3 VfAoHVzPu/pMbIEdYzikC2A6y8htxcGQSrpsh4RJHjgvgRCnOPbodM9Ld6K9WeMvns6v 4EeA== X-Gm-Message-State: AC+VfDxHJ4w6dLv2af5aEBNAYJaunuOrVGGlJeWeLIFg65ykZDmz2lbG cXWvkM8iBhL1wWjqngPDn+MJVqzGaqI= X-Google-Smtp-Source: ACHHUZ5ujuLe3Kz378sFcDe/9of7QSBiAkIKtr5sukH6OWx52aZDykyFww5zkhrZOsSpcqwa5Sxq3A== X-Received: by 2002:a05:6a00:2e84:b0:63b:7119:64a9 with SMTP id fd4-20020a056a002e8400b0063b711964a9mr17112962pfb.16.1684816020246; Mon, 22 May 2023 21:27:00 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:26:59 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 01/11] lockfile-progs: Pass DEBUG_PREFIX_MAP options Date: Mon, 22 May 2023 21:26:48 -0700 Message-Id: <20230523042658.4159559-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 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 ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102716 This recipe overrides normal CFLAGS which loses the prefix rewrite options, add them manually. Fixes File /usr/bin/.debug/mail-lock in package lockfile-progs-dbg contains reference to TMPDIR Signed-off-by: Khem Raj --- .../recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb b/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb index d7ba6e14b2..834687b43b 100644 --- a/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb +++ b/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb @@ -12,7 +12,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.gz" SRC_URI[sha256sum] = "2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e" do_compile() { - oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ${DEBUG_PREFIX_MAP}' } do_install() { From patchwork Tue May 23 04:26:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24305 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 93116C7EE37 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web11.13651.1684816022134472387 for ; Mon, 22 May 2023 21:27:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=NJrZCsv+; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-64d3578c25bso4675733b3a.3 for ; Mon, 22 May 2023 21:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816021; x=1687408021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vSUlx0AUaFETThniXkJv+vFFTMdX54j+QHScIi4bM/4=; b=NJrZCsv+cKZ87kRq88YZVB8wrxUdylgoN9ZHSgEozxs5eU/jaosxARSX4wBDimv4Q+ NTOth/+GmQvmJRz1g6LXp5uzpI/eOdqxQZCeG3479wQymFbws3mwCXYT2NzwMJqwgwUw he5w+bQdSoLHcjOwhafbdXhrvHK2ZnwbLitAvyQa9YAycs7WY5RA229u2kmDCthEce6P fcxhLCFP+9IALUZ7d/whOZP4XQkcEeR4GU8vR2oK6rhXuDOB51b2H0lrQzCb6uE6wq/I N/DDF3b5k5pQ2Fu838WCeVt1ihPhtfyYkbO/mpFJI+hLiHUwO0LdBjOUefCDzHUV1kSI 1NZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816021; x=1687408021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vSUlx0AUaFETThniXkJv+vFFTMdX54j+QHScIi4bM/4=; b=WzA90BdcL7QfFhMcIVAyNo1oRQggxLStPffEkcS8UCDeU3EcQopZz2/UrrW3c+n13B LNTFy2gTDyGSRGpr6sdgZWlZJJ0z7WECZo2+gvvAVaNkaXCDld6jli1x8f0ANX9itJZe 3sCjHY/Cyam5XPN/IovC63qLu/Okrdx0eUoJdeQSADNOcPCLHyenyLtwvgzXl+BKbA/u 2GLYiYDseVz0tBv2SJAaUJ1G63LEvIKxx74Ij1IQFvGC59vriFpvelcL3quQwDIuc3dG xis3oIjkH6NDE2Sv1hiP2mdgmruf9LMTMac6U7d0zla76QqfeKUz0MnLeX9QP51OqYHa xyKA== X-Gm-Message-State: AC+VfDwtNuWLq+KxP/jtpSQJGO7w7gn3ZAwoRXYTdW+DYOwAi3DfD9KZ ZqT/Ynm4NxPEVCUl4H/6tvrky8HKA74= X-Google-Smtp-Source: ACHHUZ52nihQIjgbf9x9kZIYcIZ2iXhr/dKyg24CSD6awtClCEb27O+FGydmVygl1qkC9o0hm/n7Zg== X-Received: by 2002:a05:6a20:1586:b0:101:73a9:1683 with SMTP id h6-20020a056a20158600b0010173a91683mr14579159pzj.33.1684816021035; Mon, 22 May 2023 21:27:01 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 02/11] tvheadend: Upgrade to latest master Date: Mon, 22 May 2023 21:26:49 -0700 Message-Id: <20230523042658.4159559-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102717 Fix buildpath errors due to generate build.c file containing compiler options Fixes WARNING: tvheadend-4.3+gitAUTOINC+cc60283368-r0 do_package_qa: QA Issue: File /usr/bin/tvheadend in package tvheadend contains reference to TMPDIR [buildpaths] WARNING: tvheadend-4.3+gitAUTOINC+cc60283368-r0 do_package_qa: QA Issue: File /usr/src/debug/tvheadend/4.3+gitAUTOINC+cc60283368-r0/build.linux/build.c in package tvheadend-src contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb index b3e5e78c7c..d64ee96f78 100644 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb +++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb @@ -30,3 +30,7 @@ EXTRA_OECONF:append:libc-musl = " --disable-execinfo" EXTRA_OEMAKE = "CFLAGS_NO_WERROR=yes" CLEANBROKEN = "1" + +do_configure:append() { + sed -i -e "s|${WORKDIR}||g" ${B}/build.linux/build.c +} From patchwork Tue May 23 04:26:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24300 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 6EECCC7EE26 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.13894.1684816022645359175 for ; Mon, 22 May 2023 21:27:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=SxwFCqV5; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d1e96c082so3824086b3a.1 for ; Mon, 22 May 2023 21:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816022; x=1687408022; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BZOpiU6T78LCc/YT7YZiG2GunQS4liHQmZoG8X+fDPY=; b=SxwFCqV5FXcejYjtkYAzba7HDjG0kcvczyrVaQ4D4ojf/GoxQbwYlIDZ1e99mPVWpF rz4t2mh25cRD5fZEgWo0SHPylm5Umdfzwl5IS3d8uTTucftQ57j/5Ii2HPACh7nle4rG IJ+JwH1+mPgWzC0c51zvUUFF+ny+8opWOHzhOZMt+5vtFt+bP3nOAVgl4agKAcfohHq9 4rrAywm3636Q71iK262FLF1IESKCApriXBcQYGZz9Gl0y0CAaXi2MZhkatAROHaqS5E8 uRsGESVR4rviUNTwX2ZVajssF9/JSnJJXDzKEn731fIa3/JEkVsJjM14Gnpej5DxjOnS t5OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816022; x=1687408022; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BZOpiU6T78LCc/YT7YZiG2GunQS4liHQmZoG8X+fDPY=; b=kXS6RdJ5YFDgAQgbDvaS9QTlYvN2qFzAiXUmnVjPyLUU44MvxeUEFjml2CMcY/Uw1H ei7YDVoMh8g5aU/0pXGrtv1/TK6DJkqgouGYRnFi2HG539BDQQSKQIYWRx+dsLiBN3MI 6fU4gHtN+KqOBzZpid4wda6dbaO6GzodFpFCsyd/g66IuSk03T8ORDhPSUp0uhymSo3G I8gtAbcFnj5RD3itvjiG3dtj/bIPpPtbGN2yJEP5NTElUmaYGDpJcVl8vyJyCLAgWPUC Ln24lJ1R/y7NmiAhHIpR/2Iv0ltQzoNCrCVcqIIvyS0C0tW14khrrpRw8/m5jDXDERnG UZNQ== X-Gm-Message-State: AC+VfDxwu1KYYPw2jSeEcnmfkfZYlqlflmvpmv6ETb+oi1riOywR5+T5 t14xvTD3QN5/VgXV3iCT1PWS9TCL7WI= X-Google-Smtp-Source: ACHHUZ6YOtaQSTKD+ArKVlCqXIkdYZLYe4nV9XIiT3mhsZcXq+W2Tb0NEVnfDQGtEWYvD+euJIo94Q== X-Received: by 2002:a05:6a00:1404:b0:62a:4503:53ba with SMTP id l4-20020a056a00140400b0062a450353bamr15620785pfu.26.1684816021623; Mon, 22 May 2023 21:27:01 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 03/11] nbdkit: Remove buildpaths from binaries Date: Mon, 22 May 2023 21:26:50 -0700 Message-Id: <20230523042658.4159559-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102718 Drop unused patch 0001-server-Fix-build-when-printf-is-a-macro.patch Fixes WARNING: nbdkit-1.33.11-r0 do_package_qa: QA Issue: File /usr/lib/nbdkit/plugins/nbdkit-cc-plugin.so in package nbdkit contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- ...void-absolute-buildpaths-in-binaries.patch | 38 ++++++++++++++++++ ...ver-Fix-build-when-printf-is-a-macro.patch | 39 ------------------- .../recipes-support/nbdkit/nbdkit_1.33.11.bb | 2 +- 3 files changed, 39 insertions(+), 40 deletions(-) create mode 100644 meta-networking/recipes-support/nbdkit/nbdkit/0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch delete mode 100644 meta-networking/recipes-support/nbdkit/nbdkit/0001-server-Fix-build-when-printf-is-a-macro.patch diff --git a/meta-networking/recipes-support/nbdkit/nbdkit/0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch b/meta-networking/recipes-support/nbdkit/nbdkit/0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch new file mode 100644 index 0000000000..75377dfb80 --- /dev/null +++ b/meta-networking/recipes-support/nbdkit/nbdkit/0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch @@ -0,0 +1,38 @@ +From 1ccbd8fdbd2e367a702e48c8703b2f010d067b23 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 May 2023 18:16:24 -0700 +Subject: [PATCH] plugins: Avoid absolute buildpaths in binaries + +plugins seems to add CC to the plugins shared objects via compiler +cmdline which ends up in real code. Therefore scrub buildpaths from CC +and CFLAGS before passing them to plugin's build. + +Upstream-Status: Submitted [https://gitlab.com/nbdkit/nbdkit/-/merge_requests/30] + +Signed-off-by: Khem Raj +--- + plugins/cc/Makefile.am | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/plugins/cc/Makefile.am b/plugins/cc/Makefile.am +index df8b5d15..80586a17 100644 +--- a/plugins/cc/Makefile.am ++++ b/plugins/cc/Makefile.am +@@ -44,9 +44,12 @@ nbdkit_cc_plugin_la_SOURCES = \ + $(top_srcdir)/include/nbdkit-plugin.h \ + $(NULL) + ++workdir := $(shell dirname $(abs_top_builddir)) ++cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)##g') ++cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)##g') + nbdkit_cc_plugin_la_CPPFLAGS = \ +- -DCC="\"$(CC)\"" \ +- -DCFLAGS="\"$(CFLAGS)\"" \ ++ -DCC=\"$(cc_no_sysroot)\" \ ++ -DCFLAGS=\"$(cflags_no_sysroot)\" \ + -I$(top_srcdir)/include \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/common/include \ +-- +2.40.1 + diff --git a/meta-networking/recipes-support/nbdkit/nbdkit/0001-server-Fix-build-when-printf-is-a-macro.patch b/meta-networking/recipes-support/nbdkit/nbdkit/0001-server-Fix-build-when-printf-is-a-macro.patch deleted file mode 100644 index c7ec41eb9a..0000000000 --- a/meta-networking/recipes-support/nbdkit/nbdkit/0001-server-Fix-build-when-printf-is-a-macro.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 28f07715ab4d670ce81e12776bbece043305bd83 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 11 Apr 2020 15:08:39 -0700 -Subject: [PATCH] server: Fix build when printf is a macro - -clang complains on x86 when building - -main.c:116:2: error: embedding a #include directive within macro arguments is not supported - ^ - -convert nesting include into a string assignment, to same effect but -making it compatible with clang as well - -Upstream-Status: Submitted [https://github.com/libguestfs/nbdkit/pull/3] -Signed-off-by: Khem Raj ---- - server/main.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/server/main.c b/server/main.c -index 748122f..c0ac874 100644 ---- a/server/main.c -+++ b/server/main.c -@@ -112,9 +112,10 @@ static void - usage (void) - { - /* --{short,long}-options remain undocumented */ -- printf ( -+ char const *opt_list = - #include "synopsis.c" -- ); -+ ; -+ printf ("%s\n", opt_list); - printf ("\n" - "Please read the nbdkit(1) manual page for full usage.\n"); - } --- -2.26.0 - diff --git a/meta-networking/recipes-support/nbdkit/nbdkit_1.33.11.bb b/meta-networking/recipes-support/nbdkit/nbdkit_1.33.11.bb index 32d4270d18..cdf2677f13 100644 --- a/meta-networking/recipes-support/nbdkit/nbdkit_1.33.11.bb +++ b/meta-networking/recipes-support/nbdkit/nbdkit_1.33.11.bb @@ -10,7 +10,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=26250adec854bc317493f6fb98efe049" SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https;branch=master \ -" + file://0001-plugins-Avoid-absolute-buildpaths-in-binaries.patch" SRCREV = "6c02c6a469d62a047f230b0ccf03f72328312d2b" S = "${WORKDIR}/git" From patchwork Tue May 23 04:26:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24303 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 864CCC7EE33 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web10.13895.1684816023228986589 for ; Mon, 22 May 2023 21:27:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=hUh73bXr; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-64d2a87b9daso3512346b3a.0 for ; Mon, 22 May 2023 21:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816022; x=1687408022; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TpITaf8uuIOlzc3yaR/dC82wIYtbi5GNWyl1zu/Daqs=; b=hUh73bXrHWvS5Q9i4R9wLcEPq2nDRTnKxqxsBnyd8iuR4wNB+tDsB+fSujzkkvmIfF FSEdYdaaS8QPCKoQI3bss5KQ7HH0+kihNDs+EU5TMpjpb4RI9lYSvxKRF9Ii89zx36RL 5QLBSoMiIhXWJEOeFWKbATIUBUk9BmNat31tjjFDhMWZWlaNVWAdEGOLi0jvq0pjnNQV JcZCntPdvlvCNpsf4ekUHkQTyqu4G/2BbCbX/F/guTf/48VYDHPOfZL4B/6OdM67kWSx RtTXjcsiG/06angXphDaU6pBneSmXXnqIZNjk1aulr17zx+otfL/dSXc0LvJXfNKCNnB HFdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816022; x=1687408022; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TpITaf8uuIOlzc3yaR/dC82wIYtbi5GNWyl1zu/Daqs=; b=iX365NHXgodKunsPy6hzwT7YkOlZP6WXW9LTqyEtaEBZoyf9uHmoE5B53uAvXT6Ki5 8yrHIBgbaMp3aFY2UGuOqZQR4UN52cUkHF2yBkljLD1Vgn+5jQBgLFyrsItZLJWP7JEU TnOFAqoBRvnlzgobUNrnCU2fZBrHCRSbIPHJwzYnE7aawxFkBrJvKBGDO/jhQapGB6Ox vtIKQY4By6++EdMCL9I6mSvEPjp5Or9GTVXYcN+/buJ0MeXAAYjpBxZrGIqCJ2ElyIrq oiOHBFjn8QOE5+htQd805gii9qIg6AwK5NETEI41rULo6+PmOwtzHRUM9+Jtu7N4UgZ4 7I0w== X-Gm-Message-State: AC+VfDwTZ4tXMbvTUxddFOdV5FJ6tTPXtEbZ1lRBo1Obs3nqeqN3tmPd MScdu3kb2CBsOCoF0TekLLqe3fE4Otk= X-Google-Smtp-Source: ACHHUZ7AVOmaO5Xac8Aep0eiNzDdPQeRxX+dFEDxmX0dJKylXZ38e0QmOHlPuTDcKDXDoGtNhtQuDA== X-Received: by 2002:a05:6a00:23cc:b0:63f:ffd:5360 with SMTP id g12-20020a056a0023cc00b0063f0ffd5360mr19261272pfc.21.1684816022301; Mon, 22 May 2023 21:27:02 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 04/11] system-config-printer: Delete __pycache__ files Date: Mon, 22 May 2023 21:26:51 -0700 Message-Id: <20230523042658.4159559-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102719 These pyc files include references to buildtime TMPDIR, therefore delete them and let them be regerated during runtime if needed. Signed-off-by: Khem Raj --- .../system-config-printer_1.5.18.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb index 883d582371..f0ff24f376 100644 --- a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb +++ b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb @@ -21,6 +21,15 @@ do_configure:prepend() { touch ${S}/ChangeLog } +do_install:append() { + for f in __init__.cpython-311.pyc cupshelpers.cpython-311.pyc \ + config.cpython-311.pyc ppds.cpython-311.pyc \ + installdriver.cpython-311.pyc openprinting.cpython-311.pyc \ + xmldriverprefs.cpython-311.pyc; do + rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__/$f + done +} + FILES:${PN} += "${libdir} ${datadir}" RDEPENDS:${PN} = " \ From patchwork Tue May 23 04:26:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24304 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 8548DC7EE32 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web11.13653.1684816023864752813 for ; Mon, 22 May 2023 21:27:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=DBCBbWh9; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-64d44b198baso2151685b3a.0 for ; Mon, 22 May 2023 21:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816023; x=1687408023; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jz7WpdI9LrRyQe7FFmt81T4RREWHH1YjaeYtHatWRlc=; b=DBCBbWh9StZaPVsWJ7kNsWzKfBlbPMBFfFqyxo3XVcG+MqZ8jjcoTxbsvFPxX5zUW+ JBMmbVdzCiPSCe8WDSEdFNo7WxxxRUH72fPOsp/Uh87nbbCVwX8/D22FIphGvJ947aJH mJN35qWD2KwZiqrtuUQI5ud66zirMCeduXUwwLlTm7nKFV0/03UWm2feU9PU2cCpDW/W 2/WnwYSWsTsVfnGQ/SHxG2EOvdwn5NCJ3uSuK7cUSc7+J3+4t1YEqOmdRtutjH/wUFI1 P6AfjpfluH5JYes8SwnqMvomOkCe9vlT+KUmv2TAagy8l10+fAGOjS1Zf/OT7peXe0WE ScpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816023; x=1687408023; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jz7WpdI9LrRyQe7FFmt81T4RREWHH1YjaeYtHatWRlc=; b=Y46KHRPsnjKCflHqVCtVO1Q0jFmGdmtX2VGxkWvfTbNHWL0Z97PKEBOEuJnUJbIY5x NdIAAjrdmGeNXzZejZIZski8MTiuwtVz74/u1a7qhDxYfH4ATfGvdt80CqWhiXqS/LAz k5I1zbTuo435XyVNLgG+LYpvbPZGe2FwDNl54VekfQn1ZLNNm/UEZTu4lcd1m3E/+bP7 zbRFtm4UFLrS24LWaqbu4LzJgOt0Rs/OLOk2EXZIjOkGDk7pHEd5RcRhUkxMsgljj+qa kumPEd0xFwlKXOjraAa8YhO27Wy8D6+/dx1ZINAFaRNJrTuI6RQWgpANJBqvYYsNvzUH y/ng== X-Gm-Message-State: AC+VfDwWzSfqpCEoVpaBOGDqzY5sGddgzSyZ1WmLLOS0MfcpdQqs56U7 u8vvtOTEeDkvgur3x5zF5+HihrLqBdI= X-Google-Smtp-Source: ACHHUZ4Z1N07luf/qB4qRmz+jWiJXwpS0oXReQY96Eje/OSifmXpD5QK37OC9J0VGdGzgEoxrdLBNA== X-Received: by 2002:a05:6a20:1441:b0:10c:4a13:a5cf with SMTP id a1-20020a056a20144100b0010c4a13a5cfmr1945600pzi.6.1684816022941; Mon, 22 May 2023 21:27:02 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 05/11] uml-utilities: Fix references to TMPDIR Date: Mon, 22 May 2023 21:26:52 -0700 Message-Id: <20230523042658.4159559-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102720 Fixes WARNING: uml-utilities-20040406-r1 do_package_qa: QA Issue: File /usr/lib/uml/.debug/port-helper in package uml-utilities-dbg contains reference to TMPDIR Signed-off-by: Khem Raj --- .../0001-cow.c-Replace-stat64-with-stat.patch | 39 +++++++++++++++++++ .../uml-utilities/uml-utilities_20040406.bb | 5 ++- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/0001-cow.c-Replace-stat64-with-stat.patch diff --git a/meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/0001-cow.c-Replace-stat64-with-stat.patch b/meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/0001-cow.c-Replace-stat64-with-stat.patch new file mode 100644 index 0000000000..08296b97fc --- /dev/null +++ b/meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/0001-cow.c-Replace-stat64-with-stat.patch @@ -0,0 +1,39 @@ +From c4f85268da6c30b0aec3d9a0e951b2088887cff4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 May 2023 18:35:37 -0700 +Subject: [PATCH] cow.c: Replace stat64 with stat + +LFS64 is deprecated in latest musl and this fails to build +therefore switch to using stat API which is same as stat64 these days + +Upstream-Status: Inappropriate [No upstream] +Signed-off-by: Khem Raj +--- + moo/cow.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/moo/cow.c b/moo/cow.c +index 3951642..739d5ab 100644 +--- a/moo/cow.c ++++ b/moo/cow.c +@@ -161,7 +161,7 @@ int write_cow_header(char *cow_file, int fd, char *backing_file, + int sectorsize, int alignment, long long *size) + { + struct cow_header_v3 *header; +- struct stat64 buf; ++ struct stat buf; + int err; + + err = cow_seek_file(fd, 0); +@@ -192,7 +192,7 @@ int write_cow_header(char *cow_file, int fd, char *backing_file, + backing_file)) + goto out_free; + +- err = stat64(header->backing_file, &buf); ++ err = stat(header->backing_file, &buf); + if(err < 0){ + cow_printf("Stat of backing file '%s' failed, errno = %d\n", + header->backing_file, errno); +-- +2.40.1 + diff --git a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb index 35ae5f777d..6533455d8f 100644 --- a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb +++ b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb @@ -8,6 +8,7 @@ SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_ file://unstrip.patch \ file://0001-include-required-system-header-files-for-fd_set-and-.patch \ file://0001-Add-missing-standard-headers-for-str-and-exit-APIs.patch \ + file://0001-cow.c-Replace-stat64-with-stat.patch \ " SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a" SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41" @@ -19,11 +20,11 @@ S = "${WORKDIR}/tools" inherit update-alternatives do_compile() { - oe_runmake LIB_DIR=${libdir}/uml + oe_runmake LIB_DIR=${libdir}/uml CFLAGS="${CFLAGS}" } do_install() { - oe_runmake install DESTDIR=${D} LIB_DIR=${libdir}/uml + oe_runmake install DESTDIR=${D} LIB_DIR=${libdir}/uml CFLAGS="${CFLAGS}" } FILES:${PN} += "${libdir}/uml" From patchwork Tue May 23 04:26:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24299 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 709F0C7EE2F for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.13896.1684816024642664169 for ; Mon, 22 May 2023 21:27:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AAKiOMFN; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d1a0d640cso4085625b3a.1 for ; Mon, 22 May 2023 21:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816024; x=1687408024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PsmaCfV8fMxjJZdo+td/15rTNdVcD8l0/6WVXZVKVYM=; b=AAKiOMFNt7Aqxx1Gt2ZK8pNZ8vbuYv5+KMC85ccFSC6ALDSDieTIwdW/bZqSMVXW0p D/TSVQ7E3QHDG2Fs1gwIDlojrDWaT1GiLLZYj7B8HKdLYbNAMT5O6eW0iMvobpvjLze9 p5P3TwGlSkrUSa37qvw4pqw0/hB21DLP7TnkvVZb5+NdLSyFiRI4P5KdIlu13R/Gjxlo m+gF0RB9vjYRbamuJhoL8tC2WncSRu4p3jGgv2fLhlzj4zPPEBMvuOhaUJQgwuI7Absv 8wt5gmw8frBGp8HgNmvgBG2GCg2hpp4PKXUCU3ftQpN85l5jMdZGtwsnZFKkm9JD9Z+2 5+yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816024; x=1687408024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PsmaCfV8fMxjJZdo+td/15rTNdVcD8l0/6WVXZVKVYM=; b=IBQJJMZ7r09cJWPbbOMHgtp1LqJaoCeS57AiwPQrVuzEtK4D2MDs78Kau7LnsM6Qpu MCx6zP3l66vrBShxt/7EpCeq8gLmz+9w8QIEOj++nDNpEz+v2/b6WpFIwqsL3J544zSH j8l5var13gWwiyKyPCKjQ2u2jvAgy+Upg8GBnY1Dw6uh0Yrcs666TDA3o8JHjgMu75X0 Hv9J32P3dZ2TFyBzxvkUpdBbnYk9Rinkfy1HaF2Q7wJsauMvBD49riWFmM8GIedA0uE0 CU5M3saDhOLeCW5nCf3/d0KWfxKBcRJ+RdLbb55+IW3i67fluWNpxSGIAMkPF94ZDUJ5 95+g== X-Gm-Message-State: AC+VfDySP8kt/CW8KVmMDbSDBUovWihwp40QJDhFCKnc/OAzUr4om7bR Na4Rfpwn0+GbtBS9h7unX97M6v9q1sg= X-Google-Smtp-Source: ACHHUZ4y2+xZr8A+wjBB+2+bwjEOSAJX3ALHGTCbnU2UKCv57vTVsT1bxlPStQap3KWRPfVhOPqxHw== X-Received: by 2002:a05:6a00:1783:b0:64a:5cde:3a8c with SMTP id s3-20020a056a00178300b0064a5cde3a8cmr15520832pfg.28.1684816023554; Mon, 22 May 2023 21:27:03 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:03 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 06/11] dovecot: Upgrade to 2.3.20 Date: Mon, 22 May 2023 21:26:53 -0700 Message-Id: <20230523042658.4159559-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102721 - Re-enable LTO again, it works ok. - Turn systemd into a packageconfig and enable it when systemd is in distro features Signed-off-by: Khem Raj --- .../{dovecot_2.3.14.bb => dovecot_2.3.20.bb} | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) rename meta-networking/recipes-support/dovecot/{dovecot_2.3.14.bb => dovecot_2.3.20.bb} (81%) diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb similarity index 81% rename from meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb rename to meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb index d8c483191f..7729bb4a8b 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb @@ -12,9 +12,7 @@ SRC_URI = "http://dovecot.org/releases/2.3/dovecot-${PV}.tar.gz \ file://0001-not-check-pandoc.patch \ file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ " - -SRC_URI[md5sum] = "2f03532cec3280ae45a101a7a55ccef5" -SRC_URI[sha256sum] = "c8b3d7f3af1e558a3ff0f970309d4013a4d3ce136f8c02a53a3b05f345b9a34a" +SRC_URI[sha256sum] = "caa832eb968148abdf35ee9d0f534b779fa732c0ce4a913d9ab8c3469b218552" DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" CFLAGS += "-I${STAGING_INCDIR}/tirpc" @@ -22,9 +20,10 @@ LDFLAGS += "-ltirpc" inherit autotools pkgconfig systemd useradd gettext -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ldap pam', d)}" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ldap pam systemd', d)}" PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," +PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd," PACKAGECONFIG[ldap] = "--with-ldap=plugin,--without-ldap,openldap," PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," @@ -42,12 +41,7 @@ CACHED_CONFIGUREVARS += "i_cv_signed_size_t=no \ # hardcode epoll() to avoid running unsafe tests # BSD needs kqueue and uclibc poll() -EXTRA_OECONF = " --with-ioloop=epoll \ - --with-systemdsystemunitdir=${systemd_unitdir}/system" - -# Uses hidden symbols -# libssl_iostream_openssl.so: undefined reference to `ssl_iostream_handshake' -LTO = "" +EXTRA_OECONF = " --with-ioloop=epoll" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE:${PN} = "dovecot.service dovecot.socket" @@ -56,9 +50,11 @@ SYSTEMD_AUTO_ENABLE = "disable" do_install:append () { install -d 755 ${D}/etc/dovecot touch 644 ${D}/etc/dovecot/dovecot.conf - install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system - sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service - sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service + if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then + install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system + sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service + sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service + fi } USERADD_PACKAGES = "${PN}" From patchwork Tue May 23 04:26:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24301 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 849AEC7EE30 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web10.13897.1684816025161684613 for ; Mon, 22 May 2023 21:27:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=hif/uAvR; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-64d24136685so3132698b3a.1 for ; Mon, 22 May 2023 21:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816024; x=1687408024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yCRT41NSMlE72TGazjCLG6c9yJRC+hfMZzfMDkVt8ZY=; b=hif/uAvRnk3Uv/izms/VQoM/Sp5tGtpHOxfk4rvdnPT4Tdd7i8zE0B34+jw2qYS0dB 0uAoVE5OTwGhz+mYXNPL/N6GTOlOF1njppRsaGzwjOTbMlJVhnB2KldrxRKtUiMUhHtS bgxQKptHfNwwLaMLUHfugqZdkxT0uPCaS290P60nYA/TeZCX3grKIa1RbfH6JMfipCSw WRmGmu/hwcIbzUQztwmM5MTydf6sGzNhYUTqPxFV27e9Ue1WeaBzt2BC+wfqID0g8cCt qaLB+gaqGuljqdMFFvTuCy2V6qo0ER5392X9GBt8BG1J8FKNxHs024bHo4yWgSCp71yS A3UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816024; x=1687408024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yCRT41NSMlE72TGazjCLG6c9yJRC+hfMZzfMDkVt8ZY=; b=UJfoqx6QQh7e58dLFF6nEYKZrsQhCIo0M1aOTVnCnnlkIDv7s+ysgqz0XkAGpvSUJK fbS2y30XZkgriCtomniQZPL6pNr/yI8ffXYaQKQM460H4TwDvqN+blUT1nXrvTSBwo93 m+15ik8d1NjDV+R5Ljr/jCMdlNYjnVD65kBBiYEjLYHpeuLBS5/m7VuKXv4GMJT+ga4a pL0//9R9vFuzAfr6OWwdvP0iqAE2Mc3JOowRKvooevoFkOGPhwNHANZuLT7+95RoPr51 RQRlRQHFtjwV7mQE6y0brtX9sp0n93RsqjZg/ku+8yyS1DNhZpBFiIRIEBvFUtx6/VsV GJNQ== X-Gm-Message-State: AC+VfDyUz+ti4R2GyU4o8KprM8gPNf67E6Q2c0QRuekswWeTJUM+oMzl JFh4lmn60ITHxUBeptO7qCc9kia844M= X-Google-Smtp-Source: ACHHUZ56LpxOWPfJfE2JmAfusjkQtGI8mJiKEF60/HFDV4hx/ji+P6FUJdB7Nk90n/3UZQv4dpJM1w== X-Received: by 2002:a05:6a00:188c:b0:64d:421c:ae43 with SMTP id x12-20020a056a00188c00b0064d421cae43mr13220666pfh.11.1684816024226; Mon, 22 May 2023 21:27:04 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:03 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 07/11] dovecot: Do not install dovecot-config Date: Mon, 22 May 2023 21:26:54 -0700 Message-Id: <20230523042658.4159559-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102722 This contains references to source directories used during build, it will not be useful on target without really editing it properly to reflect target rootfs install. it perhaps never was used thus far, it would have failed otherwise. Fixes WARNING: dovecot-2.3.20-r0 do_package_qa: QA Issue: File /usr/lib/dovecot/dovecot-config in package dovecot contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb index 7729bb4a8b..effde16a9c 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb @@ -48,6 +48,7 @@ SYSTEMD_SERVICE:${PN} = "dovecot.service dovecot.socket" SYSTEMD_AUTO_ENABLE = "disable" do_install:append () { + rm -rf ${D}${libdir}/dovecot/dovecot-config install -d 755 ${D}/etc/dovecot touch 644 ${D}/etc/dovecot/dovecot.conf if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then From patchwork Tue May 23 04:26:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24302 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 716BAC7EE2E for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.13898.1684816025859051193 for ; Mon, 22 May 2023 21:27:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Xz2Ush7R; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64d2981e3abso3912476b3a.1 for ; Mon, 22 May 2023 21:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816025; x=1687408025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZkcMESbmvi4hQ8WwbQjsGZDCSRYNLMpRDNYaxukiiF8=; b=Xz2Ush7RYoAN+B/g4lIJwoVWE+ZNkIJuAcZlGvCeFD6ag8UM6lM99uVEsFuy1PJSxm Akr+T+TFxPAgX9dZumcHTyHrNViuSwvAKXDoqfvHKfcbl5smdeSekfda3QyE/SkmkU2f Q7QD8Pvhnfbn2am1cYSm8+srt0dlMpiiju+u0Bgt8XOxPPKfyd8m3FGEHZhDQJCrxO09 jAkqV9TzX0hqy/ksjYxwLW8Y9JXUoHOFeL/kUCEwYhEDZoEbwnrlIi9Tj28WxbJ6TnTX NkK1uxGZ7PvRnYigVlIiXmxJNVqTyZvEo8YvH2CyrzrD9FyuTYvUT8y0oQpyt4kscPxl ZuLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816025; x=1687408025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZkcMESbmvi4hQ8WwbQjsGZDCSRYNLMpRDNYaxukiiF8=; b=E48gpRhCKJJFWcFQesxloI1RTTsjPQEqu7ok4riCMkly8obZdRBPnnsCSuy0KzH5Dp W2I21KtTjUI0Kuvkf30Ts7Xw2KsdDLKVq/erz3bA6D8mXmi6GIsuCOZ8Q+N4Ef86YmFP J3Y7BytwoCEP1ZkTATbZCDbGogPJqOj9pEdqouaziAc3A+BHOdIhrmz7K5Hr1IlVRdiQ kGu4JhRhJf016LsZRPPunlB3se4gRshem8nakkTyI55VQFCLyZ9f572/5w4/pSvyuvG4 SeovzPMaIcjzKZGzc8ellRGk7JRQ9qenDPFYvMIOrOuKDw93LCFCf1Ff5ZN7KIiIvKAV EENg== X-Gm-Message-State: AC+VfDyip2A3RlAgoJ789aDFIKJRNTja/uPxQrjh5ceg/eTP0BovVpiZ 8tokMhTBxaZSw3VlxZYj4vRZTRTFXIU= X-Google-Smtp-Source: ACHHUZ40FxWCyRKXBwsCLycaEIUOiAJ3EP7+bJfZv05IwfGrSGLRbpI4VltdBhANDTO0WwMGyCw2pg== X-Received: by 2002:a05:6a00:22d4:b0:64d:3227:b806 with SMTP id f20-20020a056a0022d400b0064d3227b806mr19215654pfj.33.1684816024872; Mon, 22 May 2023 21:27:04 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 08/11] mpv: Remove references to builddir from mpv binary Date: Mon, 22 May 2023 21:26:55 -0700 Message-Id: <20230523042658.4159559-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102723 Fixes WARNING: mpv-0.35.1-r0 do_package_qa: QA Issue: File /usr/bin/mpv in package mpv contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb index cfb461a4c3..0f50a6e8fe 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb @@ -98,6 +98,10 @@ EXTRA_OECONF = " \ ${PACKAGECONFIG_CONFARGS} \ " +do_configure:append() { + sed -i -e 's#${WORKDIR}##g' ${B}/config.h +} + link_waf() { ln -s waf-2.0.25 ${S}/waf } From patchwork Tue May 23 04:26:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24296 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 607D3C7EE2D for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.13899.1684816026439099452 for ; Mon, 22 May 2023 21:27:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kMYHkWS8; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-64d15660784so3922842b3a.0 for ; Mon, 22 May 2023 21:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816026; x=1687408026; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CO4yxpuPjxjs9loT74DMebm9A8UPh3dtwaWyrZMhs1U=; b=kMYHkWS8H0JhjWPt9lmmz5qBXesayDQchqZhTbsP+rzqNrOqaV9BcXq4rEOaQ9K/OY eoYMUQSZV/WEcr55XJDZaqfkQQPXlsLLLkHrnnSpDtgJVFTOrUsOCN5+y84bmOKFRANy aKnMxaKaxQkiZMCLyyrl/H8g7ZYmnQ+lnix/OaphZGZAuq3x/e/LJ90e/agknJ/p5aJq iU4u9ePUBCYoGaaQJxGRxoOuL3S3FzdqXK6au/PYLmTZn6w6FIfD7y6bs2zkPkSFEw18 Qs7+yjwovWCUZMQi2ql7sLOQz3maSpYQ2T/UHI55SXbtO03GJAkvJrwd89rrDnbrRLOR pRDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816026; x=1687408026; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CO4yxpuPjxjs9loT74DMebm9A8UPh3dtwaWyrZMhs1U=; b=Afct8VQoREmcvdxyoF3876HMAufHLVSJcUPdO7maf5cpuct6QMECHIP6hHzr7Aay9V DWMA/JIv4RQOQ4nz9dD21L5LTvpufTkrYsCND0F40SNGA3keZFLzXEcgfnF7CgTlUs5/ ejZrSxRoanf5ydc9JXfqv6UNXXilmauxBM+SEsFfB0MtQI6T3yKHPSbTAcY2iTNgImeQ EXLJunPUcq7eXVx/KYyoUIO+2R/UcOEDpFLucAXAkVDv6p/wfSWg5N8zwUYUgqh0kxso f5LnC8tWRqNlR0ku37VpaDb6uu1g4dGlB1Kyu5lBB2sATWA0CN+auPxKSjEpCrsCRXNd R55g== X-Gm-Message-State: AC+VfDxBxAbZDPCi+8JmWeiOJZTwJlMLEOjo1Hbldf4Ncq2ruKC6p2UX jekKiAyAX3Iw6QJalR3UxRTZHB1uDWU= X-Google-Smtp-Source: ACHHUZ5KNIDTYo3vzpoTL0rIyykNV9XMGTiMsqVxiWuEWBZ5dmg2fgudU9rCELbimXzwnRVhBMWVEQ== X-Received: by 2002:a05:6a00:b45:b0:64f:3fc8:5d0f with SMTP id p5-20020a056a000b4500b0064f3fc85d0fmr1346856pfo.8.1684816025518; Mon, 22 May 2023 21:27:05 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 09/11] libnice: Remove buildpaths from binaries Date: Mon, 22 May 2023 21:26:56 -0700 Message-Id: <20230523042658.4159559-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102724 Fixes WARNING: libnice-0.1.21-r0 do_package_qa: QA Issue: File /usr/src/debug/libnice/0.1.21-r0/agent/agent-enum-types.h in package libnice-src contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- ...meson-Replace-filename-with-basename.patch | 40 +++++++++++++++++++ .../farsight/libnice_0.1.21.bb | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch diff --git a/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch b/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch new file mode 100644 index 0000000000..897de4a6ce --- /dev/null +++ b/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch @@ -0,0 +1,40 @@ +From 7c510cd20bb443064ab4a0d2c6d917e807b2671b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 May 2023 19:45:28 -0700 +Subject: [PATCH] agent/meson: Replace filename with basename + +This avoids emitting absolute paths into generated sourcecode, it +improves reproducibility. See [1] + +[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html + +Upstream-Status: Submitted [https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/258] +Signed-off-by: Khem Raj +--- + agent/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/agent/meson.build b/agent/meson.build +index 2e5b272..44fcd6b 100644 +--- a/agent/meson.build ++++ b/agent/meson.build +@@ -29,14 +29,14 @@ gnome = import('gnome') + + agent_enum_types_c = gnome.mkenums('agent-enum-types.c', sources : agent_headers, + fhead: '#include \n#include \n#include "agent.h"\n#include "pseudotcp.h"\n#include "agent-enum-types.h"', +- fprod: '\n/* enumerations from "@filename@" */', ++ fprod: '\n/* enumerations from "@basename@" */', + vhead: 'GType\n@enum_name@_get_type (void)\n{\n static GType type = 0;\n if (!type) {\n static const G@Type@Value values[] = {', + vprod: ' { @VALUENAME@, "@VALUENAME@", "@valuenick@" },', + vtail: ' { 0, NULL, NULL }\n };\n type = g_@type@_register_static ("@EnumName@", values);\n }\n return type;\n}\n\n') + + agent_enum_types_h = gnome.mkenums('agent-enum-types.h', sources : agent_headers, + fhead: '#ifndef __AGENT_ENUM_TYPES_H__\n#define __AGENT_ENUM_TYPES_H__ 1\n\n#include \n\nG_BEGIN_DECLS\n', +- fprod: '/* enumerations from "@filename@" */\n', ++ fprod: '/* enumerations from "@basename@" */\n', + vhead: 'GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define NICE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', + ftail: 'G_END_DECLS\n\n#endif /* !AGENT_ENUM_TYPES_H */') + +-- +2.40.1 + diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb index 210d4d8228..f319b994bd 100644 --- a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb +++ b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \ file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \ " -SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz" +SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz \ + file://0001-agent-meson-Replace-filename-with-basename.patch" SRC_URI[sha256sum] = "72e73a2acf20f59093e21d5601606e405873503eb35f346fa621de23e99b3b39" DEPENDS = "glib-2.0 gnutls" From patchwork Tue May 23 04:26:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24297 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 5D2E8C7EE23 for ; Tue, 23 May 2023 04:27:07 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.13894.1684816022645359175 for ; Mon, 22 May 2023 21:27:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=WPxvIcTk; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d1e96c082so3824129b3a.1 for ; Mon, 22 May 2023 21:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816026; x=1687408026; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZPTkRH+ulc9rCUECGvIiByhHMQr6jKRXc7Mxuk4+kTs=; b=WPxvIcTkDK+hxx50uueq6uZlwJHYLyZzgieMu4dZJd/vXkg/pqyE5/Fmq3XJp6yebP DO0cO5kuKubof+jDNwYBChodkZmQWu1FAyQMGaKsToBEnLNq1Kl4TeouqnHz0ht/6dpv kEQg8Gsd+d+G2irh2x1Mfirs4dHYy/Txg7xbC9hnZgvU50MpbDoPe2V71AUdU1mdmGbt ylHUciA/jIOBBsjBuYGYAgcpszwnJHD/wkv7dDWa0PWjhxyfIi0ctjcdVMx+HMBx/8Y5 lfzG02nl3r7IC9NumEMwZCRh4Ypa7Ye855Ayp+j8GPYriO/nS08DhqF89cDQ6gcy4sbw ZzsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816026; x=1687408026; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZPTkRH+ulc9rCUECGvIiByhHMQr6jKRXc7Mxuk4+kTs=; b=EhJN+GTo5lZPHMzR2ij2M0P9/W4/07npVp+eh0vn03SXfpbOmZCoiQdE11+WimovXw JTDSqrHcZ9vyABaduSlXPsHMd81os3XXwnzqoug4RUlszAEBFrD5QkK5PkBlGtAPy7Jk LU+s+7hGXZVjju4KDGEuZHPNgn4IyEZh1ta1GTnKnyu/Yw+ePyiDgxWVqcaKvV+8zSXt 1OUUCDvpVmwbL24UoXAUGFTmGj+6v+RtHcw1VBNdr01I3r2rGSmR1cl6iFBI0gu966vl v8q1q1uaCWa1ZBg2QaqxkBDW64Pnc5RAL7K0aR4Th8vCR/vqKmKf4uiFc/2MoVepGGwt QICg== X-Gm-Message-State: AC+VfDwPUxQmWtZxIIvErMwrpl+ziDwzjoygAvt37jCYgQW88Abt1bn8 7Yagw9VEDH+VEH1c90H8iMbq2PKgJds= X-Google-Smtp-Source: ACHHUZ7ARed2G0o6vTos1m9b1cJZ8zsHHkhALZG2cSO8R6oyXJp0/eCmqLI97PLcS3Gr2laBuS/vDw== X-Received: by 2002:a05:6a00:13a2:b0:643:85a0:57fe with SMTP id t34-20020a056a0013a200b0064385a057femr19779299pfg.2.1684816026143; Mon, 22 May 2023 21:27:06 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 10/11] curlpp: Remove references to buildpaths e.g. TMPDIR Date: Mon, 22 May 2023 21:26:57 -0700 Message-Id: <20230523042658.4159559-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102725 Fixes WARNING: curlpp-0.8.1-r0 do_package_qa: QA Issue: File /usr/bin/curlpp-config in package curlpp-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- ...-Remove-references-to-absolute-build.patch | 40 +++++++++++++++++++ .../recipes-support/curlpp/curlpp_0.8.1.bb | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch diff --git a/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch new file mode 100644 index 0000000000..539e9cefb6 --- /dev/null +++ b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch @@ -0,0 +1,40 @@ +From d6eee2d52f31e034f9d84d38a749d86a63d5b769 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 22 May 2023 20:37:47 -0700 +Subject: [PATCH] curlpp-config.in: Remove references to absolute buildpaths + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + extras/curlpp-config.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/extras/curlpp-config.in b/extras/curlpp-config.in +index b0bd964..1416b94 100644 +--- a/extras/curlpp-config.in ++++ b/extras/curlpp-config.in +@@ -43,7 +43,7 @@ while test $# -gt 0; do + + case "$1" in + --cc) +- echo @CC@ ++ curl-config --cc + ;; + + --prefix) +@@ -73,10 +73,10 @@ while test $# -gt 0; do + ;; + + --libs) +- echo -L@libdir@ @LDFLAGS@ @LIBS@ `curl-config --libs` -lcurlpp ++ echo `curl-config --libs` -lcurlpp + ;; + --static-libs) +- echo @libdir_static@/libcurlpp.@libext@ @LDFLAGS@ @LIBS@ `curl-config --static-libs` ++ echo $prefix/@libdir_static@/libcurlpp.@libext@ `curl-config --static-libs` + ;; + + *) +-- +2.40.1 + diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb index e36a86fd09..131f1873a2 100644 --- a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb +++ b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029" DEPENDS = "curl" DEPENDS:class-native = "curl-native" -SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https" +SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \ + file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch" SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" From patchwork Tue May 23 04:26:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24306 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 7C957C77B7A for ; Tue, 23 May 2023 04:27:17 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web11.13654.1684816027673640770 for ; Mon, 22 May 2023 21:27:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AKotogX/; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-64d5f65a2f7so1632060b3a.1 for ; Mon, 22 May 2023 21:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816027; x=1687408027; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Hw46HGVOB4YNwmJPNLnR41rhkGmJJDAhxFvSO6ieAlQ=; b=AKotogX/i5RoKuxJ23VPqcgSffLhj8nXQRwi7AZK+1ZJqqWEDTWPOD4zJhuiwKvnGv jfI4dT+pJM5LmTMSviVpRMl6FJNu/v+5S+vvfvekR74LZ/v2voIMO6f10T2s13rdCB7s bjG9dIxq2TxEpQEeQJVIlvQwpy2lM5hbPzgzdpSXuXkkfNQnuJWrfQmrtwzl4sTZ3as2 UOR9ejCj0fAE3Rf/mloZKRjo12CkJPw7qtjPttHcpTkcQsEEyFFJSXJ9PLmS6Yaoe4/C IvTELyEv+2GPn6GL9nhwoMnlZbQnAdjVRHXpwhZocVKknXK8ZsMoFjT3f+4b6pENpHRi w9GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816027; x=1687408027; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hw46HGVOB4YNwmJPNLnR41rhkGmJJDAhxFvSO6ieAlQ=; b=O7WlhquGHZpwXQOOEzklf6Z0MMuPbPTkhX/FxcyT6L0hPMxwBanTBItC1D4J2kcLBW K24dDiyjlfxEk52pEdXkPKYl7rXKsYjqi23qTO8wvEDCFBNiM1KAlEkn1DOu2LrgPZ9b X3JLFhG6GOQwlVUnqS/bGjHe/+mGkE90PW2CcoDMtuFsOwBEn+DXy9Yz3JbZD8uImKI3 EHoFAUU27wLgt60oUUbQ9DB4CdjJXGurAl57MMRMzrliYNgEJh2L2mmNVGkv5uzIqGUk wuSAiPDwaw2XKw71EWdcAeuHkapdYRpoyKFaG6JFWyj3BQTdVsRKi1+rz1lzbULx2Bp0 lW6Q== X-Gm-Message-State: AC+VfDwr+z8UgS0o4FPJxauVTh+fqOxz3vUwwnbyK/ruJV2h21vf80dW 5NiqJOHUNvS6VkTFImHlHpLDxLV5QvE= X-Google-Smtp-Source: ACHHUZ4kh5n+SCpzrtkpwvYL8BN5ZIIIC11ng98Gjw90eI43AiewsxMJSpZ/B1IpyZP7wWWVJgFYMw== X-Received: by 2002:a05:6a00:893:b0:647:e45f:1a4c with SMTP id q19-20020a056a00089300b00647e45f1a4cmr15525305pfj.11.1684816026780; Mon, 22 May 2023 21:27:06 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c675]) by smtp.gmail.com with ESMTPSA id n7-20020aa79047000000b0064d2c7ac49fsm4844332pfo.31.2023.05.22.21.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 21:27:06 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 11/11] unbound: Remove references to buildpaths Date: Mon, 22 May 2023 21:26:58 -0700 Message-Id: <20230523042658.4159559-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523042658.4159559-1-raj.khem@gmail.com> References: <20230523042658.4159559-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 May 2023 04:27:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102726 Signed-off-by: Khem Raj --- meta-networking/recipes-support/unbound/unbound_1.17.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb index 24ac6012b5..9855a557a4 100644 --- a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb +++ b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb @@ -29,6 +29,10 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" +do_configure:append() { + sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h +} + do_install:append() { install -d ${D}${systemd_unitdir}/system install -m 0644 ${B}/contrib/unbound.service ${D}${systemd_unitdir}/system