summaryrefslogtreecommitdiff
path: root/main/conntrack-tools/APKBUILD
blob: 96a402a2f1600a2f849a01c0b90ddc3c0ad0e1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conntrack-tools
pkgver=0.9.10
pkgrel=0
pkgdesc="Connection tracking userspace tools"
url="http://conntrack-tools.netfilter.org"
license="GPL-2"
subpackages="$pkgname-doc"
depends="uclibc libnfnetlink libnetfilter_conntrack"
makedepends="pkgconfig libnfnetlink-dev libnetfilter_conntrack-dev"
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
}
md5sums="cd46ed2d5cd4797add0cd444a209c1e7  conntrack-tools-0.9.10.tar.bz2
144831a8a79561ef184b84ba94f0837b  conntrackd.initd
8ebf3838b69d20e6bb4a173844502039  conntrackd.confd"