diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-20 07:40:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-20 07:40:55 +0000 |
commit | 85611c3e0ae8d1fba9faec8233fe85a7cc1b5e16 (patch) | |
tree | 5d0022671d0f565441560d78deef0e8724093575 /main/iptables/APKBUILD | |
parent | 880e46cd25d645f654f75468d2a2c9ed3fd489ad (diff) | |
download | aports-85611c3e0ae8d1fba9faec8233fe85a7cc1b5e16.tar.bz2 aports-85611c3e0ae8d1fba9faec8233fe85a7cc1b5e16.tar.xz |
main/iptables: change default location for rules-save to /etc/iptables
fixes #499
Diffstat (limited to 'main/iptables/APKBUILD')
-rw-r--r-- | main/iptables/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD index b08f790d5e..f1d34cff66 100644 --- a/main/iptables/APKBUILD +++ b/main/iptables/APKBUILD @@ -1,9 +1,8 @@ -#!/bin/sh # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=iptables pkgver=1.4.11.1 -pkgrel=1 +pkgrel=2 pkgdesc="Linux kernel firewall, NAT and packet mangling tools" url="http://www.iptables.org/" arch="all" @@ -50,9 +49,11 @@ package() { "$pkgdir"/usr/lib \ "$pkgdir"/var/lib/iptables \ "$pkgdir"/etc/init.d \ - "$pkgdir"/etc/conf.d + "$pkgdir"/etc/conf.d \ + "$pkgdir"/etc/iptables \ + || return 1 install -m644 include/iptables.h include/ip6tables.h \ - "$pkgdir"/usr/include/ + "$pkgdir"/usr/include/ || return 1 install include/libiptc/*.h "$pkgdir"/usr/include/libiptc/ install -m644 libiptc/libiptc.a "$pkgdir"/usr/lib install -m755 "$startdir"/iptables.initd "$pkgdir"/etc/init.d/iptables @@ -77,5 +78,5 @@ ip6tables() { md5sums="7de6e1ae7ed8a2025f184763a6a24b9a iptables-1.4.11.1.tar.bz2 ec3e80a1b0ea3e13e4e60824b7ebd1b9 iptables-1.4.2-include-in.patch 2202ac150a5dfe32a8363b0ad565ee1d iptables.initd -956ebf5ab69e5a1e1d3983541eab643b iptables.confd +2ae5c23689c65ed7e827802c47acd426 iptables.confd 91933090bd9d493c91dcffc0221def61 ip6tables.confd" |