Commit Graph

9513 Commits

Author SHA1 Message Date
Thomas De Schampheleire
bf446513e7 ncurses: fix hanging installation due to old version of tic
Closes #3685

During installation of ncurses, the 'tic' program from the host is used. In
some cases, this version of tic is too old for the data to be processed, and
the installation hangs indefinitely (already reported in July 2010, see [1])

With this patch, a static version of tic is built and used during the
installation step of target ncurses. This method is based on a similar fix
in Gentoo Linux (see [2] for the report and [3] for the solution).

[1] http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=249363#c25
[3] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/ncurses-5.7-r2.ebuild

[Peter: Install into host, don't tweak path]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-26 15:01:41 +02:00
Peter Korsgaard
cb6c2c4278 grub: fix patch handling after AUTOTARGETS conversion
Closes #4093

AUTOTARGETS doesn't handle compressed patches, so the '400' patch did
not get applied.

Fix it by extracting the patch. With this, the '500' patch is no longer
needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-26 07:16:23 +02:00
Peter Korsgaard
d881a14f9b mini2440_defconfig: fix getty config
BR2_TARGET_GENERIC_GETTY_TTYSAC0 is no more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-25 17:29:40 +02:00
Peter Korsgaard
e0a6bcd826 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-24 15:07:41 +02:00
Peter Korsgaard
480a6c3b01 configs: remove arm toolchain defconfigs
nptl is default nowadays, and configurations were pretty much random
anyway.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-24 15:01:18 +02:00
Peter Korsgaard
60620a1d81 binutils: only use 2.21.1 for uClibc 0.9.32 / snapshot
Earlier versions don't build with it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-24 14:45:46 +02:00
Jean-Christophe PLAGNIOL-VILLARD
83f1bf9e45 barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support
[Peter: only activate if barebox is enabled, fix deps]
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-24 14:43:56 +02:00
Jean-Christophe PLAGNIOL-VILLARD
f5777ce8fb linux: add linux/linux26-savedefconfig support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-22 22:15:35 +02:00
Yegor Yefremov
31fc477717 mtd: bump to 1.4.6
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-22 13:38:42 +02:00
Sven Neumann
1f2c67fe1b kernel-headers: bump 3.0.x stable version
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-22 13:35:55 +02:00
Peter Korsgaard
5c6212aea6 uClibc: disallow 0.9.32 on sh
Build breaks during final uClibc build with 0.9.32.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-16 08:36:01 +02:00
Peter Korsgaard
57fb63e34d binutils: default to 2.21 on sh
uClibc currently doesn't build on sh with 2.21.1, similar to the mips
issue (92496e0).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-16 00:13:20 +02:00
Peter Korsgaard
3037dba2f1 uClibc: disallow 0.9.32 on avr32
Build breaks during gcc-intermediate step with 0.9.32.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15 19:17:36 +02:00
Peter Korsgaard
1add7c592b udev: ensure /dev mgmt option is in sync
These options should be in sync, both for consistency and because udev
needs devtmpfs enabled in the kernel.

We unfortunately cannot just select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
here, as that one selects udev - leading to recursion erors, so instead
we use depends on.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15 14:09:57 +02:00
Peter Korsgaard
1c1009d38d usbmount: depend on udev rather than selecting it
udev is much more than a library, so we shouldn't use select to silently
enable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15 12:11:58 +02:00
Heiko Helmle
323dcc076a libxml-parser-perl: fix install bug
This patch makes libxml-parser-perl behave on my system - though it looks
like it isn't necessary on all host OSses (on gentoo and opensuse it works
without, but on ubuntu lucid and Scientific 6 it fails without the patch).

Signed-off-by: Heiko Helmle <helman@gmx.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-14 10:03:18 +02:00
Maxime Ripard
ad891ac44a Fix the Python build when running Linux 3.*
When compiling Python on a host running Linux 3.0, the sys.platform
constant is set at "linux3". A lot of code (inside the interpreter
itself, its build system and third party apps and libraries) relies on
it to be linux2 on a Linux system.

This leads to the build of the target python package to break.

This behaviour has been reported on the Python bugtracker but is not
fixed yet.

http://bugs.python.org/issue12326

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-14 08:52:13 +02:00
Sven Neumann
e35921b3a0 directfb: bump to version 1.4.13
There's an even newer stable release available (1.4.14), but it
has problems with cross-compilation that we are still resolving
on the directfb-dev mailing-list.

[Peter: rename ppc patch to match]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-12 19:58:16 +02:00
Peter Korsgaard
71f279f9a2 util-linux: fix install when locales are enabled
util-linux uses mkinstalldirs to install .po files when locales are
enabled, but the definition of MKINSTALLDIRS comes from a tweaked
nls.m4 (based on the one from gettext).

When we autoreconf the package, we end up using the system (staging)
version of nls.m4, so MKINSTALLDIRS doesn't get defined.

Fix it by passing a definition of MKINSTALLDIRS to make during the
install steps.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-12 09:45:50 +02:00
Jean-Christophe PLAGNIOL-VILLARD
ac7d781f7c barebox: bump version
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-09 20:11:11 +02:00
Peter Korsgaard
a8273c4272 util-linux: fix libintl linking if present
The configure script correctly detects presence of libintl, but it forgets
to link against it, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-09 16:17:16 +02:00
Yegor Yefremov
efd5ca7b26 ti-utils: bump version and clean up
[Peter: fixup whitespace, simplify target install]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-09 14:12:06 +02:00
Sven Neumann
01281da457 util-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD option
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 20:05:51 +02:00
Peter Korsgaard
92496e0ef0 binutils: default to 2.21 on mips(el)
uClibc currently doesn't build on mips(el) with 2.21.1.

For details, see:

http://lists.uclibc.org/pipermail/uclibc/2011-March/045026.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 18:56:47 +02:00
Peter Korsgaard
c578d2cc2b qemu_mipsel_malta_defconfig: use 2.6.38.8
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:55:19 +02:00
Peter Korsgaard
720335154e qemu_arm_versatile_defconfig: use 2.6.38.8
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:03:06 +02:00
Peter Korsgaard
db685acb52 sheevaplug_defconfig: use 2.6.39.4
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:02:04 +02:00
Peter Korsgaard
ce205b5c56 linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:00:44 +02:00
Peter Korsgaard
7cb161ac31 kernel-headers: bump 3.0.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 08:58:40 +02:00
Yann E. MORIN
c72a9bd4c8 toolchain/crosstool-NG: update bundled config files
Update the crosstool-NG libc-specific config files to match the
new set of options coming with the updated crosstool-NG.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-07 23:17:49 +02:00
Yann E. MORIN
c77f8f173c toochain/crosstool-NG: bump version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-07 23:17:03 +02:00
Peter Korsgaard
2c85cb9308 xfont_font-misc-misc: remove mapfiles workaround
Not needed anymore after the recent pkg-config mapfiles fix.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-06 12:06:41 +02:00
Sven Neumann
59377dd2b5 libsoup: bump to 2.32.2
Buildroot should use a stable release, not use an unstable development
version. Updating to the current stable branch (2.34) is not trivial,
so at least use the latest release from the stable 2.32 branch.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-06 08:18:19 +02:00
Peter Korsgaard
7ff457cdb5 Update for 2011.08-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 22:31:30 +02:00
Michael J. Hammel
5496bc399b pkg-config: Add "mapdir" to sysroot handled variables
Closes #3583, #3649

Fixes xfonts_font-adobe build failure.

Signed-off-by: Michael J. Hammel <mjhammel@graphics-muse.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 22:13:37 +02:00
Peter Korsgaard
5255a7197b CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 22:03:37 +02:00
Thomas De Schampheleire
54624512d8 toolchain-external: fix some typos CodeSoucery -> CodeSourcery
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:56:33 +02:00
Thomas Petazzoni
10a130f91e initramfs/init: make sure that 0, 1, 2 fds are available
As the kernel doesn't automatically mount devtmpfs when an initramfs
is used, commit 424888e474 has
introduced a small wrapper script that mounts devtmpfs before starting
the real init.

Unfortunately, the problem is that in this case, the init process runs
without any 0, 1 and 2 file descriptors, so none of the
messages/errors printed by the various initialization scripts can be
seen. This is due to the fact the init process relies on 0, 1 and 2
being opened by the kernel before init is started. However, as
/dev/console isn't present on the filesystem at the time the kernel
tries to open the console to create the 0, 1 and 2 file descriptors,
the kernel fails on this and prints the famous "Warning: unable to
open an initial console".

The proposed workaround is to actually open 0, 1 and 2 to /dev/console
in the wrapper script, right after mounting the devtmpfs filesystem,
and before starting the real init. The "Warning" from the kernel is
still shown, but at least the messages from the init scripts are
visible.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:52:21 +02:00
Thomas Petazzoni
f940d7602c package: fix <pkg>_DL_VERSION value
993e51bc22 introduced a <pkg>_DL_VERSION
in addition to <pkg>_VERSION. This variable, purely internal to the
package infrastructure, allows to store the *raw* version name, as
defined in the package .mk file. However, as this version string can
contain slashes, it is not appropriate to be part of the build
directory name of the package. This is why <pkg>_VERSION is defined to
be the same thing as <pkg>_DL_VERSION, except that slashes are
replaced by underscores.

However, the initial implementation didn't take into account the case
of host packages. So 763822e874 was
committed to fix this. But unfortunately, this commit got it wrong
again: it forgot the case where <pkg>_VERSION is set, but not
HOST_<pkg>_VERSION. In this case, HOST_<pkg>_DL_VERSION remained
empty. This can be seen for example by building host-sstrip.

This problem has been noticed by Julien Boibessot
<julien.boibessot@free.fr>, who also helped in fixing the
issue. Thanks!

The fix is simply to ensure that <pkg>_DL_VERSION is properly set in
all cases: when HOST_<pkg>_VERSION is defined, when only <pkg>_VERSION
is defined, and when no version is defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:48:08 +02:00
Frederic Bassaler
b0d0e06077 midori: bump to 0.3.6
midori 0.4.0 is out, but requires an additionnal dependency : vala
(maybe a more experienced person could add it?)

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:46:24 +02:00
Thomas De Schampheleire
4eb982cf90 'source' target should depend on 'dirs'
In the following command flow:
make distclean
make <board>_defconfig
make source

the dl directory would normally be created by the first wget download. If there are no such downloads, e.g. because you use a local download mirror (e.g. scp, file) or only use git/svn/hg/bzr repositories, the dl directory is not created automatically. This causes e.g. the 'pushd' command in the respective _DOWNLOAD commands to fail.

This patch adds a dependency to the 'dirs' target to 'source', fixing this scenario.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:44:56 +02:00
Gustavo Zacarias
3633557c95 iw: bump to version 3.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:38:33 +02:00
Gustavo Zacarias
ced6c9df43 samba: bump to version 3.3.15
Bump samba to version 3.3.15 and add security patches for CVE-2011-2522
and CVE-2011-2694.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:37:38 +02:00
Gustavo Zacarias
b4d1882f7e iptables: bump to version 1.4.12
Bump iptables to version 1.4.12 for linux kernel 3.0 support

[Peter: Rename patch]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:35:19 +02:00
Sven Neumann
e9394d8ca2 libsoup: add patch to fix CVE-2011-2054
Fixes a security hole that caused some SoupServer users to
unintentionally allow accessing the entire local filesystem when
they thought they were only providing access to a single directory.

This is the change from libsoup-2.34.3 backported to 2.32.2. It
doesn't include the changes to the test suite though.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:22:19 +02:00
Peter Korsgaard
d49286740a package: mark liboil + swfdec as deprecated
They are dead upstream, and will be removed during 2011.11 cycle unless
someone speaks up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:20:44 +02:00
Peter Korsgaard
fc57b341d9 orc: target install: cleanup unused files
orcc is only needed when developing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:15:40 +02:00
Thomas Petazzoni
d63a817f55 external toolchains: fix SuperH toolchain configuration
The CodeSourcery toolchain for SH2-A platforms provide largefile
support, inet RPC, wide char and threads, so adjust the configuration
accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 21:00:50 +02:00
Yegor Yefremov
b760d12553 openvpn: bump to 2.2.1
tmpdir issue was already fixed in 2.2.1 version, so
remove the patch

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:54:09 +02:00
Peter Korsgaard
411543ae80 kernel-headers: bump 2.6.35.x / 2.6.39.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:32:54 +02:00