diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-04-19 10:30:39 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-04-19 10:30:39 +0000 |
commit | 62f3fced06e785dc5f2127828ba62423001e336d (patch) | |
tree | 950b017bea463201880df6c1c9ff2bcbaa770d47 /rules | |
parent | e9fa60ea843f9268af5350975d244d8cec410ab6 (diff) | |
download | ptxdist-62f3fced06e785dc5f2127828ba62423001e336d.tar.gz ptxdist-62f3fced06e785dc5f2127828ba62423001e336d.tar.xz |
[iptables] add installation of iptables-xml
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10306 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules')
-rw-r--r-- | rules/iptables.in | 2 | ||||
-rw-r--r-- | rules/iptables.make | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/rules/iptables.in b/rules/iptables.in index ceab90cf9..460ad4337 100644 --- a/rules/iptables.in +++ b/rules/iptables.in @@ -78,7 +78,7 @@ config IPTABLES_INSTALL_IPTABLES_SAVE config IPTABLES_INSTALL_IPTABLES_XML bool prompt "install iptables-xml" - depends on IPTABLES_INSTALL_IPTABLES_SAVE + depends on IPTABLES_INSTALL_IPTABLES_SAVE || IPTABLES_INSTALL_IP6TABLES_SAVE help iptables-xml is used to convert the output of iptables-save into an easily manipulatable XML format to STDOUT. Use I/O-redirection diff --git a/rules/iptables.make b/rules/iptables.make index 38120a5bb..744842d31 100644 --- a/rules/iptables.make +++ b/rules/iptables.make @@ -119,6 +119,10 @@ endif /usr/lib/$$file); \ done +ifdef PTXCONF_IPTABLES_INSTALL_IPTABLES_XML + @$(call install_copy, iptables, 0, 0, 0755, -, /usr/bin/iptables-xml) +endif + @$(call install_finish, iptables) @$(call touch) |