summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/iptables/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/iptables/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/iptables/PKGBUILD')
-rw-r--r--abs/core-testing/iptables/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core-testing/iptables/PKGBUILD b/abs/core-testing/iptables/PKGBUILD
new file mode 100644
index 0000000..c796285
--- /dev/null
+++ b/abs/core-testing/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
+}