diff options
Diffstat (limited to 'abs/core/iptables/PKGBUILD')
-rw-r--r-- | abs/core/iptables/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/iptables/PKGBUILD b/abs/core/iptables/PKGBUILD new file mode 100644 index 0000000..c796285 --- /dev/null +++ b/abs/core/iptables/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Thomas Baechler <thomas@archlinux.org> +pkgname=iptables +pkgver=1.4.1 +pkgrel=1 +pkgdesc="A Linux kernel packet control tool" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.netfilter.org/" +depends=('glibc') +source=(http://www.iptables.org/projects/iptables/files/iptables-$pkgver.tar.bz2 \ + iptables ip6tables empty.rules simple_firewall.rules iptables.conf.d) +md5sums=('e628f033b95741266a315d54fe73db9c' + '89401d6f0cf1de46a455b7be6720a58b' + '6e0e88c2ed0c3715d1409ee3258a0046' + '14186bbafe21bb0638c0cb8e0903c829' + 'e53a83bb4d8ac8b7eadd7bd58294751d' + 'c7cf6e4455c228e50d20ce3edd75ee59') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${startdir}/pkg install + install -D -m755 ../iptables $startdir/pkg/etc/rc.d/iptables + install -D -m755 ../ip6tables $startdir/pkg/etc/rc.d/ip6tables + install -D -m644 ../empty.rules $startdir/pkg/etc/iptables/empty.rules + install -D -m644 ../simple_firewall.rules $startdir/pkg/etc/iptables/simple_firewall.rules + install -D -m644 ../iptables.conf.d $startdir/pkg/etc/conf.d/iptables +} |