blob: 6a850f19cce8b11b8a0f358191c3aa0dcb2ac1b9 (
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
|
# $Id: PKGBUILD 60002 2011-12-03 04:09:30Z 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.0
pkgrel=2
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')
source=("http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.bz2"
'conntrackd.rc'
'conntrackd.conf')
md5sums=('5add24d4761baf17af630d5627a71752'
'619ab1e15837436b47cbdc739d69ee78'
'728570bd7a13263606d97f6cc7f2d095')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
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 configuration directories
install -d "${pkgdir}/etc/conntrackd"
# install binaries
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 ft=sh et:
|