summaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/shorewall-common-ipset.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-13 07:43:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-13 07:43:08 +0000
commit7ccf5d526950166104a3767cb754384702babe2c (patch)
treeb8b64b84f10c8e21179a9726d50be6cc76d5ea7a /main/shorewall-common/shorewall-common-ipset.patch
parent1e46ca977586cb2932102eaab67372e9126ae6a8 (diff)
downloadaports-7ccf5d526950166104a3767cb754384702babe2c.tar.bz2
aports-7ccf5d526950166104a3767cb754384702babe2c.tar.xz
main/shorewall-common: add patch for ipset
From Harry. http://lists.alpinelinux.org/alpine-devel/0092.html
Diffstat (limited to 'main/shorewall-common/shorewall-common-ipset.patch')
-rw-r--r--main/shorewall-common/shorewall-common-ipset.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/shorewall-common/shorewall-common-ipset.patch b/main/shorewall-common/shorewall-common-ipset.patch
new file mode 100644
index 000000000..8c6ff72aa
--- /dev/null
+++ b/main/shorewall-common/shorewall-common-ipset.patch
@@ -0,0 +1,22 @@
+--- shorewall-common-4.2.11.orig/lib.cli
++++ shorewall-common-4.2.11/lib.cli
+@@ -315,8 +315,6 @@
+ grep 'loadmodule ip_set' ${VARDIR}/.modules >> $f
+ echo "__EOF__" >> $f
+ echo >> $f
+- echo "ipset -U :all: :all:" >> $f
+- echo "ipset -U :all: :default:" >> $f
+ echo "ipset -F" >> $f
+ echo "ipset -X" >> $f
+ echo "ipset -R << __EOF__" >> $f
+--- shorewall-common-4.2.11.orig/lib.config
++++ shorewall-common-4.2.11/lib.config
+@@ -884,7 +884,7 @@
+ ;;
+ esac
+
+- echo "--set ${setname#+} $options"
++ echo "--match-set ${setname#+} $options"
+ }
+
+ #