APKBUILD 961 Bytes
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conntrack-tools
3
pkgver=0.9.13
4
pkgrel=2
5 6 7 8
pkgdesc="Connection tracking userspace tools"
url="http://conntrack-tools.netfilter.org"
license="GPL-2"
subpackages="$pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
10
makedepends="pkgconfig libnfnetlink-dev libnetfilter_conntrack-dev bison flex"
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver.tar.bz2
	conntrackd.initd
	conntrackd.confd
	"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
	make DESTDIR="$pkgdir" install || return 1

	install -Dm755 ../conntrackd.initd "$pkgdir"/etc/init.d/conntrackd
	install -Dm644 ../conntrackd.confd "$pkgdir"/etc/conf.d/conntrackd
	install -Dm644 doc/stats/conntrackd.conf "$pkgdir"/etc/conntrackd
}
26
md5sums="bd0e2149a1626071db83c4f9714e0556  conntrack-tools-0.9.13.tar.bz2
Natanael Copa's avatar
Natanael Copa committed
27
a97e0b7f1339d93caf929fb4767141e1  conntrackd.initd
28
8ebf3838b69d20e6bb4a173844502039  conntrackd.confd"