diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-04 03:33:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-04 03:33:18 +0100 |
commit | 5c9bbe083a12cfb9666fed4abe5bce219ff2f019 (patch) | |
tree | 28061684a1f8f3db5e88d352edc99ec4495ad4fa /app-emulation/libvirt/libvirt-8.8.0-r1.ebuild | |
parent | 5043a584ce7a3eb644e68694a3266c1a5d2ccba5 (diff) |
gentoo auto-resync : 04:06:2023 - 03:33:17
Diffstat (limited to 'app-emulation/libvirt/libvirt-8.8.0-r1.ebuild')
-rw-r--r-- | app-emulation/libvirt/libvirt-8.8.0-r1.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app-emulation/libvirt/libvirt-8.8.0-r1.ebuild b/app-emulation/libvirt/libvirt-8.8.0-r1.ebuild index 4d8236b3465c..e0f5cde83128 100644 --- a/app-emulation/libvirt/libvirt-8.8.0-r1.ebuild +++ b/app-emulation/libvirt/libvirt-8.8.0-r1.ebuild @@ -191,10 +191,21 @@ pkg_setup() { ~IP_NF_FILTER ~IP_NF_MANGLE ~IP_NF_NAT - ~IP_NF_TARGET_MASQUERADE ~IP6_NF_FILTER ~IP6_NF_MANGLE ~IP6_NF_NAT" + + # This was renamed in kernel commit v5.2-rc1~133^2~174^2~6 + if use virt-network ; then + if kernel_is -lt 5 2 ; then + CONFIG_CHECK+=" + ~IP_NF_TARGET_MASQUERADE" + else + CONFIG_CHECK+=" + ~NETFILTER_XT_TARGET_MASQUERADE" + fi + fi + # Bandwidth Limiting Support use virt-network && CONFIG_CHECK+=" ~BRIDGE_EBT_T_NAT |