# Maintainer: Natanael Copa pkgname=shorewall pkgver=4.6.4.3 _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://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="fe0bc1d92857778d2cd065b2290502bc shorewall-4.6.4.3.tar.bz2 ac54901de1e876a18d1938df1512ce0d shorewall.initd 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="dce84441db3a2b7c5d810c5159938681d9718aed6bd47bc5424cecf7839c3d5e shorewall-4.6.4.3.tar.bz2 8a69643e09f71044b4f733263ea7120c4f6147a9d6d9b814b43e94ea64791a0f shorewall.initd 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="96386978ada2cc69a51338cc84399f01a087ab22a592262f2c6b49aa9b62b2ae9b9f5efce7bf0c60b72484cf0a44c447438ed71bfac3153fdbb8f5f315be3077 shorewall-4.6.4.3.tar.bz2 c4c3a1137740fd1098680e4b362d707378a263aeeda19a846ba3007614b1b5021ee4a492a5439066b433ce1c27c5a5069a4497ac08d36959a6e1a48cb44422f4 shorewall.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"