buildroot.git
6 years agosupport/testing: add python-autobahn tests
Ricardo Martincoski [Wed, 26 Sep 2018 02:55:10 +0000 (23:55 -0300)]
support/testing: add python-autobahn tests

Add a simple test case that imports the module.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/proftpd: add ftpasswd
Jared Bents [Fri, 28 Sep 2018 17:57:39 +0000 (12:57 -0500)]
package/proftpd: add ftpasswd

- Copies over ftpasswd if perl is enabled

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/proftpd: add mod_{sql, quotatab} support
Jared Bents [Fri, 28 Sep 2018 17:57:38 +0000 (12:57 -0500)]
package/proftpd: add mod_{sql, quotatab} support

- Enables mod_sql which is required for quotatab_sql
- Adds options for enabling mod_quotatab and the sub-component
  file/LDAP/RADIUS/SQL modules
- Copies over ftpquota script if perl and mod_quotatab are
  enabled (This script isn't required but is an additional tool
  for mod_quotatab)

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofwts: bump to version V18.09.00
Erico Nunes [Wed, 26 Sep 2018 22:39:14 +0000 (00:39 +0200)]
fwts: bump to version V18.09.00

Build- and run-tested on x86_64 and aarch64.
Rebased -Werror removal patch, it didn't apply anymore because one of
the files added a license header at the top.
Added libbsd dependency which is required since V18.08.00 for the
"bsd/string.h" header.
Reordered list of Config.in dependencies to match the toolchain
requirements comment order.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofreetype: drop calling autogen, no longer needed
Thomas Petazzoni [Wed, 3 Oct 2018 13:40:01 +0000 (15:40 +0200)]
freetype: drop calling autogen, no longer needed

In commit a31a66802a7a1af76a629b0ba7120424ed547646 ("freetype:
security bump to version 2.5.3"), the freetype package was changed to
call ./autogen.sh to regenerate the autotools stuff, because the
ltmain.sh provided by upstream freetype was not compatible with
Buildroot libtool-patching logic.

Since then, freetype has been bumped several times, and the current
version packaged in Buildroot has an ltmain.sh that is compatible with
our libtool-patching logic.

Therefore, this commit drops the no longer needed autogen stuff.

This autogen stuff was badly breaking per-package host/target
directory, because the autogen happened at the post-patch hook step,
at which point the host-automake/host-autoconf/host-libtool
dependencies have not yet been copied into this package host
directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopigpio: needs thread support
Grzegorz Blach [Thu, 11 Oct 2018 12:36:41 +0000 (14:36 +0200)]
pigpio: needs thread support

Fixes:

  http://autobuild.buildroot.net/results/2f64c993db402decf92a5f8010033acdbc6b884f/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogzip: fix build with glibc 2.28
Yegor Yefremov [Thu, 11 Oct 2018 12:08:19 +0000 (14:08 +0200)]
gzip: fix build with glibc 2.28

Apply the patch taken from OpenEmbedded:
https://patches.openembedded.org/patch/153323/

The patch handles glibc 2.28 libio.h removal.

Fixes:
http://autobuild.buildroot.net/results/69c5c5a3ec7fb320959f1788f1b6d5a99cfc50b1

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: use system liblinear
Fabrice Fontaine [Tue, 9 Oct 2018 17:22:17 +0000 (19:22 +0200)]
nmap: use system liblinear

Use system liblinear instead of using included liblinear.
liblinear in buildroot is at version 2.20 released on December 2017
whereas liblinear in nmap has not been updated since 7 years (except for
liblinear.vcxproj which has been updated 2 years ago)

Do not use --with-liblinear option as otherwise nmap will forget to add
-llinear to LIBS due to the following line in configure.ac:

if test $have_liblinear != yes; then
  AC_CHECK_HEADERS([linear.h],
    AC_CHECK_LIB(linear, predict, [have_liblinear=yes; LIBLINEAR_LIBS="-llinear"; break],, [-lm])
)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsepol: remove library host symlink
Fabrice Fontaine [Wed, 10 Oct 2018 21:24:17 +0000 (23:24 +0200)]
libsepol: remove library host symlink

Since bump to version 2.7 and addition of
0003-revert-ln-relative.patch, the creation of a symlink through
ln -sf libsepol.so.1 $(HOST_DIR)/lib/libsepol.so
is not needed anymore so remove it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibselinux: remove library host symlink
Fabrice Fontaine [Wed, 10 Oct 2018 21:24:16 +0000 (23:24 +0200)]
libselinux: remove library host symlink

Since bump to version 2.7 and addition of
0003-revert-ln-relative.patch, the creation of a symlink through
ln -sf libselinux.so.1 $(HOST_DIR)/lib/libselinux.so
is not needed anymore so remove it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ntp: fix md5sum.
Artyom Panfilov [Wed, 10 Oct 2018 21:01:45 +0000 (21:01 +0000)]
package/ntp: fix md5sum.

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-subprocess32: bump to version 3.5.3
Asaf Kahlon [Wed, 10 Oct 2018 19:54:34 +0000 (22:54 +0300)]
python-subprocess32: bump to version 3.5.3

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: fix build breakage on soft-float configurations
Yegor Yefremov [Thu, 11 Oct 2018 06:23:48 +0000 (08:23 +0200)]
glibc: fix build breakage on soft-float configurations

On platforms with soft floating point glibc produces a compile time
warning (maybe-uninitialized) that will be regarded as an error.

Add upstream patch fixing this issue.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: improve BSD licence handling
Yegor Yefremov [Thu, 11 Oct 2018 05:54:11 +0000 (07:54 +0200)]
scanpypi: improve BSD licence handling

When used without spdx_lookup the BSD licence cannot be
detected correctly because many Python packages just specify
BSD without the exact version in their metadata. So add a
special message warning the user instead of the licence id.

Bonus: fix typo.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_macchiatobin_marvell: bump component versions
Thomas Petazzoni [Fri, 14 Sep 2018 15:33:26 +0000 (17:33 +0200)]
configs/solidrun_macchiatobin_marvell: bump component versions

Bump Linux to armada-18.09, U-Boot to armada-18.09.1 and ATF to
armada-18.09.4.

Note that we continue to use the Linux 4.4.x kernel provided by
Marvell, and not yet their Marvell 4.14.x version. Indeed Marvell
currently considers its 4.4.x BSP as the feature-complete and stable
one, while 4.14.x is in development/QA and is expected to become the
new default BSP by the end of 2018. So let's stick with 4.4.x for now,
since the aim of this defconfig is to provide the vendor BSP.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_macchiatobin_mainline: bump component versions
Thomas Petazzoni [Fri, 14 Sep 2018 15:33:25 +0000 (17:33 +0200)]
configs/solidrun_macchiatobin_mainline: bump component versions

Bump Linux to 4.18, U-Boot to 2018.09, and ATF to armada-18.09.4.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/arm-trusted-firmware: don't pass TARGET_CONFIGURE_OPTS when building
Thomas Petazzoni [Fri, 14 Sep 2018 15:33:24 +0000 (17:33 +0200)]
boot/arm-trusted-firmware: don't pass TARGET_CONFIGURE_OPTS when building

Passing CFLAGS/CPPFLAGS in the environment confuses the ATF version
provided by Marvell, and we in fact only need to pass CROSS_COMPILE,
which is already in ARM_TRUSTED_FIRMWARE_MAKE_OPTS.

We however keep TARGET_MAKE_ENV so that the PATH with $(HOST_DIR) is
kept.

This change has been tested with all current defconfigs that build
ATF:

 - arm_juno
 - bananapi_m64
 - freescale_imx8mqevk
 - friendlyarm_nanopi_a64
 - friendlyarm_nanopi_neo2
 - nitrogen8m
 - olimex_a64_olinuxino
 - orangepi_pc2
 - orangepi_prime
 - orangepi_win
 - orangepi_zero_plus2
 - pine64
 - pine64_sopine
 - solidrun_macchiatobin_mainline
 - solidrun_macchiatobin_marvell
 - zynqmp_zcu106

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/binaries-marvell: bump version to marvell-armada-18.06
Thomas Petazzoni [Fri, 14 Sep 2018 15:33:23 +0000 (17:33 +0200)]
boot/binaries-marvell: bump version to marvell-armada-18.06

Note that the license file has been entirely rewritten (hence the
change in the hash), but it is still GPL-2.0 with FreeRTOS exception.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/mv-ddr-marvell: bump version to armada-18.09.2
Thomas Petazzoni [Fri, 14 Sep 2018 15:33:22 +0000 (17:33 +0200)]
boot/mv-ddr-marvell: bump version to armada-18.09.2

This is necessary to be able to bump the ARM Trusted Firmware version
used on Marvell platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: context needs C++11
Fabrice Fontaine [Tue, 21 Aug 2018 21:25:47 +0000 (23:25 +0200)]
boost: context needs C++11

Without std=c++11, mutex is not always correctly detected with gcc 4.7,
4.8 or even 5.x. As a result, boost_thread is wrongly selected by
boost_context.

mutex is available on gcc 4.7.x, the issue is that boost does not
correctly detect it because -std=c++11 was missing.
Keep thread select for gcc version lower or equal to 4.6. mutex is
available since gcc 4.4 (with std=c++0x) but common buildroot practice
for C++11 packages is to have a dependency on gcc 4.7, 4.8 or 4.9
depending on the requested C++11 features.

Fixes:
 - http://autobuild.buildroot.net/results/fb046c04fe18bec973d120e4ab33971f32ba5769
 - http://autobuild.buildroot.net/results/99f1a255b78a973faeb8bf3b94d78efc54426a8b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: update upstream status of 0005-fix-static-detection-of-lock-free-atomic-ints...
Thomas Petazzoni [Wed, 10 Oct 2018 19:48:51 +0000 (21:48 +0200)]
boost: update upstream status of 0005-fix-static-detection-of-lock-free-atomic-ints.patch

The patch has been accepted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: fix static detection of lock-free atomic ints
Fabrice Fontaine [Wed, 5 Sep 2018 10:51:27 +0000 (12:51 +0200)]
boost: fix static detection of lock-free atomic ints

When build statically, boost is unable to detect lock-free atomics ints
because it tries to link dynamically, see
output/build/boost-1.67.0/bin.v2/config.log (with -d5 option):

Using shell: /bin/sh -c
    argv[0] = '/bin/sh'
    argv[1] = '-c'
    argv[2] = '
    "/home/fabrice/buildroot/output/host/bin/arm-linux-g++"   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -Wl,-elf2flt -static  -Wl,-elf2flt -static -fPIC -pthread -O0 -fno-inline -Wall -pedantic -g -Wextra -Wno-long-long -Wno-unused-parameter -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1  -I"." -c -o "bin.v2/libs/thread/build/gcc-6.4.0/debug/threading-multi/has_atomic_flag_lockfree_test.o" "libs/thread/src/../build/has_atomic_flag_lockfree_test.cpp"
'
gcc.compile.c++ bin.v2/libs/thread/build/gcc-6.4.0/debug/threading-multi/has_atomic_flag_lockfree_test.o

    "/home/fabrice/buildroot/output/host/bin/arm-linux-g++"   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -Wl,-elf2flt -static  -Wl,-elf2flt -static -fPIC -pthread -O0 -fno-inline -Wall -pedantic -g -Wextra -Wno-long-long -Wno-unused-parameter -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1  -I"." -c -o "bin.v2/libs/thread/build/gcc-6.4.0/debug/threading-multi/has_atomic_flag_lockfree_test.o" "libs/thread/src/../build/has_atomic_flag_lockfree_test.cpp"

0.033561 sec system; 0.126314 sec user; 288.682473 sec clock
gcc.compile.c++ bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/error_code.o

    "/home/fabrice/buildroot/output/host/bin/arm-linux-g++"   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -Wl,-elf2flt -static  -Wl,-elf2flt -static -fPIC -pthread -O0 -fno-inline -Wall -pedantic -g  -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1  -I"." -c -o "bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/error_code.o" "libs/system/src/error_code.cpp"

0.084060 sec system; 0.644133 sec user; 8.858824 sec clock
SEM: <s>gcc-link-semaphore now used by <pbin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi>libboost_system.so.1.67.0
Using shell: /bin/sh -c
    argv[0] = '/bin/sh'
    argv[1] = '-c'
    argv[2] = '
    "/home/fabrice/buildroot/output/host/bin/arm-linux-g++"    -o "bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/libboost_system.so.1.67.0" -Wl,-h -Wl,libboost_system.so.1.67.0 -shared -Wl,--start-group "bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/error_code.o"  -Wl,-Bstatic  -Wl,-Bdynamic -lrt -Wl,--end-group -fPIC -pthread -g  -Wl,-elf2flt -static
'
gcc.link.dll bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/libboost_system.so.1.67.0

    "/home/fabrice/buildroot/output/host/bin/arm-linux-g++"    -o "bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/libboost_system.so.1.67.0" -Wl,-h -Wl,libboost_system.so.1.67.0 -shared -Wl,--start-group "bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/error_code.o"  -Wl,-Bstatic  -Wl,-Bdynamic -lrt -Wl,--end-group -fPIC -pthread -g  -Wl,-elf2flt -static

ld (ld-elf2flt): -shared used without passing a shared library ID
collect2: error: ld a retourné le statut de sortie 1
0.003123 sec system; 0.004732 sec user; 15.646509 sec clock
...failed gcc.link.dll bin.v2/libs/system/build/gcc-6.4.0/debug/threading-multi/libboost_system.so.1.67.0...

Due to this wrong detection, boost_atomic is wrongly selected by
boost_thread which cause a build failure on missing select

To fix this, move the exe statement before the boost/thread project

Fixes:
 - http://autobuild.buildroot.org/results/f46d38991385cbc2a4fa14eb31074e770cd79803

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pkg-generic.mk: increase precision of timestamps
Thomas Petazzoni [Fri, 21 Sep 2018 13:31:16 +0000 (15:31 +0200)]
package/pkg-generic.mk: increase precision of timestamps

Currently, the timestamps that we keep in build-time.log use a
second-level precision. However, as we are going to introduce a new
type of graph to draw the time line of a build, this precision is
going to be insufficient, as a number of steps are so short that they
are not even one second long, and generally the rounding to the second
gives a not so great looking graph.

Therefore, we add to the timestamps the nanoseconds using the %N date
specifier. A milli-second precision would have been sufficient, but %N
is all what date(1) provides at the sub-second level.

Since this is changing the format of the build-time.log file, this
commit adjusts the support/scripts/graph-build-time script
accordingly, to account for the floating point numbers that we have as
timestamps.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ntp: security bump to version 4.2.8p12
Artyom Panfilov [Wed, 10 Oct 2018 09:03:05 +0000 (09:03 +0000)]
package/ntp: security bump to version 4.2.8p12

Release notes:
https://www.nwtime.org/network-time-foundation-publishes-ntp-4-2-8p12

Fixed security issues:

  CVE-2016-1549 / CVE-2018-7170: Sybil vulnerability: ephemeral association
  attack

  CVE-2018-12327: The openhost() function used during command-line hostname
  processing by ntpq and ntpdc can write beyond its buffer limit

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: enable JIT support on 32-bit MIPS
Adrian Perez de Castro [Tue, 9 Oct 2018 22:08:51 +0000 (01:08 +0300)]
webkitgtk: enable JIT support on 32-bit MIPS

WebKitGTK+ is known to work on all 32-bit MIPS R2 processors
or newer, in little-endian mode.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: enable package for aarch64
Adrian Perez de Castro [Tue, 9 Oct 2018 22:08:50 +0000 (01:08 +0300)]
webkitgtk: enable package for aarch64

64-bit ARM is well supported, particularly in little-endian
configurations, where JavaScriptCore JIT can be enabled as well.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: move JSC JIT selection logic to kconfig
Adrian Perez de Castro [Tue, 9 Oct 2018 22:08:49 +0000 (01:08 +0300)]
webkitgtk: move JSC JIT selection logic to kconfig

This is done in preparation to enable the JavaScriptCore JIT support
for more platforms. Having the logic in Config.in scales better than
checking in the .mk file.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-*: regeneration of Config.in files
Francois Perrad [Wed, 10 Oct 2018 15:56:36 +0000 (17:56 +0200)]
perl-*: regeneration of Config.in files

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: generate a conventional comment
Francois Perrad [Wed, 10 Oct 2018 15:56:35 +0000 (17:56 +0200)]
scancpan: generate a conventional comment

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxerces: bump to version 3.2.2
Fabrice Fontaine [Wed, 10 Oct 2018 18:03:32 +0000 (20:03 +0200)]
xerces: bump to version 3.2.2

- Remove patch (already in version)
- Move to cmake infrastructure because AC_RUN_IFELSE was added to
  configure
- Remove --with-icu, --with-gnu-ld and --with-curl options (not
  available in cmake)
- Replace --enable-netaccessor-curl by -Dnetwork-accessor=curl
- Replace --enable-threads option by -Dthreads
- Update XERCES_DISABLE_SAMPLES for cmake
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojasper: bump to version 2.0.14
Fabrice Fontaine [Tue, 9 Oct 2018 20:16:52 +0000 (22:16 +0200)]
jasper: bump to version 2.0.14

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojasper: update license
Fabrice Fontaine [Tue, 9 Oct 2018 20:16:51 +0000 (22:16 +0200)]
jasper: update license

Add hash for license file and use SPDX short term identifier

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoptpd2: fix build failures due to EVP_MD_CTX conflict and U64 missing
Giulio Benetti [Fri, 31 Aug 2018 22:48:45 +0000 (00:48 +0200)]
ptpd2: fix build failures due to EVP_MD_CTX conflict and U64 missing

In src/dep/ntpengine/ntp_isc_md5.*, the typedef of EVP_MD_CTX
conflicts with a definition of the same type done by OpenSSL. This
issue is referenced at https://github.com/ptpd/ptpd/issues/54, and has
been fixed upstream in commit
https://github.com/ptpd/ptpd/commit/838b985510c360e651d18134e64f258f2f4c6e7c.

In src/dep/snmp.c, U64 can be missing or conflicts with new perl as
reported at https://github.com/ptpd/ptpd/issues/25. This issue has
been fixed upstream in commit
https://github.com/ptpd/ptpd/commit/1886522b50fe44e5c0dedd01d13ac456b941f744. This
commit is adapted to apply on the current version of ptpd2 we have in
Buildroot.

Fixes:
http://autobuild.buildroot.net/results/47b99a6de256bfc0f5a8ae1484bb34e93b407237/
http://autobuild.buildroot.net/results/08365fc559dda74640b9750358c82e84600a68ea/
http://autobuild.buildroot.net/results/9b41c513500c63a9890973a0f17ffdb84d44d580/
http://autobuild.buildroot.net/results/2ed79d01635c9a5e1018229dc6f4b7240a995b87/
http://autobuild.buildroot.net/results/6d1b7e191f573334115684b85165f2bc27d75d8f/
http://autobuild.buildroot.net/results/f54c6fd841b3ea77dc12048c81f3f2991b679252/
http://autobuild.buildroot.net/results/332bc77bcde0bef1b2fd7b9993409dd051c27cd6/
http://autobuild.buildroot.net/results/4b416edaec9528d75a82c9570b8f8297718ca62d/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosynergy: fix resolving of Buildroot git revision
Pieterjan Camerlynck [Tue, 11 Sep 2018 19:58:02 +0000 (21:58 +0200)]
synergy: fix resolving of Buildroot git revision

Starting version v1.10.0-stable, Synergy tries to resolve the git revision in
the build directory. This causes CMake to either detect the Buildroot commit
or fail when no git repo is found.

By manually setting SYNERGY_VERSION_STAGE to another value then snapshot, this
behavior is skipped.

Fixes:
  http://autobuild.buildroot.net/results/5bab942322357bd71901cfc13ed3cff0c17edcce

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: split hash files for licenses, fixes ARC
Thomas Petazzoni [Wed, 10 Oct 2018 13:24:03 +0000 (15:24 +0200)]
glibc: split hash files for licenses, fixes ARC

Configuration that build a glibc toolchain on ARC currently fail to
run "make legal-info", because the hash for the LICENSES file is
different between the ARC glibc version, and glibc 2.28.

To fix this, this commit moves the hashes for the glibc license files
to per-version hash files.

Fixes:

  http://autobuild.buildroot.net/results/5a98a801dccaaeb4b5cbc26d9a017726d0953157/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pysnmp: bump to version 4.4.6
Asaf Kahlon [Sat, 22 Sep 2018 19:36:31 +0000 (22:36 +0300)]
python-pysnmp: bump to version 4.4.6

Update dependencies.
License was renamed to LICENSE.rst (no content changed).
Add hash for license.

Fixes:
http://autobuild.buildroot.org/results/9b3/9b3bcd761aa35d9fdf4acc05258cc87e8c36fb14/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pycryptodomex: new package
Asaf Kahlon [Sat, 22 Sep 2018 19:36:28 +0000 (22:36 +0300)]
python-pycryptodomex: new package

Cryptographic library for Python

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Thomas: adjust license information, it's not under Apache-2.0, but a
combination of BSD-2-Clause, Public Domain and OCB License.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-type-tiny: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:31 +0000 (10:18 +0200)]
perl-type-tiny: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-exporter-tiny: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:30 +0000 (10:18 +0200)]
perl-exporter-tiny: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-moo: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:29 +0000 (10:18 +0200)]
perl-moo: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-devel-globaldestruction: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:28 +0000 (10:18 +0200)]
perl-devel-globaldestruction: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sub-quote: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:27 +0000 (10:18 +0200)]
perl-sub-quote: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sub-exporter-progressive: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:26 +0000 (10:18 +0200)]
perl-sub-exporter-progressive: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-role-tiny: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:25 +0000 (10:18 +0200)]
perl-role-tiny: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-class-method-modifiers: new package
Francois Perrad [Wed, 10 Oct 2018 08:18:24 +0000 (10:18 +0200)]
perl-class-method-modifiers: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopoco: disable fpenvironment for soft floating point configuration
Yegor Yefremov [Wed, 10 Oct 2018 08:22:14 +0000 (10:22 +0200)]
poco: disable fpenvironment for soft floating point configuration

Many platforms don't provide all FPU features needed by Poco when
configured for soft floating point in their fenv.h header. So
disable fpenvironment for this configuration to avoid build breakage.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcorrect: add package
Joel Carlson [Tue, 9 Oct 2018 23:46:49 +0000 (17:46 -0600)]
libcorrect: add package

Adds the libcorrect package. Libcorrect by default builds a shared
library, so require shared libraries. We add a patch to make sure
-Wpedantic is only used if supported by the C compiler (gcc < 4.8
didn't support it).

Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
[Thomas: add a patch to use -Wpedantic only if available, instead of
depending on gcc >= 4.8.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobotan: bump to version 2.8.0
Fabrice Fontaine [Wed, 10 Oct 2018 05:03:25 +0000 (07:03 +0200)]
botan: bump to version 2.8.0

Fix build on i586, https://patchwork.ozlabs.org/patch/970313 has been
merged upstream

Fixes:
 - http://autobuild.buildroot.org/results/aaa2ea8c3fb5fe954c0af0061f83ad70e0a862f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-*: regeneration of *.mk files
Francois Perrad [Wed, 10 Oct 2018 06:46:17 +0000 (08:46 +0200)]
perl-*: regeneration of *.mk files

remove runtime dependencies

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-*: regeneration of Config.in files
Francois Perrad [Wed, 10 Oct 2018 06:46:16 +0000 (08:46 +0200)]
perl-*: regeneration of Config.in files

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-*: regeneration of hash files
Francois Perrad [Wed, 10 Oct 2018 06:46:15 +0000 (08:46 +0200)]
perl-*: regeneration of hash files

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: remove run-time dependencies
Francois Perrad [Wed, 10 Oct 2018 06:46:14 +0000 (08:46 +0200)]
scancpan: remove run-time dependencies

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: split multiple dependencies on multiple lines
Francois Perrad [Wed, 10 Oct 2018 06:46:13 +0000 (08:46 +0200)]
scancpan: split multiple dependencies on multiple lines

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: sort license in hash file
Francois Perrad [Wed, 10 Oct 2018 06:46:12 +0000 (08:46 +0200)]
scancpan: sort license in hash file

now, the output is reproductible

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: sort license files
Francois Perrad [Wed, 10 Oct 2018 06:46:11 +0000 (08:46 +0200)]
scancpan: sort license files

so, the output is reproductible

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: trim the abstract
Francois Perrad [Wed, 10 Oct 2018 06:46:10 +0000 (08:46 +0200)]
scancpan: trim the abstract

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: wrap abstract if too long
Francois Perrad [Wed, 10 Oct 2018 06:46:09 +0000 (08:46 +0200)]
scancpan: wrap abstract if too long

[note: code style fixed]

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolua-*: fix upstream URL in Config.in
Francois Perrad [Wed, 10 Oct 2018 06:56:10 +0000 (08:56 +0200)]
lua-*: fix upstream URL in Config.in

like in https://git.busybox.net/buildroot/commit/?id=05200ad01434ce297a166c6e1bebc8196c18f7dc

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxerces: don't disable network without curl
Fabrice Fontaine [Tue, 9 Oct 2018 17:25:19 +0000 (19:25 +0200)]
xerces: don't disable network without curl

curl is not the only network accessor, xerces can also use the socket
API if sys/socket is available.
So replace --disable-network by --disable-netaccessor-curl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: fix qt_open64 related compile failure
Peter Seiderer [Tue, 9 Oct 2018 18:27:18 +0000 (20:27 +0200)]
qt5base: fix qt_open64 related compile failure

Add upstream patch fixing ([1], [2]):

  .obj/qlinuxfbscreen.o: In function `QLinuxFbScreen::initialize()':
  qlinuxfbscreen.cpp:(.text+0xa6c): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x1042): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x10aa): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x1746): undefined reference to `qt_open64(char const*, int, unsigned int)'

[1] http://autobuild.buildroot.net/results/66f55a311dcf9d54ca6148b232287973ba226999
[2] http://autobuild.buildroot.net/results/a4759e8cea09a597dbeb82f6c673ddc531d419e8

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/waffle: new package
Romain Naour [Sat, 22 Sep 2018 10:56:25 +0000 (12:56 +0200)]
package/waffle: new package

waffle has four "backends", each having their own dependencies.
At least one "backend" must be enabled, otherwise Waffle will refuse to
build. The "backends" are:

 - glx, which needs full OpenGL + x11-xcb
 - wayland, which needs wayland-client, wayland-egl and EGL
 - x11-egl, which needs x11-xcb and EGL
 - gbm, which needs gbm, libudev and EGL

Backport an upstream patch fixing a build issue with musl toolchains.
Add a new patch fixing build with Wayand without X11.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: drop GLES dependency, it is not mandatory.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-numpy: add host variant for piglit
Romain Naour [Sat, 22 Sep 2018 10:56:24 +0000 (12:56 +0200)]
package/python-numpy: add host variant for piglit

host-python-numpy is required by piglit buildsystem for crosscompiling.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocollectd: fix build with latest gpsd
Baruch Siach [Tue, 9 Oct 2018 17:18:11 +0000 (20:18 +0300)]
collectd: fix build with latest gpsd

The last bump of gpsd to version 3.18 broke the build due to a change
in the gps_read() prototype. Add a patch fixing that.

Fixes:
http://autobuild.buildroot.net/results/b08/b0829bc3343d6dc3065078e94896725b1c808bc1/
http://autobuild.buildroot.net/results/1a6/1a6f2fcf1a88ecc5b598dd11c5914dcacf0e1e6b/
http://autobuild.buildroot.net/results/63a/63a4f980d7cdb4b0823840f747589803fcd0d69f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-engineio: bump to version 2.3.2
Asaf Kahlon [Tue, 9 Oct 2018 16:22:26 +0000 (19:22 +0300)]
python-engineio: bump to version 2.3.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogpsd: fix greis driver build with reconfigure disabled
Baruch Siach [Tue, 9 Oct 2018 16:16:39 +0000 (19:16 +0300)]
gpsd: fix greis driver build with reconfigure disabled

Add a patch fixing undefined function build failure when reconfigure
support is disabled.

Fixes:
http://autobuild.buildroot.net/results/a13/a13a5d852c83cd1fc9f2d1fc2b7302db515278b8/
http://autobuild.buildroot.net/results/185/18599ea12a35b9715a67c1f4e5c4e56906235c94/
http://autobuild.buildroot.net/results/c00/c00d22a6dcadb82a19afab6eacea654d3c41b4c5/

Cc: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pysmi: new package
Asaf Kahlon [Sat, 22 Sep 2018 19:36:30 +0000 (22:36 +0300)]
python-pysmi: new package

SNMP SMI/MIB Parser.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-ply: new package
Asaf Kahlon [Sat, 22 Sep 2018 19:36:29 +0000 (22:36 +0300)]
python-ply: new package

No license file was found in the repo and README.md seems
to be the closest (license type was mentioned in setup.py).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Thomas: use the right SPDX license tag.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/setools: host variant needs host-python-enum34
Matt Weber [Fri, 28 Sep 2018 20:04:35 +0000 (15:04 -0500)]
package/setools: host variant needs host-python-enum34

The enum34 dependency is required for python2.7 for both the host and
target builds.  This patch adds the host dependency to match what is
already in place for the target.

The host build is used by the setools package seinfo tool offline for
host based policy analysis. The analysis is easiest performed offline
as the policy is checked for path/reachability, which is something
that occurs by taking the policy file and using debug libraries to
perform test cases.

Fixes the following runtime error:

$ ./output/host/bin/sesearch
Traceback (most recent call last):
[...]
  File "/home/test/buildroot/output/host/lib/python2.7/site-packages/setools-4.1.1-py2.7-linux-x86_64.egg/setools/policyrep/util.py", line 21, in <module>
    from enum import Enum
ImportError: No module named enum

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-enum34: enable host build
Matt Weber [Fri, 28 Sep 2018 20:04:34 +0000 (15:04 -0500)]
package/python-enum34: enable host build

This is initially used by the setools package to do offline
policy analysis using host tools.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pigpio: new package
Grzegorz Blach [Fri, 28 Sep 2018 18:00:34 +0000 (20:00 +0200)]
python-pigpio: new package

Pigpio is a Python module for the Raspberry Pi
which talks to the pigpio daemon to allow control
of the general purpose input outputs (GPIO).

http://abyz.co.uk/rpi/pigpio/python.html

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: use proper SPDX license tag]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopigpio: new package
Grzegorz Blach [Fri, 28 Sep 2018 18:00:33 +0000 (20:00 +0200)]
pigpio: new package

Pigpio is a library for the Raspberry Pi which allows
control of the General Purpose Input Outputs (GPIO).

http://abyz.me.uk/rpi/pigpio/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas:
 - Use proper SPDX tag for The Unlicense
 - Add missing dependency on !BR2_STATIC_LIBS, since the Makefile is
   unconditionally building a shared library
 - Use BR2_arm instead of BR2_ARM_EABIHF, there's nothing that makes
   it EABIHF specific.
 - Use -D and full destination paths during the installation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/asterisk: add optional spandsp support
Yann E. MORIN [Wed, 3 Oct 2018 13:13:58 +0000 (15:13 +0200)]
package/asterisk: add optional spandsp support

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/spandsp: new package
Yann E. MORIN [Wed, 3 Oct 2018 13:13:57 +0000 (15:13 +0200)]
package/spandsp: new package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Bernd:
 - bumped version to 20180108
 - removed 0001-fix-msse4.x.patch, applied upstream
 - removed autoreconf after patch removal
 - added license hash (Arnout)
 - added SPDX license codes (Arnout)]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - add entry to DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/asterisk: bump version to 14.7.8
Bernd Kuhls [Wed, 3 Oct 2018 13:13:55 +0000 (15:13 +0200)]
package/asterisk: bump version to 14.7.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxerces: enable threads if available
Fabrice Fontaine [Sat, 6 Oct 2018 20:13:08 +0000 (22:13 +0200)]
xerces: enable threads if available

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Matt Weber &lt;<a href="mailto:matthew.weber@rockwellcollins.com" target="_blank">matthew.weber@rockwellcollins.com</a>&gt;<br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquid: bump to version 4.3
Baruch Siach [Tue, 9 Oct 2018 11:49:34 +0000 (14:49 +0300)]
squid: bump to version 4.3

Drop get_certificate test avoidance patch; upstream made the test cross
compile friendly in commit 958ae827cabf (Fix cross-compile issues with
SSL_get_certificate())

Drop the patch adding <time.h>; the code does not call time() anymore.

Restore netfilter support under musl libc. Squid build fine with current
musl version.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinc: security bump to version 1.0.35
Peter Korsgaard [Tue, 9 Oct 2018 08:39:59 +0000 (10:39 +0200)]
tinc: security bump to version 1.0.35

Fixes the following security issues:

CVE-2018-16758: Michael Yonli discovered that tinc 1.0.34 and earlier allow
a man-in-the-middle attack that, even if the MITM cannot decrypt the traffic
sent between the two endpoints, when the MITM can correctly predict when an
ephemeral key exchange message is sent in a TCP connection between two
nodes, allows the MITM to force one node to send UDP packets in plaintext.
The tinc 1.1pre versions are not affected by this.

CVE-2018-16738: Michael Yonli discoverd that tinc versions 1.0.30 to 1.0.34
allow an oracle attack, similar to CVE-2018-16737, but due to the
mitigations put in place for the Sweet32 attack in tinc 1.0.30, it now
requires a timing attack that has only a limited time to complete.  Tinc
1.1pre16 and earlier are also affected if there are nodes on the same VPN
that still use the legacy protocol from tinc version 1.0.x.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/manual: document the new get-developers -e option
Peter Korsgaard [Tue, 9 Oct 2018 08:28:31 +0000 (10:28 +0200)]
docs/manual: document the new get-developers -e option

Explain how this can be used with git send-email, and how git can be
configured to use it automatically.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-plack: re-indent Config.in help text
Thomas Petazzoni [Tue, 9 Oct 2018 12:21:59 +0000 (14:21 +0200)]
perl-plack: re-indent Config.in help text

Fixes the following check-package warning:

package/perl-plack/Config.in:18: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobird: new package
Adrien Gallouët [Thu, 27 Sep 2018 22:21:01 +0000 (22:21 +0000)]
bird: new package

The BIRD project aims to develop a dynamic IP routing daemon with full
support of all modern routing protocols, easy to use configuration
interface and powerful route filtering language

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
[Thomas:
 - Do not make ncurses/readline mandatory dependencies, since they are
   not. They are only needed when building the BIRD client. Added a
   Config.in sub-option to enable/disable the client. As part of this,
   added ncurses/readline to <pkg>_DEPENDENCIES.
 - Add a patch to fix the installation when the BIRD client is
   disabled, the patch has been submitted upstream.
 - Added host-flex and host-bison to <pkg>_DEPENDENCIES since
   flex/bison are used during the build process.
 - Add BR2_USE_MMU dependency, the code uses fork()
 - Fix alphabetic ordering in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoljlinenoise: fix upstream URL in Config.in
Thomas Petazzoni [Tue, 9 Oct 2018 08:06:59 +0000 (10:06 +0200)]
ljlinenoise: fix upstream URL in Config.in

The current URL no longer exists, as detected by the new pkg-stats.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts/pkg-stats: URL check using threads
Matt Weber [Tue, 2 Oct 2018 02:37:29 +0000 (21:37 -0500)]
support/scripts/pkg-stats: URL check using threads

Adds a pool of worker threads to accelerate connection testing.

~7.5MB and 2% CPU per thread on a Intel i5-3230M CPU @ 2.60GHz.

Runtime is ~3min in parallel vs ~15min.

CC: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts/pkg-stats: URL checking support
Matt Weber [Tue, 2 Oct 2018 02:37:28 +0000 (21:37 -0500)]
support/scripts/pkg-stats: URL checking support

- Adds support to check if a package has a URL and if that URL
  is valid by doing a header request.
- Reports this information as part of the generated html output

The URL data is currently gathered from the URL string provided
in the Kconfig help sections for each package.

This check helps ensure the URLs are valid and can be used
for other scripting purposes as the product's home site/URL.
CPE XML generation is an example of a case that could use this
product URL as part of an automated update generation script.

CC: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialport: fix 5.6.3 license file hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:37 +0000 (23:16 +0200)]
qt5serialport: fix 5.6.3 license file hashes

Fixes [1]:

  ERROR: LICENSE.FDL has wrong sha256 hash:
  ERROR: expected: ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d
  ERROR: got     : e1251235ce9853eecfecfa905da9ee29e9b76e4db2a1c9c4a20699f460419b08

[1] http://autobuild.buildroot.net/results/320db38e94d68b2ea4451c3cc0bd7742c125cedb

We take this opportunity to split the license file hashes in
per-version hash files.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: split in per-version hash files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialbus: split 5.11.2 license file hashes into a separate file
Thomas Petazzoni [Tue, 9 Oct 2018 07:40:31 +0000 (09:40 +0200)]
qt5serialbus: split 5.11.2 license file hashes into a separate file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialbus: fix 5.6.3 license file hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:36 +0000 (23:16 +0200)]
qt5serialbus: fix 5.6.3 license file hashes

Fixes [1]:

  ERROR: LICENSE.FDL has wrong sha256 hash:
  ERROR: expected: ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d
  ERROR: got     : f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d

[1] http://autobuild.buildroot.net/results/f8dba48bc1e71332f3983e78c40989e5f864abf3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5connectivity: add license files hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:35 +0000 (23:16 +0200)]
qt5connectivity: add license files hashes

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: split in per-version hash files, add missing hash for
LGPL_EXCEPTION.txt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: update license
Fabrice Fontaine [Mon, 8 Oct 2018 20:52:22 +0000 (22:52 +0200)]
nmap: update license

nmap is licensed under GPL-2.0 but with additional restrictions (see
COPYING, especially the "IMPORTANT NMAP LICENSE TERMS" part).

So, following advices of Yann and Arnout (see
https://patchwork.ozlabs.org/patch/979081), set license to nmap license

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobrltty: use gcc instead of ld to link shared objects
Fabrice Fontaine [Mon, 8 Oct 2018 21:05:07 +0000 (23:05 +0200)]
brltty: use gcc instead of ld to link shared objects

Bump to version 5.6 has reintroduced the issue fixed by patch 854093 on
version 5.5.

Indeed, third patch was merged upstream but it was then reverted:
https://github.com/brltty/brltty/commit/9e7d62c869d3c1cbe12dda8b0291a4692c193416

Moreover, since commit 3a2e3f6fa5ef0a210ffeba5ed05c79965d0cc3c7, MKOBJ
was renamed into MKREL. So, patch again brltty, overwrite
MKREL to use "gcc -shared -o" instead of "ld -r -o" if gcc is available
(as suggested by Arnout: https://patchwork.ozlabs.org/patch/972614).

Fixes:
 - http://autobuild.buildroot.org/results/31f682838b3d3b2c7103b5c51f2aba0b89d4f630

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoleveldb: fix parallel build
Fabrice Fontaine [Mon, 8 Oct 2018 21:13:51 +0000 (23:13 +0200)]
leveldb: fix parallel build

Build of leveldb sometimes fails on:
Fatal error: can't create out-shared/db/db_bench.o: No such file or directory

Patch is not upstreamable as upstream switched to cmake

Fixes:
 - http://autobuild.buildroot.net/results/945bb8096c1f98f307161a6def5a9f7f25b2454a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofile: explicitly disable libseccomp support for host
Peter Korsgaard [Mon, 8 Oct 2018 20:28:34 +0000 (22:28 +0200)]
file: explicitly disable libseccomp support for host

Fixes:
http://autobuild.buildroot.net/results/8a2/8a2ea2e4426416447705492237f526fc84b595d7/
http://autobuild.buildroot.net/results/a1f/a1f2369d31c2387efdec908877e0bcaa728b5aeb/

file-5.33 added optional seccomp support, but the filters did not cover all
needed syscalls, leading to errors when the freshly built host-file is
executed as part of the build on distributions with seccomp support (E.G.
Arch Linux):

checking for seccomp_init in -lseccomp... yes
..
../src/file -C -m magic
make[3]: *** [Makefile:764: magic.mgc] Bad system call

This has been fixed in file-5.34, but it anyway makes sense to explicitly
disable libseccomp support for consistency as we do not need it for the host
build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-cpu: fix build failures due to <sys/unistd.h>
Christopher McCrory [Thu, 27 Sep 2018 14:46:46 +0000 (07:46 -0700)]
perl-sys-cpu: fix build failures due to <sys/unistd.h>

This commit adds a patch that drops an unneeded <sys/unistd.h>
include, as it causes build failures on uClibc/musl.

Fixes:

  http://autobuild.buildroot.net/results/a87116b34ee0c660537430638e38f7ebbf052024/

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-cpu: disable in static configurations
Christopher McCrory [Thu, 27 Sep 2018 14:46:45 +0000 (07:46 -0700)]
perl-sys-cpu: disable in static configurations

The perl-sys-cpu package builds a native shared library, which makes
it incompatible with static-only configurations.

Fixes:

  http://autobuild.buildroot.net/results/ea64c2d8022932162d36301ca4061f61cd208c11/

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibaio: link against libgcc and libc to avoid unresolved symbols
Alexey Brodkin [Fri, 28 Sep 2018 13:37:34 +0000 (16:37 +0300)]
libaio: link against libgcc and libc to avoid unresolved symbols

For some weird reason, the libaio build system passes -nostdlib
-nostartfiles, which causes libgcc to not be linked in, even if it's
needed. Due to this, on some architectures, with specific optimization
features, the build fails with unresolved symbols, as gcc emits code
that uses functions implemented in libgcc.

The fix proposed by Debian developers is to simply drop -nostdlib
-nostartfiles.

Fixes build failures of blktrace, lvm2 and the like users of libaio.

A couple of examples below:
blktrace: http://autobuild.buildroot.net/results/5528ab59f1939a7eff7e85318f3b36283019cc50/
lvm2:     http://autobuild.buildroot.net/results/a5dfc87f94b97135e5cc84f6a876114891ed9dd9/

And since we solve the problem in libaio sources there's no need to
mess with compilation flags in Buildroot, thus partially revert
commit ce6536ae500f ("libaio: work-around for PowerPC issue").

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to libgphoto2
Bernd Kuhls [Sun, 30 Sep 2018 19:03:23 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to libgphoto2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to sdl
Bernd Kuhls [Sun, 30 Sep 2018 19:03:22 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to sdl

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to opencv3
Bernd Kuhls [Sun, 30 Sep 2018 19:03:21 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to opencv3

According to
https://github.com/jacksonliam/mjpg-streamer/blob/master/mjpg-streamer-experimental/plugins/input_opencv/README.md
the plugin does not support OpenCV 2.x.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: bump version
Bernd Kuhls [Sun, 30 Sep 2018 19:03:20 +0000 (21:03 +0200)]
package/mjpg-streamer: bump version

The currently used github repo from oliv3r does not exist anymore.
https://sourceforge.net/projects/mjpg-streamer/ shows that the status of
the original project site is "Inactive" and points to
https://github.com/jacksonliam/mjpg-streamer as the new site.

The new maintainer is active so we bump the package to HEAD of its
master branch which fixes a glibc-related build error:
http://autobuild.buildroot.net/results/4c8/4c8aac898d4580ed0b8b52cef7779d0f6f6a631f/

Further changes due to this bump:
- removed patch 0001, fix was applied upstream:
  https://github.com/jacksonliam/mjpg-streamer/commit/eb4dafd802b366d9b0310e91e7bb93a1082e7657#diff-511ff6908e8db4543e5a59d0ea4a2f1f
- switched to CMake

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyroute2: bump to version 0.5.3
Asaf Kahlon [Sun, 30 Sep 2018 18:29:34 +0000 (21:29 +0300)]
python-pyroute2: bump to version 0.5.3

The python sqlite module is also needed.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-ipython: bump to version 5.8.0
Asaf Kahlon [Sat, 29 Sep 2018 05:28:35 +0000 (08:28 +0300)]
python-ipython: bump to version 5.8.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>