Sync from SUSE:SLFO:Main vde2 revision b4f48d716435a531723e11ff0b4e1768

This commit is contained in:
Adrian Schröter 2024-10-03 18:04:53 +02:00
parent 2175025368
commit ef9766c031
3 changed files with 52 additions and 16 deletions

24
vde2-C99.patch Normal file
View File

@ -0,0 +1,24 @@
From f86c725db59d0e0ec9967f7af2703328a96ac993 Mon Sep 17 00:00:00 2001
From: Alexander Borkowski <a.borkowski@ontolinguistics.org>
Date: Mon, 15 Jul 2019 08:09:34 +0200
Subject: [PATCH] Silence compiler warning about implicit type.
References: boo#1225950
Upstream: Already committed, this is a backport.
---
src/wirefilter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wirefilter.c b/src/wirefilter.c
index c6ff9ef..ee9714d 100644
--- a/src/wirefilter.c
+++ b/src/wirefilter.c
@@ -133,7 +133,7 @@ static inline void markov_node_free(struct markov_node *old)
free(old);
}
-static void markov_compute(i)
+static void markov_compute(int i)
{
int j;
ADJMAP(i,i)=100.0;

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jul 15 12:46:00 UTC 2024 - Martin Jambor <mjambor@suse.com>
- Added vde2-C99.patch to avoid a C99 violation preventing the package
to be built with GC 14. [boo#1225950]
-------------------------------------------------------------------
Tue Feb 20 13:16:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 23 14:31:28 UTC 2018 - tchvatal@suse.com Tue Jan 23 14:31:28 UTC 2018 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package vde2 # spec file for package vde2
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,14 +20,16 @@ Name: vde2
Version: 2.3.2+svn587 Version: 2.3.2+svn587
Release: 0 Release: 0
Summary: Virtual Distributed Ethernet Summary: Virtual Distributed Ethernet
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Url: http://vde.sourceforge.net/ URL: http://vde.sourceforge.net/
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM: always overflows destination buffer # PATCH-FIX-UPSTREAM: always overflows destination buffer
Patch0: vde2-buffer-overflow.patch Patch0: vde2-buffer-overflow.patch
# PATCH-FIX-UPSTREAM: openssl 1.1 compatibility # PATCH-FIX-UPSTREAM: openssl 1.1 compatibility
Patch1: vde2-openssl_1.1_compatibility.patch Patch1: vde2-openssl_1.1_compatibility.patch
# PATCH-FIX-UPSTREAM: C99 violation fix
Patch2: vde2-C99.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -59,7 +61,7 @@ VDE can be used:
%package cryptcab %package cryptcab
Summary: VDE ecryption module Summary: VDE ecryption module
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
%description cryptcab %description cryptcab
@ -86,7 +88,7 @@ will be rewritten using the LWIPv6 network stack).
%package -n libvdehist0 %package -n libvdehist0
Summary: VDE history library Summary: VDE history library
License: GPL-2.0 License: GPL-2.0-only
Group: System/Libraries Group: System/Libraries
%description -n libvdehist0 %description -n libvdehist0
@ -95,7 +97,7 @@ A library to manage history and command completion for vde mgmt protocol
%package -n libvdemgmt0 %package -n libvdemgmt0
Summary: VDE management library Summary: VDE management library
License: GPL-2.0 License: GPL-2.0-only
Group: System/Libraries Group: System/Libraries
%description -n libvdemgmt0 %description -n libvdemgmt0
@ -104,7 +106,7 @@ management console using pre-made unattended scripts.
%package -n libvdeplug3 %package -n libvdeplug3
Summary: VDE plug library Summary: VDE plug library
License: GPL-2.0 License: GPL-2.0-only
Group: System/Libraries Group: System/Libraries
%description -n libvdeplug3 %description -n libvdeplug3
@ -113,7 +115,7 @@ to a local VDE switch. The simplest one is vde_plug, contained in the vde2 packa
%package -n libvdesnmp0 %package -n libvdesnmp0
Summary: VDE snmp library Summary: VDE snmp library
License: GPL-2.0 License: GPL-2.0-only
Group: System/Libraries Group: System/Libraries
%description -n libvdesnmp0 %description -n libvdesnmp0
@ -122,7 +124,7 @@ SNMP library for Virtual Distributed Ethernet
%package -n libvdehist-devel %package -n libvdehist-devel
Summary: VDE hist header files Summary: VDE hist header files
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: libvdehist0 = %{version} Requires: libvdehist0 = %{version}
@ -134,7 +136,7 @@ This package contains VDE hist header files
%package -n libvdemgmt-devel %package -n libvdemgmt-devel
Summary: VDE management files Summary: VDE management files
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: libvdemgmt0 = %{version} Requires: libvdemgmt0 = %{version}
@ -146,7 +148,7 @@ This package contains VDE management files
%package -n libvdeplug-devel %package -n libvdeplug-devel
Summary: VDE plug header files Summary: VDE plug header files
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: libvdeplug3 = %{version} Requires: libvdeplug3 = %{version}
@ -158,7 +160,7 @@ This package contains VDE plug header files
%package -n libvdesnmp-devel %package -n libvdesnmp-devel
Summary: VDE SNMP header files Summary: VDE SNMP header files
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: libvdesnmp0 = %{version} Requires: libvdesnmp0 = %{version}
@ -169,9 +171,7 @@ Provides: libvdesnmp0-devel = %{version}-%{release}
This package contains VDE SNMP header files. This package contains VDE SNMP header files.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%patch1 -p1
%build %build
autoreconf -fvi autoreconf -fvi