[Buildroot] [git commit] package/lxc: switch optional gnutls dependency to openssl
Peter Korsgaard
peter at korsgaard.com
Wed Nov 6 21:47:20 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=1216a141f1bdcd16df2b4635b3659c39137e2f7a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
lxc switched from gnutls to openssl since version 3.2.0:
https://github.com/lxc/lxc/commit/fa2bb6ba532c5e7f92df8cbae50a68af519f9997
Patch was originally created by Fabrice Fontaine:
http://patchwork.ozlabs.org/patch/1148360/
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/lxc/lxc.mk | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index 6d94c0c735..81adeef5ee 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -19,13 +19,6 @@ ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
LXC_DEPENDENCIES += bash-completion
endif
-ifeq ($(BR2_PACKAGE_GNUTLS),y)
-LXC_CONF_OPTS += --enable-gnutls
-LXC_DEPENDENCIES += gnutls
-else
-LXC_CONF_OPTS += --disable-gnutls
-endif
-
ifeq ($(BR2_PACKAGE_LIBCAP),y)
LXC_CONF_OPTS += --enable-capabilities
LXC_DEPENDENCIES += libcap
@@ -47,4 +40,11 @@ else
LXC_CONF_OPTS += --disable-selinux
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LXC_CONF_OPTS += --enable-openssl
+LXC_DEPENDENCIES += openssl
+else
+LXC_CONF_OPTS += --disable-openssl
+endif
+
$(eval $(autotools-package))
More information about the buildroot
mailing list