aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/APKBUILD
blob: 1c0a51d8a6b2ff91e399501eabe6214497f6e01c (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.10
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="49bdbbae8dec65154c4e5538ed3c9865  shorewall-common-4.2.10.tar.bz2
71fb6da1f50f5c6e9dd35b60b3629531  shorewall.initd"