mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
meson: src/nwfilter: install nwfilter XML files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
7f1e2fa7a6
commit
2ba64a44fb
@ -1,14 +1,5 @@
|
||||
# vim: filetype=automake
|
||||
|
||||
NWFILTER_XML_FILES = $(wildcard $(srcdir)/nwfilter/xml/*.xml)
|
||||
|
||||
DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(NWFILTER_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
$(addprefix $(srcdir)/,$(NWFILTER_DRIVER_SOURCES))
|
||||
|
||||
if WITH_NWFILTER
|
||||
|
||||
nwfilterxmldir = $(sysconfdir)/libvirt/nwfilter
|
||||
nwfilterxml_DATA = $(NWFILTER_XML_FILES)
|
||||
|
||||
endif WITH_NWFILTER
|
||||
|
@ -64,4 +64,6 @@ if conf.has('WITH_NWFILTER')
|
||||
'name': 'virtnwfilterd',
|
||||
'file': files('virtnwfilterd.sysconf'),
|
||||
}
|
||||
|
||||
subdir('xml')
|
||||
endif
|
||||
|
22
src/nwfilter/xml/meson.build
Normal file
22
src/nwfilter/xml/meson.build
Normal file
@ -0,0 +1,22 @@
|
||||
nwfilter_xml_files = [
|
||||
'allow-arp.xml',
|
||||
'allow-dhcp-server.xml',
|
||||
'allow-dhcp.xml',
|
||||
'allow-incoming-ipv4.xml',
|
||||
'allow-ipv4.xml',
|
||||
'clean-traffic-gateway.xml',
|
||||
'clean-traffic.xml',
|
||||
'no-arp-ip-spoofing.xml',
|
||||
'no-arp-mac-spoofing.xml',
|
||||
'no-arp-spoofing.xml',
|
||||
'no-ip-multicast.xml',
|
||||
'no-ip-spoofing.xml',
|
||||
'no-mac-broadcast.xml',
|
||||
'no-mac-spoofing.xml',
|
||||
'no-other-l2-traffic.xml',
|
||||
'no-other-rarp-traffic.xml',
|
||||
'qemu-announce-self-rarp.xml',
|
||||
'qemu-announce-self.xml',
|
||||
]
|
||||
|
||||
install_data(nwfilter_xml_files, install_dir: sysconfdir / 'libvirt' / 'nwfilter')
|
Loading…
x
Reference in New Issue
Block a user