summaryrefslogtreecommitdiffstats
path: root/package/libbsd
Commit message (Collapse)AuthorAgeFilesLines
* package/libbsd: fix display of Config.in commentFabrice Fontaine2018-12-031-3/+2
| | | | | | | | | | | | | | Commit e13855c48f21eaee07a81f8b02678839be274a45 wrongly added depends on BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU to display the comment "libbsd needs a toolchain w/ threads, wchar" The same error has also been made for minizip. To fix this issue, move dependency !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) under BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libbsd: needs __register_atforkFabrice Fontaine2018-11-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The following error is raised by minizip: [100%] Linking C executable minizip /home/peko/autobuild/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/libbsd.a(arc4random.o): In function `_rs_init.part.1': arc4random.c:(.text+0xaa): undefined reference to `__register_atfork' collect2: error: ld returned 1 exit status As specified in openssl/Config.in, uClibc on noMMU doesn't provide __register_atfork() so add a dependency on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) on libbsd and minizip Don't add this dependency to netcat-opensd as it already depends on glibc Don't add this dependency to BR2_PACKAGE_BLUEZ_ALSA_HCITOP because bluez-alsa already depends on BR2_USE_MMU Concerning fwts, just update comment on BR2_USE_MMU Fixes: - http://autobuild.buildroot.org/results/df2dcbdceaa01a2ae37bf09140e4dbef0a5b9489 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbsd: bump to version 0.9.1Baruch Siach2018-06-056-363/+46
| | | | | | | | | | | | | | | | Drop upstream patches. Add a patch fixing build with musl libc. Update the list of licenses based on the content of COPYING. The BSD-5-Clause license is not listed by SPDX, but that is its name in the COPYING file. Update the license file hash: new licenses, dates update, reformat. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package: remove Blackfin related codeThomas Petazzoni2018-04-151-1/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libbsd: add upstream patch to fix musl build issueJörg Krause2018-04-091-0/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | Commit d879be3049598f35d7b959784e1a6c2811ba2036 enabled the build for non-glibc toolchains and added a patch from upstream to fix one remaining build issue with musl. The upstream patch defines the glibc specific macro `__GLIBC_PREREQ` in `include/bsd/sys/cdefs.h`, but the patch does not include this header file in `include/bsd/stdlib.h` which uses the macro. Upstream did committed an earlier patch which adds this header inclusion to `include/bsd/stdlib.h`. So, add this upstream patch as well to fix a build error when building the hcitop tool from the not yet added package bluez-alsa. Note, that the upstream patch address the issue that `<sys/cdefs.h>` is a non-portable header. However, this is not the issue which needs to be fixed by this patch, but solely the needed inclusion of the `include/bsd/stdlib.h` header file, to see the definition of `__GLIBC_PREREQ`. Backported from: 11ec8f1e5dfa1c10e0c9fb94879b6f5b96ba52dd Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libbsd: needs wide character supportBaruch Siach2018-04-031-2/+3
| | | | | | | | | | | | | | | | Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) enabled build of libbsd with uClibc. libbsd requires wchar support. Disable libbsd when uClibc does not provide wchar support. Fixes: http://autobuild.buildroot.net/results/4fb/4fb576c644a7322730658ed585bcc4a353a42e85/ http://autobuild.buildroot.net/results/459/45946f11524c57ffa59bf88d4a2ea0d4933fa851/ http://autobuild.buildroot.net/results/ee3/ee3ad5172d6a218dfde4cf3e9fecf1906b0fc642/ Cc: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbsd: fix build for openrisc with uClibcBaruch Siach2018-04-031-0/+48
| | | | | | | | | | | | | | | | | Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) enabled libbsd for openrisc. Unfortunately uClibc does not define the EM_OPENRISC macro that libbsd expects for ELF e_machine ID. Add patch making libbsd fallback to the equivalent EM_OR1K macro that uClibc does provide. Fixes: http://autobuild.buildroot.net/results/2f5/2f51eebe5964e8f1be3ecd2032e7d7837bf98b84/ Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbsd: disable for xtensa and blackfinBaruch Siach2018-04-031-0/+2
| | | | | | | | | | | | | | | | | | Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) implicitly enabled libbsd for the uClibc only architectures xtensa and blackfin. But libbsd does not support these architectures, since its local-elf.h header lacks the required target specific definitions. Fixes: http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/ http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/ http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/ Cc: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libbsd: enable for non-glibc toolchainsJörg Krause2018-03-312-3/+82
| | | | | | | | | | | | | | | | | | | | | | | | | libbsd builds now almost fine with a musl or uClibc toolchain, except for one issue introduced in the latest version bump. Upstream commit 22fbd62368c39de8ac5e249d1502d5ac0ffdef30 [1] uses the glibc-only macro `__GLIBC_PREREQ`. The issue is fixed by the attached patch from upstream, which fixes the use of `__GLIBC_PREREQ` on non-glibc toolchains. Backported from: https://cgit.freedesktop.org/libbsd/patch/?id=1f8a3f7bccfc84b195218ad0086ebd57049c3490 netcat-openbsd is the only package selecting libbsd. However, building it still needs a glibc toolchain, as it uses `b64_ntop` which is not available in musl or uClibc. Build has been successfully tested with: * armv7-eabihf--glibc--bleeding-edge-2017.11-1 * armv7-eabihf--musl--bleeding-edge-2018.02-1 * armv7-eabihf--uclibc--bleeding-edge-2018.02-1 [1] https://cgit.freedesktop.org/libbsd/commit/?id=22fbd62368c39de8ac5e249d1502d5ac0ffdef30 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libbsd: bump to version 0.8.7Baruch Siach2018-01-262-4/+5
| | | | | | | | | | Change download site; the latest version is not on the official site. Add license hash. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libbsd: not available for ARCYann E. MORIN2017-10-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | libbsd has explicit, hard-coded checks about the architectures it can work on, and ARC is not one of those. We did not notice so far, because we only recently added support for glibc on ARC (and only for a single variant) in 0633eb58a291 (toolchain: add glibc support for ARCv2). Add an explicit exclusion on arc. Fixes: http://autobuild.buildroot.org/results/603baa77e95620ad1416e0d1dc4202c334801efc http://autobuild.buildroot.org/results/8a2ee5431501615cb150233e6d7bc9e7c3c5c1eb http://autobuild.buildroot.org/results/ea52364f536485ff4e43e3bc37f2175eb6178c5a http://autobuild.buildroot.org/results/32581f7a79372b525e4ad21e029ff0ede743ba94 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Replace (e)glibc by glibcThomas Petazzoni2016-06-281-1/+1
| | | | | | | | | | | | | | | | Following the removal of eglibc support, this commit replaces all occurences of "(e)glibc" by just "glibc". Most of the occurences are in package Config.in comments. In addition, when the form "an (e)glibc ..." was used, it is replaced by "a glibc ...". [Peter: add new efi* packages, s/uclibc/uClibc as suggested by Romain, systemd / liquid-dsp tweaks as suggested by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbsd: bump to version 0.8.3Gustavo Zacarias2016-05-253-53/+2
| | | | | | | Drop upstream patch. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbsd: add patch for clock_gettime usageGustavo Zacarias2016-02-132-1/+51
| | | | | | | | | libbsd uses clock_gettime() but doesn't check for it in librt. This causes breakage on old glibc versions (< 2.17). Fixes: http://autobuild.buildroot.net/results/a5b/a5b837d6d02ec96ac53c5b1c531a0c8e7eafeb9a/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libbsd: upgrade to v0.8.2 and expand architecture supportCarlos Santos2016-02-053-6/+4
| | | | | | | | | | | | | | | | | | | | When libbsd still supported uClibc as a C library, we added the architecture exclusions because uClibc's a.out.h includes linux/a.out.h. The latter only exists for the specified architectures. However, glibc doesn't include linux/a.out.h, it instead has its own implementation and it adds a flag to indicate if a.out is supported on this architecture or not. Since libbsd currently only supports glibc-based toolchains, the architecture exclusions are no longer valid. On microblaze, the build still fails, but this time because of ELF support. libbsd explicitly handles architectures and microblaze is not one of them (see local-elf.h). Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libbsd: comma separate licensesGustavo Zacarias2015-12-151-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libbsd: add hash fileGustavo Zacarias2015-07-281-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libbsd: enable package on ARMMaxime Hadjinlian2014-10-051-4/+9
| | | | | | | | | | | Rework the architecture dependency by adding a BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS blind option. [Thomas: slightly reword commit log.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libbsd: needs an (e)glibc toolchainYann E. MORIN2014-06-091-2/+3
| | | | | | | | | | | | | | | | | | | | libbsd needs support for .init_array and checks for a glibc >= 2.4 since .init_array was introduced at around that time. uClibc claims to be a glibc-compatible toolchain, but it only impersonates a glibc-2.2. Just disable libbsd on uClibc. Fixes: http://autobuild.buildroot.net/results/e94/e949d8fabeeecc74bd1c324c516e0b4938c99dbc/ http://autobuild.buildroot.net/results/d3e/d3e1b70fb91571efacbe32af2cd12d055508f5ac/ http://autobuild.buildroot.net/results/b19/b19d24dbf9d05d86d839349695da45d548705b25/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libbsd: bump versionYann E. MORIN2014-06-021-1/+2
| | | | | | | ... and switch to using .tar.xz as that's all upstream is providing now. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libbsd: do not line-up variablesYann E. MORIN2014-06-021-4/+4
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-6/+0
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the default value of the $(PKG)_SOURCE variableJerzy Grzegorek2013-10-061-1/+0
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libbsd: further reduce the set of supported archsYann E. MORIN2013-08-221-2/+2
| | | | | | | | | | | | | | Support for a,out on ARM will be dropped in Linux 3.11 (and is already missing in the -rc). m68k is marked BROKEN in Buildroot, so it is never ever tested. The x86 familly is the only one left with support for a.out, now. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libbsd: needs threadsGustavo Zacarias2013-06-271-0/+5
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/397/39728c5eeb6c4e213cd96cb6639bc28f337bf214/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/libbsd: depends on architectures providing a.out.hYann E. MORIN2013-06-061-0/+3
| | | | | | | | | | | | | | | | | | libbsd requires a.out.h, which is only available in a select subset of the architectures Buildroot supports. Propagate these new dependencies down to libedit. Fixes: http://autobuild.buildroot.org/results/019/019091312ec547520370ffad967b53e23f54a14b http://autobuild.buildroot.org/results/87c/87c3a8bf2248606d80ddcfd96132de4c5fe869ed http://autobuild.buildroot.org/results/589/5891f539ce3f3ff2e3411228472c8833fdd0d7c0 [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libbsd: correct license file referenceGustavo Zacarias2013-06-031-1/+1
| | | | | | | | | Fixes autobuilder error: http://autobuild.buildroot.net/results/ccd/ccd2f3fe69a3e0321685daf95f85eca5ba2d64cf/ [Peter: use COPYING instead] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/libbsd: new packageYann E. MORIN2013-05-122-0/+31
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud