diff options
Diffstat (limited to 'recipes-networking/openvswitch')
4 files changed, 24 insertions, 18 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/Makefile.am-set-the-python3-interpreter-with-usr-bin.patch b/recipes-networking/openvswitch/openvswitch-git/Makefile.am-set-the-python3-interpreter-with-usr-bin.patch index 472ecb57..df08e3d9 100644 --- a/recipes-networking/openvswitch/openvswitch-git/Makefile.am-set-the-python3-interpreter-with-usr-bin.patch +++ b/recipes-networking/openvswitch/openvswitch-git/Makefile.am-set-the-python3-interpreter-with-usr-bin.patch | |||
@@ -25,11 +25,11 @@ Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> | |||
25 | Makefile.am | 2 +- | 25 | Makefile.am | 2 +- |
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | 26 | 1 file changed, 1 insertion(+), 1 deletion(-) |
27 | 27 | ||
28 | diff --git a/Makefile.am b/Makefile.am | 28 | Index: git/Makefile.am |
29 | index 28e85d422..031bbf39c 100644 | 29 | =================================================================== |
30 | --- a/Makefile.am | 30 | --- git.orig/Makefile.am |
31 | +++ b/Makefile.am | 31 | +++ git/Makefile.am |
32 | @@ -154,7 +154,7 @@ SUFFIXES += .in | 32 | @@ -162,7 +162,7 @@ SUFFIXES += .in |
33 | -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ | 33 | -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ |
34 | -e 's,[@]LOGDIR[@],$(LOGDIR),g' \ | 34 | -e 's,[@]LOGDIR[@],$(LOGDIR),g' \ |
35 | -e 's,[@]DBDIR[@],$(DBDIR),g' \ | 35 | -e 's,[@]DBDIR[@],$(DBDIR),g' \ |
@@ -37,7 +37,4 @@ index 28e85d422..031bbf39c 100644 | |||
37 | + -e 's,[@]PYTHON3[@],/usr/bin/env $(PYTHON3),g' \ | 37 | + -e 's,[@]PYTHON3[@],/usr/bin/env $(PYTHON3),g' \ |
38 | -e 's,[@]RUNDIR[@],$(RUNDIR),g' \ | 38 | -e 's,[@]RUNDIR[@],$(RUNDIR),g' \ |
39 | -e 's,[@]VERSION[@],$(VERSION),g' \ | 39 | -e 's,[@]VERSION[@],$(VERSION),g' \ |
40 | -e 's,[@]localstatedir[@],$(localstatedir),g' \ | 40 | -e 's,[@]VERSION_SUFFIX[@],$(VERSION_SUFFIX),g' \ |
41 | -- | ||
42 | 2.35.5 | ||
43 | |||
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch index 571753a5..abad1458 100644 --- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch +++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | |||
@@ -16,6 +16,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com> | |||
16 | refresh patch to fix patch-fuzz warning | 16 | refresh patch to fix patch-fuzz warning |
17 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 17 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
18 | 18 | ||
19 | Refresh patch to fix file ptest/tests/atlocal | ||
20 | contains reference to TMPDIR [buildpaths]. The fix is: | ||
21 | - set EGREP to "grep -E" in ptest/tests/atlocal | ||
22 | - set CFLAGS to " " in ptest/tests/atlocal | ||
23 | |||
24 | Signed-off-by: Bin Lan <bin.lan.cn@windriver.com> | ||
25 | |||
19 | Upstream-Status: Inappropriate [embedded specific] | 26 | Upstream-Status: Inappropriate [embedded specific] |
20 | --- | 27 | --- |
21 | Makefile.am | 1 + | 28 | Makefile.am | 1 + |
@@ -37,7 +44,7 @@ new file mode 100644 | |||
37 | index 0000000..0b4587c | 44 | index 0000000..0b4587c |
38 | --- /dev/null | 45 | --- /dev/null |
39 | +++ b/test.mk | 46 | +++ b/test.mk |
40 | @@ -0,0 +1,74 @@ | 47 | @@ -0,0 +1,76 @@ |
41 | +TEST_DEST ?= ${prefix}/lib/openvswitch | 48 | +TEST_DEST ?= ${prefix}/lib/openvswitch |
42 | +TEST_ROOT ?= ${prefix}/lib/openvswitch | 49 | +TEST_ROOT ?= ${prefix}/lib/openvswitch |
43 | +TEST_DEPEND = | 50 | +TEST_DEPEND = |
@@ -112,3 +119,5 @@ index 0000000..0b4587c | |||
112 | + sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite | 119 | + sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite |
113 | + sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite | 120 | + sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite |
114 | + sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite | 121 | + sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite |
122 | + sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal | ||
123 | + sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal | ||
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc index 767a41e6..a792a903 100644 --- a/recipes-networking/openvswitch/openvswitch.inc +++ b/recipes-networking/openvswitch/openvswitch.inc | |||
@@ -104,13 +104,13 @@ do_install:prepend() { | |||
104 | 104 | ||
105 | do_install:append() { | 105 | do_install:append() { |
106 | install -d ${D}/${sysconfdir}/default/ | 106 | install -d ${D}/${sysconfdir}/default/ |
107 | install -m 660 ${WORKDIR}/openvswitch-switch-setup ${D}/${sysconfdir}/default/openvswitch-switch | 107 | install -m 660 ${UNPACKDIR}/openvswitch-switch-setup ${D}/${sysconfdir}/default/openvswitch-switch |
108 | install -d ${D}/${sysconfdir}/openvswitch-testcontroller | 108 | install -d ${D}/${sysconfdir}/openvswitch-testcontroller |
109 | install -m 660 ${WORKDIR}/openvswitch-testcontroller-setup ${D}/${sysconfdir}/default/openvswitch-testcontroller | 109 | install -m 660 ${UNPACKDIR}/openvswitch-testcontroller-setup ${D}/${sysconfdir}/default/openvswitch-testcontroller |
110 | 110 | ||
111 | install -d ${D}/${sysconfdir}/init.d/ | 111 | install -d ${D}/${sysconfdir}/init.d/ |
112 | install -m 755 ${WORKDIR}/openvswitch-testcontroller ${D}/${sysconfdir}/init.d/openvswitch-testcontroller | 112 | install -m 755 ${UNPACKDIR}/openvswitch-testcontroller ${D}/${sysconfdir}/init.d/openvswitch-testcontroller |
113 | install -m 755 ${WORKDIR}/openvswitch-switch ${D}/${sysconfdir}/init.d/openvswitch-switch | 113 | install -m 755 ${UNPACKDIR}/openvswitch-switch ${D}/${sysconfdir}/init.d/openvswitch-switch |
114 | true || rm -fr ${D}/${datadir}/${PN}/pki | 114 | true || rm -fr ${D}/${datadir}/${PN}/pki |
115 | 115 | ||
116 | install -d ${D}/${sysconfdir}/sysconfig | 116 | install -d ${D}/${sysconfdir}/sysconfig |
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb index b7d9b8dd..8637165a 100644 --- a/recipes-networking/openvswitch/openvswitch_git.bb +++ b/recipes-networking/openvswitch/openvswitch_git.bb | |||
@@ -14,13 +14,13 @@ RDEPENDS:${PN}-ptest += "\ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | PV = "3.3.0" | 17 | PV = "3.5.0" |
18 | CVE_VERSION = "3.3.0" | 18 | CVE_VERSION = "3.5.0" |
19 | 19 | ||
20 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}-git:" | 20 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}-git:" |
21 | 21 | ||
22 | SRCREV = "1c1f173ce8a8534e262083bc4db3ee15f05231c0" | 22 | SRCREV = "445594155310a881ea4a269e2a424a870a89402c" |
23 | SRC_URI += "git://github.com/openvswitch/ovs.git;protocol=https;branch=branch-3.3 \ | 23 | SRC_URI += "git://github.com/openvswitch/ovs.git;protocol=https;branch=branch-3.5 \ |
24 | file://openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch \ | 24 | file://openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch \ |
25 | file://run-ptest \ | 25 | file://run-ptest \ |
26 | file://disable_m4_check.patch \ | 26 | file://disable_m4_check.patch \ |