diff options
-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" |