Commit Graph

16373 Commits

Author SHA1 Message Date
Yann E. MORIN
abd4124e5f manual: add section about dealing efficiently with big image files
As reported by Ryan, it is not well-known that most tools can deal
efficiently with big sparse files.

Add a section in the manual about this, with tar and cp used as
examples, and a hinting to the man pages for the others.

Reported-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 21:26:36 +01:00
Yann E. MORIN
f96e4d7f34 package/tzdata: install a default localtime
Add an option to install a default localtime.

since tzdata only makes sense for (e)glibc, we don't care
that we install timezone files that uClibc can't understand.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 21:23:05 +01:00
Yann E. MORIN
2c1dc32647 toolchain/external: fix wrapper by not passing conflicting flags
In our wrapper, we forcibly add the -march=, -mcpu= and-mtune= flags
to the actual compiler, this in an attempt to always generate correct
and optimised code for the target.

But in some cases, the caller knows better than we do, and passes its
own set, or subset of those flags. In this case, some may conflict with
the ones we pass. The most prominent offender being the Linux kernel.

For example, on the ARM Raspberry Pi, the Linux kernel will set the
-march=armv6 flag and no -mcpu= flag, but we pass -mcpu=arm1176jzf-s,
which conflicts:

    drivers/scsi/scsi_trace.c:1:0: warning: switch -mcpu=arm1176jzf-s
    conflicts with -march=armv6 switch

(and so for all the files the kernel compiles, pretty messy)
(note: arm1176jzf-s is not an armv6, it is an armv6zk. Yeah...)

To avoid this situation, we scan our commandline for any occurence of
the possibly conflicting flags. If none is found, then we add our owns.
If any is found, then we don't add any of our owns.

The idea behind this is that we trust the caller to know better than
we do what it is doing. Since the biggest, and sole so far, offender
is the Linux kernel, then this is a rather safe bet.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 21:17:35 +01:00
Yann E. MORIN
56eb3944d5 Makefile: support running graph-depends from out-of-tree
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>
2014-01-09 21:16:30 +01:00
Julien Boibessot
195235c9d9 qt4: allow separate build/installation of demos and examples
Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 21:03:58 +01:00
Peter Korsgaard
49cfa71e41 busybox: add upstream 1.22.0 fixes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 16:26:03 +01:00
Vicente Olivert Riera
4f3f23a55f sdl: Fix compilation with libX11 >= 1.5.99.902
Applying an upstream patch to fix a compilation error with versions of
libX11 since 1.5.99.902. This patch modifies configure.in so we need to
run autogen.sh to make it working correctly. Running autoreconf will
fail because SDL uses bit tricky automake/autoconf configuration.

Upstream patch URL:
   http://hg.libsdl.org/SDL/rev/91ad7b43317a

Fixes:
   http://autobuild.buildroot.net/results/bf8/bf83466a7bbb0635d97fe279a18778d92f20bea2/

[Peter: add comment why we're doing this, add needed dependencies]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 16:22:32 +01:00
Vicente Olivert Riera
bb79b96472 sdl: rename patches to add sequence numbers
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 15:15:16 +01:00
Gustavo Zacarias
0f03606fdb grep: enable optional pcre integration
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 13:32:28 +01:00
eric.le.bihan.dev@free.fr
e4bf77bf89 network-manager: bump to version 0.9.8.2
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 13:18:39 +01:00
eric.le.bihan.dev@free.fr
16937a45db network-manager: fix DHCP clients detection.
If either dhclient or dhcpcd are selected, network-manager is now
configured with the proper paths.

This allows 'dhcp=dhclient' or 'dhcp=dhcpcd' to be set in
/etc/NetworkManager/NetworkManager.conf.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 13:17:48 +01:00
eric.le.bihan.dev@free.fr
a4c1e0d77a dhcpcd: install dhcpcd as /usr/sbin/dhcpcd.
GNU/Linux distributions usually install dhcpcd in /usr/sbin.
NetworkManager will look for it in this directory.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 13:17:34 +01:00
Axel Lin
d66c981aaa cryptsetup: fix build error after bump version
Fixes:
http://autobuild.buildroot.net/results/9ca/9cad1cf49ee6b5c58d8260ee33beef2e6c1ada4d/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 12:12:07 +01:00
Peter Korsgaard
712ebe8579 libfreefare: examples need to link with zlib for openssl when static linking
Fixes http://autobuild.buildroot.net/results/f09/f09d515f0e7b6d78010f1ce624336ceaef624989/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 11:23:56 +01:00
Anton Blanchard
7c4cd1afdf strace: Fix build issue with duplicate ptrace_peeksiginfo_args definition
Backport a patch from upstream to fix a conflict between glibc
headers and recent kernel headers (v3.10 or newer).

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 23:21:26 +01:00
Simon Dawson
bf93f6a2e2 python-nfc: bump version
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 23:18:45 +01:00
Naumann Andreas
db1e4fb891 evemu: new package
[Peter: don't try to generate manpages even if host has asciidoc]
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 23:10:01 +01:00
Francois Perrad
1bedb6b30b perl-cross: workaround with PERL5LIB no longer needed
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:34:32 +01:00
Francois Perrad
542801aca9 perl: bump to version 5.18.2
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:34:19 +01:00
Frank Hunleth
3c96bc7372 libdmtx: add license information
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:33:15 +01:00
Jeremy Rosen
bd53398cd6 linux: force inotify kernel option when udev is used as dev handler
[Peter: drop unneeded devtmpfs handling]
Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:28:00 +01:00
Simon Dawson
848e02b8cb libnfc: bump version
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:06:33 +01:00
Bernd Kuhls
a4df98122f xorg: Bump xlib_libXfont version to 1.4.7
CVE-2013-6462: unlimited sscanf overflows stack buffer in bdfReadCharacters()

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 22:04:05 +01:00
Peter Korsgaard
1a2494d63b docs.html: add links to nightly build of manual as well
The html/pdf/text version of the manual is regenerated from current
git head every 6 hours.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 17:16:24 +01:00
Peter Korsgaard
e580ce84f9 Update copyright year
Happy new year!

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 17:12:04 +01:00
Peter Korsgaard
822b3f0b0f minidlna: fix static linking
The configure script / Makefile forgets to link with some of the dependent
libraries breaking static linking, so help it along.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 09:00:11 +01:00
Bernd Kuhls
40ce42121c minidlna: bump version to 1.1.1
- remove all patches needed for pre-autotools minidlna release
- convert .mk file to autotools-package
- disable broken static build
- compile-tested only with ffmpeg 1.2.4 (see other patch)

[Peter: fix license filename]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 23:50:08 +01:00
Jeremy Rosen
7b8d3147c7 udev: mention dependancy on inotify
[Peter: wrap help text]
Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:33:34 +01:00
Bernd Kuhls
6149ab4841 xorg: Bump xlib_libdmx to version 1.1.3
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:23:11 +01:00
Bernd Kuhls
8c969f7786 xorg: Bump xlib_libXxf86dga to version 1.1.4
- remove patches applied upstream

thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:23:05 +01:00
Bernd Kuhls
5b838cabde xorg: Bump xlib_libXv to version 1.0.10
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:18:00 +01:00
Bernd Kuhls
3c9c4b4ab2 xorg: Bump xlib_libXres to version 1.0.7
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:17:49 +01:00
Bernd Kuhls
ae47b7ea29 xorg: Bump xlib_libXpm to version 3.5.11
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:17:39 +01:00
Bernd Kuhls
88adfadccc xorg: Bump xlib_libXcursor to version 1.1.14
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:17:28 +01:00
Bernd Kuhls
287873bf56 xorg: Bump xlib_libXaw to version 1.0.12
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:17:19 +01:00
Bernd Kuhls
62407766bb xorg: Bump xlib_libFS to version 1.0.5
thanks to Jerzy Grzegorek for the hint

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 21:16:50 +01:00
Gustavo Zacarias
757690a262 openssl: bump to version 1.0.1f
Fixes CVE-2013-4343, CVE-2013-6450 and the previously patched
CVE-2013-6449.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 17:25:04 +01:00
Thomas Petazzoni
a79ea8a60b grub: bump to 0.97-67
Bump to a more recent version of the Debian patches for grub legacy,
that fix an incorrect build with gcc 4.6.

Fixes #6092 and #2629.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 10:22:35 +01:00
Bernd Kuhls
4da14cd16b xorg: Bump xdriver_xf86-video-intel version to 2.99.907
- enable sna support by default, disable unneeded stuff
  ported from OpenELEC:
  https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/x11/driver/xf86-video-intel/package.mk

[Peter: drop Xtst dependency]
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-07 10:05:34 +01:00
Julien Boibessot
8238e41962 Add LBreakout2 package (SDL game)
[Peter: needs gettext with uClibc+locale]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 15:35:25 +01:00
Bernd Kuhls
c991fabfcf transmission: Fix line feeds in patch file
Upstream code has DOS line endings...

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 14:56:22 +01:00
Peter Korsgaard
948b92693d libxcb: re-disable building documentation for the host
Fixes http://autobuild.buildroot.net/results/98f/98f8dd2d1a9f8fac3024caf5aa0ca54fcf320389/

Commit 862e1221d (Bump xcb-proto & libxcb version to 1.10) accidently
dropped the --disable-build-docs configure arguments for the host variant,
which in the best case slows down the build for no use, and on certain
hosts breaks the build as doxygen runs out of memory.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 14:16:20 +01:00
Peter Korsgaard
2ce67935e8 xkeyboard-config: disable 'runtime deps as build time deps'
Fixes http://autobuild.buildroot.net/results/f11/f11687ae661f9d3570c55a9d62a7822e667ad9ad/

xkeyboard-config has runtime dependencies (when using X11) on xproto and
libX11, and by default checks at build time if they are available.

Disable this check as it doesn't apply for wayland and the needed deps are
taken care of by BR for X11.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 11:29:48 +01:00
Yann E. MORIN
9e680d0ada fs/ext2: fix generation of ext4 filesystems
cset 7a58a4e (e2fsprogs: bump to version 1.42.9) broke the generation
of ext4 filesystems.

This is because, in ext4, some metadata are dependent on the UUID.
If changing the UUID of an ext4 filesystem, tune2fs now exits with
exit-code 1, and prints a message to run fsck, to avoid trashing the
filesystem.

This condition is of utmost importance on a mounted filesysten (which
is not our case) to avoid corruption (yes, it is possible to change
the UUID of a mounted filesystem).

But the error is not valid for us, since we are working on an unmonted
filesystem image in the first place.

Since we change the UUID after we convert the filesystem (to ext4),
tune2fs just bails out.

We can not just ignore the exit code of tune2fs, since we still want
to catch any other failure.

It turns out that, changing the UUID before converting the filesystem
is just the way to go.

Fixes #6752.

Reported-by: Daniel Mentz <daniel@exxm.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Daniel Mentz <daniel@exxm.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 00:07:25 +01:00
Gustavo Zacarias
a5c4cde801 dbus-cpp: fix cross build for tools when expat is missing
dbus-c++ tools use CXX_FOR_BUILD to build in cross scenarios, however
they don't use CXXFLAGS_FOR_BUILD nor LDFLAGS_FOR_BUILD thus breaking
when there aren't any expat devel files in the default PATHs (build
host). Fixes:
http://autobuild.buildroot.net/results/44f/44fc2cab2b60aa82460bb46b1035ddda115af750/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 00:05:14 +01:00
Bernd Kuhls
b7b9008f9a xorg: Bump xutil_util-macros version to 1.18.0
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05 23:30:21 +01:00
Bernd Kuhls
d7b109049f xorg: Bump xutil_makedepend version to 1.0.5
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05 23:28:53 +01:00
Bernd Kuhls
ed7621c536 xorg: Bump xkeyboard-config version to 2.10.1
[Peter: drop uneeded extra dependencies]
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05 23:28:09 +01:00
Bernd Kuhls
76e0d9e2a2 xorg: Bump xlib_xtrans version to 1.3.2
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05 22:59:47 +01:00
Bernd Kuhls
a11b47883f xorg: Bump xlib_libXxf86vm version to 1.1.3
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05 22:58:14 +01:00