summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org>2019-06-30 01:08:30 +0200
committerMatthew Thode <prometheanfire@gentoo.org>2019-06-29 20:56:59 -0500
commit3c4624aec145476efcb4ee04eab239d7dc45710a (patch)
tree12113101d86428cfefbd58888b5b9ad0289e72f0 /net-firewall/nftables/metadata.xml
parentmedia-gfx/graphicsmagick: drop unnecessary corefonts dep for tests (diff)
downloadgentoo-3c4624aec145476efcb4ee04eab239d7dc45710a.tar.gz
gentoo-3c4624aec145476efcb4ee04eab239d7dc45710a.tar.bz2
gentoo-3c4624aec145476efcb4ee04eab239d7dc45710a.zip
net-firewall/nftables: add doc and xtables USE flags
This commit adds some fixes on the 0.9.1 package: * Adds the doc USE flag to control building of the man pages * Adds the app-text/asciidoc when building the man pages * Adds the xtables USE flag for better compatibility with iptables-compat * Adds the net-firewall/iptables dependency when using the xtables flag I have chosen +doc, xtables for better compatibility with prior versions. Also whilst man pages generally make sense, the xtables USE isn't needed on pure nftables setups which are the recommended approach. Closes: https://bugs.gentoo.org/688952 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-firewall/nftables/metadata.xml')
-rw-r--r--net-firewall/nftables/metadata.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index dcc71d66d6f8..0984d13e0f03 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -14,7 +14,9 @@
<name>Francisco Blas Izquierdo Riera</name>
</maintainer>
<use>
+ <flag name="doc">Create man pages for the package (requires <pkg>app-text/asciidoc</pkg>)</flag>
<flag name="json">Enable JSON support via <pkg>dev-libs/jansson</pkg></flag>
<flag name="modern_kernel">Install init scripts for 3.18 or higher kernels with atomic rule updates</flag>
+ <flag name="xtables">Add libxtables support to try to automatically translate rules added by iptables-compat</flag>
</use>
</pkgmetadata>