PKGBUILDs/community/firehol/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
781 B
Bash

# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Filip Dvorak <fila@pruda.com>
pkgname=firehol
pkgver=1.273
pkgrel=2
pkgdesc="The iptables stateful packet filtering firewall builder."
url="http://firehol.sourceforge.net"
arch=('i686' 'x86_64')
license=('GPL')
depends=('iptables' 'gawk' 'iproute')
backup=('etc/firehol/firehol.conf')
install=('firehol.install')
source=(http://downloads.sourceforge.net/sourceforge/firehol/$pkgname-$pkgver.tar.bz2)
build() {
cd $srcdir/$pkgname-$pkgver
install -D -m755 firehol.sh $pkgdir/etc/rc.d/firehol
install -d $pkgdir/etc/firehol/
cp get-iana.sh $pkgdir/etc/firehol/
cp adblock.sh $pkgdir/etc/firehol/
cd examples
cp *.conf $pkgdir/etc/firehol/
}
md5sums=('cbbe1ba21cf44955827d5c906a55aa21')