# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=shorewall pkgver=4.6.12.1 _ver=$pkgver case $pkgver in *.*.*.*) _ver=${pkgver%.*};; esac pkgrel=0 pkgdesc="An iptables front end for firewall configuration" url="http://www.shorewall.net/" arch="noarch" license="GPL2" depends="shorewall-core perl iptables iproute2" # coreutils for install -T makedepends="coreutils bash" replaces="" subpackages="$pkgname-doc" source="http://www.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/$pkgname-$pkgver.tar.bz2 shorewall.initd shorewallrc.alpine " _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done cp "$srcdir"/shorewallrc.alpine . } build() { cd "$_builddir" ./configure || return 1 } package() { cd "$_builddir" DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine || return 1 install -Dm755 "$srcdir"/shorewall.initd "$pkgdir"/etc/init.d/shorewall } md5sums="4fb5e0ac8059f5a3397d8d36cfe80278 shorewall-4.6.12.1.tar.bz2 19de6643ef976ed3afd865fa2f328364 shorewall.initd 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="246c63d6e6798bff7086e6557d0bb5c281360e4082f770d7d55b18092e93412f shorewall-4.6.12.1.tar.bz2 164ecdd67052709109826ca42c9ba6cda709709016c372b39e253abfce8d7583 shorewall.initd 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="770dfb3f317d855e0b84c769d4c18d929359d78cec2d22d309c0089ba4b6d75ec4b10d9d09cd4423933ae5bec013779e422adad064a35a73a8baee7e53084b23 shorewall-4.6.12.1.tar.bz2 7e226f42f74ce92d4c40bd0e812fbe744f0e343de7d7d68f59328b57829b0a10e2226fa9ef78e3465846bb2f691f761810774672b0a8510f96b80d7645982dc5 shorewall.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"