summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
...
* | linux{, -headers}: support downloads of v5+Arnout Vandecappelle (Essensium/Mind)2019-03-271-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the arrival of linux v5.0, we need yet another condition to set _SITE correctly. Instead of continuing this madness, solve the problem generically: use v2.6 for 2.6.*, and use the number before the first dot in the other cases. While we're at it, remove the comment which has been incorrect since 80d7b68167a5c8893e906ace6b5f0b0166336406 (7 years ago). Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz> Tested-by: Adam Duskett <aduskett@gmail.com> Reviewed-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 4ed7246a597325cea2c5b4624b7c94c67ca8662d) Signed-off-by: Joel Stanley <joel@jms.id.au>
* | package/linux-headers: fix support for -rc kernelsArnout Vandecappelle (Essensium/Mind)2019-03-271-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -rc kernels after v3.x are no longer available in the testing subdirectory. Instead they should be fetched from cgit. Commit ff4cccbdcf5417a5a8c251ff302791a306023cc1 did this for linux itself, now we also do it for linux-headers. When fetched from cgit, .tar.xz can't be used. Adding this to the existing condition is not so simple, so refactor how _SOURCE is set: simply set it explicitly in each branch of the condition. While more verbose (it is repeated 4 times), it's easier to understand and to maintain. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 1b94e8dcb368cd71d8002427bf4a150a2f082aa2) Signed-off-by: Joel Stanley <joel@jms.id.au>
* | host-localedef: Compile against glibc-2.28Samuel Mendoza-Jonas2019-03-145-60/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In glibc 2.27 the following change occurred: "Statically compiled applications attempting to load locales compiled for the GNU C Library version 2.27 will fail and fall back to the builtin C/POSIX locale." This impacts us since upstream buildroot uses a localdef built against an older eglibc release [0]. This is a combination of my patch to move to glibc and Peter Seiderer's patch to avoid building all of glibc just for localedef. [0] https://bugs.busybox.net/show_bug.cgi?id=11096 Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> [localedef build & fixups:] Signed-off-by: Peter Seiderer <ps.report@gmx.net> [not yet upstream: https://github.com/open-power/op-build/issues/2225] Signed-off-by: Joel Stanley <joel@jms.id.au>
* | package/busybox: Include udhcp reboot time patchSamuel Mendoza-Jonas2019-03-051-0/+49
| | | | | | | | | | | | | | | | | | | | | | This patch has been merged to upstream busybox's master branch: https://git.busybox.net/busybox/commit/?id=fc267214f0957bdc5794a71ae73e38edb00e5ba2 It will be part of the 1.30 release. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
* | package/dropbear: Add separate configuration option for dropbear serverJoel Stanley2019-03-052-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the dropbear package installs both client and server components. This means that when we only want the client binaries, we also get the server, which is run from init. Even though it's a multi-call binary (the client and server exist in the same executable), we can define which parts are compiled-in. We'd also like to selectively install the links and init scripts. This change introduces a separate configuration for the dropbear server. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Joel Stanley <joel@jms.id.au>
* | Separate target-building make targets from image-building make targetsStewart Smith2019-03-051-0/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, it's not possible to have dependencies from an image-building target to a rootfs-building target. For example, the boot-wrapper-aarch64 package uses the kernel build as an input file. It supplies a dependency on 'linux', but this will break if we're using BR2_TARGET_ROOTFS_INITRAMFS - the wrapper will include the first kernel build, not the rebuild (which contains the embedded initramfs). This means we'd need to express a dependency from the target build to the image build. However, if we do something like: -BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux +BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux26-rebuild-with-initramfs - then we get a circular dependency, because boot-wrapper-aarch64 is in the TARGETS list, which linux26-rebuild-with-initramfs depends on. This change splits the possible targets into two separate lists, TARGET_TARGETS (dependencies for building the target dir) and IMAGE_TARGETS (dependencies for building images). We keep TARGETS as a list of everything, and use TARGET_TARGETS for the rootfs-finalize target. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> [fix for PACKAGES variable rename 8a58e0238ef3] Signed-off-by: Joel Stanley <joel@jms.id.au>
* package/libsoxr: add patch to add Libs.private in soxr.pcJörg Krause2019-03-041-0/+43
| | | | | | | | | If libsoxr is build statically against libavutil other applications needs to know that they must link with `-lavutil` when building in a static context. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "package/libsoxr: add avutil to soxr.pc"Jörg Krause2019-03-041-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d81870ae8129389a62df80c9c8c9165d334b6921. The patch attempts to fix static linking with libsoxr when it build with avutils. The `Libs.private` field should not contain the full absolute path to the static library, but only the link flags for private libraries, e.g `-lm`. Buildroots pkg-config prepends the sysroot to the value found in `Libs.private` resulting in a malformed linker flag if libavutil is found: ``` -L/home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr /home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/home/test/autobuild/run/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libavutil.a ``` .. or if libavutils is not found: ``` -L/home/test/autobuild/run/instance-1/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr AVUTIL_LIBRARIES-NOTFOUND ``` Revert this commit and replace the patch by a follow-up patch which only adds `-lavutil` to `Libs.private` in case it is found and used by libsoxr. Fixes: http://autobuild.buildroot.net/results/6eb4e2c9bd3884ab0152ddf873c20e62f0941181/ http://autobuild.buildroot.net/results/07207b0a58a08bf7c2cb78345a58244b5e6aab0e/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: fix "Timed out waiting for device /dev/console."Xavier Ruppen2019-03-041-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Buildroot built with systemd fails to open a login prompt on the serial port when /dev/console is specified as BR2_TARGET_GENERIC_GETTY_PORT (which is its default value): systemd[1]: dev-console.device: Job dev-console.device/start timed out. systemd[1]: Timed out waiting for device /dev/console. systemd[1]: Dependency failed for Serial Getty on console. systemd[1]: serial-getty@console.service: Job serial-getty@console.service/start failed with result 'dependency'. systemd[1]: dev-console.device: Job dev-console.device/start failed with result 'timeout'. systemd[1]: Reached target Login Prompts. systemd[1]: Reached target Multi-User System. According to this issue on Github [1], serial-getty@.service should not be instantiated on /dev/console, console-getty@.service should be used instead. This stems from the fact that there should be no dependency on /dev/console. [1] https://github.com/systemd/systemd/issues/10914 Signed-off-by: Xavier Ruppen <xruppen@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Peter: drop SERVICE variable as suggested by Yann] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cutelyst: bump to version 2.7.0Fabrice Fontaine2019-03-043-3/+2
| | | | | | | | | | | | | | | | Commit c110e48cecde6f543da18388322907b05b25e7d2 disabled openssl support on QT 5.6, this has the side-effect of breaking the build of cutelyst because cutelyst does not manage build with QT_NO_SSL, see: https://github.com/cutelyst/cutelyst/issues/159 This bump fixes the issue by bumping cutelyst to version 2.7.0 and by removing the uneeded select on BR2_PACKAGE_OPENSSL Fixes: - http://autobuild.buildroot.org/results/4299221429713ace25fc234abeb81697bc410647 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt5/qt5base: add BR2_PACKAGE_QT5BASE_OPENSSLFabrice Fontaine2019-03-042-1/+7
| | | | | | | | | | | | | | | | | Commit c110e48cecde6f543da18388322907b05b25e7d2 disabled openssl support on QT 5.6, this has the side-effect of breaking the build of python-pyqt5 because support of openssl is enabled on python-pyqt5 if BR2_PACKAGE_OPENSSL is selected To fix this issue, add a new BR2_PACKAGE_QT5BASE_OPENSSL option in qt5base and use it in python-pyqt5 Fixes: - http://autobuild.buildroot.org/results/e92991308d47649cecc4084e41ab5711ec96831f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Peter: make _OPENSSL a blind option, add libressl logic for 5.6.x] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt5/qt5base: build Qt 5.6 with LibreSSL if presentJames Grant2019-03-042-1/+32
| | | | | | | | | LibreSSL build is successful with shared linkage, but not default dlopen(). Also adds patch for successful compilation by using -fpermissive. Signed-off-by: James Grant <jamesg@zaltys.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gst-plugins-bad: disable spandspFabrice Fontaine2019-03-041-1/+2
| | | | | | | | | | | gst-plugins-bad does not build with spandsp so disable it (it's already disabled in gst1-plugins-bad) Fixes: - http://autobuild.buildroot.org/results/842ca572b7810bca70846274262a6fcdb38df49 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/runc: blacklist Codesourcery ARM toolchainPeter Korsgaard2019-03-043-0/+6
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/018e309caa0fc662aa2993e47b2037fb6c569011/ This toolchain uses glibc 2.18, which does not provide O_TMPFILE support. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gqrx: link with libatomic when neededGwenhael Goavec-Merou2019-03-032-0/+8
| | | | | | | | | | | | | | | | On some architectures, atomic builtins are provided by the libatomic library from gcc. Linking with libatomic is therefore necessary, otherwise the build fails with: sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line Fixes: - http://autobuild.buildroot.net/results/a003ad5324a0c0f55cb8db5d3e5d69bd21999e16/ - http://autobuild.buildroot.net/results/464602175d026d135125e5baa00e0729aec7a931/ Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> [Peter: add dependency on sync or atomic builtins in Config, addd comment] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* go: explicitly disable modules to avoid unintended network lookupChristian Stewart2019-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Go "modules" refers to the dependency fetching, verification (hashing), and version control system built into Go as of 1.11. It is not desirable to have Go modules enabled in Buildroot in the normal case, as Buildroot manages downloading the sources, and third party dependency managers are typically not used. In the absence of the GO111MODULE environment variable, the Go compiler will correctly compile using the "vendor" version of dependencies downloaded by Buildroot during the compilation process for Go-based packages. However, if the user sets the GO111MODULE=on environment variable, the Go compiler will download the Go dependencies for Buildroot packages, using the modules system. This is potentially unintended behavior from user environment variables. This commit sets the GO111MODULE=off variable in the Go target and host compilation environments, disabling Go modules support for Buildroot mainline packages. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tor: fix static build with opensslFabrice Fontaine2019-03-031-2/+13
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/102796d74e63d0d203e6ac9e2094052588188e6d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libraw: security bump to version 0.19.2Fabrice Fontaine2019-03-022-4/+4
| | | | | | | | - Fixes CVE-2018-5815 and CVE-2018-5816 - README has been renamed into README.md Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/devmem2: Fix DEVMEM2_SITE variableXavier Ruppen2019-03-022-2/+2
| | | | | | | | The old free-electrons.com URL does not seem to work anymore, resulting in the package failing to build. Use bootlin.com instead. Signed-off-by: Xavier Ruppen <xruppen@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/pkg-generic: speed up RECURSIVE_FINAL_DEPENDENCIESTrent Piepho2019-03-011-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluating all the <PKG>_RECURSIVE_FINAL_DEPENDENCIES variables (abbreviated RFD hereafter) ends up being quite slow. Enough, on a reasonable modern workstation, to increase the time it takes to run "make printvars" from 13 seconds in 2018.02 to 371 seconds in 2019.02. This patch improves this by using dynamic programming to speed the evaluation of RFD, reducing the before mentioned printvars time to about 14.6 seconds. The evaluation of PKG1_RFD requires recursively evaluating each of PKG1's dependencies' RFDs, then their dependencies' RFDs, and so on. The same is done for PKG2_RFD. But it's likely that many of the dependencies of PKG2 are the same as PKG1. And when we consider all packages, the dependencies are re-computed many thousands of times. To avoid this re-computation we memoize, or save, the computed value of each RFD variable when it found the first time. Subsequent evaluations re-use the memoized value. Surprisingly, this ends up being not all the hard to implement in make. The basic construct is this: VAR = $(if !defined(VAR__X),$(eval VAR__X := value))$(VAR__X) The first time VAR is evaluated VAR__X will not be defined, and code to set VAR__X to the computed value is eval'd. Then the now defined value of VAR__X is returned. Subsequent evaluations can just return VAR__X. It is important to note that VAR is defined with '=', as not enough information (namely, all packages' dependencies) is know when it is parsed to find the correct value. VAR will be evaluated each time it is used. But VAR__X is defined with ":=", so that it is evaluated once when defined, and not each time it is used. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt5/qt5base: exclude OpenSSL functionality for Qt 5.6.xJames Grant2019-03-011-0/+5
| | | | | | | | | No patch back-porting OpenSSL 1.1.x support to Qt 5.6.x is available. https://development.qt-project.narkive.com/RW4wxYXY/openssl-1-1-x-support-on-qt-5-6-5-9 Signed-off-by: James Grant <james.grant@jci.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt5/qt5base: add custom configure options lastJames Grant2019-03-011-2/+3
| | | | | | | | This allows all options set by Buildroot to be overridden. Signed-off-by: James Grant <james.grant@jci.com> [Peter: drop original line as pointed out by Thomas] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* support/dependencies: require at least CMake 3.8Fabrice Fontaine2019-03-011-85/+0
| | | | | | | | | | | | | | | | | gerbera package in version 1.3 unfortunately now requires CMake >= 3.8 for C++17 macros: https://github.com/gerbera/gerbera/commit/b5fd39f30fb10385ec228b71377685206a609c3a So we need to bump our requirement from 3.1 to 3.8. If the host doesn't have a CMake >= 3.8, Buildroot will build its own host-cmake package. Also drop patch that relax cmake requirement on json-for-modern-cpp Fixes: - http://autobuild.buildroot.org/results/6405647b47b132ff5d0d211b92d407322d52d507 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/zbar: needs c99 modePeter Seiderer2019-02-281-0/+2
| | | | | | | | | | | | | | | Fixes [1]: bar/sqcode.c: In function 'sq_scan_shape': zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int x = x0 - 1; x < x0 + width + 1; x++) { ^ zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code [1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19, 20}.x seriesPeter Korsgaard2019-02-271-5/+5
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* runc: depend on linux headers >= 3.11 for O_TMPFILEChristian Stewart2019-02-273-5/+11
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/63e9d88ae5177541be463f1e2aafec59aa410479 Add dependency on headers >= 3.11 for O_TMPFILE, used by runc after the fix for CVE-2019-5736 and propagate to the reverse dependencies of runc. Notice that C library support for O_TMPFILE is also needed, which was added in glibc 2.19 and musl 0.9.15. Signed-off-by: Christian Stewart <christian@paral.in> [Peter: squash series, extend commit message, mention C library dependency, fix indentation] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: add upstream security fixesBaruch Siach2019-02-262-0/+247
| | | | | | | | | | CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message from unprivileged user Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> 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/stress-ng: add libbsd optional dependencyBaruch Siach2019-02-261-0/+4
| | | | | | | | stress-ng optionally detects and uses BSD wcsl* wchar string functions. Cc: Romain Naour <romain.naour@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cryptopp: fix dos/unix newlines in patchPeter Korsgaard2019-02-261-8/+8
| | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/0a26265961747600388258d32ba7dc9226c9249b/ Commit 40005b9a0da6 (package/cryptopp: fix build with gcc < 4.9) added a patch to fix building with old toolchains. The source code unfortunately contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing list, causing the patch to no longer apply. Fix up the patch manually. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: bump to version 8.3.0Romain Naour2019-02-264-83/+3
| | | | | | | | | | | | Remove upsteam xtensa patches: https://github.com/gcc-mirror/gcc/commit/68ca69a4854af36c90531b33a4c540464dbc6a23 https://github.com/gcc-mirror/gcc/commit/972057cb254e355805bfcd4a47d5c6f743cb76f4 Tested using Toolchain-builder: https://gitlab.com/kubu93/toolchains-builder/pipelines/48904471 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/iproute2: backport patch to fix compilation under glibc < 2.18Thomas De Schampheleire2019-02-251-0/+39
| | | | | | | | | | | When compiling iproute2 using a toolchain containing glibc 2.17 and older, it fails due to a missing definition of AF_VSOCK. Add a submitted and accepted upstream patch to fix this issue. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/pkg-meson: fix meson cpu_family formatJames Hilliard2019-02-251-1/+1
| | | | | | | | | meson requires a custom cpu_family format https://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libssh: bump to version 0.8.7Baruch Siach2019-02-253-32/+3
| | | | | | | | | | | | | | | Drop upstream patch. Fixes strict-overflow build error with older toolchains. Fixes: http://autobuild.buildroot.net/results/b95b1939a55111fc6b90ef253a32402b87f9c4ab/ http://autobuild.buildroot.net/results/281cb7b940178e4fe98940ddeed07ad546b23931/ http://autobuild.buildroot.net/results/e95d5957c19ff01120903a66d1167279a34da2ce/ Cc: Scott Fan <fancp2007@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/stress-ng: Fix author email in 0003-test-test-bsd-wchar-...patchVadim Kochan2019-02-251-1/+1
| | | | | | | | Author's and sign-off's emails differs, so fix the author's one which is not valid anymore. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ibrcommon: fix dos/unix newlines in patchPeter Korsgaard2019-02-241-49/+49
| | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/e88/e881667f388eea4cce2f804b373af4e3038e7b52/ commit fc9f9cd76f (package/ibrcommon: fix static build with openssl) added a patch to fix static linking. The source code unfortunately contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing list, causing the patch to no longer apply. Fix up the patch manually. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/botan: link with libatomic when neededFabrice Fontaine2019-02-241-0/+7
| | | | | | | | | | | | | | | | On some architectures, atomic built-ins are provided by the libatomic library from gcc. Linking with libatomic is therefore necessary, otherwise the build fails with: sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line This is often for example the case on sparcv8 32 bit. Fixes: - http://autobuild.buildroot.org/results/a442734c570e4a02854014d831ba3aab9f592430 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libcpprestsdk: link with libatomic when neededFabrice Fontaine2019-02-241-0/+4
| | | | | | | | | | | | | | | | On some architectures, atomic binutils are provided by the libatomic library from gcc. Linking with libatomic is therefore necessary, otherwise the build fails with: sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line This is often for example the case on sparcv8 32 bit. Fixes: - http://autobuild.buildroot.org/results/983537ceb38add50ca0a2316f39a2964db1b83c5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/i2pd: link with libatomic when neededFabrice Fontaine2019-02-241-0/+4
| | | | | | | | | | | | | | | | On some architectures, atomic binutils are provided by the libatomic library from gcc. Linking with libatomic is therefore necessary, otherwise the build fails with: sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line This is often for example the case on sparcv8 32 bit. Fixes: - http://autobuild.buildroot.org/results/515160349b11f06a090f3e13992e30da9a402c17 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/lua-curl: add variant definition of lcurl_url_tFrancois Perrad2019-02-241-0/+40
| | | | | | | | | | | | | | | lua-curl has separate code paths for compilers that support forward typedef declarations and those who don't. For the latter case, one structure was not properly defined, causing a build failure with older compilers. Fixes: http://autobuild.buildroot.org/results/8d76ad49837b368a7bba3c3dfd445a035471268a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: improve commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clamav: link with libatomic when neededBernd Kuhls2019-02-241-0/+4
| | | | | | | | | | | | | | Configure check for OpenSSL fails: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-3/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_atomic_add': threads_pthread.c:(.text+0x1dc): undefined reference to `__atomic_is_lock_free' threads_pthread.c:(.text+0x1f4): undefined reference to `__atomic_fetch_add_4' Fixes http://autobuild.buildroot.net/results/cae8da81adff3ba493154e0ba8b21d90367f82eb/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/qt5base: fix double-conversion compile for riscvPeter Seiderer2019-02-241-0/+31
| | | | | | | | | | | | Fixes [1], [2]: ../3rdparty/double-conversion/include/double-conversion/utils.h:83:2: error: #error Target architecture was not detected as supported by Double-Conversion. [1] http://autobuild.buildroot.net/results/8bdb6a2b56f6ea96649184e5fef6ce2c56b9ec2b [2] http://autobuild.buildroot.net/results/63ba267674b424786bb10c97c565f4306147f95a Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/upmpdcli: needs NPTLFabrice Fontaine2019-02-241-3/+5
| | | | | | | | | | | | The software uses pthread_mutexattr_setrobust which isn't available in uClibc-ng Linuxthreads support. Fixes: - http://autobuild.buildroot.org/results/197615ad077b0a719954024c3ba182dac43a0555 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: fix build with older kernelsFabrice Fontaine2019-02-244-0/+133
| | | | | | | | | | | | These 4 patches have been sent upstream and merged in version 241: https://github.com/systemd/systemd/pull/11641 Fixes: - http://autobuild.buildroot.org/results/970b09e1d49b53dff12a07ca4ad424ef9dd29a69 - http://autobuild.buildroot.org/results/0a671b08d5e74ff0b04024e729c498c4444e3e92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/ibrcommon: fix static build with opensslFabrice Fontaine2019-02-231-0/+94
| | | | | | | | | | | | | | | | | gf_mul is already defined in libcrypto (openssl) so rename it into ibrdtn_gf_mul to fix the following build failure in ibrdtnd package: /home/buildroot/autobuild/instance-3/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(f_impl.o): In function `gf_mul': f_impl.c:(.text+0x0): multiple definition of `gf_mul' /home/buildroot/autobuild/instance-3/output/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libibrcommon.a(gf128mul.o):gf128mul.cpp:(.text+0x30): first defined here collect2: error: ld returned 1 exit status Makefile:560: recipe for target 'dtnd' failed Fixes: - http://autobuild.buildroot.org/results/1d3b4b6cf043a3e185ce758b617a0a18c3d36cdb Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/luaexpat: restore getcurrentbytecount, required by prosodyFrancois Perrad2019-02-231-0/+40
| | | | | | | | | Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/158295314 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/tor: security bump to 0.3.5.8Bernd Kuhls2019-02-232-3/+3
| | | | | | | | | | | | | | | | Release notes: https://blog.torproject.org/new-releases-tor-0402-alpha-0358-03411-and-03312 Fixes CVE-2019-8955: KIST can write above outbuf highwater mark https://trac.torproject.org/projects/tor/ticket/29168 Updated license hash after upstream commit https://gitweb.torproject.org/tor.git/commit/LICENSE?h=maint-0.3.5&id=efe55b88987c2539c218fdf1f46f16f9bdc3a8eb which bumps copyright date to 2019. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/stress-ng: Fix build issue with libbsd wchar checkVadim Kochan2019-02-231-0/+29
| | | | | | | | | | | | | stress-ng uses test/test-bsd-wchar.c program to check if there is support for libbsd's wchar, but the test fails because wchar.h also requires the FILE* definition from stdio.h which is not included automatically, so fix it by include stdio.h explicitly. Fixes: http://autobuild.buildroot.net/results/6def1bba8e7ec05682e74c4edc3a35c8c118d28b Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cryptopp: fix build with gcc < 4.9Fabrice Fontaine2019-02-221-0/+40
| | | | | | | | | | Disable AVX2 if gcc < 4.9 Fixes: - http://autobuild.buildroot.org/results/195e40b34344f773da51a3fbff9d8e76c517eed1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gdb: disable inprocess-agent in static buildFabrice Fontaine2019-02-221-0/+5
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/b40bdbca6669a81301fca523e982dbc9584a4e65 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/reaver: fix build on m68kFabrice Fontaine2019-02-221-0/+32
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/935c038b921ffa0f185571de41223e4c201e964b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud