summaryrefslogtreecommitdiffstats
path: root/extra/shorewall-common/APKBUILD
blob: ce0562f3ac23f2e399edcee55e326b08b608bc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall-common
pkgver=4.2.8
pkgrel=0
pkgdesc="Shoreline Firewall is an iptables-based firewall for Linux."
url="http://www.shorewall.net/"
license="GPL-2"
depends="iptables iproute2"
subpackages="$pkgname-doc"
source="http://www1.shorewall.net/pub/shorewall/4.2/shorewall-$pkgver/shorewall-common-$pkgver.tar.bz2
	shorewall.initd
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	PREFIX="${pkgdir}" ./install.sh || return 1
	install -Dm755 "$srcdir"/shorewall.initd "$pkgdir"/etc/init.d/shorewall
}
md5sums="e5d0eb7539b7c96b381ff2680eac5888  shorewall-common-4.2.8.tar.bz2
71fb6da1f50f5c6e9dd35b60b3629531  shorewall.initd"