Skip to contentSkip to conversation

package/lxc: switch optional gnutls dependency to openssl

PATCH New Bernd Kuhls 2 participants 2 messages Nov 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lxc: switch optional gnutls dependency to openssl

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/

---
 package/lxc/lxc.mk | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
package/lxc/lxc.mk +7 -7
index 6d94c0c735..81adeef5ee 100644
@@ -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))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/lxc: switch optional gnutls dependency to openssl

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard