[Buildroot] [PATCH 2/4] package/python-twisted: add config for TLS support
aduskett at gmail.com
aduskett at gmail.com
Thu Dec 5 22:15:13 UTC 2019
From: Adam Duskett <Aduskett at gmail.com>
Add an option that selects all of the necessary python packages to ensure that
twisted has TLS support.
Signed-off-by: Adam Duskett <Aduskett at gmail.com>
---
package/python-twisted/Config.in | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in
index b72952f979..f3d94c544e 100644
--- a/package/python-twisted/Config.in
+++ b/package/python-twisted/Config.in
@@ -12,3 +12,17 @@ config BR2_PACKAGE_PYTHON_TWISTED
Python.
https://twistedmatrix.com/trac/
+
+if BR2_PACKAGE_PYTHON_TWISTED
+
+config BR2_PACKAGE_PYTHON_TWISTED_TLS
+ bool "TLS support"
+ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-cryptography
+ select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+ select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
+ select BR2_PACKAGE_PYTHON_IDNA # runtime
+
+comment "TLS support needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
+endif
--
2.23.0
More information about the buildroot
mailing list