From: Erik Skultety Date: Thu, 30 Jan 2020 12:05:54 +0000 (+0100) Subject: libpcap: Bump the minimum required version to >= 1.5.0 X-Git-Tag: v6.1.0-rc1~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c534033c38878d933c92f291d2c47949fa7d35;p=thirdparty%2Flibvirt.git libpcap: Bump the minimum required version to >= 1.5.0 libpcap-1.5.0 introduced a function to enforce immediate mode (on all platforms) which the follow-up patches will rely on. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index bbf9748582..b349d1bc7e 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -302,7 +302,7 @@ BuildRequires: yajl-devel %if %{with_sanlock} BuildRequires: sanlock-devel >= 2.4 %endif -BuildRequires: libpcap-devel +BuildRequires: libpcap-devel >= 1.5.0 BuildRequires: libnl3-devel BuildRequires: libselinux-devel BuildRequires: dnsmasq >= 2.41 diff --git a/m4/virt-libpcap.m4 b/m4/virt-libpcap.m4 index 8fa4889ec8..605c2fdea7 100644 --- a/m4/virt-libpcap.m4 +++ b/m4/virt-libpcap.m4 @@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_ARG_LIBPCAP], [ ]) AC_DEFUN([LIBVIRT_CHECK_LIBPCAP], [ - LIBPCAP_REQUIRED="1.0.0" + LIBPCAP_REQUIRED="1.5.0" LIBPCAP_CONFIG="pcap-config" LIBPCAP_CFLAGS="" LIBPCAP_LIBS=""