blob: 0ca10b54bb513880cb1817e926d368dd9683fe47 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 61627 2012-01-04 23:16:10Z seblu $
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Valere Monseur <valere_monseur@hotmail.com>
# Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>
# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
pkgname=conntrack-tools
pkgver=1.0.1
pkgrel=1
pkgdesc='Userspace tools to interact with the Netfilter connection tracking system'
arch=('i686' 'x86_64')
url='http://www.netfilter.org/projects/conntrack-tools'
license=('GPL2')
depends=('libnetfilter_conntrack')
backup=('etc/conntrackd/conntrackd.conf')
source=("http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.bz2"
'conntrackd.rc'
'conntrackd.conf')
md5sums=('8a60f02a177fc31fe40cc992c4de90e2'
'619ab1e15837436b47cbdc739d69ee78'
'92a7fc6ab5cba5e48cde4cac0ac403b1')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
# initscripts scripts
install -D -m 755 conntrackd.rc "$pkgdir/etc/rc.d/conntrackd"
install -D -m 644 conntrackd.conf "$pkgdir/etc/conf.d/conntrackd"
# install empty configuration files
install -D -m 644 /dev/null "${pkgdir}/etc/conntrackd/conntrackd.conf"
# install binaries
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 ft=sh et:
|