# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=shorewall6 pkgver=5.2.8 _maj_min_patch=$pkgver case $pkgver in *.*.*.*) _maj_min_patch=${pkgver%.*};; esac _maj_min=${_maj_min_patch%.*} pkgrel=1 pkgdesc="Files for the IPV6 Shorewall Firewall" url="https://shorewall.org/" arch="noarch" license="GPL-2.0-or-later" options="!check" # No test suite depends="shorewall-core perl iproute2 perl-socket6" # coreutils for install -T makedepends="coreutils bash" subpackages="$pkgname-doc $pkgname-openrc" source="https://shorewall.org/pub/shorewall/$_maj_min/shorewall-$_maj_min_patch/shorewall6-$pkgver.tar.bz2 shorewall6.initd shorewallrc.alpine " prepare() { default_prepare cp "$srcdir"/shorewallrc.alpine . } build() { ./configure } package() { DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine install -Dm755 "$srcdir"/shorewall6.initd \ "$pkgdir"/etc/init.d/shorewall6 } sha512sums="7044efe84b2c585fcd0bfb661666c71cea140157f22ba7d4881006e24d785eb0091c071c825fa5948bc1383e7fd4617cc8f3d4e68865cf472ddea3811bf1833d shorewall6-5.2.8.tar.bz2 c8cb512c487f30e26b63bd8e42cf506d032ced2364e0e79e86a3cff84f778ddf00efcbf1e23b07ba0aea9b5b7fcf5f0d10cd4b9884df46ee73ee6b2dff5cd672 shorewall6.initd c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"