# Maintainer: Natanael Copa pkgname=shorewall6 pkgver=4.6.3.2 _ver=$pkgver case $pkgver in *.*.*.*) _ver=${pkgver%.*};; esac pkgrel=0 pkgdesc="Files for the IPV6 Shorewall Firewall" url="http://www.shorewall.net/" arch="noarch" license="GPL-2" depends="shorewall-core perl ip6tables 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 shorewall6.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"/shorewall6.initd \ "$pkgdir"/etc/init.d/shorewall6 } md5sums="033206f7265192f67dfdebdea4307749 shorewall6-4.6.3.2.tar.bz2 685f7d32ff6ce1251658365e7d7076ee shorewall6.initd 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="0f3035b70336dbb8349862e003110c02347cff7a0d3866a0ff03a2f3928eb7de shorewall6-4.6.3.2.tar.bz2 a0c9a30cebee098e05d38626d6124398947d4b6cac15d278b1d383bfcc29bcda shorewall6.initd 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="ab61a5c324fcaefc986ed9feb04990b81849e6443439ed912cd23427c322479ae3353c27bf4b1b94a9a7b839caf89db72e893a6d1dc5b935fea64a99fa736003 shorewall6-4.6.3.2.tar.bz2 ef7c3fb6080cd8f49ad8fef5221cf9e43701aa5838e30ddba73bc2fe1499bb2487a45d020c6b26bde36366cc9fb87a321955a6b5bfe8f844060f462e2d1bac2b shorewall6.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"