1 # Maintainer: Sébastien Luttringer
2 # Contributor: Valere Monseur <valere_monseur@hotmail.com>
3 # Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>
4 # Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
6 pkgname=conntrack-tools
9 pkgdesc='Userspace tools to interact with the Netfilter connection tracking system'
11 url='https://www.netfilter.org/projects/conntrack-tools/'
13 makedepends=('systemd' 'libtirpc')
14 depends=('glibc' 'libnetfilter_conntrack' 'libnetfilter_cttimeout'
15 'libnetfilter_cthelper' 'libnetfilter_queue' 'libmnl' 'systemd-libs'
17 backup=('etc/conntrackd.conf')
18 validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
19 source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig}
21 install=$pkgname.install
22 sha256sums=('099debcf57e81690ced57f516b493588a73518f48c14d656f823b29b4fc24b5d'
24 '8ffdd2130be8f5a80c80b1784f18f857d4af0acb9a392d67c1f8c7212436d85e')
27 sed -i -e 's,/etc/conntrackd/,/etc/,' -e 's,/var/lock/,/run/lock/,' \
28 $pkgname-$pkgver/include/conntrackd.h
35 LIBNETFILTER_CTHELPER_CFLAGS='-I /usr/include/tirpc/' \
46 make DESTDIR="$pkgdir" install
49 install -D -m 644 "$srcdir/conntrackd.service" usr/lib/systemd/system/conntrackd.service
50 # install empty configuration files
51 install -D -m 644 /dev/null etc/conntrackd.conf
54 # vim:set ts=2 sw=2 et: