diff options
Diffstat (limited to 'community/conntrack-tools')
-rw-r--r-- | community/conntrack-tools/02-fix-compilation-of-timeout-extension.patch | 33 | ||||
-rw-r--r-- | community/conntrack-tools/conntrackd.conf | 3 | ||||
-rw-r--r-- | community/conntrack-tools/conntrackd.rc | 34 |
3 files changed, 0 insertions, 70 deletions
diff --git a/community/conntrack-tools/02-fix-compilation-of-timeout-extension.patch b/community/conntrack-tools/02-fix-compilation-of-timeout-extension.patch deleted file mode 100644 index 746934994..000000000 --- a/community/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/conntrack-tools/conntrackd.conf b/community/conntrack-tools/conntrackd.conf deleted file mode 100644 index 285f566d2..000000000 --- a/community/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/conntrack-tools/conntrackd.rc b/community/conntrack-tools/conntrackd.rc deleted file mode 100644 index 4300a7041..000000000 --- a/community/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: |