aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-02-23 12:57:40 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-02-23 12:57:40 +0000
commit2514e25af06a563c1343bd3a6feb29e619ea3938 (patch)
tree0195a5d70940a7505afb789d34add38344744474 /main
parentc0515f500bcc2309cdc8a2c65f157c45fdba57c3 (diff)
downloadaports-2514e25af06a563c1343bd3a6feb29e619ea3938.tar.bz2
aports-2514e25af06a563c1343bd3a6feb29e619ea3938.tar.xz
main/iptables: fixed the packaging of ip6tables files
/etc/conf.d/ip6tables file moved to ip6tables package ip6tables modules moved back to the package (install dir changed)
Diffstat (limited to 'main')
-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