summaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/APKBUILD
blob: 6843782a796d6fc649744f8298a086d8dd51b1fc (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=1
pkgdesc="Shoreline Firewall is an iptables-based firewall for Linux."
url="http://www.shorewall.net/"
arch="all"
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"