buildroot.git
6 years agolz4: disable static library on shared only
Baruch Siach [Tue, 24 Apr 2018 11:14:43 +0000 (14:14 +0300)]
lz4: disable static library on shared only

Don't build the static library when BR2_SHARED_LIBS=y, to reduce build
time.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomodem-manager: support a defaults file in the init script
Carlos Santos [Sat, 21 Apr 2018 13:00:10 +0000 (10:00 -0300)]
modem-manager: support a defaults file in the init script

Sometimes it is useful to pass some parameters to ModemManager when it
starts (e.g. --log-level). Allow the user add a file with such flags in
a MODEMMANAGER_ARGS variable. This is simpler than overriding the whole
startup script (e.g. by means of a rootfs overlay).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: don't build library and tools in parallel
Baruch Siach [Sat, 21 Apr 2018 20:58:52 +0000 (23:58 +0300)]
lz4: don't build library and tools in parallel

Since commit e93fec6673e (lz4: bump to version 1.8.1.2) we use two make
targets, 'lib' and 'lz4'. Both targets depend on the static library.
When these targets run in parallel the two make instances that build the
static library race against each other. Split these targets to ensure
build order.

Should fix:
http://autobuild.buildroot.net/results/a8d/a8d956ff420f6a265c5c00b33646dbbc24ce2d48/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs: add openssl for kernel where necessary
Vincent Stehlé [Sun, 22 Apr 2018 14:38:24 +0000 (16:38 +0200)]
configs: add openssl for kernel where necessary

Add host-openssl to those configs, which need it for the Linux kernel build.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agostrace: fix build for m68k
Baruch Siach [Sun, 22 Apr 2018 18:51:14 +0000 (21:51 +0300)]
strace: fix build for m68k

Add upstream patch fixing build for m68k target.

Fixes:
http://autobuild.buildroot.net/results/bef/befdcb3f87c0490cd623520403b9467ec7359950/
http://autobuild.buildroot.net/results/ddb/ddb7616991468bc45d85aa1b56bec2cb5eb897c4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/unixodbc: bump version to 2.3.6
Bernd Kuhls [Sun, 22 Apr 2018 12:02:38 +0000 (14:02 +0200)]
package/unixodbc: bump version to 2.3.6

Added license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ccid: bump version to 1.4.29
Bernd Kuhls [Sun, 22 Apr 2018 11:55:18 +0000 (13:55 +0200)]
package/ccid: bump version to 1.4.29

Upstream moved to https://ccid.apdu.fr/ according to
http://pcsclite.alioth.debian.org/ccid.html, updated _SITE and
Config.in.

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pcsc-lite: bump version to 1.8.23
Bernd Kuhls [Sun, 22 Apr 2018 11:55:17 +0000 (13:55 +0200)]
package/pcsc-lite: bump version to 1.8.23

Upstream moved to https://muscle.apdu.fr/ according to
http://pcsclite.alioth.debian.org/, updated _SITE and Config.in.

Added license hash.

Added optional systemd support available since upstream commit
https://github.com/LudovicRousseau/PCSC/commit/30e10951f81b9480e788965f89d0d4d0aee909c0#diff-67e997bcfdac55191033d57a16d1408a

We need to add systemd support in this patch because omitting it will
cause an error during configure:

checking for LIBSYSTEMD... no
configure: error: install libsystemd-dev or use --disable-libsystemd

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update ARC pre-built toolchain
Thomas Petazzoni [Sun, 22 Apr 2018 10:26:02 +0000 (12:26 +0200)]
support/config-fragments/autobuild: update ARC pre-built toolchain

The toolchain has been rebuilt to fix the RPATH of the binutils programs.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update OpenRISC pre-built toolchain
Thomas Petazzoni [Sun, 22 Apr 2018 10:26:48 +0000 (12:26 +0200)]
support/config-fragments/autobuild: update OpenRISC pre-built toolchain

The toolchain has been rebuilt after commit
7fb6fe883a6ee360aa861fdae93d7441f9f5d52d, which adds more fcntl()
definitions in uClibc for OpenRISC.

Fixes:

  http://autobuild.buildroot.net/results/664e7ee968e46b7ac0054ce4d5d4f9a82201550e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobluez5_utils: add patch to fix readline issue
Thomas Petazzoni [Fri, 20 Apr 2018 14:07:13 +0000 (16:07 +0200)]
bluez5_utils: add patch to fix readline issue

Since bluez5_utils 5.49, some code using readline was compiled even if
readline was not available. After this issue was reported upstream, a
patch was proposed by an upstream developer to address the issue. This
commit integrates this patch (under review upstream), which fixes the
problem.

Fixes:

  http://autobuild.buildroot.net/results/3e266a79acab8b8eb33360f7afbc1cd6db46f7cb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolxc: fix offsetof() related musl build issue
Thomas Petazzoni [Fri, 20 Apr 2018 10:31:55 +0000 (12:31 +0200)]
lxc: fix offsetof() related musl build issue

This commit adds a patch that fixes a build issue with musl due to the
fact that offsetof() is used without including <stddef.h>.

Fixes:

  http://autobuild.buildroot.net/results/3c6e34cbcd43aba4dd2b18687bd89fc369c9dab7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouclibc: backport upstream patch adding fcntl definitions on OpenRISC
Thomas Petazzoni [Fri, 20 Apr 2018 09:55:22 +0000 (11:55 +0200)]
uclibc: backport upstream patch adding fcntl definitions on OpenRISC

A number of fcntl.h definitions were missing on OpenRISC in uClibc-ng,
causing build failures such as:

gfile.c: In function 'splice_stream_with_progress':
gfile.c:3017:35: error: 'F_SETPIPE_SZ' undeclared (first use in this function)
   buffer_size = fcntl (buffer[1], F_SETPIPE_SZ, 1024 * 1024);

This comit backports a patch that was merged in upstream uClibc-ng,
which addresses this problem.

Fixes:

  http://autobuild.buildroot.net/results/182ebbba6c7466b07e965e5120d919cbcf5e9da6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update all Buildroot pre-built toolchains
Thomas Petazzoni [Thu, 19 Apr 2018 20:26:54 +0000 (22:26 +0200)]
support/config-fragments/autobuild: update all Buildroot pre-built toolchains

This commit updates all the pre-built Buildroot toolchains, which have
all been rebuilt with Buildroot as of commit 046c5e2. The initial
motivation for this update is that an upcoming bump of procps-ng uses
fopencookie(), which has only been introduced in musl 1.1.19, which
itself started being used in Buildroot after the 2018.02 release.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.0.1
Bernd Kuhls [Sat, 21 Apr 2018 09:19:43 +0000 (11:19 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.0.1

Removed patch 0002, upstream committed a different fix:
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=cbee1bfb34274668a05995b9d4c78ddec9e5ea4c
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=5a75019ad0270a974788a9b8648ba98ff4203768

Renumbered patch 0003 -> 0002.

Tested using test-pkg (removed skipped toolchains from log):

                armv5-ctng-linux-gnueabi [ 1/46]: OK
              armv7-ctng-linux-gnueabihf [ 2/46]: OK
                        br-aarch64-glibc [ 3/46]: OK
                           br-arcle-hs38 [ 4/46]: OK
                  br-arm-cortex-a9-glibc [ 6/46]: OK
                   br-arm-cortex-a9-musl [ 7/46]: OK
                             br-arm-full [ 9/46]: OK
                   br-i386-pentium4-full [12/46]: OK
                br-i386-pentium-mmx-musl [13/46]: OK

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.9.x series
Bernd Kuhls [Sat, 21 Apr 2018 08:49:58 +0000 (10:49 +0200)]
linux-headers: bump 4.9.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibuv: bump to version 1.20.1
Asaf Kahlon [Fri, 20 Apr 2018 14:16:50 +0000 (17:16 +0300)]
libuv: bump to version 1.20.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{14, 15, 16}.x series
Fabio Estevam [Fri, 20 Apr 2018 11:53:48 +0000 (08:53 -0300)]
linux-headers: bump 4.{14, 15, 16}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.16.3
Fabio Estevam [Fri, 20 Apr 2018 11:53:47 +0000 (08:53 -0300)]
linux: bump default to version 4.16.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobootstrap: bump to version 4.1.0
Yegor Yefremov [Fri, 20 Apr 2018 11:30:04 +0000 (13:30 +0200)]
bootstrap: bump to version 4.1.0

Also install bootstrap.min.css.map as it is referenced from
bootstrap.min.css.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tk: new package
Romain Naour [Fri, 20 Apr 2018 08:29:01 +0000 (10:29 +0200)]
package/tk: new package

Use the same version as tcl package.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tcllib: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:29:00 +0000 (10:29 +0200)]
package/tcllib: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tcl: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:28:59 +0000 (10:28 +0200)]
package/tcl: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: fix transform regexp for older tar versions
Yann E. MORIN [Fri, 20 Apr 2018 07:36:32 +0000 (09:36 +0200)]
download/git: fix transform regexp for older tar versions

Older versions of tar (e.g. 1.27.1) incorrectly interpret the escaping
of the regexp separator, and generate broken tarballs.

For example, given the following transform expression:
    --transform="s/^\.\//squashfs-e38956b92f738518c29734399629e7cdb33072d3\//"

the resulting paths in the generated tarball would be:
    squashfs-e38956b92f738518c29734399629e7cdb33072d3\/

i.e. a directory which last character is indeed a '\'.

We fix that by using a separator which is very unlikely to occur in a
filename.

Fixes:
    http://autobuild.buildroot.org/results/742/7427f34e5c9f6d043b0fe6ad2c66cc0f31d2b24f/

and probably a slew of others as well...

Take this opportunity to fix indentation on the following line
(leading spaces, not TABs).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: improve static only build support
Baruch Siach [Fri, 20 Apr 2018 04:52:46 +0000 (07:52 +0300)]
lz4: improve static only build support

The current method of supporting static only build, removal of all lines
that match the SHARED regex from lib/Makefile, is crude and fragile.
Instead, patch lib/Makefile to allow disable of shared libraries.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpcd: fix legal info
Baruch Siach [Fri, 20 Apr 2018 05:23:35 +0000 (08:23 +0300)]
dhcpcd: fix legal info

The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
tarball now has a LICENSE file, use that instead.

While at it, add a hash for that file.

Fixes:
http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/

Cc: John Stile <johns@msli.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: fix host build with glibc older than 2.17
Baruch Siach [Fri, 20 Apr 2018 04:17:20 +0000 (07:17 +0300)]
lz4: fix host build with glibc older than 2.17

glibc before 2.17 require the -lrt linker option for clock_gettime(). We
do not support pre 2.17 glibc for the target anymore, but there are
still host platforms with these versions. Add upstream patch to skip use
of clock_gettime() with older glibc versions.

Should fix:
http://autobuild.buildroot.net/results/bc5/bc5d6447ab16a61d9dcf56723106f0b107826ef4/
http://autobuild.buildroot.net/results/7dd/7dd47bef902845a0f7803f1a6c702ec154855858/
http://autobuild.buildroot.net/results/952/9523dbc767dc325befabeb9240c4009e78779c7d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: needs NPTL
Baruch Siach [Tue, 17 Apr 2018 11:54:44 +0000 (14:54 +0300)]
zeromq: needs NPTL

The recent zeromq version bump to 4.2.5 added a call to
pthread_condattr_setclock() which is only provided by the NPTL
implementation of pthreads. Add this dependency to zeromq and all
reverse dependencies recursively.

Fixes:
http://autobuild.buildroot.net/results/2d0/2d070074097270a1e6973bc19e2bded2a7023c49/
http://autobuild.buildroot.net/results/1ce/1ce6d6f0f6390f552954a09f7dc753e0baa86675/
http://autobuild.buildroot.net/results/97c/97c5b9f3bc2c94f8476e884b9a3163bbf2dad8d4/

Cc: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoprosody: add dependency on shared libraries
Danomi Manchego [Wed, 18 Apr 2018 09:03:39 +0000 (05:03 -0400)]
prosody: add dependency on shared libraries

The prosody package uses several Lua packages that require shared libraries.
Therefore, prosody must require shared libraries too.

Fixes: http://autobuild.buildroot.net/results/b126bce0bbd111f021ed5be7c8773fef2a8f8579
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: remove Philipp Claves' entry
Baruch Siach [Tue, 17 Apr 2018 09:44:04 +0000 (12:44 +0300)]
DEVELOPERS: remove Philipp Claves' entry

The email address of Philipp Claves bounces.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libcec: disable build infos
Romain Naour [Wed, 18 Apr 2018 21:13:30 +0000 (23:13 +0200)]
package/libcec: disable build infos

Build infos can break the build due to missing terminating " character.

Fixes:
http://autobuild.buildroot.net/results/3b1/3b1182783fc958dfed96c6b1c097993662fc7308

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogrub2: force -fno-stack-protector in CPPFLAGS
Tarek El-Sherbiny [Thu, 19 Apr 2018 08:36:59 +0000 (09:36 +0100)]
grub2: force -fno-stack-protector in CPPFLAGS

In commit 2a27294e9ade6130a12ced9a1f152c51431a870e ("grub2: force
-fno-stack-protector in CFLAGS"), a fix was made to the grub2 package
to make it build properly even when SSP support is enabled.

However, commit 20a4583ebf7fe97ea22a1ea11621dd44a8114ca5 ("security
hardening: add RELFO, FORTIFY options") reworked how SSP options are
passed, and they are now passed in CPPFLAGS instead of CFLAGS, making
the fix introduced by 2a27294e9ade6130a12ced9a1f152c51431a870e no
longer operating.

This commit will force no-stack-protector in CPPFLAGS instead of
CFLAGS.

Fixes bug #10961.

Signed-off-by: Tarek El-Sherbiny <tarek_el-sherbiny@waters.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add test for syslog-ng
Ricardo Martincoski [Thu, 19 Apr 2018 19:14:18 +0000 (16:14 -0300)]
support/testing: add test for syslog-ng

Check:
 - the daemon is started;
 - a message is collected;
 - the daemon does not issue a warning message on startup.

When the .conf file version does not match the package version a warning
message shows up on serial on every boot. This message is generated by
syslog-ng before it is running, so it is not logged to
/var/log/messages. So in order to test the message is generated, restart
the server. It makes the message appears on /var/log/messages (since the
server is already running) where its existence can be easily tested
using grep.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosyslog-ng: bump version header in conf file to 3.10
Ricardo Martincoski [Thu, 19 Apr 2018 19:14:17 +0000 (16:14 -0300)]
syslog-ng: bump version header in conf file to 3.10

Remove a runtime warning message about configuration file being too old.

Do the same as commit 3dad25466d "syslog-ng: Bump version header in conf
file to 3.9". Package version of syslog-ng is 3.10.1, so bump version
number in syslog-ng.conf to 3.10.

Also add a comment to avoid the same warning message reappears when the
package is bumped.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: be sure we do fetch something
Yann E. MORIN [Thu, 19 Apr 2018 20:51:28 +0000 (22:51 +0200)]
download/git: be sure we do fetch something

The different versions of git will behave in different ways when
fetching remote references, as summarised by the table below:

              |     ancient git         | new git
--------------------------------------------------------------------
git fetch     | fetch all refs but tags | fetches all refs but tags
git fetch -t  | fetches only tags       | fetch all refs and tags

(git-fetch may still fetch tags, but only if reachable from a branch)

So, to cover all the bases, we do a simple fetch, to be sure we have
branches, followed by the existing fetch -t, to get extra tags.

Fixes:
    http://autobuild.buildroot.net/results/0a2/0a238a7f55ea56c33b639ad03ed5796143426889/build-end.log

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain-external-custom: allow specifying relative path to binaries
Calin Crisan [Sun, 25 Mar 2018 10:18:55 +0000 (13:18 +0300)]
toolchain-external-custom: allow specifying relative path to binaries

There are cases where a downloaded toolchain doesn't have its binaries
placed directly in a "bin" subfolder (where BuildRoot currently looks
for them).

A common example is the official Raspberry Pi Toolchain
(https://github.com/raspberrypi/tools), which has its binaries in
"arm-bcm2708/arm-linux-gnueabihf/bin".

This commit introduces BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH that defaults
to "bin" and can be changed as needed.

Signed-off-by: Calin Crisan <ccrisan@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: rework a bit how TOOLCHAIN_EXTERNAL_REL_BIN_PATH is defined.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: bump to version 1.8.1.2
Baruch Siach [Thu, 19 Apr 2018 09:46:35 +0000 (12:46 +0300)]
lz4: bump to version 1.8.1.2

Use lib and lz4 make targets to avoid build of the manual generator, and
the examples. Both of them use the target compiler to build host tools.

Add license files hashes.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomulticat: bump to version 2.2
Baruch Siach [Thu, 19 Apr 2018 05:28:37 +0000 (08:28 +0300)]
multicat: bump to version 2.2

Drop upstream patches.

Add upstream patch fixing build with musl libc.

Add license file hash.

Set LDLIBS to TARGET_LDFLAGS for TARGET_LDFLAGS to be added to the link
commands. Makefile does not use the LDFLAGS environment variable. This
fixes static linking.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpc: bump to version 7.0.3
Yegor Yefremov [Thu, 19 Apr 2018 05:57:37 +0000 (07:57 +0200)]
dhcpc: bump to version 7.0.3

Use sha256 checksum from *.distinfo.asc file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotslib: update to 1.16
Martin Kepplinger [Thu, 19 Apr 2018 13:43:05 +0000 (15:43 +0200)]
tslib: update to 1.16

For those who wonder what happend, as usual, there's a changelog summary:
https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we have a sane repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:21 +0000 (18:48 +0200)]
download/git: ensure we have a sane repository

There are cases where a repository might be broken, e.g. when a previous
operation was killed or otherwise failed unexpectedly.

We fix that by always initialising the repository, as suggested by
Ricardo. git-init is safe on an otherwise-healthy repository:

    Running git init in an existing repository is safe. It will not
    overwrite things that are already there. [...]

Using git-init will just ensure that we have the strictly required files
to form a sane tree. Any blob that is still missing would get fetched
later on.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we always work in the expected repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:20 +0000 (18:48 +0200)]
download/git: ensure we always work in the expected repository

git always look directories up until it finds a repository. In case
the git cache is broken, it may no longer be identified as a repository,
and git will look higher in the directories until it finds one.

In the default conditions, this would be Buildroot's own git tree
(because DL_DIR is a subdir of Buildroot), but in some situations may
very well be any repository the user has Buildroot in, like a
br2-external tree...

So, we force git to use our git cache and never look elsewhere, as
Suggested by Ricardo.

Use GIT_DIR, as it has been there for ages now, while --git-dir was
only introduced later (even if most distros ship an later version),
as suggested by Arnout.

Also fix the one call to git that was not using the wrapper.

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopixiewps: add missing dependency on threads
Guillaume W. Bres [Wed, 18 Apr 2018 14:33:53 +0000 (16:33 +0200)]
pixiewps: add missing dependency on threads

Fixes:

  http://autobuild.buildroot.net/results/0c8d0eeb693ac29739845f489caffc2f9fa3b262/

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: add support for the new PyPI infrastructure
Yegor Yefremov [Wed, 18 Apr 2018 09:55:42 +0000 (11:55 +0200)]
scanpypi: add support for the new PyPI infrastructure

https://pypi.python.org URL has been changed to https://pypi.org.

Package's JSON object now contains sha256 checksum, so use it
instead of locally computed one. Change comments in the hash
file accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wmctrl: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Tue, 17 Apr 2018 18:22:08 +0000 (20:22 +0200)]
package/wmctrl: x-includes and x-libraries must be set for cross-compiling

set x-includes and x-libraries configure option for cross-compiling.
wmctrl can use poisoned paths if these options are not passed to
configure script.

Fixes:
http://autobuild.buildroot.net/results/7e5/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: fix check-package warning
Thomas Petazzoni [Wed, 18 Apr 2018 08:58:06 +0000 (10:58 +0200)]
nmap: fix check-package warning

Fixes:

package/nmap/nmap.mk:88: expected indent with tabs
93 lines processed
1 warnings generated

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-xlrd: fix check-package warnings on Config.in.host
Thomas Petazzoni [Tue, 17 Apr 2018 12:57:05 +0000 (14:57 +0200)]
package/python-xlrd: fix check-package warnings on Config.in.host

Fixes:

package/python-xlrd/Config.in.host:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

https://gitlab.com/buildroot.org/buildroot/-/jobs/63334884

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoConfig.in: fix check-package warning
Thomas Petazzoni [Tue, 17 Apr 2018 12:54:45 +0000 (14:54 +0200)]
Config.in: fix check-package warning

Fixes:

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

https://gitlab.com/buildroot.org/buildroot/-/jobs/63334884

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: bump version to 10.1.32
Ryan Coe [Mon, 16 Apr 2018 18:40:00 +0000 (11:40 -0700)]
mariadb: bump version to 10.1.32

Release notes: https://mariadb.com/kb/en/mariadb-10132-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10132-changelog/

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wayland: Bump version to 1.15.0
Alexey Brodkin [Mon, 16 Apr 2018 16:58:30 +0000 (19:58 +0300)]
package/wayland: Bump version to 1.15.0

All hashes provided by upstream.

Updated Yann's patch:
 - Took v2 from https://patchwork.freedesktop.org/patch/143038/
 - Rebased on top of v1.15

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/weston: Bump version to 4.0.0
Alexey Brodkin [Mon, 16 Apr 2018 16:25:26 +0000 (19:25 +0300)]
package/weston: Bump version to 4.0.0

Added all hashes provided by upstream.

Yann's patch was integrated in upstream, see:
https://cgit.freedesktop.org/wayland/weston/commit/?id=fa41bdfbc

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovalgrind: bump version to 3.13.0
Peter Seiderer [Mon, 16 Apr 2018 16:09:00 +0000 (18:09 +0200)]
valgrind: bump version to 3.13.0

- update site
- add license hash
- remove 0004-Fixes-for-musl-libc.patch (applied upstream, see [1]) and
  corresponding autoreconf option

[1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=f8f1e9cb434cc97ce16586437407a6ac7e6a74a7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agousb_modeswitch: set CXX to false when C++ is missing
Baruch Siach [Tue, 17 Apr 2018 04:00:28 +0000 (07:00 +0300)]
usb_modeswitch: set CXX to false when C++ is missing

Similar to the openocd fix in commit 5966e2dc54 (package/openocd: fix
fallout after no-C++ fixups) the jimctl that is bundled with
usb_modeswitch also wants to find a binary. This broke with commit
4cd1ab158 (core: alternate solution to disable C++). Revert to 'false'
instead of 'no' here as well.

Fixes:
http://autobuild.buildroot.net/results/b4d/b4d4e925763cb6558af915f9781afe07fc557ebc/
http://autobuild.buildroot.net/results/61b/61b9dc2148df2e8fd0b30e62aedbfd30bb755e19/
http://autobuild.buildroot.net/results/468/468a7e6b049f159fbb4e79d3a12b53ca890f6933/

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl: bump to version 5.26.2
Francois Perrad [Tue, 17 Apr 2018 03:25:57 +0000 (05:25 +0200)]
perl: bump to version 5.26.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5: qt5websockets: install missing qml modules
Manfred Schlaegl [Wed, 11 Apr 2018 12:40:37 +0000 (14:40 +0200)]
qt5: qt5websockets: install missing qml modules

QML modules for QtWebSockets are located in /usr/qml/QtWebSockets since
Qt 5.5.

/usr/qml/Qt/WebSockets still exists for compatibility reasons, but
it contains only a qmldir file which points to ../../QtWebSockets/.

see also: http://doc.qt.io/qt-5.6/qtwebsockets-qmlmodule.html

Signed-off-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt53d: install missing QML modules, plugins and examples
Romain Reignier [Mon, 16 Apr 2018 00:30:43 +0000 (02:30 +0200)]
qt53d: install missing QML modules, plugins and examples

Some files were missing on the first build of qt53d but added later:
- by qt5base for the plugins because it copies the whole /usr/lib/qt/plugins
  directory
- by qt5declarative for the QML modules because it copies the whole
  /usr/qml directory

Also, the qt53d examples were not installed if
BR2_PACKAGE_QT5BASE_EXAMPLES was set.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomicropython: bump version to v1.9.3
Blomme, Maarten [Mon, 16 Apr 2018 13:28:47 +0000 (13:28 +0000)]
micropython: bump version to v1.9.3

(With correct formatting now)

The build step now requires building mpy-cross first.

Signed-off-by: Blomme, Maarten <Maarten.Blomme@flir.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolegacy: remove options made legacy 5 years ago
Yann E. MORIN [Mon, 16 Apr 2018 14:11:16 +0000 (16:11 +0200)]
legacy: remove options made legacy 5 years ago

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/swupdate: default website have a new API
Julien Corjon [Mon, 16 Apr 2018 13:20:35 +0000 (15:20 +0200)]
package/swupdate: default website have a new API

2018.03 introduce a new website with Websocket asynchronous
communication[1]

[1] https://github.com/sbabic/swupdate/blob/master/doc/source/mongoose.rst

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS
Thomas Petazzoni [Sun, 15 Apr 2018 20:22:45 +0000 (22:22 +0200)]
linux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS

Following commit cdb7876f63a253254b86637aaac8b255a426b60a
("linux-firmware: add Qualcomm video accelerator and GPU firmware
options"), LINUX_FIRMWARE_DIRS can now contain entries with subdirs,
such as "qcom/venus-1.8". Such entries are currently not supported by
the logic in LINUX_FIRMWARE_INSTALL_DIRS.

Indeed the current logic consists in:

 - Removing the destination directory
 - Copying to the destination directory

Unfortunately, the last step fails if a component of the path leading
to the destination directory does not exist. To overcome this, we
simply add the appropriate mkdir before the copy.

Fixes:

  http://autobuild.buildroot.net/results/54cbca90742faf486e59d95b95a0b0494e47b385/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoalsa-lib: update license file hash
Baruch Siach [Mon, 16 Apr 2018 06:26:26 +0000 (09:26 +0300)]
alsa-lib: update license file hash

FSF address update.

Fixes:
http://autobuild.buildroot.net/results/1b9/1b9ec9cc0f22a58ad37f21be1b6eb4cc064b6dbc/
http://autobuild.buildroot.net/results/d32/d32ae8b67c1aade7225c42a4685dc62fdaa0b0e3/
http://autobuild.buildroot.net/results/d9b/d9b8e918fa4a1f7a9470473f82bb21b3dce1acc4/

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 agoupmpdcli: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:44 +0000 (23:29 -0300)]
upmpdcli: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotvheadend: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:43 +0000 (23:29 -0300)]
tvheadend: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotriggerhappy: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:42 +0000 (23:29 -0300)]
triggerhappy: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotransmission: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:41 +0000 (23:29 -0300)]
transmission: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotpm2-abrmd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:40 +0000 (23:29 -0300)]
tpm2-abrmd: don't test if the binary exists in the init script

The test doesn't make sense. Buildroot installs both abrmd and its init
script as part of the same package. But if it ever happens for some
reason, the error message from start-stop-daemon should be pretty clear.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinyhttpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:39 +0000 (23:29 -0300)]
tinyhttpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquid: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:38 +0000 (23:29 -0300)]
squid: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoprosody: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:37 +0000 (23:29 -0300)]
prosody: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoproftpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:36 +0000 (23:29 -0300)]
proftpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenvpn: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:35 +0000 (23:29 -0300)]
openvpn: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenntpd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:34 +0000 (23:29 -0300)]
openntpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agontp: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:33 +0000 (23:29 -0300)]
ntp: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonfs-utils: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:32 +0000 (23:29 -0300)]
nfs-utils: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetwork-manager: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:31 +0000 (23:29 -0300)]
network-manager: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the NETWORKMANAGER_BIN variable, which was used only once, by
the full path of the binary file.

Drop the now useless variables prefix, exec_prefix and sbindir.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetsnmp: don't test if the binaries exist in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:30 +0000 (23:29 -0300)]
netsnmp: don't test if the binaries exist in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetplug: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:29 +0000 (23:29 -0300)]
netplug: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoneard: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:28 +0000 (23:29 -0300)]
neard: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:27 +0000 (23:29 -0300)]
mpd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomodem-manager: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:26 +0000 (23:29 -0300)]
modem-manager: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Drop the MODEMMANAGER_BIN variable, which was never initialized.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohaveged: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:25 +0000 (23:29 -0300)]
haveged: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoeudev: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:24 +0000 (23:29 -0300)]
eudev: don't test if the binary exists in the init script

The test doesn't make sense. It just exits with error code 5 if the
binary doesn't exist, which is silly. Buildroot installs both udevd and
its init script as part of the same package. But if it ever happens for
some reason, the error message "/sbin/udevd: No such file or directory"
in the start case should be pretty clear.

Replace the UDEV_BIN variable, which was used only once, by the full
path of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodnsmasq: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:23 +0000 (23:29 -0300)]
dnsmasq: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodmraid: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:22 +0000 (23:29 -0300)]
dmraid: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpcd: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:21 +0000 (23:29 -0300)]
dhcpcd: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodbus: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:20 +0000 (23:29 -0300)]
dbus: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobind: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:19 +0000 (23:29 -0300)]
bind: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosqlite: avoid use of unsupported -Ofast CFLAGS
Joshua Henderson [Fri, 13 Apr 2018 20:22:34 +0000 (13:22 -0700)]
sqlite: avoid use of unsupported -Ofast CFLAGS

sqlite3 refuses to be built with -ffast-math (a side effect of -Ofast) when it
falls back to implementing its own isnan() function.

sqlite3.c: In function ‘sqlite3IsNaN’:
sqlite3.c:28554:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC.

To work around this, when -Ofast is used replace with -O3.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agophp: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:37 +0000 (21:50 +0200)]
php: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowayland: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:36 +0000 (21:50 +0200)]
wayland: remove Blackfin patch

And renumber remaining patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agop7zip: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:35 +0000 (21:50 +0200)]
p7zip: remove Blackfin patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsepol: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:34 +0000 (21:50 +0200)]
libsepol: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsemanage: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:33 +0000 (21:50 +0200)]
libsemanage: remove Blackfin patch

And renumber the remaining patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibpng: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:32 +0000 (21:50 +0200)]
libpng: remove Blackfin patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibselinux: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:31 +0000 (21:50 +0200)]
libselinux: remove Blackfin patch

And renumber the remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoicu: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:30 +0000 (21:50 +0200)]
icu: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agographite2: remove Blackfin related patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:29 +0000 (21:50 +0200)]
graphite2: remove Blackfin related patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb/7.10: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:28 +0000 (21:50 +0200)]
gdb/7.10: remove Blackfin patch

And renumber remaining patches

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: remove Blackfin patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:27 +0000 (21:50 +0200)]
gdb: remove Blackfin patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoffmpeg: remove Blackfin related patch
Thomas Petazzoni [Thu, 5 Apr 2018 19:50:26 +0000 (21:50 +0200)]
ffmpeg: remove Blackfin related patch

And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>