summaryrefslogtreecommitdiffstats
path: root/main/iptables/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iptables/APKBUILD')
-rw-r--r--main/iptables/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index b08f790d5..f1d34cff6 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"