summaryrefslogtreecommitdiff
path: root/community-testing/conntrack-tools
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/conntrack-tools')
-rw-r--r--community-testing/conntrack-tools/01-config-file-path.patch12
-rw-r--r--community-testing/conntrack-tools/02-fix-compilation-of-timeout-extension.patch33
-rw-r--r--community-testing/conntrack-tools/PKGBUILD55
-rw-r--r--community-testing/conntrack-tools/conntrack-tools.install9
-rw-r--r--community-testing/conntrack-tools/conntrackd.conf3
-rw-r--r--community-testing/conntrack-tools/conntrackd.rc34
-rw-r--r--community-testing/conntrack-tools/conntrackd.service8
7 files changed, 0 insertions, 154 deletions
diff --git a/community-testing/conntrack-tools/01-config-file-path.patch b/community-testing/conntrack-tools/01-config-file-path.patch
deleted file mode 100644
index 9041ddbc4..000000000
--- a/community-testing/conntrack-tools/01-config-file-path.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/include/conntrackd.h 2012-05-26 15:29:15.630027223 +0200
-+++ b/include/conntrackd.h 2012-05-27 02:26:59.426811589 +0200
-@@ -50,7 +50,7 @@
- #define EXP_DUMP_INT_XML 47 /* dump internal cache in XML */
- #define EXP_DUMP_EXT_XML 48 /* dump external cache in XML */
-
--#define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf"
-+#define DEFAULT_CONFIGFILE "/etc/conntrackd.conf"
--#define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock"
-+#define DEFAULT_LOCKFILE "/run/lock/conntrackd.lock"
- #define DEFAULT_LOGFILE "/var/log/conntrackd.log"
- #define DEFAULT_STATS_LOGFILE "/var/log/conntrackd-stats.log"
diff --git a/community-testing/conntrack-tools/02-fix-compilation-of-timeout-extension.patch b/community-testing/conntrack-tools/02-fix-compilation-of-timeout-extension.patch
deleted file mode 100644
index 746934994..000000000
--- a/community-testing/conntrack-tools/02-fix-compilation-of-timeout-extension.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 18efbc802479ce042378dc0cccc7577e1c6afa41 Mon Sep 17 00:00:00 2001
-From: Pablo Neira Ayuso <pablo@netfilter.org>
-Date: Sat, 26 May 2012 20:58:16 +0200
-Subject: [PATCH] nfct: fix compilation of timeout extension
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf8
-Content-Transfer-Encoding: 8bit
-
-nfct-extensions/timeout.c: In function ‘nfct_timeout_cb’:
-nfct-extensions/timeout.c:99:2: warning: passing argument 4 of ‘nfct_timeout_snprintf’ makes integer from pointer without a cast [enabled by default]
-/usr/include/libnetfilter_cttimeout/libnetfilter_cttimeout.h:114:5: note: expected ‘unsigned int’ but argument is of type ‘struct nfct_timeout *’
-
-Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
----
- src/nfct-extensions/timeout.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/nfct-extensions/timeout.c b/src/nfct-extensions/timeout.c
-index a1a5c52..5b32023 100644
---- a/src/nfct-extensions/timeout.c
-+++ b/src/nfct-extensions/timeout.c
-@@ -96,7 +96,7 @@ static int nfct_timeout_cb(const struct nlmsghdr *nlh, void *data)
- goto err_free;
- }
-
-- nfct_timeout_snprintf(buf, sizeof(buf), t, 0);
-+ nfct_timeout_snprintf(buf, sizeof(buf), t, NFCT_TIMEOUT_O_DEFAULT, 0);
- printf("%s\n", buf);
-
- err_free:
---
-1.7.2.5
-
diff --git a/community-testing/conntrack-tools/PKGBUILD b/community-testing/conntrack-tools/PKGBUILD
deleted file mode 100644
index d8d986e66..000000000
--- a/community-testing/conntrack-tools/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 77397 2012-10-09 15:40:57Z 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.4.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'
- 'libnetfilter_cttimeout'
- 'libnetfilter_cthelper'
- 'libnetfilter_queue')
-backup=('etc/conntrackd.conf' 'etc/conf.d/conntrackd')
-options=('!libtool')
-source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
- 'conntrackd.rc'
- 'conntrackd.conf'
- 'conntrackd.service'
- '01-config-file-path.patch')
-install=$pkgname.install
-md5sums=('ee737c774e01349f75e935228a2d851b'
- '478fe76da0202fcb5249bf65968d1c26'
- 'd3e73e81b54e3e8166d357d434680684'
- 'bd135eaefb47923bb8e8d26f084d3e9d'
- 'e71ff7b8c4997b797cab3eaaccb693f4')
-
-build() {
- cd $pkgname-$pkgver
- for i in "$srcdir"/*.patch; do
- patch -p1 -i "$i"
- done
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- # install binaries
- pushd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- popd
- # initscripts & systemd
- install -D -m 755 conntrackd.rc "$pkgdir/etc/rc.d/conntrackd"
- install -D -m 644 conntrackd.conf "$pkgdir/etc/conf.d/conntrackd"
- 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.conf"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/conntrack-tools/conntrack-tools.install b/community-testing/conntrack-tools/conntrack-tools.install
deleted file mode 100644
index d21a5f92c..000000000
--- a/community-testing/conntrack-tools/conntrack-tools.install
+++ /dev/null
@@ -1,9 +0,0 @@
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- [ $(vercmp "$2" '1.0.1-2') -gt 0 ] || cat <<EOF
-Config file have been moved from /etc/conntrackd/conntrackd.conf to /etc/conntrackd.conf.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/conntrack-tools/conntrackd.conf b/community-testing/conntrack-tools/conntrackd.conf
deleted file mode 100644
index 285f566d2..000000000
--- a/community-testing/conntrack-tools/conntrackd.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh noet:
-
-#DAEMON_OPTIONS=''
diff --git a/community-testing/conntrack-tools/conntrackd.rc b/community-testing/conntrack-tools/conntrackd.rc
deleted file mode 100644
index 4300a7041..000000000
--- a/community-testing/conntrack-tools/conntrackd.rc
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-DAEMON=/usr/sbin/conntrackd
-PID=$(pidof -o %PPID $DAEMON)
-DAEMON_OPTIONS="-d $DAEMON_OPTIONS"
-
-case "$1" in
- start)
- stat_busy "Starting ${0##*/} daemon"
- [[ ! $PID ]] && $DAEMON $DAEMON_OPTIONS && add_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- stop)
- stat_busy "Stopping ${0##*/} daemon"
- [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- restart)
- $0 stop
- $0 start
- exit 0
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart}" >&2
- ;;
-esac
-
-exit 1
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/conntrack-tools/conntrackd.service b/community-testing/conntrack-tools/conntrackd.service
deleted file mode 100644
index 25a113785..000000000
--- a/community-testing/conntrack-tools/conntrackd.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Conntrack Daemon
-
-[Service]
-ExecStart=/usr/sbin/conntrackd
-
-[Install]
-WantedBy=multi-user.target