diff mbox series

[meta-networking,2/3] conntrack-tools: Add PACKAGECONFIGs for build options

Message ID 20221016201659.14759-2-alex.kiernan@gmail.com
State Under Review
Headers show
Series [meta-networking,1/3] conntrack-tools: Upgrade 1.4.6 -> 1.4.7 | expand

Commit Message

Alex Kiernan Oct. 16, 2022, 8:16 p.m. UTC
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
 .../conntrack-tools/conntrack-tools_1.4.7.bb             | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.7.bb b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.7.bb
index 7d8ce9f80aa7..6f88b5fe31b8 100644
--- a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.7.bb
+++ b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.7.bb
@@ -14,7 +14,14 @@  SRC_URI = "http://www.netfilter.org/projects/conntrack-tools/files/conntrack-too
 "
 SRC_URI[sha256sum] = "099debcf57e81690ced57f516b493588a73518f48c14d656f823b29b4fc24b5d"
 
-inherit autotools update-rc.d pkgconfig
+inherit autotools update-rc.d pkgconfig systemd
+
+PACKAGECONFIG ?= "cthelper cttimeout \
+		  ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+
+PACKAGECONFIG[cthelper] = "--enable-cthelper,--disable-cthelper"
+PACKAGECONFIG[cttimeout] = "--enable-cttimeout,--disable-cttimeout"
+PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
 
 INITSCRIPT_NAME = "conntrackd"