summaryrefslogtreecommitdiffstats
path: root/package/czmq
Commit message (Collapse)AuthorAgeFilesLines
* package/c*/Config.in: fix ordering of statementsAdam Duskett2017-04-291-1/+1
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter c in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for MPL family licensesRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for MPLv1.0/MPLv1.1/MPLv2.0 is MPL-1.0/MPL-1.1/ MPL-2.0. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/MPLv([1-2]\.[0-1])/MPL-\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: fix reverse dependencies of util-linuxRahul Bedarkar2017-01-281-4/+2
| | | | | | | | | | | | | | | Commit 006a328ad6be ("util-linux: fix build with ncurses") removed dependency on BR2_USE_WCHAR, but failed to update the reverse dependencies of util-linux. This commit fixes all such reverse dependencies by removing dependency on BR2_USE_WCHAR as it is not required by package itself. Fixes: 006a328ad6be ("util-linux: fix build with ncurses") Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* czmq: fix build with glibc 2.24Thomas Petazzoni2016-11-051-0/+30
| | | | | | | | | | | | | | | | | czmq uses readdir_r(), which has been marked as deprecated in glibc 2.24, and czmq uses -Werror which causes the warning to be turned into an error that aborts the build. This commit fixes that by removing -Werror. Long-term, we might want to upgrade czmq to a newer version, since they've removed the use of readdir_r() in commit 2594d406d8ec6f54e54d7570d7febba10a6906b2. But getting rid of -Werror is anyway always a good idea in Buildroot. Fixes: http://autobuild.buildroot.net/results/f6e4b8ed8571fdcf30eecae121dd11dfdef50799 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/czmq: bump versionBernd Kuhls2016-06-052-4/+2
| | | | | | | | Needed for zyre bump: https://github.com/zeromq/zyre/issues/442#issuecomment-189127583 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/czmq: fix static linkingJörg Krause2016-03-062-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, building czmq statically fails for some architectures with undefined references to the math library: /usr/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/libstdc++.a(compatibility-ldbl.o): In function `std::tr1::hash<long double>::operator()(long double) const': compatibility-ldbl.cc:(.text._ZNKSt3tr14hashIeEclEe+0x3c): undefined reference to `frexpl' It turns out that this is actually a problem with libstdc++. Depending on the arch, some functions will be in compatibility-ldbl.o. If you use any of these functions, that file will be linked in. And when that file is linked in, all the _other_ functions, which you actually don't use, are also linked in. And one of these functions is the template function hash<long double>::operator(), which uses frexpl. Requiring czmq to link with -lm is a bit weird, given that neither itself, nor any of its dependencies really need it... So ideally it should be fixed in libstdc++ itself. However, as upstream accepted a patch to link with -lm, we use this patch to fix static linking. Fixes: http://autobuild.buildroot.net/results/206/2061238affb685db998100a56c6571538d089a5b/ http://autobuild.buildroot.net/results/caf/caf002d213c9dd09df07858c5c199411ca8ddfa3/ http://autobuild.buildroot.net/results/568/568ac92d2f6d0604b9bf354ea9dca0a7cb5341f6/ http://autobuild.buildroot.net/results/945/9452982fc14f579c61b45a1a189db5f89aab3b80/ Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/czmq: add hash fileJörg Krause2016-03-061-0/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/czmq: bump versionYann E. MORIN2015-08-082-207/+1
| | | | | | | | Drop the patch that no longer applies, and has instead been done differently by upstream. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* czmq: needs host-pkgconfPeter Korsgaard2015-05-131-1/+1
| | | | | | It uses pkg-config to find zeromq, so ensure it is available. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "czmq: unbreak static linking"Peter Korsgaard2015-05-131-6/+0
| | | | | | | | | This reverts commit aa5254f1a2bc0ea3181d51990c18681b3071b9db. Now that zeromq's pkg-config file is fixed, we no longer need this workaround for static linking. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: unbreak static linkingPeter Korsgaard2015-05-121-0/+6
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/faf/faf0bb00fccb1350afaef55f6cf14c11a5f5dc3c/ http://autobuild.buildroot.net/results/8d2/8d279baa4c8bffbb01f897119092c7b736942df4/ http://autobuild.buildroot.net/results/4d3/4d3dea604da9a5a1e7fe20548813f8de474ae33f/ http://autobuild.buildroot.net/results/fd6/fd602617839817352763e51754553960b7f795ac/ And many more. Zeromq uses C++, but czmq forgets to explicitly link with libstdc++ (or use g++ to link), breaking static linking. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+3
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+3
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/czmq: fix discovery of libzmq for static buildRomain Naour2015-03-152-4/+206
| | | | | | | | | | | | | | | Backport and rebase a patch from upstream: https://github.com/zeromq/czmq/commit/313714f8b73c23d68b1216bc2df3d0ccc6ab1ffd Also, remove the fix in czmq.mk for static build. Fixes: http://autobuild.buildroot.net/results/ec4/ec414b52f9cdd8d7d365283e21479519e63c7d97/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* czmq: fix static buildBaruch Siach2014-11-241-1/+1
| | | | | | | | | | libstdc++ may also need -lm. Fixes: http://autobuild.buildroot.net/results/aab/aab80285c54641fd7c217cdd45c4593e5c3a66c5/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* czmq: fix static buildBaruch Siach2014-11-211-0/+4
| | | | | | | | | | | | | czmq configure script uses gcc to test zmq linking so libstdc++ is not added automatically. Do this manually. Fixes: http://autobuild.buildroot.net/results/7b7/7b7f7614206cf9b8fef48f49cb060eca356d4949/ http://autobuild.buildroot.net/results/b3a/b3abff021d23ef0f685a44901b6041ba45bd35d7/ http://autobuild.buildroot.net/results/1f0/1f033d04231c5f058513cbca0d437b96260fbd7a/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: bump versionMaxime Hadjinlian2014-10-272-54/+1
| | | | | | | Remove patch as it was merged upstream. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: add patch to fix build issue with recent glibcThomas Petazzoni2014-09-101-0/+53
| | | | | | | | | | | | | | | | | glibc 2.20 is now warning when _BSD_SOURCE is used (as it's replaced by _DEFAULT_SOURCE), and czmq has the bad idea of forcing the usage of -Werror, causing build issues with the recent NIOS II toolchain based on glibc 2.20. This commit adds a patch to czmq to fix that. The patch has been submitted upstream. Fixes: http://autobuild.buildroot.org/results/64a/64a7eef2155248146e7f3a55e85fe60bc5b67791/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* github packages: use tarball download via github helper iso git cloneThomas De Schampheleire2014-05-051-1/+1
| | | | | | | | | Tarball download from github is preferred, because: - download size is smaller - git clone may be blocked in some corporate environments Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: needs MMUBaruch Siach2014-05-051-6/+2
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/6dd/6dd6954e5ab8c422070e53b0e616e1b1a821c626/ Also, remove the Blackfin toolchain dependencies as these are redundant now since Blackfin is a noMMU arch. [Peter: propagate to filemq as well] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: fix license after version bumpPeter Korsgaard2014-04-261-2/+2
| | | | | | | czmq is now under the MPLv2.0 license. For more details, see https://github.com/zeromq/czmq/commit/eabe063c2588cde0af90e Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: bump version to v2.2.0Simon Dawson2014-04-261-1/+1
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* czmq: bump git snapshotSimon Dawson2014-01-031-1/+1
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* git packages: use full revision hashThomas De Schampheleire2013-11-021-1/+1
| | | | | | | | | | | There is no benefit in using the shortened git revision hash. On the contrary: the shorter the hash, the higher the risk of having collisions with another commit. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cppzmq/czmq: Update comment for needs threads supportAxel Lin2013-11-011-1/+1
| | | | | | | | Comment 7e37d235f "zeromq: needs threads" adds BR2_TOOLCHAIN_HAS_THREADS dependency but forgot to add corresponding comment for cppzmq and czmq. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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>
* 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>
* czmq: prevent selection when ADI Blackfin external toolchains are usedThomas Petazzoni2013-05-291-0/+4
| | | | | | | | | | | | | | | czmq fails to build with the Blackfin external toolchains provided by Analog Devices, because their uClibc configuration doesn't include AI_ADDRCONFIG. In order to prevent such build failures to happen, we simply prevent the selection of czmq or one of its reverse dependencies when such toolchains are used. This fixes: http://autobuild.buildroot.org/results/821/82140fac4c2a2cef3f38f06cada8f17fd7f0078b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* czmq: disable asciidoc documentation generationArnout Vandecappelle (Essensium/Mind)2013-05-121-0/+4
| | | | | | | | | | | | czmq uses asciidoc for its documentation. asciidoc uses python and import the unicodedata module, which is not in host-python. So disable asciidoc entirely. This doesn't get hit by the autobuilders because they don't have asciidoc installed in their chroot. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zeromq: needs threadsGustavo Zacarias2013-04-101-1/+3
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/11a1c085e3f5c490cbf3fec8f26169ade29f7363/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* czmq: new packageSimon Dawson2013-03-272-0/+37
Signed-off-by: Simon Dawson <spdawson@gmail.com> [yann.morin.1998@free.fr: create dir as post-patch, not pre-configure] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud