]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/extra/0003-configure-require-libseccomp-2.2.0.patch
34ec05bcf91d3dcb97222ad50532b4a0a86415f5
[pve-qemu.git] / debian / patches / extra / 0003-configure-require-libseccomp-2.2.0.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
3 Date: Wed, 22 Aug 2018 19:02:49 +0200
4 Subject: [PATCH] configure: require libseccomp 2.2.0
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 The following patch is going to require TSYNC, which is only available
10 since libseccomp 2.2.0.
11
12 libseccomp 2.2.0 was released February 12, 2015.
13
14 According to repology, libseccomp version in different distros:
15
16 RHEL-7: 2.3.1
17 Debian (Stretch): 2.3.1
18 OpenSUSE Leap 15: 2.3.2
19 Ubuntu (Xenial): 2.3.1
20
21 This will drop support for -sandbox on:
22
23 Debian (Jessie): 2.1.1 (but 2.2.3 in backports)
24
25 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
26 Acked-by: Eduardo Otubo <otubo@redhat.com>
27 ---
28 configure | 7 ++-----
29 1 file changed, 2 insertions(+), 5 deletions(-)
30
31 diff --git a/configure b/configure
32 index 601c1f44f9..d2cc11cdbb 100755
33 --- a/configure
34 +++ b/configure
35 @@ -2222,13 +2222,10 @@ fi
36 ##########################################
37 # libseccomp check
38
39 +libseccomp_minver="2.2.0"
40 if test "$seccomp" != "no" ; then
41 case "$cpu" in
42 - i386|x86_64)
43 - libseccomp_minver="2.1.0"
44 - ;;
45 - mips)
46 - libseccomp_minver="2.2.0"
47 + i386|x86_64|mips)
48 ;;
49 arm|aarch64)
50 libseccomp_minver="2.2.3"
51 --
52 2.11.0
53