Commit Graph

9501 Commits

Author SHA1 Message Date
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
Yegor Yefremov
db185234b4 udev: bump to 173
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:26:44 +02:00
Peter Korsgaard
55cea3b5ef util-linux: add option for libmount
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 13:38:49 +02:00
Peter Korsgaard
1050bf67c7 util-linux: mount/fsck needs libblkid
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 13:35:09 +02:00
Peter Korsgaard
8d657be342 libroxml: drop -Werror from CFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 09:52:59 +02:00
Tristan Lelong
cef0721c74 libroxml: bump version
Closes #3997

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 09:46:10 +02:00
Peter Korsgaard
70db1984dc toolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal
As noticed by Thomas Petazzoni on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 09:09:44 +02:00
Peter Korsgaard
952d96d5ae util-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency
Drop the dependency as it isn't really nice that other packages need
to select it, and kconf complains about it:

warning: (BR2_PACKAGE_E2FSPROGS && BR2_PACKAGE_USBMOUNT) selects
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS which has unmet direct dependencies
 (!BR2_PACKAGE_BUSYBOX)

Instead ensure that only the libraries are built by default, so
busybox applets are still used unless explicitly configured.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 08:53:55 +02:00
Peter Korsgaard
e1fbd63f3c package: use libuuid from util-linux
And adjust users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 08:49:48 +02:00
Peter Korsgaard
7ee8ebbd81 autoconf: use dummy autopoint
We currently don't build a host-gettext package, so when a package using
gettext is autoreconf'ed, we end up using autopoint from the host.

Autopoint unfortunately requires CVS, so if that isn't available autoreconf
fails.

From reading:

http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html

It seems that we don't really need to rerun autopoint, so fix it by
passing autopoint=/bin/true instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 08:39:02 +02:00
Peter Korsgaard
6486661a6b util-linux: install to staging
For libblkid / libuuid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 08:36:55 +02:00
Peter Korsgaard
1af183e95b e2fsprogs: ensure util-linux is built before e2fsprogs
For libblkid.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 23:26:29 +02:00
Peter Korsgaard
e1ffc2f791 e2fsprogs: use libblkid / blkid from util-linux
e2fsprogs and util-linux both provide blkid / libblkid causing conflicts
if both are enabled. The preferred upstream (E.G. what is used by Debian)
is util-linux, so remove the options from e2fsprogs and make it use the
util-linux version instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 17:58:50 +02:00