aboutsummaryrefslogtreecommitdiffstats
path: root/main/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'main/iptables')
-rw-r--r--main/iptables/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 62913d1cf4..f36be22b21 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -60,21 +60,22 @@ 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() {
depends="iptables"
mkdir -p "$subpkgdir"/sbin \
"$subpkgdir"/etc/init.d/ \
+ "$subpkgdir"/etc/conf.d \
"$subpkgdir"/var/lib/ip6tables \
- "$subpkgdir"/usr/libexec/xtables
+ "$subpkgdir"/usr/lib/xtables
mv "$pkgdir"/sbin/ip6* "$subpkgdir"/sbin/
- mv "$pkgdir"/usr/libexec/xtables/libip6* \
- "$subpkgdir"/usr/libexec/xtables/
+ mv "$pkgdir"/usr/lib/xtables/libip6* \
+ "$subpkgdir"/usr/lib/xtables/
install -m755 "$startdir"/iptables.initd \
"$subpkgdir"/etc/init.d/ip6tables
+ install -m644 "$startdir"/ip6tables.confd "$subpkgdir"/etc/conf.d/ip6tables
}
md5sums="212112389c7f10c72efb31a4ed193a4c iptables-1.4.12.2.tar.bz2