# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=shorewall6 pkgver=4.6.5.5 _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="fc00227e8b982a9c0240b567449cde8c shorewall6-4.6.5.5.tar.bz2 685f7d32ff6ce1251658365e7d7076ee shorewall6.initd 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="0aa89effdb02faaa0b346efb8ec62a00260936e12d27d3d01f2ffdbfbc2cb092 shorewall6-4.6.5.5.tar.bz2 a0c9a30cebee098e05d38626d6124398947d4b6cac15d278b1d383bfcc29bcda shorewall6.initd 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="e0d795cdbc72099a4d25a713327b80ffd48a287048a437b67cd3659831f789af294a5329a9f0fc9c46537642aa3a1f3fa923a69fa27069924565a4dc5a0820ee shorewall6-4.6.5.5.tar.bz2 ef7c3fb6080cd8f49ad8fef5221cf9e43701aa5838e30ddba73bc2fe1499bb2487a45d020c6b26bde36366cc9fb87a321955a6b5bfe8f844060f462e2d1bac2b shorewall6.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"