0301-install_iptables_apply.patch 1.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From 1f6e159b2c353f287142d8e0e1dc86e2fb38d277 Mon Sep 17 00:00:00 2001
From: "Laurence J. Lane" <ljlane@debian.org>
Date: Fri, 6 Sep 2013 18:36:05 -0400
Subject: [PATCH] build: install iptables-apply

Signed-off-by: Laurence J. Lane <ljlane@debian.org>
---
 iptables/Makefile.am       | 5 ++++-
 iptables/ip6tables-apply.8 | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 iptables/ip6tables-apply.8

--- a/iptables/Makefile.am
+++ b/iptables/Makefile.am
15
@@ -58,7 +58,10 @@
16
 endif
17
18
19
20
 man_MANS         = iptables.8 iptables-restore.8 iptables-save.8 \
                    iptables-xml.1 ip6tables.8 ip6tables-restore.8 \
-                   ip6tables-save.8 iptables-extensions.8
+                   ip6tables-save.8 iptables-extensions.8 \
21
22
23
24
25
+		   iptables-apply.8 ip6tables-apply.8
+sbin_SCRIPTS	 = iptables-apply
+
 CLEANFILES       = iptables.8 \
 		   xtables-config-parser.c xtables-config-syntax.c
26
 
27
@@ -92,3 +95,4 @@
28
29
 	for i in ${v4_sbin_links}; do ${LN_S} -f xtables-multi "${DESTDIR}${sbindir}/$$i"; done;
 	for i in ${v6_sbin_links}; do ${LN_S} -f xtables-multi "${DESTDIR}${sbindir}/$$i"; done;
30
 	for i in ${x_sbin_links}; do ${LN_S} -f xtables-compat-multi "${DESTDIR}${sbindir}/$$i"; done;
31
32
33
34
35
+	${LN_S} -f iptables-apply "${DESTDIR}${sbindir}/ip6tables-apply"
--- /dev/null
+++ b/iptables/ip6tables-apply.8
@@ -0,0 +1 @@
+.so man8/iptables-apply.8