summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/chrony/chrony_4.2.bb
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2022-11-12 14:10:28 +0100
committerArmin Kuster <akuster808@gmail.com>2022-11-12 15:01:50 -0500
commit94d737223bf5f8c4fd035f73b5ff2b4b11b32c57 (patch)
treec254cd366759e55bc909da0c15675d72b211573d /meta-networking/recipes-support/chrony/chrony_4.2.bb
parent2a9e9f919e0e09c39be71668534ada31f108b047 (diff)
downloadmeta-openembedded-94d737223bf5f8c4fd035f73b5ff2b4b11b32c57.tar.gz
chrony: Remove the libcap and nss PACKAGECONFIGs
There is no need for these configs on their own and they would only mess up the sechash and privdrop configs. To actually enable sechash one also had to enable nss, and to enable privdrop one also had to enable libcap. This also avoids passing --with-libcap if privdrop is enabled since the option does not exist. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/chrony/chrony_4.2.bb')
-rw-r--r--meta-networking/recipes-support/chrony/chrony_4.2.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.2.bb b/meta-networking/recipes-support/chrony/chrony_4.2.bb
index dfa1ed86fd..8d12cc75e2 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.2.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.2.bb
@@ -64,14 +64,14 @@ PACKAGECONFIG ??= "editline \
64" 64"
65PACKAGECONFIG[editline] = ",--without-editline,libedit" 65PACKAGECONFIG[editline] = ",--without-editline,libedit"
66PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" 66PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
67PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop --without-libcap,libcap" 67PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
68PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp" 68PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
69PACKAGECONFIG[ipv6] = ",--disable-ipv6," 69PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
70PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
71PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
72 70
73# This is left for backwards compatibility, to avoid breaking existing 71# These are left for backwards compatibility, to avoid breaking existing
74# configurations. 72# configurations.
73PACKAGECONFIG[libcap] = ""
74PACKAGECONFIG[nss] = ""
75PACKAGECONFIG[readline] = "" 75PACKAGECONFIG[readline] = ""
76 76
77# --disable-static isn't supported by chrony's configure script. 77# --disable-static isn't supported by chrony's configure script.