0301-install_iptables_apply.patch 1.71 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
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

13
14
15
16
Index: pkg-iptables/iptables/Makefile.am
===================================================================
--- pkg-iptables.orig/iptables/Makefile.am
+++ pkg-iptables/iptables/Makefile.am
17
@@ -61,7 +61,10 @@ man_MANS         = iptables.8 iptables-r
18
19
                    ip6tables-save.8 iptables-extensions.8 \
                    xtables-nft.8 xtables-translate.8 xtables-legacy.8 \
20
                    iptables-translate.8 ip6tables-translate.8 \
21
22
-                   xtables-monitor.8
+                   xtables-monitor.8 iptables-apply.8 ip6tables-apply.8
23
24
25
26
27
28
29
+
+sbin_SCRIPT      = iptables-apply
+
 if ENABLE_NFTABLES
 man_MANS	+= arptables-nft.8 arptables-nft-restore.8 arptables-nft-save.8 \
 		   ebtables-nft.8
@@ -111,3 +114,4 @@ install-exec-hook:
30
31
32
 	for i in ${v4_sbin_links}; do ${LN_S} -f xtables-legacy-multi "${DESTDIR}${sbindir}/$$i"; done;
 	for i in ${v6_sbin_links}; do ${LN_S} -f xtables-legacy-multi "${DESTDIR}${sbindir}/$$i"; done;
 	for i in ${x_sbin_links}; do ${LN_S} -f xtables-nft-multi "${DESTDIR}${sbindir}/$$i"; done;
33
+	${LN_S} -f iptables-apply "${DESTDIR}${sbindir}/ip6tables-apply"
34
35
Index: pkg-iptables/iptables/ip6tables-apply.8
===================================================================
36
--- /dev/null
37
+++ pkg-iptables/iptables/ip6tables-apply.8
38
39
@@ -0,0 +1 @@
+.so man8/iptables-apply.8