net-firewall/nftables: add xml USE flag
authorNicholas Vinson <nvinson234@gmail.com>
Tue, 20 Dec 2016 15:53:21 +0000 (07:53 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Sat, 7 Jan 2017 21:46:02 +0000 (13:46 -0800)
commitb6b2a0c93ecc164d8b3089ee932aeae5a9e38b0b
tree6eec2c8fbfd75bb881c76cad10d668fa59f9bfc8
parent8c756d4d16a96608d31db080d77b2f150367d797
net-firewall/nftables: add xml USE flag

libnftnl-1.0.7 no longer supports outputing the firewall state as XML.
If a user wants that output, the user must use libnftnl-1.0.6.
Therefore, I added the xml USE flag so I could restrict libnftnl to
1.0.6 when xml is enabled and allow newer versions to be used when it is
not.

Unforunately, nftables unconditionally compiles support for xml output,
so when xml use is attempted with a version of libnftnl that does not
support it, the result is just an empty file.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-firewall/nftables/nftables-0.6-r4.ebuild