openflow: Delete recipe for 1.0
PATCH 1/4 openflow: Delete recipe for 1.0
_git is the maintained recipe
Signed-off-by Khem Raj <[email protected]>
--- 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
meta-networking/recipes-protocols/openflow/openflow_1.0.bb deleted +0 -4
@@ -1,4 +0,0 @@ -include ${BPN}.inc - -SRCREV = "5ccca75a69f99791659bcfbcf35353ab1921320a" -PV = "1.0"
Signature · 1 line
2.44.0
PATCH 2/4 openflow: Merge .inc into .bb
There is one recipe so merge the include file into recipe
Signed-off-by Khem Raj <[email protected]>
--- .../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
meta-networking/recipes-protocols/openflow/openflow.inc deleted +0 -60
@@ -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"
meta-networking/recipes-protocols/openflow/openflow_git.bb +59 -3
70 lines not on this page · raw message
Signature · 1 line
2.44.0
PATCH 3/4 openflow: Fix build with musl
In reply to Khem RajLink in external library to provide backtrace functions since they are not part of C library
Signed-off-by Khem Raj <[email protected]>
--- meta-networking/recipes-protocols/openflow/openflow_git.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/openflow/openflow_git.bb +3 -0
@@ -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
Signature · 1 line
2.44.0
PATCH 4/4 tracker-miners: Disable seccomp support on musl
In reply to Khem Rajseccomp 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 <[email protected]>
--- meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb +3 -1
@@ -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"
Signature · 1 line
2.44.0