conntrack-tools/0003-conntrackd-libs-dir-fix.patch
Jan Engelhardt 0d9fe9bcaf Accepting request 265061 from home:chorler:branches:security:netfilter
Upstream hasn't made a release in over a year.
In upstream there are now multiple connection tracking userspace helpers.  I bought a Chromecast a few weeks ago, the SSDP helper is required for that to work.  I also added an upstream bug fix that sorts the helper directory search path on 64 bit.  These work well on openSUSE 13.2, for earlier releases a kernel upgrade is required (but there do not appear to be any regressions on older kernels).

OBS-URL: https://build.opensuse.org/request/show/265061
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/conntrack-tools?expand=0&rev=43
2015-01-08 16:28:41 +00:00

30 lines
919 B
Diff

From 7594d30611d7c4bec52ab90580b705fbf5d60925 Mon Sep 17 00:00:00 2001
From: Hani Benhabiles <kroosec@gmail.com>
Date: Mon, 14 Oct 2013 23:14:24 +0100
Subject: [PATCH] conntrackd: Don't hardcode libs dir path
Use CONNTRACKD_LIB_DIR instead of hardcoded path.
Signed-off-by: Hani Benhabiles <kroosec@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
src/read_config_yy.y | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index fa517bb..73fabbf 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -1613,7 +1613,6 @@
}
- /* XXX use configure.ac definitions. */
- helper = helper_find("/usr/lib/conntrack-tools", $2, l4proto, RTLD_NOW);
+ helper = helper_find(CONNTRACKD_LIB_DIR, $2, l4proto, RTLD_NOW);
if (helper == NULL) {
print_err(CTD_CFG_ERROR, "Unknown `%s' helper", $2);
exit(EXIT_FAILURE);
--
1.8.4.5