diff options
Diffstat (limited to 'main/shorewall-common/APKBUILD')
-rw-r--r-- | main/shorewall-common/APKBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/shorewall-common/APKBUILD b/main/shorewall-common/APKBUILD new file mode 100644 index 000000000..1c0a51d8a --- /dev/null +++ b/main/shorewall-common/APKBUILD @@ -0,0 +1,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" |