* [Buildroot] [PATCH v2] gst-plugins-base: fix handling of freetype
From: Peter Korsgaard @ 2017-04-24 19:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170411225913.22072-1-ricardo.martincoski@gmail.com>
>>>>> "Ricardo" == Ricardo Martincoski <ricardo.martincoski@gmail.com> writes:
> In 2010 commit 32d319e6f "gst-plugins-base: ensure <stdint.h> is used"
> introduced a typo (missing backslash) that made the code ineffective.
> It can be confirmed by looking at the output of:
> $ make printvars | grep '^GST_PLUGINS_BASE_CONF_ENV\|^FT2_CONFIG'
> FT2_CONFIG=/bin/false ac_cv_header_stdint_t="stdint.h"
> GST_PLUGINS_BASE_CONF_ENV=
> Add the missing backslash to fix the code.
> While at it, fix the indentation to use one tab instead of two.
> The (end of the) diff of config.log confirms the code is still needed
> when the host has freetype-config installed:
> @@ -1674,10 +1674,8 @@
> configure:21882: checking for emmintrin.h
> configure:21882: result: no
> configure:21894: checking for stdint types
> -configure:21917: /tmp/gst/output/host/usr/bin/i686-pc-linux-gnu-gcc -std=gnu99 -c conftest.c >&5
> -configure:21917: $? = 0
> configure:21961: result: stdint.h (shortcircuit)
> -configure:22348: result: make use of stdint.h in _stdint.h (assuming C99 compatible system)
> +configure:22348: result: make use of stdint.h in _stdint.h
> configure:22359: checking for localtime_r
> configure:22359: /tmp/gst/output/host/usr/bin/i686-pc-linux-gnu-gcc -std=gnu99 -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
> configure:22359: $? = 0
> @@ -2468,8 +2466,7 @@
> Package 'freetype2', required by 'world', not found
> configure:31257: result: no
> configure:31298: checking for freetype-config
> -configure:31316: found /usr/bin/freetype-config
> -configure:31329: result: /usr/bin/freetype-config
> +configure:31329: result: /bin/false
> configure:31339: checking for FreeType - version >= 2.0.9
> configure:31427: result: yes
> configure:32250: creating ./config.status
> @@ -2789,7 +2786,7 @@
> ac_cv_objext='o'
> ac_cv_path_EGREP='/bin/grep -E'
> ac_cv_path_FGREP='/bin/grep -F'
> -ac_cv_path_FT2_CONFIG='/usr/bin/freetype-config'
> +ac_cv_path_FT2_CONFIG='/bin/false'
> ac_cv_path_GMSGFMT='/tmp/gst/output/host/usr/bin/msgfmt'
> ac_cv_path_GREP='/bin/grep'
> ac_cv_path_MSGFMT='/tmp/gst/output/host/usr/bin/msgfmt'
> @@ -2818,7 +2815,6 @@
> ac_cv_prog_cxx_g='yes'
> ac_cv_prog_make_make_set='yes'
> ac_cv_stdint_message='using gnu compiler i686-pc-linux-gnu-gcc (Sourcery CodeBench Lite 2012.09-62) 4.7.2'
> -ac_cv_stdint_result='(assuming C99 compatible system)'
> ac_cv_sys_file_offset_bits='no'
> ac_cv_sys_largefile_CC='no'
> ac_cv_sys_largefile_source='no'
> @@ -2965,9 +2961,9 @@
> EXEEXT=''
> FFLAGS=' -Os '
> FGREP='/bin/grep -F'
> -FT2_CFLAGS='-I/usr/include/freetype2'
> -FT2_CONFIG='/usr/bin/freetype-config'
> -FT2_LIBS='-lfreetype'
> +FT2_CFLAGS=''
> +FT2_CONFIG='/bin/false'
> +FT2_LIBS=''
> GCOV=''
> GCOV_CFLAGS=''
> GCOV_LIBS=''
> Detected by check-package.
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> Changes v1 -> v2:
> - make the diff in commit message readable using 'diff -u' (Thomas);
> - check-package is now merged, so remove URL from commit message;
> Thomas,
> I was unsure what to do with the long lines, so I pasted the raw
> output. Please feel free to ask me to respin or to tweak the message
> yourself. Below is the link [1] to the config.log files.
> [1] https://gist.github.com/ricardo-martincoski/d9c27b7f589b35313f676357fc1037ac/archive/12363aac7be1adf9e62c2c20aa1aeefc18212dbb.zip
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] linux-headers: bump 4.{4, 9, 10}.x series
From: Peter Korsgaard @ 2017-04-24 19:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170412190236.1AC587FF24@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=9d893df454517e7cb3d667cd872bb2e30ff04321
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] dovecot: bump version to 2.2.29.1 (security)
From: Peter Korsgaard @ 2017-04-24 19:19 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170412155647.15077-1-Vincent.Riera@imgtec.com>
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
> Security fix:
> passdb/userdb dict: Don't double-expand %variables in keys. If dict
> was used as the authentication passdb, using specially crafted
> %variables in the username could be used to cause DoS (CVE-2017-2669)
> Full ChangeLog 2.2.29 (including CVE fix):
> https://www.dovecot.org/list/dovecot-news/2017-April/000341.html
> Full ChangeLog 2.2.29.1 (some fixes forgotten in the 2.2.29 release):
> https://www.dovecot.org/list/dovecot-news/2017-April/000344.html
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] python-pyyaml: correct license name
From: Peter Korsgaard @ 2017-04-24 19:19 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170409115341.3D33F826E1@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=27fdc59e467e55bff1d5910c64e5381ca2814f5f
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> LICENSE file contains MIT license text and README file clearly mentions
> pyyaml is released under MIT license.
> Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH v5] syslinux: build with the target toolchain
From: Peter Korsgaard @ 2017-04-24 19:19 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1491555913-7951-1-git-send-email-benoit.allard@greenbone.net>
>>>>> "Beno?t" == Beno?t Allard <benoit.allard@greenbone.net> writes:
> Until now, the host toolchain was used to build syslinux, as it was
> not possible to build a 32-bit syslinux with a x86-64 toolchain.
> However, syslinux requires gnu-efi, and gnu-efi is built using the
> target toolchain. Mixing different toolchains doesn't work well, so
> this commit changes the syslinux package to use the target toolchain
> for syslinux as well. This is made possible by patches
> 0003-Fix-ldlinux.elf-Not-enough-room-for-program-headers-.patch and
> 0004-memdisk-Force-ld-output-format-to-32-bits.patch.
> Since syslinux also contains some utilities that have to run on the
> host, those have to continue being built with the host toolchain,
> which requires patch 0005-utils-Use-the-host-toolchain-to-build.patch.
> Patch 0006-lzo-Use-the-host-toolchain-for-prepcore.patch is about
> building prepcore, another utility with the host toolchain as it is
> required at build-time.
> This was tested using a Buildroot's built x86_64 toolchain, and
> checked that the output binaries are 32-bits. It was tested as well if
> they actually boot on hardware.
> Signed-off-by: Beno?t Allard <benoit.allard@greenbone.net>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] pkg-python: ignore user site-packages directory
From: Peter Korsgaard @ 2017-04-24 19:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170406184608.22111-1-yegorslists@googlemail.com>
>>>>> "yegorslists" == yegorslists <yegorslists@googlemail.com> writes:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> According to PEP 370 Python will also search for the packages in the
> user site-packages directory. This can affect build reproducibility.
> The solution is to use PYTHONNOUSERSITE=1 for all Python packages,
> i.e. both host and target variants.
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] package/linux-headers: bump 3.2.x and 4.{4, 9, 10}.x series
From: Peter Korsgaard @ 2017-04-24 19:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170408131043.576178222C@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=a1953d0ee2eb2ebb9c00288322e20f69aedb9d63
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 1/2] freetype: legal-info: include docs/LICENSE.TXT
From: Peter Korsgaard @ 2017-04-24 19:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170407200620.67780025@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Hello,
> On Fri, 7 Apr 2017 16:28:58 +0200, Peter Korsgaard wrote:
>> LICENSE.TXT gives an overview and explains in detail that freetype is dual
>> licensed under the FTL and GPLv2+, so also include it in the license files.
>>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>> ---
>> package/freetype/freetype.mk | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
> Both applied. Thanks!
Both committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] gst1-plugins-base: remove legacy freetype handling
From: Peter Korsgaard @ 2017-04-24 19:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170406204348.7CAA97FCED@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=80e2a5465880965b93d3647ca96f4af5f55252c4
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> In 2010 commit 32d319e6f "gst-plugins-base: ensure <stdint.h> is used"
> introduced a typo (missing backslash) that made the code ineffective.
> In 2013 commit f8e7fdcd3 "gst1-plugins-base: add gstreamer1 base
> plugins" copied the code.
> It can be confirmed by looking at the output of:
> $ make printvars | grep '^GST1_PLUGINS_BASE_CONF_ENV\|^FT2_CONFIG'
> FT2_CONFIG=/bin/false ac_cv_header_stdint_t="stdint.h"
> GST1_PLUGINS_BASE_CONF_ENV=
> Direct use of freetype was dropped in version 1.7.2 by upstream [1], so
> remove the code instead of fixing it.
> Found using [2]:
> check-package --include-only Indent $(find * -type f)
> and manually removed.
> [1] https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=183610c035dd6955c9b3540b940aec50474af031
> [2] http://patchwork.ozlabs.org/patch/729669/
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] libnspr: use __nios2__ instead of nios2
From: Peter Korsgaard @ 2017-04-24 19:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170406141359.88F768271B@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=9a521546ed553d2be23740bbf1a7aa05bce9eb09
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Our patch adding nios2 support to libnspr uses the built-in compiler
> define "nios2". However, this doesn't work with C++11, where only the
> __nios2__ define is available. Since __nios2__ is always available,
> use that instead:
> $ ./output/host/usr/bin/nios2-linux-gcc -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"
> $ ./output/host/usr/bin/nios2-linux-gcc -std=c++11 -x c++ -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )"
> Patch 0001-nios2.patch is therefore changed to use __nios2__ (the rest
> of the change noise is due to using quilt to format the patch). Patch
> 0002-microblaze.patch is simply updated to apply correctly on top of
> the modified 0001-nios2.patch.
> This fixes the build of the poppler library on nios2. It is built with
> -std=c++11, and includes nspr headers (through nss), causing a build
> issue.
> Fixes:
> http://autobuild.buildroot.net/results/9fee58076157d814616fa0da51afde8da21a8973/
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] libnspr: fix Microblaze patch
From: Peter Korsgaard @ 2017-04-24 19:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170406141359.754828271B@busybox.osuosl.org>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=7039c4d456259ca2c2708be16ebea98a82adee3f
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Due to a mistake, the Microblaze patch was adding another #elif
> defined(nios2), which doesn't make any sense. This commit gets rid of
> it.
> The rest of the noise in the change is due to the use of quilt to
> generate the patches.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [Patch v5 0/7] Add support for the Rust programming language
From: Jörg Krause @ 2017-04-24 18:27 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170422173840.19694-1-eric.le.bihan.dev@free.fr>
Hi Eric,
On Sat, 2017-04-22 at 19:38 +0200, Eric Le Bihan wrote:
> This series adds support for the Rust programming language by adding the
> following packages:
>
> - rustc: a virtual package for the Rust compiler.
> - rust-bin: provides a pre-built version of rustc.
> - rust: builds rustc from source.
>
> Both providers are able to cross-compile code for ARM, MIPS, PowerPC and
> x86_64 architectures. Only the host variants are provided.
>
> The rustc virtual package is inspired by the mysql one.
>
> As the Rust compiler is written in Rust and uses Cargo, the Rust package
> manager, as build system, two additional packages are provided: rust-bootstrap
> and cargo-bootstrap.
Many thanks for the work! I'll look into it, when I've some spare time.
J?rg
^ permalink raw reply
* [Buildroot] [PATCH] buildroot: adding perftest and libraries
From: Joao Pinto @ 2017-04-24 15:53 UTC (permalink / raw)
To: buildroot
In-Reply-To: <194981fbebe0ffdfada0fedd65903b417b278a32.1493048575.git.jpinto@synopsys.com>
Hi Thomas,
Sorry wrong patch, this one is my development one.
I will send you the right patch. Sorry for the inconvenience.
Best regards,
Joao
?s 4:48 PM de 4/24/2017, Joao Pinto escreveu:
> This patch adds perftest and some necessary libraries.
> This patch was made using Buildroot snapshot 2017.04.24.
>
> Signed-off-by: Joao Pinto <jpinto@synopsys.com>
> ---
> package/Config.in | 4 +++
> .../0001-fix-cross-compilation-error.patch | 29 ++++++++++++++++++++++
> package/libibumad/Config.in | 9 +++++++
> package/libibumad/libibumad.hash | 2 ++
> package/libibumad/libibumad.mk | 12 +++++++++
> package/libibverbs/Config.in | 8 ++++++
> package/libibverbs/libibverbs.hash | 2 ++
> package/libibverbs/libibverbs.mk | 19 ++++++++++++++
> package/librdmacm/Config.in | 8 ++++++
> package/librdmacm/librdmacm.hash | 2 ++
> package/librdmacm/librdmacm.mk | 12 +++++++++
> package/perftest/Config.in | 10 ++++++++
> package/perftest/perftest.hash | 2 ++
> package/perftest/perftest.mk | 19 ++++++++++++++
> 14 files changed, 138 insertions(+)
> create mode 100644 package/libibumad/0001-fix-cross-compilation-error.patch
> create mode 100644 package/libibumad/Config.in
> create mode 100644 package/libibumad/libibumad.hash
> create mode 100644 package/libibumad/libibumad.mk
> create mode 100644 package/libibverbs/Config.in
> create mode 100644 package/libibverbs/libibverbs.hash
> create mode 100644 package/libibverbs/libibverbs.mk
> create mode 100644 package/librdmacm/Config.in
> create mode 100644 package/librdmacm/librdmacm.hash
> create mode 100644 package/librdmacm/librdmacm.mk
> create mode 100644 package/perftest/Config.in
> create mode 100644 package/perftest/perftest.hash
> create mode 100644 package/perftest/perftest.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index c12e5b5..c75eecd 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1257,6 +1257,8 @@ menu "Networking"
> source "package/libfcgi/Config.in"
> source "package/libgsasl/Config.in"
> source "package/libhttpparser/Config.in"
> + source "package/libibumad/Config.in"
> + source "package/libibverbs/Config.in"
> source "package/libidn/Config.in"
> source "package/libiscsi/Config.in"
> source "package/libldns/Config.in"
> @@ -1285,6 +1287,7 @@ menu "Networking"
> source "package/libosip2/Config.in"
> source "package/libpcap/Config.in"
> source "package/libpjsip/Config.in"
> + source "package/librdmacm/Config.in"
> source "package/librsync/Config.in"
> source "package/libshairplay/Config.in"
> source "package/libshout/Config.in"
> @@ -1638,6 +1641,7 @@ endif
> source "package/openswan/Config.in"
> source "package/openvpn/Config.in"
> source "package/p910nd/Config.in"
> + source "package/perftest/Config.in"
> source "package/phidgetwebservice/Config.in"
> source "package/pound/Config.in"
> source "package/pppd/Config.in"
> diff --git a/package/libibumad/0001-fix-cross-compilation-error.patch b/package/libibumad/0001-fix-cross-compilation-error.patch
> new file mode 100644
> index 0000000..e137d01
> --- /dev/null
> +++ b/package/libibumad/0001-fix-cross-compilation-error.patch
> @@ -0,0 +1,29 @@
> +From bb999ab4e2529accfbde97165964074a1ace2389 Mon Sep 17 00:00:00 2001
> +Message-Id: <bb999ab4e2529accfbde97165964074a1ace2389.1492783647.git.jpinto@synopsys.com>
> +From: Joao Pinto <jpinto@synopsys.com>
> +Date: Fri, 21 Apr 2017 15:07:12 +0100
> +Subject: [PATCH] fix cross compilation error
> +
> +This patch fixes the cross-compilation error "ERROR: unsafe header/library path
> +used in cross-compilation: '-I/usr/include'".
> +
> +Signed-off-by: Joao Pinto <jpinto@synopsys.com>
> +---
> + Makefile.in | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/Makefile.in b/Makefile.in
> +index 2b50610..eb38dec 100644
> +--- a/Makefile.in
> ++++ b/Makefile.in
> +@@ -296,7 +296,6 @@ ACLOCAL_AMFLAGS = -I config
> + SUBDIRS = .
> + INCLUDES = -I$(srcdir)/include/infiniband \
> + -I$(srcdir)/include \
> +- -I$(includedir)
> +
> + man_MANS = man/umad_debug.3 man/umad_get_ca.3 \
> + man/umad_get_ca_portguids.3 man/umad_get_cas_names.3 \
> +--
> +2.9.3
> +
> diff --git a/package/libibumad/Config.in b/package/libibumad/Config.in
> new file mode 100644
> index 0000000..bd981a2
> --- /dev/null
> +++ b/package/libibumad/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_LIBIBUMAD
> + bool "libibumad"
> + select BR2_PACKAGE_LIBIBVERBS
> + help
> + It is a library that provides userspace Infiniband Management
> + Datagram (uMAD) functions which sit on top of the uMAD modules in the
> + kernel. These are used by InfiniBand diagnostic and management tools.
> +
> + https://www.openfabrics.org
> diff --git a/package/libibumad/libibumad.hash b/package/libibumad/libibumad.hash
> new file mode 100644
> index 0000000..c01d477
> --- /dev/null
> +++ b/package/libibumad/libibumad.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 500f74e31bd9f3d6c32dea912de3a2d1b299f3f23d7abd893652dd45c77a7e2e libibumad-1.3.10.2.tar.gz
> diff --git a/package/libibumad/libibumad.mk b/package/libibumad/libibumad.mk
> new file mode 100644
> index 0000000..6379948
> --- /dev/null
> +++ b/package/libibumad/libibumad.mk
> @@ -0,0 +1,12 @@
> +################################################################################
> +#
> +# LIBIBUMAD
> +#
> +################################################################################
> +
> +LIBIBUMAD_VERSION = 1.3.10.2
> +LIBIBUMAD_SOURCE = libibumad-$(LIBIBUMAD_VERSION).tar.gz
> +LIBIBUMAD_SITE = https://www.openfabrics.org/downloads/management
> +LIBIBUMAD_INSTALL_STAGING = YES
> +
> +$(eval $(autotools-package))
> diff --git a/package/libibverbs/Config.in b/package/libibverbs/Config.in
> new file mode 100644
> index 0000000..dd47022
> --- /dev/null
> +++ b/package/libibverbs/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_LIBIBVERBS
> + bool "libibverbs"
> + help
> + It is a library that allows userspace processes to use RDMA "verbs"
> + as described in the InfiniBand Architecture Specification and the
> + RDMA Protocol Verbs Specification.
> +
> + https://www.openfabrics.org
> diff --git a/package/libibverbs/libibverbs.hash b/package/libibverbs/libibverbs.hash
> new file mode 100644
> index 0000000..08773a9
> --- /dev/null
> +++ b/package/libibverbs/libibverbs.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 844b4d50d476ebbaaf601929641b0e3c51d58daf56c7269914c1edc32c8beeec libibverbs-1.1.7.tar.gz
> diff --git a/package/libibverbs/libibverbs.mk b/package/libibverbs/libibverbs.mk
> new file mode 100644
> index 0000000..859e1f3
> --- /dev/null
> +++ b/package/libibverbs/libibverbs.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# LIBIBVERBS
> +#
> +################################################################################
> +
> +LIBIBVERBS_VERSION = 1.1.7
> +LIBIBVERBS_SOURCE = libibverbs-$(LIBIBVERBS_VERSION).tar.gz
> +LIBIBVERBS_SITE = https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/snapshot
> +LIBIBVERBS_INSTALL_STAGING = YES
> +
> +# autogen.sh is because autotools stuff lives in other directories and
> +# even AUTORECONF with _OPTS doesn't do it properly.
> +define LIBIBVERBS_RUN_AUTOGEN
> + cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
> +endef
> +LIBIBVERBS_POST_PATCH_HOOKS += LIBIBVERBS_RUN_AUTOGEN
> +
> +$(eval $(autotools-package))
> diff --git a/package/librdmacm/Config.in b/package/librdmacm/Config.in
> new file mode 100644
> index 0000000..4c8a1dc
> --- /dev/null
> +++ b/package/librdmacm/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_LIBRDMACM
> + bool "librdmacm"
> + select BR2_PACKAGE_LIBIBVERBS
> + help
> + It is a library that allows applications to set up reliable connected
> + and unreliable datagram transfers when using RDMA adapters
> +
> + https://www.openfabrics.org
> diff --git a/package/librdmacm/librdmacm.hash b/package/librdmacm/librdmacm.hash
> new file mode 100644
> index 0000000..3351bc5
> --- /dev/null
> +++ b/package/librdmacm/librdmacm.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 b4a2a0a4f70c22611ca35aa8b9699420872803cba5af28ae3ca57dd90b60c6c6 librdmacm-1.0.15.tar.gz
> diff --git a/package/librdmacm/librdmacm.mk b/package/librdmacm/librdmacm.mk
> new file mode 100644
> index 0000000..ac37c1f
> --- /dev/null
> +++ b/package/librdmacm/librdmacm.mk
> @@ -0,0 +1,12 @@
> +################################################################################
> +#
> +# LIBRDMACM
> +#
> +################################################################################
> +
> +LIBRDMACM_VERSION = 1.0.15
> +LIBRDMACM_SOURCE = librdmacm-$(LIBRDMACM_VERSION).tar.gz
> +LIBRDMACM_SITE = https://www.openfabrics.org/downloads/rdmacm
> +LIBRDMACM_INSTALL_STAGING = YES
> +
> +$(eval $(autotools-package))
> diff --git a/package/perftest/Config.in b/package/perftest/Config.in
> new file mode 100644
> index 0000000..6273cf3
> --- /dev/null
> +++ b/package/perftest/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERFTEST
> + bool "perftest"
> + select BR2_PACKAGE_LIBIBUMAD
> + select BR2_PACKAGE_LIBRDMACM
> + help
> + It is a collection of tests written using Infiniband verbs intended
> + for use as a performance micro-benchmark. The tests can measure the
> + latency and bandwidth of Infiniband fabrics.
> +
> + https://www.openfabrics.org
> diff --git a/package/perftest/perftest.hash b/package/perftest/perftest.hash
> new file mode 100644
> index 0000000..123330e
> --- /dev/null
> +++ b/package/perftest/perftest.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 6078dd4fc66d85ff1439ad8fe26cc0689ad18f24459fe3e7d20feda58c6d4609 perftest-3.4-0.9.g98a9a17.tar.gz
> diff --git a/package/perftest/perftest.mk b/package/perftest/perftest.mk
> new file mode 100644
> index 0000000..dc16e4b
> --- /dev/null
> +++ b/package/perftest/perftest.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# PERFTEST
> +#
> +################################################################################
> +
> +PERFTEST_VERSION = 3.4-0.9.g98a9a17
> +PERFTEST_SOURCE = perftest-$(PERFTEST_VERSION).tar.gz
> +PERFTEST_SITE = https://www.openfabrics.org/downloads/perftest
> +PERFTEST_INSTALL_STAGING = YES
> +
> +# autogen.sh is because autotools stuff lives in other directories and
> +# even AUTORECONF with _OPTS doesn't do it properly.
> +define PERFTEST_RUN_AUTOGEN
> + cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
> +endef
> +PERFTEST_POST_PATCH_HOOKS += PERFTEST_RUN_AUTOGEN
> +
> +$(eval $(autotools-package))
>
^ permalink raw reply
* [Buildroot] [PATCH 00/29] qt, qt5: only ever use the free/opensource licenses
From: Yann E. MORIN @ 2017-04-24 15:53 UTC (permalink / raw)
To: buildroot
In-Reply-To: <e3bb00f2-5309-2af3-5933-1dcce008251c@mind.be>
Arnout, All,
On 2017-04-23 23:12 +0200, Arnout Vandecappelle spake thusly:
> On 23-04-17 22:31, Yann E. MORIN wrote:
> > Hello All!
> >
> > This series drops the option to accept the "free license" (as per the
> > current prompts), to only ever use that, and no longer claim to allow
> > use of Qt/Qt5 under a proprietary version.
> >
> > The rationale behind this change is multi-fold:
> >
> > - the name of the tarballs we download clearly hint that they can
> > only be used under the opensource license;
> >
> > - the proprietary license is unknown to us (the Buildroot community
> > at large); we do not even know if there is a single such license;
> >
> > - we do not have such license choice for any other package in a
> > similar situation (e.g. mongoose); we only ever use the publicly
> > available licenses, always;
> >
> > - finally, we do not have such click-wrap acceptance option for any
> > license, be it free, opensource, or proprietary, and whether it be
> > redistributable or not. The licenses are available in the output
> > of legal-info, which a user should consult before using or
> > distributing the result of a build.
>
> In addition, this option (if not set) will stop the build for interactive
> handling, which is something we want to avoid.
>
> Big +1 to this series. I gave it a once-over and it looks OK to me (I didn't
> look carefully enough to give it a Reviewed-by though). I do have an issue with
> the legacy handling, as explained in my reply to that patch. I also wouldn't
> have split it up as much, but OK.
>
> >
> > So, we drop the option to "Approve free license" for both Qt and
> > Qt5, and do as we do for all packages: just use the publicly-known
> > opensource licenses.
> >
> > Users interested in using Qt under a proprietary license will have
> > to take special steps to use it (as they were already probably doing
> > anyway).
>
> Actually the proprietary Qt licenses that I've seen said that they also apply
> to the free download. Admittedly that was a couple of years ago, still Qt4.
Eh, what do I know of something I haven't seen? ;-)
Regards,
Yann E. MORIN.
> Regards,
> Arnout
>
> >
> >
> > Regards,
> > Yann E. MORIN.
> >
> >
> > The following changes since commit 4c2b11977a70d418b7ae2cd7d4b62e77bddbc2c6
> >
> > syslog-ng: disable mongodb (2017-04-22 15:59:31 +0200)
> >
> >
> > are available in the git repository at:
> >
> > git://git.buildroot.org/~ymorin/git/buildroot.git
> >
> > for you to fetch changes up to 0edfc64dedabab8b436312b1212c08dcf9765a05
> >
> > package/qt5: drop option for license approved (2017-04-23 19:09:57 +0200)
> >
> >
> > ----------------------------------------------------------------
> > Yann E. MORIN (29):
> > package/qt: default to approved license
> > package/qt5base: default to approved license
> > package/qt: always use the opensource license
> > package/qt5base: always use the opensource license
> > package/qt53d: always use the opensource license
> > package/qt5canvas: always use the opensource license
> > package/qt5connectivity: always use the opensource license
> > package/qt5declarative: always use the opensource license
> > package/qt5enginio: always use the opensource license
> > package/qt5graphicaleffects: always use the opensource license
> > package/qt5imageformats: always use the opensource license
> > package/qt5location: always use the opensource license
> > package/qt5multimedia: always use the opensource license
> > package/qt5quickcontrols: always use the opensource license
> > package/qt5quickcontrols2: always use the opensource license
> > package/qt5script: always use the opensource license
> > package/qt5sensors: always use the opensource license
> > package/qt5serialbus: always use the opensource license
> > package/qt5serialport: always use the opensource license
> > package/qt5svg: always use the opensource license
> > package/qt5tools: always use the opensource license
> > package/qt5webchannel: always use the opensource license
> > package/qt5webkit: always use the opensource license
> > package/qt5websockets: always use the opensource license
> > package/qt5x11extras: always use the opensource license
> > package/qt5xmlpatterns: always use the opensource license
> > configs: drop Qt/Qt5 license approval option
> > package/qt: drop option for license approved
> > package/qt5: drop option for license approved
> >
> > Config.in.legacy | 12 ++++++++++++
> > configs/beaglebone_qt5_defconfig | 1 -
> > configs/firefly_rk3288_demo_defconfig | 1 -
> > package/qt/Config.in | 11 -----------
> > package/qt/qt.mk | 6 +-----
> > package/qt5/qt53d/qt53d.mk | 5 -----
> > package/qt5/qt5base/Config.in | 12 ------------
> > package/qt5/qt5base/qt5base.mk | 5 -----
> > package/qt5/qt5canvas3d/qt5canvas3d.mk | 5 -----
> > package/qt5/qt5connectivity/qt5connectivity.mk | 5 -----
> > package/qt5/qt5declarative/qt5declarative.mk | 5 -----
> > package/qt5/qt5enginio/qt5enginio.mk | 5 -----
> > package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk | 5 -----
> > package/qt5/qt5imageformats/qt5imageformats.mk | 5 -----
> > package/qt5/qt5location/qt5location.mk | 5 -----
> > package/qt5/qt5multimedia/qt5multimedia.mk | 5 -----
> > package/qt5/qt5quickcontrols/qt5quickcontrols.mk | 5 -----
> > package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk | 5 -----
> > package/qt5/qt5script/qt5script.mk | 5 -----
> > package/qt5/qt5sensors/qt5sensors.mk | 5 -----
> > package/qt5/qt5serialbus/qt5serialbus.mk | 5 -----
> > package/qt5/qt5serialport/qt5serialport.mk | 5 -----
> > package/qt5/qt5svg/qt5svg.mk | 5 -----
> > package/qt5/qt5tools/qt5tools.mk | 5 -----
> > package/qt5/qt5webchannel/qt5webchannel.mk | 5 -----
> > package/qt5/qt5webkit/qt5webkit.mk | 5 -----
> > package/qt5/qt5websockets/qt5websockets.mk | 5 -----
> > package/qt5/qt5x11extras/qt5x11extras.mk | 5 -----
> > package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk | 5 -----
> > 29 files changed, 13 insertions(+), 145 deletions(-)
> >
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 28/29] package/qt: drop option for license approved
From: Yann E. MORIN @ 2017-04-24 15:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <3cbea545-9c8f-5502-eb50-aac7fb9a0bc5@mind.be>
Arnout, All,
On 2017-04-23 22:59 +0200, Arnout Vandecappelle spake thusly:
> On 23-04-17 22:31, Yann E. MORIN wrote:
> > As stated in previous commits, Buildroot only ever uses the free
> > license, and we do not have a click-wrap approval for any such free
> > license for any other package.
> >
> > The option to approve the license now has no prompt and is no longer
> > used anywhere. Drop it and make it a legacy entry.
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Julien Corjon <corjon.j@ecagroup.com>
> > Cc: Peter Seiderer <ps.report@gmx.net>
> > ---
> > Config.in.legacy | 6 ++++++
> > package/qt/Config.in | 4 ----
> > 2 files changed, 6 insertions(+), 4 deletions(-)
> >
> > diff --git a/Config.in.legacy b/Config.in.legacy
> > index 8e9f3d175d..52cda9808e 100644
> > --- a/Config.in.legacy
> > +++ b/Config.in.legacy
> > @@ -145,6 +145,12 @@ endif
> > ###############################################################################
> > comment "Legacy options removed in 2017.05"
> >
> > +config BR2_PACKAGE_QT_LICENSE_APPROVED
> > + bool "Qt free license now always approved"
> > + select BR2_LEGACY
> > + help
> > + Use of Qt in Buildroot now always use the free license of Qt.
>
> IMO this doesn't bring any value. If the user already has selected to approve
> the free license, nothing really changes for them so there's no point drawing
> their attention to legacy.
>
> We should instead give a legacy warning when the user *didn't* have the option
> selected. But that's not possible, of course.
>
> Therefore, I'd say we drop the legacy handling for this option.
I'm fine with this.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [git commit branch/2017.02.x] uboot: fix target uboot defconfig warning
From: Peter Korsgaard @ 2017-04-24 15:50 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=24d80453afd77e2d8b1c3384ae023b6dfe8ee38d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
The warning currently reads:
No board defconfig name specified, check your
BR2_TARGET_UBOOT_DEFCONFIG setting.
It should read:
No board defconfig name specified, check your
BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting.
Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit b7f095920a147c58f07b18f1b68553a1af03ae75)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
boot/uboot/uboot.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 6b9d544..782609a 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -293,7 +293,7 @@ endif # UBOOT_BOARD_NAME
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y)
ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG)),)
-$(error No board defconfig name specified, check your BR2_TARGET_UBOOT_DEFCONFIG setting)
+$(error No board defconfig name specified, check your BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting)
endif # qstrip BR2_TARGET_UBOOT_BOARD_DEFCONFIG
endif # BR2_TARGET_UBOOT_USE_DEFCONFIG
ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y)
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] libcurl: bump version to 7.54.0 (security)
From: Peter Korsgaard @ 2017-04-24 15:49 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=86a16f169d36825d49b1780d8b90a51b1b3e4924
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Security fixes:
- CVE-2017-7468: switch off SSL session id when client cert is used
Full changelog: https://curl.haxx.se/changes.html
Removing 0001-CVE-2017-7407.patch. It's included in this release:
https://github.com/curl/curl/commit/1890d59905414ab84a35892b2e45833654aa5c13
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 034e95e51e7dbe97a11d708c7762ff64861ec705)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libcurl/0001-CVE-2017-7407.patch | 61 --------------------------------
package/libcurl/libcurl.hash | 2 +-
package/libcurl/libcurl.mk | 2 +-
3 files changed, 2 insertions(+), 63 deletions(-)
diff --git a/package/libcurl/0001-CVE-2017-7407.patch b/package/libcurl/0001-CVE-2017-7407.patch
deleted file mode 100644
index 3a9fa48..0000000
--- a/package/libcurl/0001-CVE-2017-7407.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 6019f1795b4e3b72507b84b0e02dc8c32024f562 Mon Sep 17 00:00:00 2001
-From: Dan Fandrich <dan@coneharvesters.com>
-Date: Sat, 11 Mar 2017 10:59:34 +0100
-Subject: [PATCH] CVE-2017-7407: fixed
-
-Bug: https://curl.haxx.se/docs/adv_20170403.html
-
-Reported-by: Brian Carpenter
-[baruch: remove tests]
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-Patch status: based on upstream suggested patch[1] that combines commits
-1890d59905414ab and 8e65877870c1.
-
-[1] https://curl.haxx.se/CVE-2017-7407.patch
-
-diff --git a/src/tool_writeout.c b/src/tool_writeout.c
-index 2fb77742a..5d92bd278 100644
---- a/src/tool_writeout.c
-+++ b/src/tool_writeout.c
-@@ -3,11 +3,11 @@
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
- * \___|\___/|_| \_\_____|
- *
-- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
-+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
- *
- * This software is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at https://curl.haxx.se/docs/copyright.html.
- *
-@@ -111,11 +111,11 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo)
- char *stringp = NULL;
- long longinfo;
- double doubleinfo;
-
- while(ptr && *ptr) {
-- if('%' == *ptr) {
-+ if('%' == *ptr && ptr[1]) {
- if('%' == ptr[1]) {
- /* an escaped %-letter */
- fputc('%', stream);
- ptr += 2;
- }
-@@ -339,11 +339,11 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo)
- fputc(ptr[1], stream);
- ptr += 2;
- }
- }
- }
-- else if('\\' == *ptr) {
-+ else if('\\' == *ptr && ptr[1]) {
- switch(ptr[1]) {
- case 'r':
- fputc('\r', stream);
- break;
- case 'n':
--- 2.11.0
-
diff --git a/package/libcurl/libcurl.hash b/package/libcurl/libcurl.hash
index 9c521e9..f8885e0 100644
--- a/package/libcurl/libcurl.hash
+++ b/package/libcurl/libcurl.hash
@@ -1,2 +1,2 @@
# Locally calculated after checking pgp signature
-sha256 1c7207c06d75e9136a944a2e0528337ce76f15b9ec9ae4bb30d703b59bf530e8 curl-7.53.1.tar.bz2
+sha256 f50ebaf43c507fa7cc32be4b8108fa8bbd0f5022e90794388f3c7694a302ff06 curl-7.54.0.tar.bz2
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 0249f5c..6f4803e 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBCURL_VERSION = 7.53.1
+LIBCURL_VERSION = 7.54.0
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2
LIBCURL_SITE = https://curl.haxx.se/download
LIBCURL_DEPENDENCIES = host-pkgconf \
^ permalink raw reply related
* [Buildroot] [PATCH] buildroot: adding perftest and libraries
From: Joao Pinto @ 2017-04-24 15:48 UTC (permalink / raw)
To: buildroot
This patch adds perftest and some necessary libraries.
This patch was made using Buildroot snapshot 2017.04.24.
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
package/Config.in | 4 +++
.../0001-fix-cross-compilation-error.patch | 29 ++++++++++++++++++++++
package/libibumad/Config.in | 9 +++++++
package/libibumad/libibumad.hash | 2 ++
package/libibumad/libibumad.mk | 12 +++++++++
package/libibverbs/Config.in | 8 ++++++
package/libibverbs/libibverbs.hash | 2 ++
package/libibverbs/libibverbs.mk | 19 ++++++++++++++
package/librdmacm/Config.in | 8 ++++++
package/librdmacm/librdmacm.hash | 2 ++
package/librdmacm/librdmacm.mk | 12 +++++++++
package/perftest/Config.in | 10 ++++++++
package/perftest/perftest.hash | 2 ++
package/perftest/perftest.mk | 19 ++++++++++++++
14 files changed, 138 insertions(+)
create mode 100644 package/libibumad/0001-fix-cross-compilation-error.patch
create mode 100644 package/libibumad/Config.in
create mode 100644 package/libibumad/libibumad.hash
create mode 100644 package/libibumad/libibumad.mk
create mode 100644 package/libibverbs/Config.in
create mode 100644 package/libibverbs/libibverbs.hash
create mode 100644 package/libibverbs/libibverbs.mk
create mode 100644 package/librdmacm/Config.in
create mode 100644 package/librdmacm/librdmacm.hash
create mode 100644 package/librdmacm/librdmacm.mk
create mode 100644 package/perftest/Config.in
create mode 100644 package/perftest/perftest.hash
create mode 100644 package/perftest/perftest.mk
diff --git a/package/Config.in b/package/Config.in
index c12e5b5..c75eecd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1257,6 +1257,8 @@ menu "Networking"
source "package/libfcgi/Config.in"
source "package/libgsasl/Config.in"
source "package/libhttpparser/Config.in"
+ source "package/libibumad/Config.in"
+ source "package/libibverbs/Config.in"
source "package/libidn/Config.in"
source "package/libiscsi/Config.in"
source "package/libldns/Config.in"
@@ -1285,6 +1287,7 @@ menu "Networking"
source "package/libosip2/Config.in"
source "package/libpcap/Config.in"
source "package/libpjsip/Config.in"
+ source "package/librdmacm/Config.in"
source "package/librsync/Config.in"
source "package/libshairplay/Config.in"
source "package/libshout/Config.in"
@@ -1638,6 +1641,7 @@ endif
source "package/openswan/Config.in"
source "package/openvpn/Config.in"
source "package/p910nd/Config.in"
+ source "package/perftest/Config.in"
source "package/phidgetwebservice/Config.in"
source "package/pound/Config.in"
source "package/pppd/Config.in"
diff --git a/package/libibumad/0001-fix-cross-compilation-error.patch b/package/libibumad/0001-fix-cross-compilation-error.patch
new file mode 100644
index 0000000..e137d01
--- /dev/null
+++ b/package/libibumad/0001-fix-cross-compilation-error.patch
@@ -0,0 +1,29 @@
+From bb999ab4e2529accfbde97165964074a1ace2389 Mon Sep 17 00:00:00 2001
+Message-Id: <bb999ab4e2529accfbde97165964074a1ace2389.1492783647.git.jpinto@synopsys.com>
+From: Joao Pinto <jpinto@synopsys.com>
+Date: Fri, 21 Apr 2017 15:07:12 +0100
+Subject: [PATCH] fix cross compilation error
+
+This patch fixes the cross-compilation error "ERROR: unsafe header/library path
+used in cross-compilation: '-I/usr/include'".
+
+Signed-off-by: Joao Pinto <jpinto@synopsys.com>
+---
+ Makefile.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 2b50610..eb38dec 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -296,7 +296,6 @@ ACLOCAL_AMFLAGS = -I config
+ SUBDIRS = .
+ INCLUDES = -I$(srcdir)/include/infiniband \
+ -I$(srcdir)/include \
+- -I$(includedir)
+
+ man_MANS = man/umad_debug.3 man/umad_get_ca.3 \
+ man/umad_get_ca_portguids.3 man/umad_get_cas_names.3 \
+--
+2.9.3
+
diff --git a/package/libibumad/Config.in b/package/libibumad/Config.in
new file mode 100644
index 0000000..bd981a2
--- /dev/null
+++ b/package/libibumad/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBIBUMAD
+ bool "libibumad"
+ select BR2_PACKAGE_LIBIBVERBS
+ help
+ It is a library that provides userspace Infiniband Management
+ Datagram (uMAD) functions which sit on top of the uMAD modules in the
+ kernel. These are used by InfiniBand diagnostic and management tools.
+
+ https://www.openfabrics.org
diff --git a/package/libibumad/libibumad.hash b/package/libibumad/libibumad.hash
new file mode 100644
index 0000000..c01d477
--- /dev/null
+++ b/package/libibumad/libibumad.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 500f74e31bd9f3d6c32dea912de3a2d1b299f3f23d7abd893652dd45c77a7e2e libibumad-1.3.10.2.tar.gz
diff --git a/package/libibumad/libibumad.mk b/package/libibumad/libibumad.mk
new file mode 100644
index 0000000..6379948
--- /dev/null
+++ b/package/libibumad/libibumad.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# LIBIBUMAD
+#
+################################################################################
+
+LIBIBUMAD_VERSION = 1.3.10.2
+LIBIBUMAD_SOURCE = libibumad-$(LIBIBUMAD_VERSION).tar.gz
+LIBIBUMAD_SITE = https://www.openfabrics.org/downloads/management
+LIBIBUMAD_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
diff --git a/package/libibverbs/Config.in b/package/libibverbs/Config.in
new file mode 100644
index 0000000..dd47022
--- /dev/null
+++ b/package/libibverbs/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBIBVERBS
+ bool "libibverbs"
+ help
+ It is a library that allows userspace processes to use RDMA "verbs"
+ as described in the InfiniBand Architecture Specification and the
+ RDMA Protocol Verbs Specification.
+
+ https://www.openfabrics.org
diff --git a/package/libibverbs/libibverbs.hash b/package/libibverbs/libibverbs.hash
new file mode 100644
index 0000000..08773a9
--- /dev/null
+++ b/package/libibverbs/libibverbs.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 844b4d50d476ebbaaf601929641b0e3c51d58daf56c7269914c1edc32c8beeec libibverbs-1.1.7.tar.gz
diff --git a/package/libibverbs/libibverbs.mk b/package/libibverbs/libibverbs.mk
new file mode 100644
index 0000000..859e1f3
--- /dev/null
+++ b/package/libibverbs/libibverbs.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# LIBIBVERBS
+#
+################################################################################
+
+LIBIBVERBS_VERSION = 1.1.7
+LIBIBVERBS_SOURCE = libibverbs-$(LIBIBVERBS_VERSION).tar.gz
+LIBIBVERBS_SITE = https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/snapshot
+LIBIBVERBS_INSTALL_STAGING = YES
+
+# autogen.sh is because autotools stuff lives in other directories and
+# even AUTORECONF with _OPTS doesn't do it properly.
+define LIBIBVERBS_RUN_AUTOGEN
+ cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBIBVERBS_POST_PATCH_HOOKS += LIBIBVERBS_RUN_AUTOGEN
+
+$(eval $(autotools-package))
diff --git a/package/librdmacm/Config.in b/package/librdmacm/Config.in
new file mode 100644
index 0000000..4c8a1dc
--- /dev/null
+++ b/package/librdmacm/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBRDMACM
+ bool "librdmacm"
+ select BR2_PACKAGE_LIBIBVERBS
+ help
+ It is a library that allows applications to set up reliable connected
+ and unreliable datagram transfers when using RDMA adapters
+
+ https://www.openfabrics.org
diff --git a/package/librdmacm/librdmacm.hash b/package/librdmacm/librdmacm.hash
new file mode 100644
index 0000000..3351bc5
--- /dev/null
+++ b/package/librdmacm/librdmacm.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b4a2a0a4f70c22611ca35aa8b9699420872803cba5af28ae3ca57dd90b60c6c6 librdmacm-1.0.15.tar.gz
diff --git a/package/librdmacm/librdmacm.mk b/package/librdmacm/librdmacm.mk
new file mode 100644
index 0000000..ac37c1f
--- /dev/null
+++ b/package/librdmacm/librdmacm.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# LIBRDMACM
+#
+################################################################################
+
+LIBRDMACM_VERSION = 1.0.15
+LIBRDMACM_SOURCE = librdmacm-$(LIBRDMACM_VERSION).tar.gz
+LIBRDMACM_SITE = https://www.openfabrics.org/downloads/rdmacm
+LIBRDMACM_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
diff --git a/package/perftest/Config.in b/package/perftest/Config.in
new file mode 100644
index 0000000..6273cf3
--- /dev/null
+++ b/package/perftest/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERFTEST
+ bool "perftest"
+ select BR2_PACKAGE_LIBIBUMAD
+ select BR2_PACKAGE_LIBRDMACM
+ help
+ It is a collection of tests written using Infiniband verbs intended
+ for use as a performance micro-benchmark. The tests can measure the
+ latency and bandwidth of Infiniband fabrics.
+
+ https://www.openfabrics.org
diff --git a/package/perftest/perftest.hash b/package/perftest/perftest.hash
new file mode 100644
index 0000000..123330e
--- /dev/null
+++ b/package/perftest/perftest.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 6078dd4fc66d85ff1439ad8fe26cc0689ad18f24459fe3e7d20feda58c6d4609 perftest-3.4-0.9.g98a9a17.tar.gz
diff --git a/package/perftest/perftest.mk b/package/perftest/perftest.mk
new file mode 100644
index 0000000..dc16e4b
--- /dev/null
+++ b/package/perftest/perftest.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# PERFTEST
+#
+################################################################################
+
+PERFTEST_VERSION = 3.4-0.9.g98a9a17
+PERFTEST_SOURCE = perftest-$(PERFTEST_VERSION).tar.gz
+PERFTEST_SITE = https://www.openfabrics.org/downloads/perftest
+PERFTEST_INSTALL_STAGING = YES
+
+# autogen.sh is because autotools stuff lives in other directories and
+# even AUTORECONF with _OPTS doesn't do it properly.
+define PERFTEST_RUN_AUTOGEN
+ cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+PERFTEST_POST_PATCH_HOOKS += PERFTEST_RUN_AUTOGEN
+
+$(eval $(autotools-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] libnss: security bump to version 3.30.2
From: Peter Korsgaard @ 2017-04-24 15:47 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bb64a4f87e959d07ac7dd325d05c6afd1f2592ee
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
CVE-2017-5461 - Out-of-bounds write in Base64 encoding in NSS. Might cause
remote arbitrary code execution
(https://access.redhat.com/errata/RHSA-2017:1100).
CVE-2017-5462 - DRBG flaw in NSS
Drop 0001-cross-compile.patch and TARGET* variables. Upstream Makefile now
allows override of CC, so use TARGET_CONFIGURE_OPTS instead.
Drop upstream 0003-it-uninitialized-fix.patch.
Renumber the remaining patch.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 09b8e1079ec97d9843430930414a95ac8450a652)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libnss/0001-cross-compile.patch | 48 ----------------------
.../{0002-uclibc.patch => 0001-uclibc.patch} | 0
package/libnss/0003-it-uninitialized-fix.patch | 24 -----------
package/libnss/libnss.hash | 4 +-
package/libnss/libnss.mk | 12 ++----
5 files changed, 6 insertions(+), 82 deletions(-)
diff --git a/package/libnss/0001-cross-compile.patch b/package/libnss/0001-cross-compile.patch
deleted file mode 100644
index 31de71b..0000000
--- a/package/libnss/0001-cross-compile.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-This patch allows us to set a value for the cross compiler via TARGETCC without
-setting CC on the command line. CC is used for host tools as well as cross
-compiled code so we cannot define it on the command line without breaking
-the host tools build.
-
-[Gustavo: update for nss 3.16.1]
-[baruch: add OPTIMIZER handling]
-Signed-off-by: Will Newton <will.newton@imgtec.com>
-
-diff -Nuar nss-3.16.1-orig/nss/coreconf/Linux.mk nss-3.16.1/nss/coreconf/Linux.mk
---- nss-3.16.1-orig/nss/coreconf/Linux.mk 2014-05-02 06:27:18.000000000 +0300
-+++ nss-3.16.1/nss/coreconf/Linux.mk 2014-07-01 02:38:18.701480512 +0300
-@@ -16,9 +16,13 @@
- IMPL_STRATEGY = _PTH
- endif
-
--CC = gcc
--CCC = g++
--RANLIB = ranlib
-+TARGETCC = gcc
-+TARGETCCC = g++
-+TARGETRANLIB = ranlib
-+
-+CC = $(TARGETCC)
-+CCC = $(TARGETCCC)
-+RANLIB = $(TARGETRANLIB)
-
- DEFAULT_COMPILER = gcc
-
-@@ -125,6 +129,7 @@
- endif
- endif
-
-+OPTIMIZER = $(TARGET_OPTIMIZER)
-
- ifeq ($(USE_PTHREADS),1)
- OS_PTHREAD = -lpthread
-diff -Nuar nss-3.16.1-orig/nss/coreconf/nsinstall/Makefile nss-3.16.1/nss/coreconf/nsinstall/Makefile
---- nss-3.16.1-orig/nss/coreconf/nsinstall/Makefile 2014-05-02 06:27:18.000000000 +0300
-+++ nss-3.16.1/nss/coreconf/nsinstall/Makefile 2014-07-01 02:38:48.102185011 +0300
-@@ -31,6 +31,7 @@
-
- ifdef NATIVE_FLAGS
- OS_CFLAGS=$(NATIVE_FLAGS)
-+OPTIMIZER=
- endif
-
- include $(DEPTH)/coreconf/rules.mk
diff --git a/package/libnss/0002-uclibc.patch b/package/libnss/0001-uclibc.patch
similarity index 100%
rename from package/libnss/0002-uclibc.patch
rename to package/libnss/0001-uclibc.patch
diff --git a/package/libnss/0003-it-uninitialized-fix.patch b/package/libnss/0003-it-uninitialized-fix.patch
deleted file mode 100644
index 7736c6a..0000000
--- a/package/libnss/0003-it-uninitialized-fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-# HG changeset patch
-# User catdesk <catdesk@tuta.io>
-# Date 1477710600 -7200
-# Sat Oct 29 05:10:00 2016 +0200
-# Node ID b9ef971b94ab110302d49255339077bc1b4aed7f
-# Parent eb8c96563cd70aa69d48b01516085f7d2fb46178
-Bug 1313846 - Declare 'it = NULL' earlier. r=franziskus
-
-[Thomas: patch taken from upstream mercurial repository, revision
-12791.]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-diff -r eb8c96563cd7 -r b9ef971b94ab lib/jar/jarfile.c
---- a/nss/lib/jar/jarfile.c Mon Oct 31 17:31:20 2016 +0100
-+++ b/nss/lib/jar/jarfile.c Sat Oct 29 05:10:00 2016 +0200
-@@ -657,7 +657,7 @@
- jar_listzip(JAR *jar, JAR_FILE fp)
- {
- ZZLink *ent;
-- JAR_Item *it;
-+ JAR_Item *it = NULL;
- JAR_Physical *phy = NULL;
- struct ZipLocal *Local = PORT_ZNew(struct ZipLocal);
- struct ZipCentral *Central = PORT_ZNew(struct ZipCentral);
diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash
index 975e52d..7be7e48 100644
--- a/package/libnss/libnss.hash
+++ b/package/libnss/libnss.hash
@@ -1,2 +1,2 @@
-# From https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_27_2_RTM/src/SHA256SUMS
-sha256 dc8ac8524469d0230274fd13a53fdcd74efe4aa67205dde1a4a92be87dc28524 nss-3.27.2.tar.gz
+# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_30_2_RTM/src/SHA256SUMS
+sha256 0d4a77ff26bcee79fa8afe0125e0df6ae9e798b6b36782fa29e28febf7cfce24 nss-3.30.2.tar.gz
diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
index 76532e8..3c38bb0 100644
--- a/package/libnss/libnss.mk
+++ b/package/libnss/libnss.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNSS_VERSION = 3.27.2
+LIBNSS_VERSION = 3.30.2
LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src
LIBNSS_DISTDIR = dist
@@ -33,9 +33,6 @@ LIBNSS_BUILD_VARS = \
NSS_USE_SYSTEM_SQLITE=1 \
NSS_ENABLE_ECC=1 \
NATIVE_CC="$(HOSTCC)" \
- TARGETCC="$(TARGET_CC)" \
- TARGETCCC="$(TARGET_CXX)" \
- TARGETRANLIB="$(TARGET_RANLIB)" \
OS_ARCH="Linux" \
OS_RELEASE="2.6" \
OS_TEST="$(ARCH)"
@@ -55,17 +52,16 @@ endif
endif
define LIBNSS_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss coreconf \
+ $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss coreconf \
SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
DIST=$(@D)/$(LIBNSS_DISTDIR) \
CHECKLOC= \
$(LIBNSS_BUILD_VARS)
- $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss lib/dbm all \
+ $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss lib/dbm all \
SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
DIST=$(@D)/$(LIBNSS_DISTDIR) \
CHECKLOC= \
- $(LIBNSS_BUILD_VARS) TARGET_OPTIMIZER="$(TARGET_CFLAGS)" \
- NATIVE_FLAGS="$(HOST_CFLAGS)"
+ $(LIBNSS_BUILD_VARS) NATIVE_FLAGS="$(HOST_CFLAGS)"
endef
define LIBNSS_INSTALL_STAGING_CMDS
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] libnspr: bump to version 4.14
From: Peter Korsgaard @ 2017-04-24 15:47 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=6736d2f604ef037ecb07d073e97062c637bed674
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 7e1f3171ac98dd25d5e656a888bcff046353087d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libnspr/libnspr.hash | 4 ++--
package/libnspr/libnspr.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/libnspr/libnspr.hash b/package/libnspr/libnspr.hash
index a4b19b7..9111a32 100644
--- a/package/libnspr/libnspr.hash
+++ b/package/libnspr/libnspr.hash
@@ -1,2 +1,2 @@
-# From https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.13.1/src/SHA256SUMS
-sha256 5e4c1751339a76e7c772c0c04747488d7f8c98980b434dc846977e43117833ab nspr-4.13.1.tar.gz
+# From https://ftp.mozilla.org/pub/nspr/releases/v4.14/src/SHA256SUMS
+sha256 64fc18826257403a9132240aa3c45193d577a84b08e96f7e7770a97c074d17d5 nspr-4.14.tar.gz
diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk
index d95f970..f891bb3 100644
--- a/package/libnspr/libnspr.mk
+++ b/package/libnspr/libnspr.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNSPR_VERSION = 4.13.1
+LIBNSPR_VERSION = 4.14
LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz
LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src
LIBNSPR_SUBDIR = nspr
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] package/linux-headers: bump 3.12.x and 4.{4, 9, 10}.x series
From: Peter Korsgaard @ 2017-04-24 15:46 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bce9b77e0434aff0016bf67a85a2e2d2e5dcde4f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
[Peter: drop 4.10.x bump]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit a96a8435d572a76b7529435a243654ab48bc6370)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
| 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index a414fe0..f4a8430 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -217,12 +217,12 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "3.2.88" if BR2_KERNEL_HEADERS_3_2
default "3.4.113" if BR2_KERNEL_HEADERS_3_4
default "3.10.105" if BR2_KERNEL_HEADERS_3_10
- default "3.12.72" if BR2_KERNEL_HEADERS_3_12
+ default "3.12.73" if BR2_KERNEL_HEADERS_3_12
default "3.18.48" if BR2_KERNEL_HEADERS_3_18
default "3.19.8" if BR2_KERNEL_HEADERS_3_19
default "4.0.9" if BR2_KERNEL_HEADERS_4_0
default "4.1.39" if BR2_KERNEL_HEADERS_4_1
- default "4.4.61" if BR2_KERNEL_HEADERS_4_4
+ default "4.4.62" if BR2_KERNEL_HEADERS_4_4
default "4.8.17" if BR2_KERNEL_HEADERS_4_8
- default "4.9.22" if BR2_KERNEL_HEADERS_4_9
+ default "4.9.23" if BR2_KERNEL_HEADERS_4_9
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] package/libunwind: disable for x86 with uClibc toolchain
From: Peter Korsgaard @ 2017-04-24 15:45 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=892e908120cebbc4ef2a8af7aa1a41d12d1280e3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
libunwind use sigreturn() while building for x86 [1] but this function
is not available with uClibc-ng.
This throw a warning during libunwind build:
In file included from x86/Los-linux.c:4:0:
x86/Gos-linux.c: In function ???_ULx86_local_resume???:
x86/Gos-linux.c:298:7: warning: implicit declaration of function ???sigreturn??? [-Wimplicit-function-declaration]
sigreturn (sc);
^
But any program trying to link against libunwind-generic.so fail to build:
[...]usr/lib/libunwind-generic.so: undefined reference to `sigreturn'
collect2: error: ld returned 1 exit status
Disable libunwind for x86 target when uClibc-ng is used.
Fixes:
http://autobuild.buildroot.net/results/54a/54afac8148cff5f3c17e83f80917fd9006948fe0//build-end.log
[1] http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=src/x86/Gos-linux.c;h=17aebc2974af50eb0bf8292689b2ed22a4c97866;hb=HEAD#l299
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit c5b56b0a20b2be24878d8bae66fbe665e8fea698)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libunwind/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libunwind/Config.in b/package/libunwind/Config.in
index 5527a2b..9007ce5 100644
--- a/package/libunwind/Config.in
+++ b/package/libunwind/Config.in
@@ -15,7 +15,7 @@ config BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
BR2_mips64el || BR2_powerpc || BR2_sh || BR2_i386 || BR2_x86_64)
default y if BR2_TOOLCHAIN_USES_UCLIBC && \
(((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
- BR2_i386 || BR2_mips || BR2_mipsel || \
+ BR2_mips || BR2_mipsel || \
BR2_mips64 || BR2_mips64el || BR2_x86_64)
default y if BR2_TOOLCHAIN_USES_MUSL && \
(((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] which: update homepage URL
From: Peter Korsgaard @ 2017-04-24 15:44 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=de2534bb545d7f656e1a33b75ab873acb12056ea
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 8e9a990ae96c2da7f6d237223674d6215ddd5e34)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/which/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/which/Config.in b/package/which/Config.in
index db090ea..0dc31b2 100644
--- a/package/which/Config.in
+++ b/package/which/Config.in
@@ -4,4 +4,4 @@ config BR2_PACKAGE_WHICH
help
The standard 'which' utility.
- http://www.xs4all.nl/~carlo17/which/
+ http://carlowood.github.io/which/index.html
^ permalink raw reply related
* [Buildroot] [git commit branch/2017.02.x] package/mpv: disable cuda support
From: Peter Korsgaard @ 2017-04-24 15:44 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=7e48857917e746bad70ce08464461d6843ed1ac8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
mpv wrongly detects cuda being available:
Checking for CUDA hwaccel : yes
leading to build errors.
Fixes
http://autobuild.buildroot.net/results/e89/e892a537265ad7259024403a0bb3ca5da85ed096/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 030bebd7f137ffc9c41d4911c7957f720ed971c6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/mpv/mpv.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 5b83b6d..25b54e5 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -23,6 +23,7 @@ MPV_CONF_OPTS = \
--disable-cdda \
--disable-cocoa \
--disable-coreaudio \
+ --disable-cuda-hwaccel \
--disable-libv4l2 \
--disable-opensles \
--disable-rpi \
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] busybox: preserve ncurses progs/tools
From: Danomi Manchego @ 2017-04-24 15:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <8b127902-0268-8307-70da-065362773da9@mind.be>
Arnout,
On Sun, Apr 23, 2017 at 4:55 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> 2. Make sure that busybox doesn't overwrite a tool that already exists. Needs to
> be done for all the different ways that busybox can install things. Then the
> order doesn't matter. Great solution, except for the bloatification. Also, it is
> not great when you have FEATURE_INDIVIDUAL selected in busybox, because a
> busybox-rebuild will not actually rebuild anything.
Does https://git.buildroot.net/buildroot/commit/?id=802bff9c42376078f28aa49d3eab630120940eb0
not take care of overwriting tools that already exist?
Danomi -
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox