aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/APKBUILD
blob: 29d0b75d722a97902cd5a28d94248f33c5f0ab51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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/"
arch="x86 x86_64"
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"