thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
26ba25
From f98862c05573261a3fd0cd30ed27992290183835 Mon Sep 17 00:00:00 2001
26ba25
From: Eduardo Otubo <otubo@redhat.com>
26ba25
Date: Fri, 28 Sep 2018 07:56:38 +0100
26ba25
Subject: [PATCH 4/6] configure: require libseccomp 2.2.0
26ba25
MIME-Version: 1.0
26ba25
Content-Type: text/plain; charset=UTF-8
26ba25
Content-Transfer-Encoding: 8bit
26ba25
26ba25
RH-Author: Eduardo Otubo <otubo@redhat.com>
26ba25
Message-id: <20180928075639.16746-5-otubo@redhat.com>
26ba25
Patchwork-id: 82312
26ba25
O-Subject: [RHEL-8 qemu-kvm PATCH 4/5] configure: require libseccomp 2.2.0
26ba25
Bugzilla: 1618356
26ba25
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
26ba25
RH-Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
26ba25
RH-Acked-by: Thomas Huth <thuth@redhat.com>
26ba25
26ba25
From: Marc-André Lureau <marcandre.lureau@redhat.com>
26ba25
26ba25
commit d0699bd37c48067cffbd80383172efc29da6d2f9
26ba25
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
26ba25
Date:   Wed Aug 22 19:02:49 2018 +0200
26ba25
26ba25
    configure: require libseccomp 2.2.0
26ba25
26ba25
    The following patch is going to require TSYNC, which is only available
26ba25
    since libseccomp 2.2.0.
26ba25
26ba25
    libseccomp 2.2.0 was released February 12, 2015.
26ba25
26ba25
    According to repology, libseccomp version in different distros:
26ba25
26ba25
      RHEL-7: 2.3.1
26ba25
      Debian (Stretch): 2.3.1
26ba25
      OpenSUSE Leap 15: 2.3.2
26ba25
      Ubuntu (Xenial):  2.3.1
26ba25
26ba25
    This will drop support for -sandbox on:
26ba25
26ba25
      Debian (Jessie): 2.1.1 (but 2.2.3 in backports)
26ba25
26ba25
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
26ba25
    Acked-by: Eduardo Otubo <otubo@redhat.com>
26ba25
26ba25
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
26ba25
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
26ba25
---
26ba25
 configure | 7 ++-----
26ba25
 1 file changed, 2 insertions(+), 5 deletions(-)
26ba25
26ba25
diff --git a/configure b/configure
26ba25
index 23d8d18..efd9eb6 100755
26ba25
--- a/configure
26ba25
+++ b/configure
26ba25
@@ -2137,13 +2137,10 @@ fi
26ba25
 ##########################################
26ba25
 # libseccomp check
26ba25
 
26ba25
+libseccomp_minver="2.2.0"
26ba25
 if test "$seccomp" != "no" ; then
26ba25
     case "$cpu" in
26ba25
-    i386|x86_64)
26ba25
-        libseccomp_minver="2.1.0"
26ba25
-        ;;
26ba25
-    mips)
26ba25
-        libseccomp_minver="2.2.0"
26ba25
+    i386|x86_64|mips)
26ba25
         ;;
26ba25
     arm|aarch64)
26ba25
         libseccomp_minver="2.2.3"
26ba25
-- 
26ba25
1.8.3.1
26ba25