summaryrefslogtreecommitdiff
path: root/community/conntrack-tools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-04 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-12-04 23:14:51 +0000
commit392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (patch)
treea88c28d4a6652dd77a3557f0dab9f6c6bdda037e /community/conntrack-tools
parent851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (diff)
Sun Dec 4 23:14:51 UTC 2011
Diffstat (limited to 'community/conntrack-tools')
-rw-r--r--community/conntrack-tools/PKGBUILD13
-rw-r--r--community/conntrack-tools/conntrackd.conf2
2 files changed, 8 insertions, 7 deletions
diff --git a/community/conntrack-tools/PKGBUILD b/community/conntrack-tools/PKGBUILD
index 6a850f19c..ae06f501d 100644
--- a/community/conntrack-tools/PKGBUILD
+++ b/community/conntrack-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 60002 2011-12-03 04:09:30Z seblu $
+# $Id: PKGBUILD 60046 2011-12-03 18:18:50Z seblu $
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Valere Monseur <valere_monseur@hotmail.com>
# Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>
@@ -6,22 +6,23 @@
pkgname=conntrack-tools
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
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=('5add24d4761baf17af630d5627a71752'
'619ab1e15837436b47cbdc739d69ee78'
- '728570bd7a13263606d97f6cc7f2d095')
+ '92a7fc6ab5cba5e48cde4cac0ac403b1')
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sysconfdir=/etc
make
}
@@ -30,8 +31,8 @@ package() {
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 empty configuration files
+ install -D -m 644 /dev/null "${pkgdir}/etc/conntrackd/conntrackd.conf"
# install binaries
cd ${pkgname}-${pkgver}
diff --git a/community/conntrack-tools/conntrackd.conf b/community/conntrack-tools/conntrackd.conf
index 910bb6eda..b90427a49 100644
--- a/community/conntrack-tools/conntrackd.conf
+++ b/community/conntrack-tools/conntrackd.conf
@@ -1,3 +1,3 @@
# vim:set ts=2 sw=2 ft=sh noet:
-DAMEON_OPTIONS='-d'
+DAEMON_OPTIONS='-d'