Peter Seiderer
ec2ee79ec1
package/libtomcrypt: compile with -fPIC to enable linking to dynamic libraries/exectuables
...
Fixes:
.../x86_64-buildroot-linux-gnu/bin/ld: .../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libtomcrypt.a(md5.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
when building a shared library that links with libtomcrypt. Our only
internal user dropbear doesn't do this, so there are no autobuilder
failures.
Signed-off-by: Peter Seiderer <ps.report@gmx.net >
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
2021-05-04 22:14:37 +02:00
Peter Seiderer
27b30ee742
package/libtomcrypt: update home page URL to https
...
- update home page URL to https
Signed-off-by: Peter Seiderer <ps.report@gmx.net >
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
2021-05-01 15:16:44 +02:00
Fabrice Fontaine
ee588dbe54
package/libtomcrypt: add LIBTOMCRYPT_CPE_ID_VENDOR
...
cpe:2.3:a:libtom:libtomcrypt is indeed the right CPE identifier
for this package, as can be seen from:
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibtom%3Alibtomcrypt
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2021-01-11 21:55:12 +01:00
Peter Korsgaard
f80814a6a4
package/libtomcrypt: annotate _IGNORE_CVES for the included security patches
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2020-02-20 13:16:50 +01:00
Thomas De Schampheleire
62b34ed33b
package/libtomcrypt: add security patch for CVE-2019-17362
...
CVE-2019-17362:
"The der_decode_utf8_string function (in der_decode_utf8_string.c) does not
properly detect certain invalid UTF-8 sequences. This allows
context-dependent attackers to cause a denial of service (out-of-bounds read
and crash) or read information from other memory locations via carefully
crafted DER-encoded data."
Details:
https://github.com/libtom/libtomcrypt/issues/507
https://nvd.nist.gov/vuln/detail/CVE-2019-17362
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2019-12-23 20:51:00 +01:00
Francois Perrad
8ae70adc52
libtomcrypt: bump to version 1.18.2
...
Signed-off-by: Francois Perrad <francois.perrad@gadz.org >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-07-03 21:41:48 +02:00
Baruch Siach
73e1f9b0a4
libtomcrypt: fix headers installation path
...
libtomcrypt installs its headers by default in /usr/local/include under
the staging sysroot. This path is not in the default search patch of
some toolchains. This breaks the build of dropbear. Set the PREFIX make
variable to fix that.
While at it, split the long install command for better readability.
Fixes (dropbear):
http://autobuild.buildroot.net/results/215/2157679e276623ae875d1b31f3e5a68caf586536/
http://autobuild.buildroot.net/results/956/956d254675e6500c19c3bb7ccdf12ce136858720/
http://autobuild.buildroot.net/results/01e/01ec89a81c4ec6e36e2f81b5a9394050a91df654/
Cc: Francois Perrad <francois.perrad@gadz.org >
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2018-04-29 21:36:25 +02:00
Francois Perrad
c09d002c4a
libtomcrypt: bump to version 1.18.1
...
Signed-off-by: Francois Perrad <francois.perrad@gadz.org >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2018-01-22 22:34:31 +01:00
Baruch Siach
2f25654504
libtomcrypt: fix build without wchar
...
GCC defines wchar_t even when wchar support is disabled in uClibc. The
LTC_NO_WCHAR macro triggers a local definition of wchar_t that conflicts
with the GCC defined one. Remove LTC_NO_WCHAR to avoid that.
See also https://github.com/libtom/libtomcrypt/issues/313 for more
discussion about this.
Fixes:
http://autobuild.buildroot.net/results/4ff/4ffb593185f7520d2d9a9cc988aa9c510f253930/
Cc: Francois Perrad <francois.perrad@gadz.org >
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2017-10-22 14:36:20 +02:00
Francois Perrad
123f2e6076
libtomcrypt: bump to version 1.18.0
...
Signed-off-by: Francois Perrad <francois.perrad@gadz.org >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2017-10-11 22:01:35 +02:00
Adam Duskett
5dccd7249e
package/lib*: fix wrapping of Config.in help text
...
The check-package script when ran gives warnings on text wrapping
on all of these Config files. This patch cleans up all warnings
related to the text wrapping for the Config files starting with
lib in the package directory.
The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.
Signed-off-by: Adam Duskett <aduskett@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2017-07-31 19:10:08 +02:00
Gustavo Zacarias
ae8f0a375f
libtomcrypt: use $(TARGET_MAKE_ENV) when calling $(MAKE)
...
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com >
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-10-22 15:19:24 +02:00
Francois Perrad
cbed1c3b4a
libtomcrypt: new package
...
[Peter: fix building without wchar]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org >
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-04-28 19:41:27 +02:00