buildroot.git
12 years agocups: fix libdir handling
Arnout Vandecappelle [Tue, 10 Jul 2012 11:52:32 +0000 (11:52 +0000)]
cups: fix libdir handling

Cups uses /usr/lib64 if the HOST has it, no matter if it is cross compiling
for a 32bit arch, breaking the build for stuff looking in /usr/lib.

The fix of commit edd2716c didn't work, it would just force /usr/lib64 if
the target is 64 bit.  Instead, force installation in /usr/lib regardless
of the host.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinks: Enable graphics for X11
Valentine Barshak [Mon, 15 Oct 2012 06:44:58 +0000 (06:44 +0000)]
links: Enable graphics for X11

Graphics can be enabled for X11 as well.
Do not select DirectFB for graphics,
set DirectFB or X11 dependencies instead.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnl: bump to version 3.2.14
Gustavo Zacarias [Tue, 23 Oct 2012 03:18:11 +0000 (03:18 +0000)]
libnl: bump to version 3.2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobison: bump to version 2.6.3
Gustavo Zacarias [Tue, 23 Oct 2012 03:18:10 +0000 (03:18 +0000)]
bison: bump to version 2.6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xsm: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:57 +0000 (02:06 +0000)]
xapp_xsm: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xmag: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:56 +0000 (02:06 +0000)]
xapp_xmag: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xgc: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:55 +0000 (02:06 +0000)]
xapp_xgc: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Note that this new version requires a minor cross-compilation fix in
configure.ac, which has already been committed upstream but is not yet
part of a release tarball.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xfontsel: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:54 +0000 (02:06 +0000)]
xapp_xfontsel: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xedit: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:53 +0000 (02:06 +0000)]
xapp_xedit: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_xbiff: fix build against Xmu by bumping version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:52 +0000 (02:06 +0000)]
xapp_xbiff: fix build against Xmu by bumping version

Fix a build issue similar to the one encountered on xapp_listres at
http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxapp_listres: fix build against Xmu by bumping the version
Thomas Petazzoni [Mon, 22 Oct 2012 02:06:51 +0000 (02:06 +0000)]
xapp_listres: fix build against Xmu by bumping the version

Fixes

  http://autobuild.buildroot.org/results/06d0ef38165769df38047c1f64d4cfae835e9e54

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopus-tools: fix build on i386
Arnout Vandecappelle [Sat, 3 Nov 2012 13:13:15 +0000 (13:13 +0000)]
opus-tools: fix build on i386

Upstream patch.  Fixes e.g.
http://autobuild.buildroot.net/results/03cf0ee3c092960c37a6a78f2531b047a317d516/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain-external: improve glibc support to test availability of RPC
Thomas Petazzoni [Sat, 3 Nov 2012 17:47:50 +0000 (18:47 +0100)]
toolchain-external: improve glibc support to test availability of RPC

Basically, the BR2_TOOLCHAIN_EXTERNAL_GLIBC option no longer
unconditionally selects BR2_TOOLCHAIN_HAS_NATIVE_RPC since there are
glibc toolchains that don't have RPC support. All the predefined
toolchain profiles are updated to take into account this change: for
the moment, all glibc toolchains that have pre-defined toolchains have
RPC support, but further patches in the series add pre-defined glibc
toolchains that don't have RPC support. In the case of custom glibc
toolchains, a question is asked to the user so that he can say whether
the external glibc toolchain has RPC support or not. The validity of
this configuration option is checked by the new
check_glibc_rpc_feature function in helpers.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agonetkittelnet: mark as deprecated
Thomas Petazzoni [Sat, 3 Nov 2012 17:48:03 +0000 (18:48 +0100)]
netkittelnet: mark as deprecated

It is no longer being developed, the FTP is dead, and Debian has
removed it from the distribution.

Also it allows to not worry about adding RPC support through libtirpc
to this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agonetkitbase: mark as deprecated
Thomas Petazzoni [Sat, 3 Nov 2012 17:48:02 +0000 (18:48 +0100)]
netkitbase: mark as deprecated

It is no longer being developed, the FTP is dead, and Debian has
removed it from the distribution.

Also it allows to not worry about adding RPC support through libtirpc
to this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoRename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPC
Thomas Petazzoni [Sat, 3 Nov 2012 17:47:49 +0000 (18:47 +0100)]
Rename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPC

The BR2_INET_RPC has for a long time been a not very descriptive
configuration option name, and with the advent of non-RPC glibc
toolchains and the apparition of libtirpc, we really need to rename it
to something more sensible, BR2_TOOLCHAIN_HAS_NATIVE_RPC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain-crosstool-ng: use the Crosstool-ng config options instead of the common...
Thomas Petazzoni [Sat, 3 Nov 2012 17:47:48 +0000 (18:47 +0100)]
toolchain-crosstool-ng: use the Crosstool-ng config options instead of the common hidden ones

Since we are some day going to finally rename the badly named common
toolchain options (BR2_USE_WCHAR, BR2_ENABLE_LOCALE, BR2_INET_RPC,
etc.) into something more logical, let's start using the Crosstool-NG
toolchain options in the Crosstool-NG code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobusybox: don't force FEATURE_NFS_MOUNT
Thomas Petazzoni [Sat, 3 Nov 2012 17:47:47 +0000 (18:47 +0100)]
busybox: don't force FEATURE_NFS_MOUNT

Instead of making the Busybox configuration more complicated by trying
to adjust it depending on whether RPC is available or not (which gets
complicated when RPC support can be provided by libtirpc), simplify
things by letting the user enable FEATURE_NFS_MOUNT or not depending
on whether RPC support is available or not.

Our default configuration do not enable FEATURE_NFS_MOUNT, so users
will not face any build problems by default. Only if they explicitly
enable FEATURE_NFS_MOUNT will they have to make sure that the
toolchain has RPC support, or that libtirpc is enabled (support for
this added in a followup patch).

[Peter: remove from CONFIGURE_CMDS as well]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouClibc: use the Buildroot toolchain options instead of the hidden common options
Thomas Petazzoni [Sat, 3 Nov 2012 17:47:46 +0000 (18:47 +0100)]
uClibc: use the Buildroot toolchain options instead of the hidden common options

Since we are some day going to finally rename the badly named common
toolchain options (BR2_USE_WCHAR, BR2_ENABLE_LOCALE, BR2_INET_RPC,
etc.) into something more logical, let's start using the Buildroot
toolchain options in the uClibc code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibhid: disable on avr32
Arnout Vandecappelle (Essensium/Mind) [Sat, 3 Nov 2012 17:20:54 +0000 (18:20 +0100)]
libhid: disable on avr32

libhid uses timerfd, which is not yet available in the uClibc-0.9.31
that we have to rely on for avr32.  Since this is pretty much a corner
case, just disable libhid for avr32.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkg-download: Make a shallow clone for git downloads
Arnout Vandecappelle (Essensium/Mind) [Thu, 1 Nov 2012 01:21:05 +0000 (02:21 +0100)]
pkg-download: Make a shallow clone for git downloads

When downloading from git, we clone the whole repository and then only
use the latest commit.  That's a lot of redundant stuff.  So instead,
make a shallow clone.  Unfortunately that's only possible when
downloading a branch or tag, so fall back to the old method if git gives
an error.

This speeds up the cloning of a linux git from more than 2 hours to
20 minutes on a 200KB/s link).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoarptables: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:53 +0000 (02:29 +0000)]
arptables: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoulogd: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:52 +0000 (02:29 +0000)]
ulogd: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoconntrack-tools: bump to version 1.4.0
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:51 +0000 (02:29 +0000)]
conntrack-tools: bump to version 1.4.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agonfacct: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:50 +0000 (02:29 +0000)]
nfacct: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_log: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:49 +0000 (02:29 +0000)]
libnetfilter_log: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibmnl: add license info
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:48 +0000 (02:29 +0000)]
libmnl: add license info

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_acct: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:47 +0000 (02:29 +0000)]
libnetfilter_acct: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_queue: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:46 +0000 (02:29 +0000)]
libnetfilter_queue: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_cthelper: add new package
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:45 +0000 (02:29 +0000)]
libnetfilter_cthelper: add new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnfnetlink: bump to version 1.0.1
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:44 +0000 (02:29 +0000)]
libnfnetlink: bump to version 1.0.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_cttimeout: add license info
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:43 +0000 (02:29 +0000)]
libnetfilter_cttimeout: add license info

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_conntrack: bump to version 1.0.2
Gustavo Zacarias [Tue, 30 Oct 2012 02:29:42 +0000 (02:29 +0000)]
libnetfilter_conntrack: bump to version 1.0.2

[Peter: adjust dnsmasq dependency]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocmake: bump version to 2.8.9
Thiago Correa [Mon, 29 Oct 2012 05:53:19 +0000 (05:53 +0000)]
cmake: bump version to 2.8.9

Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqextserialport: new package
Thomas Petazzoni [Sat, 2 Jun 2012 16:13:55 +0000 (18:13 +0200)]
qextserialport: new package

[Peter: adjust for BR changes]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouse avr32linux.org mirror
Arnout Vandecappelle [Sat, 3 Nov 2012 06:38:54 +0000 (06:38 +0000)]
use avr32linux.org mirror

The avr32linux.org mirror has vanished and is replaced by a spam site
that returns HTML pages for whatever URL you request from it.  So the
download helper thinks that download has succeeded, while actually it
failed.

Fortunately, there is still a mirror of the site alive, so we can use
that one.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogdb: adjust behavior when thread debug is not available
Thomas Petazzoni [Sat, 2 Jun 2012 06:39:16 +0000 (06:39 +0000)]
gdb: adjust behavior when thread debug is not available

When an external toolchain without thread debug is used, the gdb
package can be selected, but no version can be choosen, since none
match any of the requirements. This leads Buildroot to try to build
gdb for the target without a version being defined, as in the
following build log:

 http://autobuild.buildroot.org/results/84e8fd2df0cc22448052a572c2e9a6e03dd137eb/build-end.log

To fix this, we adjust the dependencies of the BR2_PACKAGE_GDB option
so that the package as a whole is not selectable when the required
conditions are not met. Basically, we have the choice of:

 * Having a toolchain that supports thread debugging, which is needed
   for gdb >= 7.x

 * Having BR2_DEPRECATED enabled, which allows gdb 6.8 to be selected,
   which doesn't require thread debugging

 * Using bfin, since this architectures has a special old gdb version

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobarebox: Allow to pass a custom configuration file
Maxime Ripard [Sat, 3 Nov 2012 06:05:10 +0000 (06:05 +0000)]
barebox: Allow to pass a custom configuration file

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocpanminus: new package
Francois Perrad [Fri, 19 Oct 2012 03:13:53 +0000 (03:13 +0000)]
cpanminus: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoiproute2: fix em_ipset build issue
Peter Korsgaard [Sat, 3 Nov 2012 15:50:51 +0000 (16:50 +0100)]
iproute2: fix em_ipset build issue

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

em_ipset.c uses xtables.h from iptables, but the configure script fails
to to check for this, so forcibly disable it if not available.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage: don't hide webservers when !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
Peter Korsgaard [Sat, 3 Nov 2012 11:53:29 +0000 (12:53 +0100)]
package: don't hide webservers when !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

The busybox web server isn't providing the same binary name / cmdline
arguments as the "big" webservers, so they aren't equivalent.

As discussed on the dev day, don't hide them when _SHOW_OTHERS isn't
enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoperl: prepare the removal of microperl
Francois Perrad [Fri, 19 Oct 2012 03:13:52 +0000 (03:13 +0000)]
perl: prepare the removal of microperl

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoperl: add option "custom install"
Francois Perrad [Fri, 19 Oct 2012 03:13:51 +0000 (03:13 +0000)]
perl: add option "custom install"

allows same behaviour (and footprint) as microperl

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoperl: add GDBM_File
Francois Perrad [Fri, 19 Oct 2012 03:13:50 +0000 (03:13 +0000)]
perl: add GDBM_File

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogdbm: new package
Francois Perrad [Fri, 19 Oct 2012 03:13:49 +0000 (03:13 +0000)]
gdbm: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoperl: add DB_File
Francois Perrad [Fri, 19 Oct 2012 03:13:48 +0000 (03:13 +0000)]
perl: add DB_File

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoperl: new package
Francois Perrad [Fri, 19 Oct 2012 03:13:47 +0000 (03:13 +0000)]
perl: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agohost-qemu: new package
Francois Perrad [Fri, 19 Oct 2012 03:13:46 +0000 (03:13 +0000)]
host-qemu: new package

only user mode for the current target architecture

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolcdapi: fix autobuilder failures
Simon Dawson [Mon, 29 Oct 2012 22:47:07 +0000 (22:47 +0000)]
lcdapi: fix autobuilder failures

Version 0.3 of the lcdapi package does not correctly handle CXXFLAGS passed
in from the environment/command line. In particular, the passing in of CXXFLAGS
clobbers the -fPIC flag which is set in the top-level lcdapi makefile.

The following autobuild logs highlight the problem.

  http://autobuild.buildroot.net/results/9a47b4a70d29308f668d65d983ba6146c0c56365/build-end.log

  http://autobuild.buildroot.net/results/4a4f6e2e7f80d5a23c9d26069094e9dafb1468e7/build-end.log

  http://autobuild.buildroot.net/results/0d96c207a9db44cf2791a66cad5162a739e7053a/build-end.log

This has been fixed upstream in version 0.4; this patch simply bumps the
version number in the Buildroot lcdapi package.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoiproute2: fix build with toolchains providing setns(2)
Peter Korsgaard [Sat, 3 Nov 2012 08:21:25 +0000 (09:21 +0100)]
iproute2: fix build with toolchains providing setns(2)

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

ipnetns.c contains a replacement setns implementation, which is used
if the toolchain doesn't provide any (HAVE_SETNS not set).

We don't have any knowledge of toolchain setns support on buildroot
level, but the (handwritten) configure script contains a test for it,
so run the configure script before building.

The configure script isn't written for cross compilation, so it needs
to be massaged slightly to use the cross compiler / flags.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogdisk: close(2) needs unistd.h
Peter Korsgaard [Sat, 3 Nov 2012 07:59:21 +0000 (08:59 +0100)]
gdisk: close(2) needs unistd.h

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

Fixed upstream as well in the (big) 0.8.3 commit:
http://gptfdisk.git.sourceforge.net/git/gitweb.cgi?p=gptfdisk/gptfdisk;a=commit;h=3488294d718a0e8b7f312c80c9e5729671173f6a

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodbus: bump version
Peter Korsgaard [Fri, 2 Nov 2012 22:51:02 +0000 (23:51 +0100)]
dbus: bump version

Fixes security issues:
- CVE-2012-3524: Don't access environment variables (fd.o #52202)
  Thanks to work and input from Colin Walters, Simon McVittie,
  Geoffrey Thomas, and others.

- Be more careful about monotonic time vs. real time, fixing
  DBUS_COOKIE_SHA1 spec-compliance (fd.o #48580, David Zeuthen)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoat91sam92*: update defconfigs to use latest u-boot
Alexandre Belloni [Thu, 25 Oct 2012 22:15:33 +0000 (00:15 +0200)]
at91sam92*: update defconfigs to use latest u-boot

Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agou-boot: update at91 patches to match mainline
Alexandre Belloni [Thu, 25 Oct 2012 22:15:32 +0000 (00:15 +0200)]
u-boot: update at91 patches to match mainline

The patch that was included in buildroot was not the same as the final
one submitted in the mainline.

Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoat91bootstrap: update patch for latest u-boot
Alexandre Belloni [Thu, 25 Oct 2012 22:15:31 +0000 (00:15 +0200)]
at91bootstrap: update patch for latest u-boot

The u-boot patch got mainlined but not exactly as it was submitted to
buildroot. Update the at91bootstrap to match what is in the mainline.

Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump 3.6.x stable version
Gustavo Zacarias [Thu, 1 Nov 2012 11:07:48 +0000 (08:07 -0300)]
linux: bump 3.6.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.{0, 2, 4, 6}.x stable versions
Gustavo Zacarias [Thu, 1 Nov 2012 11:07:47 +0000 (08:07 -0300)]
kernel-headers: bump 3.{0, 2, 4, 6}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdd default configuration for the AArch64 Foundation V8 simulator
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:37 +0000 (17:40 +0100)]
Add default configuration for the AArch64 Foundation V8 simulator

Note that this configuration doesn't build entirely: the user must
manually run "make busybox-menuconfig" and disable the "Mount NFS
filesystems" option, because the toolchain does not have RPC support.

This issue will be fixed once the support for toolchain without RPC
will be integrated.

[Peter: fix readme typo]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoboot-wrapper-aarch64: new package
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:36 +0000 (17:40 +0100)]
boot-wrapper-aarch64: new package

The boot wrapper contains both a minimal bootloader and a tool to
generate an image suitable for execution by the AArch64 software
simulator. The image generated embeds the minimal bootloader, the
kernel image, the Device Tree Blob and the kernel command line.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoSupport KERNEL_ARCH for AArch64
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:35 +0000 (17:40 +0100)]
Support KERNEL_ARCH for AArch64

The architecture tuple is 'aarch64', but the kernel people decided to
call it 'arm64', so we have to do some mungling to get the kernel
architecture name from the Buildroot architecture name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain: make external toolchain the default for AArch64
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:33 +0000 (17:40 +0100)]
toolchain: make external toolchain the default for AArch64

Our internal toolchain backend does not yet have support for AArch64,
and Crosstool-NG also does not have support for AArch64 at the moment
(though it should be coming quickly since the Linaro AArch64 toolchain
is generated with a modified Crosstool-NG version).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain-external: add aarch64 external toolchain
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:32 +0000 (17:40 +0100)]
toolchain-external: add aarch64 external toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdd AArch64 to the list of architectures
Thomas Petazzoni [Sun, 28 Oct 2012 16:40:31 +0000 (17:40 +0100)]
Add AArch64 to the list of architectures

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agomysql_client: bump version to 5.1.65
Sagaert Johan [Sun, 28 Oct 2012 12:50:53 +0000 (13:50 +0100)]
mysql_client: bump version to 5.1.65

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoliblog4c-localtime: fix underquoted path bug.
Danomi Manchego [Sat, 27 Oct 2012 22:39:02 +0000 (18:39 -0400)]
liblog4c-localtime: fix underquoted path bug.

This patch fixes the autobuilder bug that shows up during the
libmbus build.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agosconeserver: fix bluetooth module build problem
Simon Dawson [Sat, 27 Oct 2012 08:33:55 +0000 (09:33 +0100)]
sconeserver: fix bluetooth module build problem

This fixes a build problem in the sconeserver bluetooth module, as reported
by the Buildroot autobuild system:

  http://autobuild.buildroot.net/results/d1133da3f8d74c58fd271e0cab197a1108000e90/build-end.log

The build problem, due to the use of BDADDR_ANY, has been fixed upstream;
consequently, this patch simply bumps the sconeserver svn revision.

Further details of the underlying problem at the following URL.

  http://stackoverflow.com/questions/9751710/c-c-warning-address-of-temporary-with-bdaddr-any-bluetooth-library

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agofluxbox: select xmodmap
Yegor Yefremov [Thu, 25 Oct 2012 10:40:52 +0000 (12:40 +0200)]
fluxbox: select xmodmap

Fluxbox uses xmodmap in its startup script.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agortorrent: bump to version 0.9.3
Gustavo Zacarias [Wed, 31 Oct 2012 07:23:34 +0000 (07:23 +0000)]
rtorrent: bump to version 0.9.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibtorrent: bump to version 0.13.3
Gustavo Zacarias [Wed, 31 Oct 2012 07:23:33 +0000 (07:23 +0000)]
libtorrent: bump to version 0.13.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agosamba: bump to version 3.6.9
Gustavo Zacarias [Tue, 30 Oct 2012 02:20:35 +0000 (02:20 +0000)]
samba: bump to version 3.6.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agophp: bump to version 5.3.18
Gustavo Zacarias [Tue, 30 Oct 2012 02:20:34 +0000 (02:20 +0000)]
php: bump to version 5.3.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolm-sensors: bump to 3.3.2
Yegor Yefremov [Tue, 30 Oct 2012 03:04:26 +0000 (03:04 +0000)]
lm-sensors: bump to 3.3.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoxz: bump to 5.0.4
Yegor Yefremov [Tue, 30 Oct 2012 03:04:25 +0000 (03:04 +0000)]
xz: bump to 5.0.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agostrace: fix build for x86_64
Arnout Vandecappelle [Tue, 30 Oct 2012 10:59:57 +0000 (10:59 +0000)]
strace: fix build for x86_64

strace fails to build on x86_64 because stat64 is not available.  This
is because the automatic detection of stat64 in configure is overridden
by buildroot, by setting ac_cv_type_stat64.  Just remove that override -
current strace seems to detect it correctly for non-largefile platforms.

Build-tested on x86_64 (with largefile), ARM (with and without largefile),
sh4, MIPS and ppc-32 (no largefile).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqtuio: fix build/link issue when Qt is built with debug support
Peter Korsgaard [Tue, 30 Oct 2012 20:04:28 +0000 (21:04 +0100)]
qtuio: fix build/link issue when Qt is built with debug support

Fixes http://autobuild.buildroot.net/results/6dcbf4ca3fcc5ec911ac7a1680f7cb381fd18fcb

qtuio appends _d to the library name when Qt was built with debug support,
breaking linking step for examples and staging/target install.

There's no real advantage to the _d suffix, so simply fix it by removing
the logic appending _d.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agosquid: fix kerberos build failure
Gustavo Zacarias [Tue, 30 Oct 2012 07:21:21 +0000 (07:21 +0000)]
squid: fix kerberos build failure

The configure script tries to autodetect kerberos 5 support and seems to
fail under some circumnstances.
Just disable it since we don't have kerberos support in buildroot.
Fixes:
http://autobuild.buildroot.net/results/c9e590a1034c3869cb7391984ce8281ec4c3ef9c/build-end.log

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agosquid: bump to version 3.2.3
Gustavo Zacarias [Mon, 29 Oct 2012 10:57:16 +0000 (10:57 +0000)]
squid: bump to version 3.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodocs/manual: update to host-pkgconf
Peter Korsgaard [Mon, 29 Oct 2012 21:06:19 +0000 (22:06 +0100)]
docs/manual: update to host-pkgconf

Update the manual to match now that we have moved to pkgconf instead of
pkg-config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoiw: pkg-config cleanup
Gustavo Zacarias [Mon, 22 Oct 2012 15:47:55 +0000 (15:47 +0000)]
iw: pkg-config cleanup

We no longer need to specify PKG_CONFIG_PATH since it's handled by the
host-pkgconf wrapper.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkg-config: mark as deprecated
Gustavo Zacarias [Mon, 22 Oct 2012 15:47:54 +0000 (15:47 +0000)]
pkg-config: mark as deprecated

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkg-config: remove host variant
Gustavo Zacarias [Mon, 22 Oct 2012 15:47:53 +0000 (15:47 +0000)]
pkg-config: remove host variant

Remove host-pkg-config in favour of host-pkgconf.
Also remove the sysroot support patch since it's only intended for the
host variant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackages: switch to host-pkgconf
Gustavo Zacarias [Mon, 22 Oct 2012 15:47:52 +0000 (15:47 +0000)]
packages: switch to host-pkgconf

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkgconf: new package
Gustavo Zacarias [Wed, 24 Oct 2012 10:10:44 +0000 (10:10 +0000)]
pkgconf: new package

pkgconf is a drop-in replacement for pkg-config that doesn't need
itself to build and just requires a C89 compiler.

Instead of using a patch for hardcoded sysroot support (as the patch to
pkg-config does) we rely instead on a wrapper script that takes the
appropiate action.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump 3.6.x stable version
Gustavo Zacarias [Sun, 28 Oct 2012 13:57:49 +0000 (13:57 +0000)]
linux: bump 3.6.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.{0, 4, 6}.x stable versions
Gustavo Zacarias [Sun, 28 Oct 2012 13:57:48 +0000 (13:57 +0000)]
kernel-headers: bump 3.{0, 4, 6}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agofeh: bump to 2.7
Yegor Yefremov [Mon, 29 Oct 2012 01:22:03 +0000 (01:22 +0000)]
feh: bump to 2.7

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agostrace: fix build with BR2_LARGEFILE
Peter Korsgaard [Mon, 29 Oct 2012 20:35:10 +0000 (21:35 +0100)]
strace: fix build with BR2_LARGEFILE

http://autobuild.buildroot.net/results/4ce0ce4dcb917889ef70208bd4bac63851c1fb92

Strace gets confused when built with -D_FILE_OFFSET_BITS=64 (which
transparently uses the lfs versions of functions/types), so strip this
from compiler/preprocessor flags.

Inspired by Gentoo who does the same:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/strace/strace-4.7.ebuild

Tested using qemu_arm_versatile_defconfig and the following command line:
strace dd if=/dev/zero bs=1M skip=5000 count=1 of=/dev/null

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobusybox: add 1.20.2 upstream fixes
Peter Korsgaard [Mon, 29 Oct 2012 12:51:40 +0000 (13:51 +0100)]
busybox: add 1.20.2 upstream fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolcdapi: new package
Simon Dawson [Fri, 26 Oct 2012 06:32:48 +0000 (06:32 +0000)]
lcdapi: new package

Signed-off-by: Simon Dawson <spdawson@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 <jacmet@sunsite.dk>
12 years agodirectfb bump version 1.4.17
Sagaert Johan [Sat, 27 Oct 2012 00:32:20 +0000 (00:32 +0000)]
directfb bump version 1.4.17

Bump version to 1.4.17  (buxfix release)

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobinutils version 2.23 is only available is .gz format
Sagaert Johan [Sat, 27 Oct 2012 09:22:09 +0000 (09:22 +0000)]
binutils version 2.23 is only available is .gz format

binutils version 2.23 is only available in .gz format, the older versions are in .bz2 format.
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agognutls: fix link-time build failures
Gustavo Zacarias [Wed, 24 Oct 2012 12:20:15 +0000 (12:20 +0000)]
gnutls: fix link-time build failures

Fixes
http://autobuild.buildroot.net/results/23da17446266bdd49ea0da0c1892d66d3ac6607f/build-end.log
And may the <BEEP> rest in peace at last...

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain/uClibc: correct a slip of the pen
Xinglong Liao [Wed, 24 Oct 2012 22:30:43 +0000 (22:30 +0000)]
toolchain/uClibc: correct a slip of the pen

UCLIB_EXTRA_CFLAGS -> UCLIBC_EXTRA_CFLAGS

Signed-off-by: Xinglong Liao <xinglong.liao@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain-external: remove support for Linaro 2012.05 toolchain
Thomas Petazzoni [Thu, 25 Oct 2012 22:20:26 +0000 (22:20 +0000)]
toolchain-external: remove support for Linaro 2012.05 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain-external: add support for Linaro 2012.10 toolchain
Thomas Petazzoni [Thu, 25 Oct 2012 22:20:25 +0000 (22:20 +0000)]
toolchain-external: add support for Linaro 2012.10 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agofs/skeleton: remove /etc/TZ
Peter Korsgaard [Wed, 24 Oct 2012 07:13:21 +0000 (09:13 +0200)]
fs/skeleton: remove /etc/TZ

Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
missing) seems more sensible than US Mountain Time Zone in the default
rootfs skeleton.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain/binutils: add version 2.23
Gustavo Zacarias [Mon, 22 Oct 2012 09:36:35 +0000 (09:36 +0000)]
toolchain/binutils: add version 2.23

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibfuse: bump to version 2.9.2
Gustavo Zacarias [Mon, 22 Oct 2012 02:31:27 +0000 (02:31 +0000)]
libfuse: bump to version 2.9.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agompd: bump to version 0.17.2
Gustavo Zacarias [Mon, 22 Oct 2012 02:40:28 +0000 (02:40 +0000)]
mpd: bump to version 0.17.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopenssl: disable apps for NOMMU
Gustavo Zacarias [Mon, 22 Oct 2012 05:42:08 +0000 (05:42 +0000)]
openssl: disable apps for NOMMU

The openssl binary uses fork() so disable the option and build for !MMU.
Fixes
http://autobuild.buildroot.net/results/45a9b84c16caadbf77b6fc43d7a0001c981a4c87/build-end.log

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>