summaryrefslogtreecommitdiff
path: root/community/conntrack-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/conntrack-tools/PKGBUILD')
-rw-r--r--community/conntrack-tools/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/community/conntrack-tools/PKGBUILD b/community/conntrack-tools/PKGBUILD
index 006e17429..541456cd8 100644
--- a/community/conntrack-tools/PKGBUILD
+++ b/community/conntrack-tools/PKGBUILD
@@ -1,29 +1,37 @@
-# $Id: PKGBUILD 71212 2012-05-25 00:16:39Z seblu $
+# $Id: PKGBUILD 72534 2012-06-16 14:02:03Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# 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=2
+pkgver=1.2.0
+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')
+depends=('libnetfilter_conntrack' 'libnetfilter_cttimeout')
+backup=('etc/conntrackd.conf' 'etc/conf.d/conntrackd')
+install=$pkgname.install
source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
'conntrackd.rc'
'conntrackd.conf'
- 'conntrackd.service')
-md5sums=('8a60f02a177fc31fe40cc992c4de90e2'
- '977dfb8fc58df0c74120c8ac92026a6a'
- '92a7fc6ab5cba5e48cde4cac0ac403b1'
- 'bd135eaefb47923bb8e8d26f084d3e9d')
+ 'conntrackd.service'
+ '01-config-file-path.patch'
+ '02-fix-compilation-of-timeout-extension.patch')
+md5sums=('8e20330d6ca3a3f23552aa900b1d467c'
+ '478fe76da0202fcb5249bf65968d1c26'
+ 'd3e73e81b54e3e8166d357d434680684'
+ 'bd135eaefb47923bb8e8d26f084d3e9d'
+ '411fc0eb97c02595aab69b14c26c1d00'
+ '0144021bbec4d5b496ddd86a7ff7a257')
build() {
cd $pkgname-$pkgver
+ for i in "$srcdir"/*.patch; do
+ patch -p1 -i "$i"
+ done
./configure --prefix=/usr --sysconfdir=/etc
make
}
@@ -39,7 +47,7 @@ package() {
install -D -m 644 conntrackd.service \
"$pkgdir/usr/lib/systemd/system/conntrackd.service"
# install empty configuration files
- install -D -m 644 /dev/null "$pkgdir/etc/conntrackd/conntrackd.conf"
+ install -D -m 644 /dev/null "$pkgdir/etc/conntrackd.conf"
}
# vim:set ts=2 sw=2 ft=sh et: