diff options
author | Matt Smith <mcs@darkregion.net> | 2010-09-01 17:55:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-02 12:32:29 +0000 |
commit | 0c9384fd13087147e6055d9d9d90796805645343 (patch) | |
tree | 8be5046bf37897f2ece43999021e8d87ca02c84d /main/iptables | |
parent | 437ec46f4b7d85591865b0987634246e7e47b4fb (diff) | |
download | aports-0c9384fd13087147e6055d9d9d90796805645343.tar.bz2 aports-0c9384fd13087147e6055d9d9d90796805645343.tar.xz |
main/iptables: /etc/init.d/ip6tables unable to save rules
This fixes #420:
http://redmine.alpinelinux.org/issues/420
Diffstat (limited to 'main/iptables')
-rw-r--r-- | main/iptables/APKBUILD | 7 | ||||
-rw-r--r-- | main/iptables/ip6tables.confd | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD index c37c87dcf8..d9a75ab3f0 100644 --- a/main/iptables/APKBUILD +++ b/main/iptables/APKBUILD @@ -3,7 +3,7 @@ pkgname=iptables pkgver=1.4.9.1 -pkgrel=0 +pkgrel=1 pkgdesc="Linux kernel firewall, NAT and packet mangling tools" url="http://www.iptables.org/" license=GPL-2 @@ -11,6 +11,7 @@ source="http://iptables.org/projects/iptables/files/$pkgname-$pkgver.tar.bz2 iptables-1.4.2-include-in.patch iptables.initd iptables.confd + ip6tables.confd " makedepends="linux-headers" @@ -49,6 +50,7 @@ package() { install -m644 libiptc/libiptc.a "$pkgdir"/usr/lib install -m755 "$startdir"/iptables.initd "$pkgdir"/etc/init.d/iptables install -m644 "$startdir"/iptables.confd "$pkgdir"/etc/conf.d/iptables + install -m644 "$startdir"/ip6tables.confd "$pkgdir"/etc/conf.d/ip6tables } ip6tables() { @@ -67,4 +69,5 @@ ip6tables() { md5sums="fbadfb0b5f2dbda49e0ad06a798898e3 iptables-1.4.9.1.tar.bz2 ec3e80a1b0ea3e13e4e60824b7ebd1b9 iptables-1.4.2-include-in.patch 2202ac150a5dfe32a8363b0ad565ee1d iptables.initd -956ebf5ab69e5a1e1d3983541eab643b iptables.confd" +956ebf5ab69e5a1e1d3983541eab643b iptables.confd +91933090bd9d493c91dcffc0221def61 ip6tables.confd" diff --git a/main/iptables/ip6tables.confd b/main/iptables/ip6tables.confd new file mode 100644 index 0000000000..6a8d94c75c --- /dev/null +++ b/main/iptables/ip6tables.confd @@ -0,0 +1,11 @@ +# /etc/conf.d/ip6tables + +# Location in which ip6tables initscript will save set rules on +# service shutdown +IP6TABLES_SAVE="/var/lib/ip6tables/rules-save" + +# Options to pass to ip6tables-save and ip6tables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping iptables +SAVE_ON_STOP="yes" |