mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
meson: stop looking for iptables/ip6tables/ebtables at build time
This was the only reason we required the iptables and ebtables
packages at build time, and many other external commands already have
their binaries found at runtime by looking through $PATH (virCommand
automatically does this), so we may as well do it for these commands
as well.
Since we no longer need iptables or iptables at build time, we can
also drop the BuildRequires for them from the rpm specfile.
Inspired-by: 6aa2fa38b0
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
110383fa30
commit
865eea30f4
@ -356,8 +356,6 @@ BuildRequires: sanlock-devel >= 2.4
|
|||||||
BuildRequires: libpcap-devel >= 1.5.0
|
BuildRequires: libpcap-devel >= 1.5.0
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: iptables
|
|
||||||
BuildRequires: ebtables
|
|
||||||
# For modprobe
|
# For modprobe
|
||||||
BuildRequires: kmod
|
BuildRequires: kmod
|
||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
|
@ -838,10 +838,7 @@ optional_test_programs = [
|
|||||||
|
|
||||||
optional_programs = [
|
optional_programs = [
|
||||||
'dmidecode',
|
'dmidecode',
|
||||||
'ebtables',
|
|
||||||
'ip',
|
'ip',
|
||||||
'ip6tables',
|
|
||||||
'iptables',
|
|
||||||
'iscsiadm',
|
'iscsiadm',
|
||||||
'mdevctl',
|
'mdevctl',
|
||||||
'mm-ctl',
|
'mm-ctl',
|
||||||
|
@ -27,8 +27,10 @@
|
|||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virutil.h"
|
#include "virutil.h"
|
||||||
|
#include "virfirewall.h" /* for binary names */
|
||||||
#include "bridge_driver_conf.h"
|
#include "bridge_driver_conf.h"
|
||||||
|
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_NETWORK
|
#define VIR_FROM_THIS VIR_FROM_NETWORK
|
||||||
|
|
||||||
VIR_LOG_INIT("network.bridge_driver");
|
VIR_LOG_INIT("network.bridge_driver");
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#include "virbuffer.h"
|
#include "virbuffer.h"
|
||||||
#include "virxml.h"
|
#include "virxml.h"
|
||||||
|
|
||||||
|
/* various external programs executed when applying firewalls */
|
||||||
|
#define EBTABLES "ebtables"
|
||||||
|
#define IPTABLES "iptables"
|
||||||
|
#define IP6TABLES "ip6tables"
|
||||||
|
|
||||||
typedef struct _virFirewall virFirewall;
|
typedef struct _virFirewall virFirewall;
|
||||||
|
|
||||||
typedef struct _virFirewallCmd virFirewallCmd;
|
typedef struct _virFirewallCmd virFirewallCmd;
|
||||||
|
Loading…
Reference in New Issue
Block a user