# Maintainer: Natanael Copa pkgname=shorewall pkgver=4.6.3.2 _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="GPL-2" depends="shorewall-core perl iptables iproute2" # coreutils for install -T makedepends="coreutils bash" replaces="" subpackages="$pkgname-doc" source="http://www1.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="95f5c53cc4acdbe930911ab000394373 shorewall-4.6.3.2.tar.bz2 ac54901de1e876a18d1938df1512ce0d shorewall.initd 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="d260b737947d756f315b4c92a7a2c34fd8680a910f53160a420c16e4657859c6 shorewall-4.6.3.2.tar.bz2 8a69643e09f71044b4f733263ea7120c4f6147a9d6d9b814b43e94ea64791a0f shorewall.initd 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="f32f401ca8234c4aae7f916003b4855736e0d59e2f86ed084481334cca68538cb6fc47f8fef15df8426ad365fede022691d3fe62a0390130b4ff30c226c2fe03 shorewall-4.6.3.2.tar.bz2 c4c3a1137740fd1098680e4b362d707378a263aeeda19a846ba3007614b1b5021ee4a492a5439066b433ce1c27c5a5069a4497ac08d36959a6e1a48cb44422f4 shorewall.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"