Commit Graph

27698 Commits

Author SHA1 Message Date
Gustavo Zacarias
1968440f35 configs/qemu: enable SMP for x86 & x86_64
This is the 21st century, so enable SMP for them.

[Peter: add note to readme.txt about how emulate a SMP system in QEMU]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 19:04:23 +01:00
Gustavo Zacarias
ec7fba46c9 opusfile: bump to version 0.7
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:52:44 +01:00
Gustavo Zacarias
a8f8993365 dhcpcd: security bump to version 6.10.0
Fixes:
CVE-2016-1503 - heap overflow via malformed dhcp responses later in
print_option (via dhcp_envoption1) due to incorrect option length
values.
CVE-2016-1504 - invalid read/crash via malformed dhcp responses.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:52:24 +01:00
Gustavo Zacarias
2f52641294 php: security bump to version 5.6.17
Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of
Bounds).
Bug #70755 (fpm_log.c memory leak and buffer overflow).
Bug #70661 (Use After Free Vulnerability in WDDX Packet
Deserialization).
Bug #70741 (Session WDDX Packet Deserialization Type Confusion
Vulnerability).
Bug #70728 (Type Confusion Vulnerability in PHP_to_XMLRPC_worker()).

No CVEs assigned yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:51:46 +01:00
Gustavo Zacarias
5c73fa07f7 giflib: bump to version 5.1.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:51:33 +01:00
Gustavo Zacarias
4a37f3316c bash: bump to patchlevel 42
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:48:12 +01:00
Gustavo Zacarias
18df1fd088 libssh2: bump to version 1.6.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:46:24 +01:00
Gustavo Zacarias
511c28a017 squid: bump to version 3.5.13
Switch to bz2 tarball since there doesn't seem to be an xz release this
time around.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:45:46 +01:00
Gustavo Zacarias
062a8fba7a librsvg: bump to version 2.40.13
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:31:47 +01:00
Gustavo Zacarias
f51dfe5bdb cantarell: bump to version 0.20.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:31:28 +01:00
Gustavo Zacarias
513c314dc3 ntp: security bump to version 4.2.8p5
Fixes:
CVE-2015-5300 - MITM attacker can force ntpd to make a step larger than
the panic threshold.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:31:04 +01:00
Gustavo Zacarias
9bff092e29 gnutls: bump to version 3.4.8
Patch now upstream, so drop it along autoreconf and gettextize.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:30:23 +01:00
Peter Korsgaard
1939b393e3 tpm-tools: fix .mk file header
The file header should use 80 #'s.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:27:56 +01:00
Peter Korsgaard
0acc3ac16d tpm-tools: enable GETTEXTIZE to fix build with locale
Otherwise it ends up with a empty MKDIR_P variable, breaking the build:

Making install in po
make[2]: Entering directory `/home/test/autobuild/instance-2/output/build/tpm-tools-1.3.8/po'
/home/test/autobuild/instance-2/output/target/usr/share
make[2]: execvp: /home/test/autobuild/instance-2/output/target/usr/share: Permission denied
make[2]: *** [install-data-yes] Error 127

Fixes:
http://autobuild.buildroot.net/results/53f/53f85bcde19dc79b1266775a26e51bee1266ba7b/
http://autobuild.buildroot.net/results/979/979908a5a159d65b56f196629330892461c0a5a1/
http://autobuild.buildroot.net/results/44e/44e00da2948164ed72212310617d7d621fb0416c/
http://autobuild.buildroot.net/results/c3e/c3e3bfb22dd8e6972e74ce248e4af692aef1b0cf/
And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:25:44 +01:00
Peter Korsgaard
ba2b722580 sp-oops-extract: correct dos/unix newlines in stdint patch
Fixes:
http://autobuild.buildroot.net/results/f72/f72fc7189cbc7191f1b75a8ebd1fc319650c8e2e/

The source code uses dos newlines, so the patch has to do so as well,
otherwise apply-patches.sh fails to apply the patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-06 09:59:03 +01:00
Sergio Prado
4ed37b14bc pv: fix build error on sparc/sparc64
Relax linker option is enabled by default on sparc/sparc64
architectures, and it can't be used together with -r option, so disable
it.

Fixes:
http://autobuild.buildroot.net/results/fadc6fc5500d68b91aead58b1d74887db5244f52/
http://autobuild.buildroot.net/results/2f30486f2d72e0277fc30febd4012825a59e4f41/
http://autobuild.buildroot.net/results/82ccb8f0818d1909309eaef969548f963fc6cf04/
...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:40:27 +01:00
Gustavo Zacarias
4a38f3aef3 cantarell: bump to version 0.0.20
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:37:11 +01:00
Jörg Krause
d0b1749757 package/boost: add patch to fix host build with gcc 4.4
Add patch from upstream [1] to fix a host build with gcc 4.4.x:
  gcc.compile.c++ bin.v2/libs/container/build/gcc-4.4.5/release/threading-multi/pool_resource.o
  libs/container/src/pool_resource.cpp:35: error: declaration of 'typedef class boost::container::pmr::block_slist_base<boost::container::pmr::block_slist_header> boost::container::pmr::pool_data_t::block_slist_base'
  ./boost/container/detail/block_slist.hpp:67: error: changes meaning of 'block_slist_base' from 'class boost::container::pmr::block_slist_base<boost::container::pmr::block_slist_header>'

Fixes:
http://autobuild.buildroot.org/results/3cd/3cdc30a5b6e05de99787a20bf71fcf82842c15b3/
http://autobuild.buildroot.net/results/852/85212dd41db76d4e32efd98736ad8506e1917a8d/
http://autobuild.buildroot.org/results/963/963d102aa1c42efd84447d68d0856074421fbe05/
http://autobuild.buildroot.org/results/a39/a395f91969f79a8a4c0deffca4cdfdad33d48bd0/
.. and many more.

Host build tested on Scientific Linux 6.7 with gcc 4.4.7.

Backported from: a4e9686f8a0258bc30f9da2abab65673d6b9bd50

[1] a4e9686f8a

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:36:37 +01:00
John Keeping
e227485612 bluez5_utils: bump to version 5.37
Both patches are now included upstream.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:36:05 +01:00
Doug Kehn
f7d5420144 package/sp-oops-extract: consolidate use of stdint types
Change u_int*_t to uint*_t for compatibility, as the latter is in C99:

https://stackoverflow.com/questions/5090737/datatypes-used-in-c

Fixes:
http://autobuild.buildroot.net/results/c649822aa129d56e5462a4887b13811340564453/

This patch has also been submitted upstream (ptxdist@pengutronix.de).

Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 22:23:56 +01:00
Jörg Krause
60d4be3ea6 package/libupnpp: needs at least gcc 4.6
Version 0.13.1 of libupnpp uses range-based for loops. This C++11 feature
requires at least gcc 4.6.

Fixes:
http://autobuild.buildroot.net/results/aa9/aa93ff96305a3b201636bea65f1cfdb6db6d3dfb/
http://autobuild.buildroot.net/results/d8b/d8b96987a5336a64857817ec9831b0fb12867e7c/
http://autobuild.buildroot.net/results/408/40807fe84f67961817b6592a6df243c036cf3b4b/
http://autobuild.buildroot.net/results/408/40807fe84f67961817b6592a6df243c036cf3b4b/
.. and many more

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 11:50:16 +01:00
Peter Korsgaard
7dda4cff6e mesa3d-demos: select libglew/libglu if needed
Fixes:
http://autobuild.buildroot.net/results/4b1/4b16c9797c653c248725a55d9b8eafc4634b968c/build-end.log

libglew/libglu are added to _DEPENDENCIES for X11+GL, but not selected at
the kconfig level.

While we're at it, correct the dependencies for the X11 selects as well
(only used if GL is available).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 09:22:00 +01:00
Peter Korsgaard
286182d0d3 xapp_xcompmgr: select xlib_libXrender
Fixes:
http://autobuild.buildroot.net/results/969/9690a67083f31070e27c95b053fc0fd389fd373a/

libXrender is added to _DEPENDENCIES, but not selected at the kconfig level.
While we're at it, sort the selects alphabetically and drop the double
libxfixes select.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 09:03:36 +01:00
Romain Naour
59568655d7 package/x11r7/xserver_xorg-server: move libpciaccess selection
Move libpciaccess selection under BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
to simplify.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:18:05 +01:00
Romain Naour
9cb8f160c2 package/x11r7/xserver_xorg-server: select xlib_libxshmfence required by dri3proto support dependencies
When BR2_PACKAGE_XPROTO_DRI3PROTO and
BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR are selected, xlib_libxshmfence
package build is triggered at Makefile level.

Since 28f67899e5, the build
stop if a package build is trigged at Makefile level without
being selected at Config.in level.

Fixes:
http://autobuild.buildroot.net/results/a25/a253d19191dbc8bcc54f9e9d7fddae03d6695b4b/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:17:33 +01:00
Romain Naour
7358a7157f package/x11r7/xserver_xorg-server: reorder select/depends
>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in exemple in the manual suggest to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] http://buildroot.uclibc.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:17:11 +01:00
Romain Naour
b42fbdf2ac package/mesa3d: select packages required by dri3proto support dependencies
When BR2_PACKAGE_MESA3D_DRI_DRIVER and BR2_PACKAGE_XPROTO_DRI3PROTO
are selected, xlib_libxshmfence and xproto_presentproto packages
build are trigged at Makefile level.

Since 28f67899e5, the build
stop if a package build is trigged at Makefile level without
being selected at Config.in level.

Fixes:
http://autobuild.buildroot.net/results/6a4/6a471d2873ff7e645b0f0962d1719632e290993c

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:15:41 +01:00
Romain Naour
8eab112899 package/mesa3d: reorder select/depends
>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in exemple in the manual suggest to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] http://buildroot.uclibc.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:15:08 +01:00
Thomas Petazzoni
5c63280caf python3: switch to Git formatted patches
In preparation for the bump to Python 3.5.0, let's switch all the
patches to the Git format. This way, a Git repository of the Python
source code can be used to manage those patches, which makes it easier
to bump to newer Python versions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-05 00:14:15 +01:00
Ricardo Martincoski
6fc5de4ef4 fakeroot: fix build when libcap-dev is installed
Fixes https://bugs.busybox.net/show_bug.cgi?id=8541

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 22:40:20 +01:00
Ezequiel García
df903787f1 strace: enable supported nios2 arch
Support for Nios-II has been added in strace release 4.11.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 21:59:20 +01:00
Peter Korsgaard
85e2a87699 pciutils: correct dns disabling logic
Fixes #8581

Commit 2c879f95a0 (pciutils: cleanup) refactored the make arguments, but
accidently changed the logic to disable dns based lookups to pass
PCIUTILS_DNS=no instead of DNS=no, causing the autotection to be used.

This autodetection looks at host includes, so it isn't safe for cross
compilation.

Disable it by setting the correct make variable instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 21:55:07 +01:00
Sergio Prado
af2de9e662 mongodb: disable support for armv4 and armv5
When compiling for armv4 or armv5, we get the following error:

src/mongo/util/signal_handlers_synchronous.cpp:188:9: error: 'current_exception' is not a member of 'std'
     if (std::current_exception()) {
         ^

This is because libstdc++ will only enable std::current_exception if ATOMIC_INT_LOCK_FREE > 1, which is not the case for armv4 and armv5 architectures, so disable them.

Fixes:
http://autobuild.buildroot.net/results/589a02f511939531141135def73785b600113152/
http://autobuild.buildroot.net/results/89b9cd2dae8645b50407409c7f2a8567c551822c/
http://autobuild.buildroot.net/results/b8ffce927cb0563f5c43533ec2f02d3487acc198/

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 17:39:12 +01:00
Gustavo Zacarias
1a0368e6fe xapp_xbacklight: select xcb-util package
xapp_xbacklight depends on the xcb-utils package but doesn't select it.
Fixes:

http://autobuild.buildroot.net/results/d96/d96aa77e02954bef6fb6e9d244fbf9d1e939a374/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 16:19:19 +01:00
Sergio Prado
7af3cf592c mongodb: fix legal info build error
Remove extra comma to fix legal info build error.

Fixes:
http://autobuild.buildroot.net/results/87faca89bc9ff6ff4699c4b50bbb890ff80b95ee/
http://autobuild.buildroot.net/results/ea54721ef0d1c210b2baa9eef7c6c68863020b50/
http://autobuild.buildroot.net/results/5a81db472d432880f44dfb30bae0d777b6ae6c79/
...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 13:52:29 +01:00
Gustavo Zacarias
408f400954 pciutils: bump to version 3.4.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 13:52:03 +01:00
Gustavo Zacarias
9773b82867 lighttpd: bump to version 1.4.39
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-04 13:51:46 +01:00
lothar felten
fb4c041cfb inittab: disable reboot by ctrl-alt-del
Most embedded systems do not have a keyboard.
If a keyboard is attached afterwards (e.g. to an accessible USB host port)
this allows the user to reboot the system by pressing Ctrl-Alt-Del, which
might not be desired.

Signed-off-by: lothar felten <felten@vaxnet.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 23:16:08 +01:00
Sergi Granell
449d7b9127 Add ARM11 MPCore CPU target support
gcc differentiates the mpcore-with-vfp from the mcpore-without-vfp
CPUs. The former is named just 'mpcore', while the latter is named
'mpcorenovfp'.

We only add one entry, 'mpcore' and let the user select whether or
not to use the VFP. We then name the CPU according to the user's
selection.

Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 22:35:22 +01:00
Thomas Petazzoni
3e1b33a534 pkg-generic: improve incorrectly used package detection
Currently, the check that packages we build are indeed enabled is done
at the time a package is configured.

This can come quite late in the build process, and does not provide
direct knowledge of the real culprit for the incorrect dependency.

However, we can improve these two issues quite easily, albeit at the
expense of a very slightly more complicated make code.

First, the check can not be done at the time we define the package, i.e.
in the inner-generic-pacakge, because all its dependencies might have
not been parsed yet, so we can't yet know whether it is enabled or not
(because we can't match the package name of the dependency to its
Kconfig variable yet).

But then, we know we have all packages definitions after we scanned the
the bundled packages, kernel, bootloaders and toolchains, as well as the
br2-external tree (if any).

So, at this location, we iterate through the list of enabled packages,
and check that the packages they each depend on are indeed enabled.

This allows us to:
 1- do the check very early, before any build action,
 2- report on the exact offending package very easily.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 22:09:17 +01:00
Noé Rubinstein
c79d685975 tpm-tools: fix build failures caused by -Werror
This fixes this build failure (and many others):
  http://autobuild.buildroot.org/results/d56/d56bfc69ef0a478219c959d50fb96d526fc2155e/

The build failure is caused by the build system using -Werror; this is
already patched upstream, so this commit just imports the upstream
patch.

Signed-off-by: Noé Rubinstein <noe.rubinstein@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 22:06:00 +01:00
Jörg Krause
8c91a32be5 package/boost: add patch to fix libquadmath issue
Backport patch from upstream [1] to fix build issues with toolchains not
providing libquadmath, but still supporting __float128.

Fixes:
http://autobuild.buildroot.net/results/fcc/fccb40e7b05b84275cfe36a890cedbbaaaa4f953/
http://autobuild.buildroot.net/results/cfc/cfcc6c44d2225b9baf0fd92d3cfba4922bfb248b/
http://autobuild.buildroot.net/results/ab1/ab1a5aceedb7f9edcd5536b601f1ffb66c5fe1e8/
http://autobuild.buildroot.net/results/1ed/1ed3c1ae1e31325b49dd05c1f616637bb5e6382d/
http://autobuild.buildroot.net/results/9e5/9e53a5aff9966c6f26e705c91d13692107452feb/
and many more.

Backported from: 74ff2db959c5fa75bec770c41ed2951a740fe936

[1]
74ff2db959

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:58:45 +01:00
Yegor Yefremov
1bdd3b92a3 python-urllib3: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:57:00 +01:00
Yann E. MORIN
efe7f684a6 support/download: generate reproducible Bazaar archives
Similarly to what has previously been done for the Hg download backend,
instruct bzr to generate the archive on stdout, so that we can generate
reproducible archives.

When instructing bzr to generate the output file by itself, it uses a
temporary file that is then fed to gzip, which in turn stores the
timestamp of that file in the generated archive, whereas when the output
is generated on stdout, there is no timestamp, so the archive is then
reproducible.

Bizarely enough, we can tell 'bazaar' not to generate a bazaar in the
archive. Cool, uh? ;-]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:51:50 +01:00
Romain Naour
2565b56a11 package/tremor: select libogg package
tremor depends on libogg package but doesn't select it
in Config.in. so libogg build is trigged at Makefile level.

Since 28f67899e5, the build
stop if a package build is trigged at Makefile level without
being selected at Config.in level.

Fixes:
http://autobuild.buildroot.net/results/0da/0da3265f0f1e499f5d34ed32b0d13a2eda53f976

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:51:15 +01:00
Yann E. MORIN
76b51f90c0 support/download: generate reproducible Hg archives
When hg directly creates the output file, the hash for that file changes
everytime.

However, if we just tell hg to output the archive on stdout and we do
the redirect to the file, then the archive is reproducible.

(The reason is that in the first case, a temporary file is created and
then compressed, and gzip is adding the filename and its timestamp in
the gzip header, while in the second case, there is no temporary file,
and thus no timestamp and thus it is reproducible.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:50:38 +01:00
Thomas Petazzoni
9c40723489 Makefile: drop ldconfig handling
The ldconfig handling in the main Makefile is utterly broken, as it
calls the build machine ldconfig to generate the ld.so.cache of the
target. Unfortunately, the format of the ld.so.cache is architecture
specific, and therefore the build machine ldconfig cannot be used
as-is.

This patch therefore simply drops using ldconfig entirely, and removes
/etc/ld.so.conf.d/ from the target skeleton. The idea is that all
libraries that should be loaded by the dynamic linker must be
installed in paths where the dynamic linker searches them by default
(typically /lib or /usr/lib).

This might potentially break a few packages, but the only way to know
is to actually stop handling ldconfig.

In order to be notified of such cases, we add a check in
target-finalize to verify that there is no /etc/ld.so.conf file as
well as no /etc/ld.so.conf.d directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:46:07 +01:00
Romain Naour
63b6665092 package:sysdig: propagate dependencies from jsoncpp
sysdig select jsoncpp which needs a gcc compiler >= 4.7

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-01 22:01:00 +01:00
Romain Naour
ecd0a2b562 package/sysdig: reorder select/depends
>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in exemple in the manual suggest to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] http://buildroot.uclibc.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-01 22:00:51 +01:00
Peter Korsgaard
2a9ac68c9f tinyalsa: fix toolchain comment
Documented syntax is '.. needs A toolchain ..'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-01 21:55:17 +01:00