From patchwork Sun Mar 24 03:10:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 41424 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 B05EDC54E58 for ; Sun, 24 Mar 2024 03:10:12 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web10.22747.1711249810357390817 for ; Sat, 23 Mar 2024 20:10:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=byIziJls; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e74bd85f26so2536720b3a.1 for ; Sat, 23 Mar 2024 20:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711249809; x=1711854609; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oJZmPup00nVGlW86hETXuu03cdwo6+vxss/87gZyl30=; b=byIziJls9QquH0rJwUetGFMBlX2LS/NWjJsJsqE9QGZPH4Hrhm7CvEsQiJNYpLYrnT 5WNmfWHRtRHngPAyyE151DATMG9/Fe+eQAr5RbxeTY8JGrHFdCL5dT9NH5bICU2ZwpTo jfOelPTv/ynb2wpppuyf9gaPLH964pkKvuXpXJDgEZKtgaRhqK5DvDGiMgMZ5q+hfkIS 2BxpiH2qw+h8cr4Po2YhVfngiNeo7ZcUk5Ex3IXYwLoNEbL2GIqwQwXBD7ki3/CI9RcA QXJyuf3GdoMmJ+23zC3trZOe+JHFNdyBYhb2vCTmyqqggFOgdetqHayN4GDlDoYlPBsw dxNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711249809; x=1711854609; 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=oJZmPup00nVGlW86hETXuu03cdwo6+vxss/87gZyl30=; b=etJA6+fzJrkmR9E9rFnVTtFGmj66JwV2hPab/ZhWyE+woCiZcMGvrtGmKOP7xTpv7d ByMEIqTfPG8hpvPbWgyD5cDSmE7nPIQm1HELs+Ia3axX/g9aGA7q8nxfrbMTtExY7auZ 0BakNge3bApP7dzd+qnY49y/PyJiBK9irIn7AAsndLi33M3h44D4VWk1t78xC/ySDomm lk9il/fCTKXW9pfCJ0jwksBWgOLxR71akMfuqwoIvZg92Cwm9ZChhU8NM4VKMMA8SAHP 2/q86vQDAyCOhQb5O/u9M1kaZVYib/WPT+QDK02qUNXr2AIOdcGnWPdH403HKY7PbdMU +05A== X-Gm-Message-State: AOJu0YwNKMkD1f8UGva0D3JyC1NIYJ/XcTZX4XM0FKBJRtXtTZ8RzTBg VsBorRkC5lA4UeuDOKVtAO6vHZq+RxktYrc7tBS6qjnez9yWPxW1EjofKvZe X-Google-Smtp-Source: AGHT+IF+h9iB5e1XhJqQXmL5U9dbBCXITWw8I6ueZuYZCpLkSOuouYwiNwmRWZ7bEZC4okYSsbRi2A== X-Received: by 2002:a05:6a00:4b50:b0:6e5:9a0a:b668 with SMTP id kr16-20020a056a004b5000b006e59a0ab668mr3822938pfb.27.1711249809296; Sat, 23 Mar 2024 20:10:09 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::779c]) by smtp.gmail.com with ESMTPSA id a19-20020a056a0011d300b006e740d23674sm2075521pfu.140.2024.03.23.20.10.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 20:10:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 1/4] openflow: Delete recipe for 1.0 Date: Sat, 23 Mar 2024 20:10:03 -0700 Message-ID: <20240324031006.3072120-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.44.0 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 ; Sun, 24 Mar 2024 03:10:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109560 _git is the maintained recipe Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/openflow/openflow_1.0.bb | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 meta-networking/recipes-protocols/openflow/openflow_1.0.bb diff --git a/meta-networking/recipes-protocols/openflow/openflow_1.0.bb b/meta-networking/recipes-protocols/openflow/openflow_1.0.bb deleted file mode 100644 index a7e254dd85..0000000000 --- a/meta-networking/recipes-protocols/openflow/openflow_1.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -include ${BPN}.inc - -SRCREV = "5ccca75a69f99791659bcfbcf35353ab1921320a" -PV = "1.0" From patchwork Sun Mar 24 03:10:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 41425 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 BF789C54E67 for ; Sun, 24 Mar 2024 03:10:12 +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.22897.1711249810774643298 for ; Sat, 23 Mar 2024 20:10:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iK361W3e; 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-6e6b54a28d0so2112219b3a.2 for ; Sat, 23 Mar 2024 20:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711249810; x=1711854610; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9/85XaVR4GV907LPwWiKL3oAXrozPRszeugnW1P7D14=; b=iK361W3eKhZBHbxNrO9qsnOtVuC9O+/kXrvrpm81pFjVY76pZerzS6p9z4VRZzTH6M yM4UqaF9GNPEoBC4hhFNyhBooChmtz++bNHjw5Lx2wFR01WbhYAxL2MZL/e02Em/iqI7 C3Q8ag3qzVI0get7hE+FR6VFP//Nsqk2qKiB7lB/auLJBZxtw4ElE0y+tCOOIMi695Q3 3pntgUr8QV2spz4NStpjbIavXm9FGWuHBNB6Dfp7/3GRDL4CHgVXoQ+3XxO8mcNIW/Tn mZyDFR1OtN9fhs2k2osC50ACCaMcDNljmuRCKtV45ZZlpe+0GZ+CM+cuuoeRqFj3b89P dOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711249810; x=1711854610; 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=9/85XaVR4GV907LPwWiKL3oAXrozPRszeugnW1P7D14=; b=jVGRJMRUcGOOWzU3Mq8O3EvNKqkPIzgrkaMgZ9od8/R/vEuMJ6KCRUAy8L4uzbCBPJ zcayfW6gq1Aula9A3wGu0tcUOTtkFRf5pegoSy/bDnJuGwMoioNY5WeMdvFF99L0MN/K MhcNWhkTZn39CzYui/CpN90IOFuWmgXC/QP0tjIm1uC1S2qnoasV+uSqed4DoMAzlk8J JlQkR3sqOKMltWYjAaPQGLMhA+nm2fNHU29WDwUZeY89egszQpcKjSnHwv3DGPlZnlpu qhw5NXwpSO2kUPNKufhXiwCMlIZG2ifP2GsRGfs/9cejoL54nk5aFuUpIc/7XIqXLCe3 NXig== X-Gm-Message-State: AOJu0Yz5GekG+pcL3B8TVIUGV8eFFAfDvXI5x8BBlm8WEwPc3N7lt1F1 kh+O8DObveH+/RBE4Bn5Nh2XunbKKgosyseDfuGNX7UGjvoXIHvTBme0wCgB X-Google-Smtp-Source: AGHT+IELhS45iIyatvAH2af58B1BPNakFR8TCKZUZtGxpQy4c3vljBfq9Fpef/2Tm12OuswX4pZRqA== X-Received: by 2002:a05:6a00:4fc9:b0:6e6:8df5:e903 with SMTP id le9-20020a056a004fc900b006e68df5e903mr4750502pfb.13.1711249809987; Sat, 23 Mar 2024 20:10:09 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::779c]) by smtp.gmail.com with ESMTPSA id a19-20020a056a0011d300b006e740d23674sm2075521pfu.140.2024.03.23.20.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 20:10:09 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 2/4] openflow: Merge .inc into .bb Date: Sat, 23 Mar 2024 20:10:04 -0700 Message-ID: <20240324031006.3072120-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240324031006.3072120-1-raj.khem@gmail.com> References: <20240324031006.3072120-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 ; Sun, 24 Mar 2024 03:10:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109561 There is one recipe so merge the include file into recipe Signed-off-by: Khem Raj --- .../recipes-protocols/openflow/openflow.inc | 60 ------------------ .../openflow/openflow_git.bb | 62 ++++++++++++++++++- 2 files changed, 59 insertions(+), 63 deletions(-) delete mode 100644 meta-networking/recipes-protocols/openflow/openflow.inc diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc deleted file mode 100644 index 7b404f5408..0000000000 --- a/meta-networking/recipes-protocols/openflow/openflow.inc +++ /dev/null @@ -1,60 +0,0 @@ -SUMMARY = "OpenFlow communications protocol" -DESCRIPTION = "\ -Open standard that enables researchers to run experimental protocols in \ -contained networks. OpenFlow is a communications interface between \ -control and forwarding planes of a software-defined networking architecture.\ -" -HOMEPAGE = "http://www.openflow.org" - -SECTION = "net" -LICENSE = "GPL-2.0-only" - -LIC_FILES_CHKSUM = "file://COPYING;md5=e870c934e2c3d6ccf085fd7cf0a1e2e2" - -SRC_URI = "git://github.com/mininet/openflow;protocol=https;branch=master" - -CVE_STATUS[CVE-2015-1611] = "not-applicable-config: Not referred to our implementation of openflow" -CVE_STATUS[CVE-2015-1612] = "not-applicable-config: Not referred to our implementation of openflow" -CVE_STATUS[CVE-2018-1078] = "cpe-incorrect: This CVE is not for this product but cve-check assumes it is \ -because two CPE collides when checking the NVD database" - -DEPENDS = "virtual/libc" - -PACKAGECONFIG ??= "" -PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl openssl-native, libssl" - -EXTRA_OECONF += " \ - KARCH=${TARGET_ARCH} \ - ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ - " - -S = "${WORKDIR}/git" - -inherit autotools-brokensep pkgconfig - -do_configure:prepend() { - ./boot.sh -} - -do_install:append() { - # Remove /var/run as it is created on startup - rm -rf ${D}${localstatedir}/run - - # /var/log/openflow needs to be created in runtime. Use rmdir to catch if - # upstream stops creating /var/log/openflow, or adds something else in - # /var/log. - rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log - rmdir --ignore-fail-on-non-empty ${D}${localstatedir} - - # Create /var/log/openflow in runtime. - if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then - install -d ${D}${nonarch_libdir}/tmpfiles.d - echo "d ${localstatedir}/log/${BPN} - - - -" > ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf - fi - if [ "${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)}" ]; then - install -d ${D}${sysconfdir}/default/volatiles - echo "d root root 0755 ${localstatedir}/log/${BPN} none" > ${D}${sysconfdir}/default/volatiles/99_${BPN} - fi -} - -FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" diff --git a/meta-networking/recipes-protocols/openflow/openflow_git.bb b/meta-networking/recipes-protocols/openflow/openflow_git.bb index c86c811cc8..eadfc25461 100644 --- a/meta-networking/recipes-protocols/openflow/openflow_git.bb +++ b/meta-networking/recipes-protocols/openflow/openflow_git.bb @@ -1,11 +1,67 @@ -include ${BPN}.inc +SUMMARY = "OpenFlow communications protocol" +DESCRIPTION = "\ +Open standard that enables researchers to run experimental protocols in \ +contained networks. OpenFlow is a communications interface between \ +control and forwarding planes of a software-defined networking architecture.\ +" +HOMEPAGE = "http://www.openflow.org" + +SECTION = "net" +LICENSE = "GPL-2.0-only" + +LIC_FILES_CHKSUM = "file://COPYING;md5=e870c934e2c3d6ccf085fd7cf0a1e2e2" SRCREV = "82ad07d997b0b2ee70e1b2c7e82fcc6d0ccf23ea" + PV = "1.0+git" -SRC_URI += "file://0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch \ +SRC_URI = "git://github.com/mininet/openflow;protocol=https;branch=master \ + file://0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch \ file://0002-lib-netdev-Adjust-header-include-sequence.patch \ file://0001-generate-not-static-get_dh-functions.patch \ file://0001-socket-util-Include-sys-stat.h-for-fchmod.patch \ file://0001-Makefile.am-Specify-export-dynamic-directly-to-linke.patch \ - " +" +CVE_STATUS[CVE-2015-1611] = "not-applicable-config: Not referred to our implementation of openflow" +CVE_STATUS[CVE-2015-1612] = "not-applicable-config: Not referred to our implementation of openflow" +CVE_STATUS[CVE-2018-1078] = "cpe-incorrect: This CVE is not for this product but cve-check assumes it is \ +because two CPE collides when checking the NVD database" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl openssl-native, libssl" + +EXTRA_OECONF += " \ + KARCH=${TARGET_ARCH} \ + ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ + " + +S = "${WORKDIR}/git" + +inherit autotools-brokensep pkgconfig + +do_configure:prepend() { + ./boot.sh +} + +do_install:append() { + # Remove /var/run as it is created on startup + rm -rf ${D}${localstatedir}/run + + # /var/log/openflow needs to be created in runtime. Use rmdir to catch if + # upstream stops creating /var/log/openflow, or adds something else in + # /var/log. + rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log + rmdir --ignore-fail-on-non-empty ${D}${localstatedir} + + # Create /var/log/openflow in runtime. + if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then + install -d ${D}${nonarch_libdir}/tmpfiles.d + echo "d ${localstatedir}/log/${BPN} - - - -" > ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf + fi + if [ "${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)}" ]; then + install -d ${D}${sysconfdir}/default/volatiles + echo "d root root 0755 ${localstatedir}/log/${BPN} none" > ${D}${sysconfdir}/default/volatiles/99_${BPN} + fi +} + +FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" From patchwork Sun Mar 24 03:10:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 41426 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 B138CC6FD1F for ; Sun, 24 Mar 2024 03:10:12 +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.web10.22748.1711249812021335598 for ; Sat, 23 Mar 2024 20:10:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Iqy9MxZo; 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-6e6f4ad4c57so2459050b3a.2 for ; Sat, 23 Mar 2024 20:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711249811; x=1711854611; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YHgqhsRX0/XlQ71J+/chj+iXiuoC6S/94ZhX1L7SZhc=; b=Iqy9MxZoQdH2JWw4AqLwNxKROC18ExrKcA0Y3u4ghKwPa1FTyGluvqS8G7qJs0dGaO KLPfYXOrQwjw1BapW8Gkc6eP7tYGJsctJiM5tccIpvsCG8uUMTDx79qI3/gQYt1PLd0b 9o505/PBUUk179XFncrrIWI/TnYYi9ZVEOuMnsBdp882nrbPW0+l8dGH1S4w4toI3MNV e0eZ0EnTnvMt93JsfrVz2oxOt/OUP6kDCe8qcaKlD2kp/06xNNDrC9kKZQdxZncrxcwo lYtwGdhvbDPyFD11S1F9G/7VElVL6X1nkOW9R1xFyiMrDvMZe9ayVb3s3XmV+S2c17Uz 7SUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711249811; x=1711854611; 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=YHgqhsRX0/XlQ71J+/chj+iXiuoC6S/94ZhX1L7SZhc=; b=fL6PEphoHfMR+Sz3LP7NN0w/jrP3jXQgnPjcqX5lP0oiLDWZ5KNWnKGAad8wd6hfZM B/fQ1TNkab0fTLP+PawsctXPSw1BQ0JpfKwFaswjmv0IymPBFdMtu8qOILRWT9ynxT8T KSWGcFmyoRr4g0Yu8oqvKfxFW4m6V4vN6PsLOJnoptreBz+Gg+co1mRakO/3iJsIR5wb EW/eNxaP9lBd9tJnwdsIS+e8IBL87dIyPCo1Ff1k4SF2aJJKspr6Lxh0g5oY7tyw5Uxg uJlBvHot/aZ6Zimpc3Lm7BqXTHtoag6Zc8cMdTlg9ZxD+ETU5uZm7Tp2HtUyMCQlTqi/ n7kQ== X-Gm-Message-State: AOJu0Yz8I6bDRHz4zK/S3z4G+DXE1uZx4APEXjwxENoOtB5llyxnF7pJ ZjXjZljmktCuDMEpYmCBEJQUFsByZOCJxzvjTE17e9Q+H/qTCw5BggF7C2A0 X-Google-Smtp-Source: AGHT+IHMzaptrCoFG8zohQiMKJwMvugkM0WBAhtXJU5vtSfdPRhcmElqyhzffL17Oyq3pkex8kvtzA== X-Received: by 2002:aa7:88c6:0:b0:6e3:84cb:3d51 with SMTP id k6-20020aa788c6000000b006e384cb3d51mr4996077pff.33.1711249811151; Sat, 23 Mar 2024 20:10:11 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::779c]) by smtp.gmail.com with ESMTPSA id a19-20020a056a0011d300b006e740d23674sm2075521pfu.140.2024.03.23.20.10.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 20:10:10 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 3/4] openflow: Fix build with musl Date: Sat, 23 Mar 2024 20:10:05 -0700 Message-ID: <20240324031006.3072120-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240324031006.3072120-1-raj.khem@gmail.com> References: <20240324031006.3072120-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 ; Sun, 24 Mar 2024 03:10:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109562 Link in external library to provide backtrace functions since they are not part of C library Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/openflow/openflow_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-protocols/openflow/openflow_git.bb b/meta-networking/recipes-protocols/openflow/openflow_git.bb index eadfc25461..41bedcd0cf 100644 --- a/meta-networking/recipes-protocols/openflow/openflow_git.bb +++ b/meta-networking/recipes-protocols/openflow/openflow_git.bb @@ -35,6 +35,9 @@ EXTRA_OECONF += " \ ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ " +DEPENDS:append:libc-musl = " libexecinfo" +LDFLAGS:append:libc-musl = " -lexecinfo" + S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig From patchwork Sun Mar 24 03:10:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 41427 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 89E6AC54E58 for ; Sun, 24 Mar 2024 03:10:22 +0000 (UTC) Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) by mx.groups.io with SMTP id smtpd.web10.22749.1711249813506217316 for ; Sat, 23 Mar 2024 20:10:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OheKxBVX; spf=pass (domain: gmail.com, ip: 209.85.160.47, mailfrom: raj.khem@gmail.com) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-221ffba5c8bso2143351fac.1 for ; Sat, 23 Mar 2024 20:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711249812; x=1711854612; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T1Qpoyj9FKfPiuXT00Ua/SsIKpaPovLFAwoLYjhQRoA=; b=OheKxBVXdR2F/nRxijSmpgBsnELOOAzuxh6knvPaShlEOiEjJfhX3UzaDqGLlKPJ3A 2Rq7Ue9WNwVCyvXNGj5C9qP2Pz1zRtiBQYWDM4GzCSbYldflPPKtG0kxMRa3qs8PWq47 xIJxpfqstL1RVnVyRlnMrJLCaoGmsgWOUY7HalUE0GXE6X8f3UnJm4Z+1L0wYo8rhSIo mciEnVJ0jKkCuCKTPgShHtkqkVTO4nU7sm95OMktEVdwZWa4qw1X8QUTqRQypBDBxHoS M4Fg30FMsgpY9Rsj8o+mbuv37M4JsNSuFvaPMe+lRCdRRRYr57KvvcSAOBLnQgf8s3EZ tobg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711249812; x=1711854612; 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=T1Qpoyj9FKfPiuXT00Ua/SsIKpaPovLFAwoLYjhQRoA=; b=I60y+JtgxHbUwuuNFHa/QVAzpOxCeAO2T9S02rWOXMeg48+IUQzAuybx61cnHHuL06 S2yutDlAfjfy1Gs81vnB4NYCDrVyEW1YTgyi6G5C342dhxneHu5haLhRxby3bek5lAx8 8nB4UlVZq2e78rO5l7BnDBOeNrqJmE++EK3KIZsTQlCJ5FiumqixcJdT5UkHHbUtdj5s uPc/Dy52WXcdmmZIK6vwyWcsnMzrqjrXQFCSvT0DIgX6YY/65NhzRN3V/0wrxrHg8B0f ehKxh90Eq0BxXgJy32ayzSXNbS31PXFvdPMwTfgaPjltJDjecjH2k8GuK3YunF0AdZ+i PIUg== X-Gm-Message-State: AOJu0Yz2jlxzsSbJVc8Q1n28dXz8YBtKVSIe+8HntQxRhlgJ4hyn+qzo Ov2sTl2cuX9Mf86wBA4VVYXqhTrK9HQzsNp/QeAKWynU2OJ8juTvnnnmoXL4 X-Google-Smtp-Source: AGHT+IEOQV4tQlnpRefnr6drWVEYqPxPC01U8HNb2XDOXqdtLocisOU9BJ/s3ygcnVO1fotZ5+C3zQ== X-Received: by 2002:a05:6870:711:b0:229:ed67:ad1a with SMTP id ea17-20020a056870071100b00229ed67ad1amr3027424oab.12.1711249812415; Sat, 23 Mar 2024 20:10:12 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::779c]) by smtp.gmail.com with ESMTPSA id a19-20020a056a0011d300b006e740d23674sm2075521pfu.140.2024.03.23.20.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 20:10:11 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-gnome][PATCH 4/4] tracker-miners: Disable seccomp support on musl Date: Sat, 23 Mar 2024 20:10:06 -0700 Message-ID: <20240324031006.3072120-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240324031006.3072120-1-raj.khem@gmail.com> References: <20240324031006.3072120-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 ; Sun, 24 Mar 2024 03:10:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109563 seccomp support piece needs APIs e.g. tgkill which are unimplimented in musl [1] Secondly, remove libseccomp from unconditional dependencies it will be only added when packageconfig is selected. [1] https://www.openwall.com/lists/musl/2019/08/02/1 Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb index 333bb62674..4f058cf907 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb @@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = " \ DEPENDS = " \ intltool-native \ - libseccomp \ tracker \ zlib \ " @@ -43,6 +42,9 @@ PACKAGECONFIG ??= " \ battery \ networkmanager \ " +# Needs tgkill API which musl does not support +# see https://www.openwall.com/lists/musl/2019/08/02/1 +PACKAGECONFIG:remove:libc-musl = "seccomp" PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower" PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue"