summaryrefslogtreecommitdiffstats
path: root/package/bctoolbox
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2017-03-16 10:04:34 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-18 14:16:49 +0100
commitd10b493e489da81e7867400f03c5111f7ecca172 (patch)
treef6360e9c1fa7e79afcb50e11d4b975bedd4d5135 /package/bctoolbox
parentcae760c5e46e229690691f08c2358bea8c82216c (diff)
downloadbuildroot-d10b493e489da81e7867400f03c5111f7ecca172.tar.gz
buildroot-d10b493e489da81e7867400f03c5111f7ecca172.zip
polarssl: remove unmaintained package
The 1.2.x branch is no longer maintained, so remove it since it's likely security-vulnerable. mbedtls is the modern replacement which was renamed from polarssl when ARM bought them up. However major releases broke API so polarssl 1.2.x isn't always interchangeable with polarssl/mbedtls 1.3.x (interim mixed naming because of new ownership) or newer 2.x series. Fortunately we don't have any package in the tree that uses polarssl exclusively. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: - Remove entry in DEVELOPERS file for this package. Noticed by Arnout. - Remove comment in bctoolbox.mk that no longer makes sense after polarssl removal. Noticed by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bctoolbox')
-rw-r--r--package/bctoolbox/Config.in3
-rw-r--r--package/bctoolbox/bctoolbox.mk10
2 files changed, 2 insertions, 11 deletions
diff --git a/package/bctoolbox/Config.in b/package/bctoolbox/Config.in
index e9e69205f8..048d01282c 100644
--- a/package/bctoolbox/Config.in
+++ b/package/bctoolbox/Config.in
@@ -6,8 +6,7 @@ config BR2_PACKAGE_BCTOOLBOX
Utilities library used by Belledonne Communications
softwares like belle-sip, mediastreamer2 and linphone.
- Select BR2_PACKAGE_MBEDTLS (preferred) or
- BR2_PACKAGE_POLARSSL for crypto support.
+ Select BR2_PACKAGE_MBEDTLS for crypto support.
https://github.com/BelledonneCommunications/bctoolbox
diff --git a/package/bctoolbox/bctoolbox.mk b/package/bctoolbox/bctoolbox.mk
index 78269751ef..f972ab68c3 100644
--- a/package/bctoolbox/bctoolbox.mk
+++ b/package/bctoolbox/bctoolbox.mk
@@ -13,14 +13,13 @@ BCTOOLBOX_INSTALL_STAGING = YES
# Set CMAKE_SKIP_RPATH to prevent bctoolbox from adding the rpath to
# shared library.
BCTOOLBOX_CONF_OPTS = \
+ -DENABLE_POLARSSL=OFF \
-DENABLE_STRICT=OFF \
-DENABLE_TESTS_COMPONENT=OFF \
-DENABLE_TESTS=OFF \
-DGIT_EXECUTABLE=OFF \
-DCMAKE_SKIP_RPATH=ON
-# bctoolbox can be build with mbedTLS or PolarSSL support. If both
-# libraries are present, mbedTLS is preferred over PolarSSL.
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
BCTOOLBOX_DEPENDENCIES += mbedtls
BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=ON
@@ -28,13 +27,6 @@ else
BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=OFF
endif
-ifeq ($(BR2_PACKAGE_POLARSSL),y)
-BCTOOLBOX_DEPENDENCIES += polarssl
-BCTOOLBOX_CONF_OPTS += -DENABLE_POLARSSL=ON
-else
-BCTOOLBOX_CONF_OPTS += -DENABLE_POLARSSL=OFF
-endif
-
ifeq ($(BR2_STATIC_LIBS),y)
BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
OpenPOWER on IntegriCloud