Browse Source

openvswitch: bump to version 2.14.0

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 4 years ago
parent
commit
282038d97b
10 changed files with 20 additions and 63 deletions
  1. +2
    -2
      net/openvswitch/Makefile
  2. +1
    -1
      net/openvswitch/openvswitch.mk
  3. +3
    -3
      net/openvswitch/patches/0001-netdev-linux-Let-interface-flag-survive-internal-por.patch
  4. +3
    -3
      net/openvswitch/patches/0002-python-separate-host-target-python-for-cross-compile.patch
  5. +1
    -1
      net/openvswitch/patches/0003-ovs-lib-fix-install_dir.patch
  6. +2
    -2
      net/openvswitch/patches/0004-build-trim-build.patch
  7. +1
    -1
      net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch
  8. +1
    -1
      net/openvswitch/patches/0006-datapath-allow-passing-additional-OVS_KERNEL_MAKE_FL.patch
  9. +6
    -6
      net/openvswitch/patches/0007-build-only-link-libopenvswitch-with-libunwind-libunb.patch
  10. +0
    -43
      net/openvswitch/patches/0010-acinclude-Fix-build-with-kernels-with-prandom-moved-.patch

+ 2
- 2
net/openvswitch/Makefile View File

@ -20,7 +20,7 @@ PKG_VERSION:=$(ovs_version)
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.openvswitch.org/releases/
PKG_HASH:=bf5b19d35c820903c141a40f2a949e2ee047c8c0fd7c5e6e12d2239ed5c90026
PKG_HASH:=4171e52a8c0ffe160c1daa6687219d902a2a6969b296d223d8dac980ab99a260
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
@ -43,7 +43,7 @@ include ../../lang/python/python3-package.mk
ovs_kmod_packages:=
ovs_kmod_intree_kernel_patchver_min:=3.10
ovs_kmod_intree_kernel_patchver_max:=5.0
ovs_kmod_intree_kernel_patchver_max:=5.5
ovs_kmod_intree_not_supported:=$(strip $(call kernel_patchver_lt,$(ovs_kmod_intree_kernel_patchver_min))$(call kernel_patchver_gt,$(ovs_kmod_intree_kernel_patchver_max)))
ovs_kmod_intree_dir:=$(PKG_BUILD_DIR)/datapath/linux
ovs_kmod_upstream_dir:=$(LINUX_DIR)/net/openvswitch


+ 1
- 1
net/openvswitch/openvswitch.mk View File

@ -5,7 +5,7 @@
# Versions
ovs_version:=2.13.1
ovs_version:=2.14.0
ovs_builddir=$(KERNEL_BUILD_DIR)/openvswitch-$(ovs_version)
# Shared vars, macros


+ 3
- 3
net/openvswitch/patches/0001-netdev-linux-Let-interface-flag-survive-internal-por.patch View File

@ -1,4 +1,4 @@
From 66f96259c596f8f303bd98e5323a447cd60adbb2 Mon Sep 17 00:00:00 2001
From 974dc36a87274d7bae13e7dddd3364fecf5b3e7c Mon Sep 17 00:00:00 2001
From: Helmut Schaa <helmut.schaa@googlemail.com>
Date: Wed, 8 Jan 2014 13:48:49 +0100
Subject: [PATCH] netdev-linux: Let interface flag survive internal port setup
@ -17,10 +17,10 @@ Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index c6f3d2740..136668b1d 100644
index fe7fb9b29..63407ba1b 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -3461,7 +3461,13 @@ update_flags(struct netdev_linux *netdev, enum netdev_flags off,
@@ -3469,7 +3469,13 @@ update_flags(struct netdev_linux *netdev, enum netdev_flags off,
unsigned int old_flags, new_flags;
int error = 0;


+ 3
- 3
net/openvswitch/patches/0002-python-separate-host-target-python-for-cross-compile.patch View File

@ -1,4 +1,4 @@
From 29c5b1f1b53010a49d2ce1cc59060c334b1a40fc Mon Sep 17 00:00:00 2001
From 54484e79aca0981ebc42ddc68487e6531da9b59d Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 20 Mar 2020 15:11:31 +0800
Subject: [PATCH] python: separate host/target python for cross-compile
@ -10,7 +10,7 @@ Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b279303d1..6140b2c7f 100644
index 27ef9e4b4..7effb5fec 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,7 +60,7 @@ endif
@ -23,7 +23,7 @@ index b279303d1..6140b2c7f 100644
ALL_LOCAL =
BUILT_SOURCES =
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index add3aabcc..ada31c491 100644
index 6fe79297e..f2e0169f8 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -383,6 +383,8 @@ else:


+ 1
- 1
net/openvswitch/patches/0003-ovs-lib-fix-install_dir.patch View File

@ -1,4 +1,4 @@
From 1c0697cb4b57e85deafc0d518b68e0b13ba2995b Mon Sep 17 00:00:00 2001
From 444991b95ed25d58c3cd1646fa823620380b6ce6 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Wed, 14 Mar 2018 16:44:13 +0800
Subject: [PATCH] ovs-lib: fix install_dir()


+ 2
- 2
net/openvswitch/patches/0004-build-trim-build.patch View File

@ -1,4 +1,4 @@
From 3ee8ab22699b503b591b6abb4a2db89ac1881ea6 Mon Sep 17 00:00:00 2001
From 31514742de07d595ac23c2b0abf0e092f8b26140 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <zhouyousong@yunionyun.com>
Date: Tue, 21 Aug 2018 13:02:21 +0000
Subject: [PATCH] build: trim build
@ -9,7 +9,7 @@ Signed-off-by: Yousong Zhou <zhouyousong@yunionyun.com>
1 file changed, 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 6140b2c7f..d9f9457fa 100644
index 7effb5fec..d6df91e8b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -475,12 +475,10 @@ dist-docs:


+ 1
- 1
net/openvswitch/patches/0005-datapath-unexport-LDFLAGS.patch View File

@ -1,4 +1,4 @@
From b2c26315339fc17d0ad9d0009321671850cc7295 Mon Sep 17 00:00:00 2001
From 2939a31ad57f81556afdf5112ee1d68bd2e3f012 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Mon, 16 Mar 2020 15:18:16 +0800
Subject: [PATCH] datapath: unexport LDFLAGS


+ 1
- 1
net/openvswitch/patches/0006-datapath-allow-passing-additional-OVS_KERNEL_MAKE_FL.patch View File

@ -1,4 +1,4 @@
From f29d4866cf566c916000426e0c206db008be4fb3 Mon Sep 17 00:00:00 2001
From 1df5a0eaf78e93e21d21f1438afbe5fa8a37ea61 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Tue, 26 May 2020 22:45:53 +0800
Subject: [PATCH] datapath: allow passing additional $(OVS_KERNEL_MAKE_FLAGS)


net/openvswitch/patches/0009-build-only-link-libopenvswitch-with-libunwind-libunb.patch → net/openvswitch/patches/0007-build-only-link-libopenvswitch-with-libunwind-libunb.patch View File


+ 0
- 43
net/openvswitch/patches/0010-acinclude-Fix-build-with-kernels-with-prandom-moved-.patch View File

@ -1,43 +0,0 @@
From f639ec9b25b2758a07d214f7755f1ae0f764e949 Mon Sep 17 00:00:00 2001
Message-Id: <f639ec9b25b2758a07d214f7755f1ae0f764e949.1597434688.git.mschiffer@universe-factory.net>
From: Ilya Maximets <i.maximets@ovn.org>
Date: Wed, 12 Aug 2020 10:57:07 +0200
Subject: [PATCH] acinclude: Fix build with kernels with prandom* moved to
prandom.h.
Recent commit c0842fbc1b18 ("random32: move the pseudo-random 32-bit
definitions to prandom.h") in upstream kernel moved the definition
of prandom_* functions from random.h to prandom.h. This change was
also backported to stable kernels.
Fixing our configure script to look for these functions in a new
location and avoid build failures:
datapath/linux/compat/include/linux/random.h:11:19:
error: redefinition of 'prandom_u32_max'
Acked-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
(cherry picked from commit 0047ca3a0290f1ef954f2c76b31477cf4b9755f5)
---
acinclude.m4 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/acinclude.m4 b/acinclude.m4
index b474422f52c8..7f028836f54c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -781,6 +781,10 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
[prandom_u32[[\(]]],
[OVS_DEFINE([HAVE_PRANDOM_U32])])
OVS_GREP_IFELSE([$KSRC/include/linux/random.h], [prandom_u32_max])
+ OVS_GREP_IFELSE([$KSRC/include/linux/prandom.h],
+ [prandom_u32[[\(]]],
+ [OVS_DEFINE([HAVE_PRANDOM_U32])])
+ OVS_GREP_IFELSE([$KSRC/include/linux/prandom.h], [prandom_u32_max])
OVS_GREP_IFELSE([$KSRC/include/net/rtnetlink.h], [get_link_net])
OVS_GREP_IFELSE([$KSRC/include/net/rtnetlink.h], [name_assign_type])
--
2.28.0

Loading…
Cancel
Save