summaryrefslogtreecommitdiffstats
path: root/package/bctoolbox
Commit message (Collapse)AuthorAgeFilesLines
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* polarssl: remove unmaintained packageGustavo Zacarias2017-03-182-11/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* bctoolbox: remove redundant mbedtls dependencyPeter Seiderer2017-02-231-1/+0
| | | | | | | | | | | | Fixes: Makefile:532: *** mbedtls is in the dependency chain of bctoolbox that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bctoolbox: disable rpathJörg Krause2017-02-201-1/+4
| | | | | | | | | | By default, bctoolbox adds the rpath to the shared library. Prevent this by setting `CMAKE_SKIP_RPATH` [1] to a true value. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_RPATH.html Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bctoolbox: fix mbedtls/polarssl dependencyJörg Krause2017-02-202-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we force selection on mbedtls for bctoolbox. If, for whatever reason, mbedTLS is not found, bctoolbox searches for PolarSSL and, if not present, fails with: ``` Could NOT find PolarSSL (missing: POLARSSL_INCLUDE_DIRS HAVE_POLARSSL_SSL_H) ``` This happens because bctoolbox enables support for mbedTLS and PolarSSL by default, whereas, if both are enabled, mbedTLS is preferred over PolarSSL. However, crypto support is not mandatory and support for both libraries can be turned off. Therefore, optionally depend on mbedTLS or PolarSSL and enable/disable the library support explicitly. This fixes the issue of searching for PolarSSL altough the dependency is not declared in the bctoolbox package. Note, that this does not fix the issue why mbedtls is not found although it is enabled. This issue is address in this thread [1]. Fixes: http://autobuild.buildroot.net/results/cfe/cfeb2f542598e5d450b332fb51a6d79bae24158c/ .. and more. [1] http://lists.busybox.net/pipermail/buildroot/2017-February/183055.html Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bctoolbox: add patch to fix static linkingJörg Krause2017-02-201-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Static linking with bctoolbox fails when using pkg-config as the generated bctoolbox.pc file only consists of an '-L' string without any search path or libraries flags: ``` libtool: link: need path for `-L' option ``` That's because of an typo in mbedtls_library_path. However, mbedtls_library_path contains a string of the mbedtls libraries concatenated by an ';' which cannot be parsed by pkg-config. Therefore, use MBEDTLS_LIBRARY instead of MBEDTLS_LIBRARIES to get the library path. Furthermore, add the three mbedtls libraries mbedtls, mbedcrypto, and mbedx509 to LIBS_PRIVATE so these libraries are added to the Libs.private field of bctoolbox.pc. Fixes: http://autobuild.buildroot.net/results/37d5625df4be11ccdc063871e9f6e13d5f59fb52 http://autobuild.buildroot.net/results/1999c841fae41f860f00747a362327cb2857e687 .. and many more. Upstream status: Pending https://github.com/BelledonneCommunications/bctoolbox/pull/4 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "bctoolbox: fix typos and logic error"Jörg Krause2017-02-201-18/+0
| | | | | | | | | | | This reverts commit 5c4d3560b94c9cb8f1594c9200a632b89ddf7aa0. Although the patch fixes the build error it does not set the flags for Libs.private properly. A follow-up patch will provide a better solution for this issue. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bctoolbox: fix typos and logic errorWaldemar Brodkorb2017-02-141-0/+18
| | | | | | | | | | | | | | | To get the directory path from the library name you need to use a single filename. Fix typo in variable name. This fixes the ortp autobuild errors which uses the broken pkgconfig file from bctoolbox. Fixes: http://autobuild.buildroot.net/results/37d5625df4be11ccdc063871e9f6e13d5f59fb52 http://autobuild.buildroot.net/results/1999c841fae41f860f00747a362327cb2857e687 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bctoolbox: new packageJörg Krause2017-01-243-0/+43
bctoolbox is a utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: add missing dependency on BR2_INSTALL_LIBSTDCPP.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud