Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660944

Summary: app-emulation/libvirt[virt-network] change RDEPEND for net-firewall/ebtables
Product: Gentoo Linux Reporter: Christian Bricart <christian>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Bricart 2018-07-11 17:27:55 UTC
any version for app-emulation/libvirt with USE=virt-network adds a RDEPEND on net-firewall/ebtables.
As of >=net-firewall/iptables-1.8.0 the /sbin/ebtables binary has become part of the iptables package as a drop-in replacement for net-firewall/ebtables

so the logic in RDEPEND should be altered to be like:
..
virt-network? (
  net-dns/dnsmasq[script]
  || ( net-firewall/ebtables >=net-firewall/iptables-1.8.0 )
  >=net-firewall/iptables-1.4.10[ipv6]
  net-misc/radvd
  sys-apps/iproute2[-minimal]
)
..

on the other hand it might also feasable to introduce a package virtual/ebtables with the above logic.

additionaly, should >=net-firewall/iptables-1.8.0 get an extra USE=ebtables to *not* build the drop-in? then »arptables« would be a second candidate which was also added to iptables-1.8.0 as a drop-in


Reproducible: Always
Comment 1 Christian Bricart 2018-07-11 19:06:51 UTC
solved (by some extend) by resolved bug 660886 ... kthxbye