buildroot.git
14 years agoRemove the spider feature
Maxime Petazzoni [Thu, 2 Sep 2010 10:09:44 +0000 (12:09 +0200)]
Remove the spider feature

In preparation for the re-work of the DOWNLOAD helper to support
multiple download methods and protocols, the spider feature used with
wget is removed for now until it is re-implemented on top of the new
download methods.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agousbutils: bump to 0.90
Marcus Osdoba [Tue, 7 Sep 2010 18:31:24 +0000 (20:31 +0200)]
usbutils: bump to 0.90

Signed-off-by: Marcus Osdoba <marcus.osdoba@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: Bump to 4.6.3
Paul Jones [Wed, 18 Aug 2010 12:11:34 +0000 (22:11 +1000)]
qt: Bump to 4.6.3

Also add option to build example and demo code

[Peter: fix patch handling]
Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoberkeleydb: fix download url
Gustavo Zacarias [Thu, 2 Sep 2010 14:23:16 +0000 (11:23 -0300)]
berkeleydb: fix download url

Sleepycat is now owned by oracle so the old site is gone.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoiptables: bump to 1.4.9.1
Gustavo Zacarias [Wed, 1 Sep 2010 12:27:48 +0000 (09:27 -0300)]
iptables: bump to 1.4.9.1

Adds support for new kernel 2.6.35 features.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokismet: bump to 2010-07-R1
Gustavo Zacarias [Wed, 1 Sep 2010 12:26:21 +0000 (09:26 -0300)]
kismet: bump to  2010-07-R1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoopenvpn: bump to 2.1.2
Gustavo Zacarias [Wed, 1 Sep 2010 12:26:49 +0000 (09:26 -0300)]
openvpn: bump to 2.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodropbear: add option to disable reverse DNS lookups
Peter Korsgaard [Mon, 6 Sep 2010 12:37:22 +0000 (14:37 +0200)]
dropbear: add option to disable reverse DNS lookups

Add option to disable reverse DNS lookups on client connection, as
connections otherwise stall until DNS times out in configurations without
working reverse DNS.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux: default to 2.6.35.4
Peter Korsgaard [Mon, 6 Sep 2010 07:39:38 +0000 (09:39 +0200)]
linux: default to 2.6.35.4

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokernel-headers: add 2.6.35.x, bump stable versions, get rid of 2.6.27/2.6.28
Peter Korsgaard [Mon, 6 Sep 2010 07:34:46 +0000 (09:34 +0200)]
kernel-headers: add 2.6.35.x, bump stable versions, get rid of 2.6.27/2.6.28

Based on patch by Marcus Osdoba <marcus.osdoba@googlemail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: additional 1.17.2 fixes
Peter Korsgaard [Sun, 5 Sep 2010 20:52:22 +0000 (22:52 +0200)]
busybox: additional 1.17.2 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: Bump to 1.17.2
Gustavo Zacarias [Wed, 1 Sep 2010 12:24:37 +0000 (09:24 -0300)]
busybox: Bump to 1.17.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokconfig: remove CONFIG_ references in search/help
Peter Korsgaard [Sun, 5 Sep 2010 20:42:01 +0000 (22:42 +0200)]
kconfig: remove CONFIG_ references in search/help

We use BR2_*, not CONFIG_* - So remove references to CONFIG_ in search/help
windows.

Long term we should probably consider doing s/^BR2_/CONFIG_/ to get rid
of all this though.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'for-2010.11/kconfig-upgrade' of git://git.busybox.net/~tpetazzoni/git...
Peter Korsgaard [Thu, 2 Sep 2010 15:08:11 +0000 (17:08 +0200)]
Merge branch 'for-2010.11/kconfig-upgrade' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agokick off 2010.11 development
Peter Korsgaard [Thu, 2 Sep 2010 15:07:22 +0000 (17:07 +0200)]
kick off 2010.11 development

Tree is open again.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoTell git to ignore the Quilt internal directory in package/config
Thomas Petazzoni [Sun, 22 Aug 2010 05:33:53 +0000 (07:33 +0200)]
Tell git to ignore the Quilt internal directory in package/config

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoEnsure that all config-related files are generated before the build
Thomas Petazzoni [Sun, 22 Aug 2010 05:27:09 +0000 (07:27 +0200)]
Ensure that all config-related files are generated before the build

The previous commit has removed calls to conf_write_autoconf(), which
is the function that generates the KCONFIG_AUTOCONF,
KCONFIG_AUTOHEADER, KCONFIG_TRISTATE files and the split config (with
one file per config item). Therefore, those things were not generated
anymore before the build.

In order to get them generated before the build, we use the same
mechanism as the kernel: run a silentoldconfig when the .config file
is newer than the KCONFIG_AUTOCONF file.

In Buildroot, all those elements are not really used today, except the
split config which is used a little bit in the toolchain build, in a
try to make sure the toolchain gets rebuilt properly when the
configuration changes. It does not seem that this work has been
completed.

However, as we want to keep the same behaviour as previously, we have
to generate all those elements before starting the build.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd support for savedefconfig
Thomas Petazzoni [Sat, 21 Aug 2010 16:50:44 +0000 (18:50 +0200)]
Add support for savedefconfig

savedefconfig allows to create a minimal defconfig file from an
existing configuration. For example :

 make O=/path/to/some/buildroot/build/directory savedefconfig

will generate a minimal 'defconfig' file in the main Buildroot source
directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoFactorize environment variables for config utilities
Thomas Petazzoni [Sat, 21 Aug 2010 16:29:27 +0000 (18:29 +0200)]
Factorize environment variables for config utilities

Instead of duplicating the definition of KCONFIG_AUTOCONFIG,
KCONFIG_AUTOHEADER and BUILDROOT_CONFIG, let's define them in a
COMMON_CONFIG_ENV variable, which is used by all the xconfig, gconfig,
menuconfig, nconfig, config, oldconfig, randconfig, allyesconfig,
allnoconfig, randpackageconfig, allyespackageconfig,
allnopackageconfig, defconfig, %_defconfig targets.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMakefile: use long options names for the 'conf' utility
Thomas Petazzoni [Sat, 21 Aug 2010 16:19:30 +0000 (18:19 +0200)]
Makefile: use long options names for the 'conf' utility

The short option names have been removed as they were starting to
cause too much confusion. See
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4062f1a4c030157216dc8932e27131975cf7253c
for details.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove unnecessary ugly hacks in package/config
Thomas Petazzoni [Sat, 21 Aug 2010 16:09:36 +0000 (18:09 +0200)]
Remove unnecessary ugly hacks in package/config

Those hacks should not be needed and they even make "mconf" fail to
save the configuration file in $(CONFIG_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd support for the new nconf configuration tool
Thomas Petazzoni [Sat, 21 Aug 2010 15:21:40 +0000 (17:21 +0200)]
Add support for the new nconf configuration tool

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoBump package/config to 2.6.36-rc1
Thomas Petazzoni [Sat, 21 Aug 2010 15:00:49 +0000 (17:00 +0200)]
Bump package/config to 2.6.36-rc1

The goal is to be able to use savedefconfig to generate minimal
defconfig files.

Four of our patches are removed since the modifications have been
merged upstream. The new nconf configuration utility has appeared.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoClean up our patches against kconfig
Thomas Petazzoni [Sat, 21 Aug 2010 13:59:10 +0000 (15:59 +0200)]
Clean up our patches against kconfig

Our kconfig-to-buildroot2.patch hasn't been kept up to date with all
the changes made into package/config, and a single patch wasn't very
practical to maintain all our changes. Therefore, this commit adds a
package/config/patches directory, which contains a Quilt series of
patches that correspond to our modifications to the kconfig mechanism.

The huge kconfig-to-buildroot2.patch has been split into 16 smaller
patches. The purpose of some of the modifications has been clearly
identified, while some others were not identified.

The 16 patches together do match exactly the old
kconfig-to-buildroot2.patch. We have been very careful in making sure
that we wouldn't loose any of our modifications.

The only modifications made are :

 * Instead of renaming the kernel Makefile to Makefile.kconfig and
   naming the Buildroot Makefile just 'Makefile', we instead keep the
   original package/config/Makefile from the kernel
   scripts/kconfig/Makefile and name the Buildroot Makefile
   package/config/Makefile.br. The main Buildroot Makefile is modified
   accordingly.

 * The documentation README.buildroot2 is updated to explain how to
   upgrade to a newer version of scripts/kconfig.

 * The kconfig-language.txt documentation is removed, as anybody can
   easily find it in the kernel sources so there's no need to
   duplicate it here.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoImplement %_defconfig similarly to the kernel
Thomas Petazzoni [Wed, 11 Aug 2010 18:01:23 +0000 (20:01 +0200)]
Implement %_defconfig similarly to the kernel

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove CONFIG_DEFCONFIG
Thomas Petazzoni [Wed, 11 Aug 2010 17:06:05 +0000 (19:06 +0200)]
Remove CONFIG_DEFCONFIG

There's no need to have a .defconfig, when you run make menuconfig,
make xconfig or anything else for the first time, it will just start
with the default configuration anyway. This is what the kernel does.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodocs/news.html: add 2010.08 announcement link
Peter Korsgaard [Tue, 31 Aug 2010 22:16:32 +0000 (00:16 +0200)]
docs/news.html: add 2010.08 announcement link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.08
Peter Korsgaard [Tue, 31 Aug 2010 22:07:06 +0000 (00:07 +0200)]
update for 2010.08

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage/games: remove broken lxdoom package
Peter Korsgaard [Tue, 31 Aug 2010 21:14:47 +0000 (23:14 +0200)]
package/games: remove broken lxdoom package

It's deprecated upstream (merged in prboom), not updated in years and
broken (uses host includes / missing dependencies), so remove it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/squashfs: fix image file permissions
Peter Korsgaard [Tue, 31 Aug 2010 19:53:40 +0000 (21:53 +0200)]
fs/squashfs: fix image file permissions

Set image file permissions to 0644 like it was before the fs rework,
instead of the rather unhelpful 0700 (E.G. when image is used for tftp).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoAdd JFFS2 SREC format description
Yegor Yefremov [Mon, 30 Aug 2010 14:12:50 +0000 (16:12 +0200)]
Add JFFS2 SREC format description

Add JFFS2 SREC format description

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'for-2010.08-3' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 30 Aug 2010 21:34:21 +0000 (23:34 +0200)]
Merge branch 'for-2010.08-3' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoFix ldconfig call in target-finalize
Thomas Petazzoni [Mon, 30 Aug 2010 20:52:18 +0000 (22:52 +0200)]
Fix ldconfig call in target-finalize

Recent versions of ldconfig require the directory /var/lib/ldconfig,
otherwise they bail out with an error. Moreover, having a
/etc/ld.so.conf file also avoids a warning.

In addition to this, we remove the redirection of stderr, so that
errors remain visible to the user.

Thanks to Baruch Siach, Andy Gibbs and Darcy Watkins for investigating
the issue and proposing solutions.

This fixes the build on recent distributions such as Fedora 13 or
Gentoo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoxstroke: fix dependencies
Peter Korsgaard [Mon, 30 Aug 2010 20:52:01 +0000 (22:52 +0200)]
xstroke: fix dependencies

xstroke doesn't need docker, but it does need libXft/Xtst/Xpm.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackages/atk: fix Makefile
Yann E. MORIN [Mon, 30 Aug 2010 13:21:53 +0000 (15:21 +0200)]
packages/atk: fix Makefile

Reported-by: "James J. Dines" <jdines@jdines.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocs/images: optimize small images to speed up page loading
Peter Korsgaard [Mon, 30 Aug 2010 10:10:40 +0000 (12:10 +0200)]
docs/images: optimize small images to speed up page loading

Remove alpha channel and limit number of colors used. This gets the images
down to ~37% of their previous size without any visual degrading (in fact
it now looks correctly on ancient IE versions with broken png alpha
handling).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.08-rc2
Peter Korsgaard [Mon, 30 Aug 2010 09:16:33 +0000 (11:16 +0200)]
update for 2010.08-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agogcc: remove deprecated gcc 4.2.[1-3] versions and unused patches
Peter Korsgaard [Mon, 30 Aug 2010 09:05:32 +0000 (11:05 +0200)]
gcc: remove deprecated gcc 4.2.[1-3] versions and unused patches

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokismet: fix build when none of client, server or drone are selected
Thomas Petazzoni [Sun, 29 Aug 2010 17:38:04 +0000 (19:38 +0200)]
kismet: fix build when none of client, server or drone are selected

Random package configuration can trigger the selection of kismet, but
neither of client, server or drone suboptions. In this case, the
KISMET_TARGET_BINARIES variable is empty, leading to failure during
the installation stage.

At the same time, we remove the useless stripping of the installed
binaries, since this is done globally by the Buildroot infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd the patch fixing gcc 4.2.4 to gcc 4.2.2
Thomas Petazzoni [Sun, 29 Aug 2010 11:05:42 +0000 (13:05 +0200)]
Add the patch fixing gcc 4.2.4 to gcc 4.2.2

The patch introduced by commit
1ed2e4fffd0d852e62bc98e92045a132f24c37d8 must also be added to gcc
4.2.2 to let the AVR32 toolchain build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoCHANGES: #2395 is resolved
Peter Korsgaard [Mon, 30 Aug 2010 08:42:55 +0000 (10:42 +0200)]
CHANGES: #2395 is resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoncurses: get rid of unused BR2_PACKAGE_NCURSES_TARGET_HEADERS handling
Peter Korsgaard [Mon, 30 Aug 2010 08:15:29 +0000 (10:15 +0200)]
ncurses: get rid of unused BR2_PACKAGE_NCURSES_TARGET_HEADERS handling

The option was removed from Config.in in 58508f39c (ncurses: remove
dedicated target-headers option), so remove it from the makefile as
well.

Reported-by: Ian <reg-ian.ridley-buildroot@hydrix.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopango: needs C++ for freetype handling
Peter Korsgaard [Mon, 30 Aug 2010 08:02:39 +0000 (10:02 +0200)]
pango: needs C++ for freetype handling

Pango was recently updated to v1.28 as a dependency of webkit, but its
freetype support has unfortunately been rewritten with parts in C++
(since pango 1.25), so adjust dependencies of pango and users of it to
require C++ support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoluafilesystems: unbreak builds with largefile support
Peter Korsgaard [Sun, 29 Aug 2010 21:36:46 +0000 (23:36 +0200)]
luafilesystems: unbreak builds with largefile support

A typo was introduced in e6c4ce6c (luafilesystem: remove LARGE_FILE
constraint), breaking the build when largefile support was enabled.

Reported-by: Marcus Osdoba <marcus.osdoba@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: Don't overwrite $(TARGET_DIR)/init if it exists
Simon Pasch [Sun, 29 Aug 2010 21:32:33 +0000 (23:32 +0200)]
initramfs: Don't overwrite $(TARGET_DIR)/init if it exists

Closes #2443

Allow use of custom init scripts.

Signed-off-by: Simon Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: fix source/source-check/external-deps with O=
Peter Korsgaard [Sun, 29 Aug 2010 21:24:07 +0000 (23:24 +0200)]
Makefile: fix source/source-check/external-deps with O=

Based on patch by Will Wagner <will_wagner@carallon.com>.

Now that the .config is located in the output directory when O=<dir>
is used, we have to pass the O= option to make for
source/source-check/external-deps to get them to look in the right place
for the .config.

Fix it by introducing an EXTRAMAKEARGS variable and use it whenever we
call back into the toplevel Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopppd.mk installs radattr.so twice and omits radrealms.so
Darcy Watkins [Thu, 19 Aug 2010 19:19:17 +0000 (12:19 -0700)]
pppd.mk installs radattr.so twice and omits radrealms.so

In pppd.mk the radattr.so plugin (for radiua) is installed twice (the second
install overwriting the first) but the radrealms.so plugin is omitted from
the install. This appears to be a copy-paste error.

Below is patch that corrects this.

signed-off by: Darcy Watkins <dwatkins@tranzeo.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agostunnel: remove broken package
Peter Korsgaard [Sun, 29 Aug 2010 20:04:02 +0000 (22:04 +0200)]
stunnel: remove broken package

It doesn't build as there's no dependency on openssl, and it hasn't seen
any real updates since it got added in 2006, so simply remove it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoproftpd: breaks with parallel builds
Peter Korsgaard [Sun, 29 Aug 2010 19:48:34 +0000 (21:48 +0200)]
proftpd: breaks with parallel builds

The proftpd build system has a race condition, which may break the build
with high -j<level> values (libsupp.a isn't built by the time it is needed).

Fix it by using MAKE1 instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosamba: avahi support needs avahi-daemon / dbus
Peter Korsgaard [Sun, 29 Aug 2010 19:35:36 +0000 (21:35 +0200)]
samba: avahi support needs avahi-daemon / dbus

./configure checks for libavahi-client.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agostartup-notification: fix typo in dependencies line
Peter Korsgaard [Sun, 29 Aug 2010 19:23:56 +0000 (21:23 +0200)]
startup-notification: fix typo in dependencies line

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouClibc: fix ppc e500 handling
Stanislav Bogatyrev [Sat, 28 Aug 2010 22:10:59 +0000 (00:10 +0200)]
uClibc: fix ppc e500 handling

Closes #2449

Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/squashfs: fix endianness typo for squashfs3
Stanislav Bogatyrev [Fri, 27 Aug 2010 15:00:39 +0000 (17:00 +0200)]
fs/squashfs: fix endianness typo for squashfs3

Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoqt: fix sysroot confusion in ./configure
Peter Korsgaard [Thu, 26 Aug 2010 15:47:43 +0000 (17:47 +0200)]
qt: fix sysroot confusion in ./configure

qt's configure script is getting confused now that we're passing --sysroot=
in QMAKE_CC / QMAKE_CXX, causing misdetection of features and runtime
breakage.

Fix it by passing --sysroot in CFLAGS/CXXFLAGS instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoConfig.in: mark BR2_CONFIG_CACHE as experimental and disable by default
Peter Korsgaard [Wed, 25 Aug 2010 15:29:09 +0000 (17:29 +0200)]
Config.in: mark BR2_CONFIG_CACHE as experimental and disable by default

As it is known to break with certain package combinations.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/gcc: fix 4.2.4 build after uClibc NTPL support got added
Khem Raj [Thu, 12 Aug 2010 22:34:44 +0000 (15:34 -0700)]
toolchain/gcc: fix 4.2.4 build after uClibc NTPL support got added

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: additional 1.17.1 fixes
Peter Korsgaard [Wed, 25 Aug 2010 14:07:44 +0000 (16:07 +0200)]
busybox: additional 1.17.1 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update with changes from for-2010.08 branch
Peter Korsgaard [Wed, 25 Aug 2010 14:33:01 +0000 (16:33 +0200)]
CHANGES: update with changes from for-2010.08 branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'for-2010.08' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Wed, 25 Aug 2010 12:49:17 +0000 (14:49 +0200)]
Merge branch 'for-2010.08' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agosysvinit: remove unneeded dependency on ncurses
Thomas Petazzoni [Sun, 22 Aug 2010 06:38:36 +0000 (08:38 +0200)]
sysvinit: remove unneeded dependency on ncurses

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosysvinit: make sure to link against libcrypt
Thomas Petazzoni [Sun, 22 Aug 2010 06:28:02 +0000 (08:28 +0200)]
sysvinit: make sure to link against libcrypt

sysvinit Makefile checks if /usr/lib/libcrypt.a exists to determine
whether it should link against libcrypt or not. This test fails on
distributions such as Fedora, in which /usr/lib/libcrypt.a does not
exist (it is in /usr/lib64), but where libcrypt is available on the
target. As libcrypt is available in both uClibc and gclibc, we just
force sysvinit to link against libcrypt.

Fixes bug #2401.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolua: make sure that CFLAGS are passed
Thomas Petazzoni [Sun, 22 Aug 2010 06:01:55 +0000 (08:01 +0200)]
lua: make sure that CFLAGS are passed

We were passing a custom MYCFLAGS value to Lua's Makefile, but because
of $(TARGET_CONFIGURE_OPTS), we were also passing a CFLAGS variable,
which was overriding Lua's internal CFLAGS variable. The result was
that MYCFLAGS wasn't taken into account.

Extracted from the patch proposed by François Perrad in bug #2353.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoluafilesystem: remove LARGE_FILE constraint
Francois Perrad [Thu, 5 Aug 2010 14:36:34 +0000 (16:36 +0200)]
luafilesystem: remove LARGE_FILE constraint

Add a patch to luafilesystem so that it builds correctly when large
files are not supported. This allows to remove the dependency of
luafilesystem on large file support on the toolchain. Packages such as
cgilua, wsapi and xavante, which depend on luafilesystem, also get
their dependency on large file support removed.

Fixes bug #2359.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agoAdd new upstream Lua patches and rename all patches for consistency
Francois Perrad [Thu, 5 Aug 2010 20:58:10 +0000 (22:58 +0200)]
Add new upstream Lua patches and rename all patches for consistency

Several new upstream patches against the latest version of Lua have
appeared on http://www.lua.org/bugs.html. This commit adds them to
Buildroot, and also renames the other patches to have a coherent patch
naming: lua-bugX, where X is the identifier of the bug as visible on
http://www.lua.org/bugs.html. Note that bug 1 and 2 are not associated
with patches, which explains why the first patch is labeled lua-bug3.

Fixes bug #2365.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibxml-parser-perl/intltool: mark as host only packages
Thomas Petazzoni [Fri, 13 Aug 2010 13:35:11 +0000 (15:35 +0200)]
libxml-parser-perl/intltool: mark as host only packages

libxml-parser-perl and intltool were originally added to be built on
the host, and we don't support building them on the target. So, let's
mark them as such in the configuration, so that a random package
configuration does not pick them up. We might later add target support
for them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agonetcat: prevent build system from adding a prefix to binaries
Thomas Petazzoni [Fri, 13 Aug 2010 10:46:19 +0000 (12:46 +0200)]
netcat: prevent build system from adding a prefix to binaries

Fixes bug #2239.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoSecurity bump php to 5.2.14
Gustavo Zacarias [Mon, 9 Aug 2010 14:44:09 +0000 (11:44 -0300)]
Security bump php to 5.2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agoBump stable kernel headers
Gustavo Zacarias [Thu, 12 Aug 2010 14:47:17 +0000 (11:47 -0300)]
Bump stable kernel headers

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agolzo: fix host-lzo build failure when config cache is filled
Thomas Petazzoni [Thu, 12 Aug 2010 19:03:28 +0000 (21:03 +0200)]
lzo: fix host-lzo build failure when config cache is filled

When the configuration cache has been filled with a value for
ac_cv_host, host-lzo fails to detect the target system name. This is
due to misbehaving code in the ./configure script. Therefore, we need
to autoreconf the package, which in turn requires :

 * a little fix to the configure.ac file
 * a little fix to src/Makefile.am
 * an extraction of important parts of aclocal.m4 into acinclude.m4

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibglib2: add patch to rework clock_gettime() test
Thomas Petazzoni [Thu, 12 Aug 2010 13:59:14 +0000 (15:59 +0200)]
libglib2: add patch to rework clock_gettime() test

The test for clock_gettime() in configure.in doesn't work properly
when a previous package has loaded the shared configuration cache with
informations about the availability of clock_gettime. A package such
as ctorrent does so, which means that compiling ctorrent *then*
libglib2 currently fails.

According to people on the Autoconf mailing list, the libglib2 test is
likely the one that needs to be fixed. The problem is that the
AC_CHECK_FUNCS() test assumes that if it finds clock_gettime() it
means that there's no need to add any -lrt flag to the
build. Unfortunately, due to the shared configuration cache, this test
is already done with -lrt, so the test succeeds, and libglib2 does not
know that it needs to add -lrt to G_THREAD_LIBS and
G_THREAD_LIBS_FOR_GTHREAD.

So instead, we remplace the test with an AC_SEARCH_LIBS() test,
followed by a test on the result of this AC_SEARCH_LIBS() test to add
the necessary -lrt to G_THREAD_LIBS and
G_THREAD_LIBS_FOR_GTHREAD. Therefore, even if the result for the
AC_SEARCH_LIBS() test is cached due to the prior execution ctorrent
./configure script, libglib2 ./configure will properly add -lrt to the
appropriate variables.

Obviously, as this patch modifies the configure.in file, we enable the
autoreconf step for the libglib2 package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoimagemagick: don't create useless debugging file
Thomas Petazzoni [Thu, 12 Aug 2010 13:57:02 +0000 (15:57 +0200)]
imagemagick: don't create useless debugging file

For some reason, the imagemagick Buildroot .mk file creates a
"datefile" file in the Buildroot source directory, probably an ancient
debugging thing that has been left here for no reason. Let's get rid
of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate busybox 1.17.1 fixes
Gustavo Zacarias [Wed, 11 Aug 2010 14:07:01 +0000 (11:07 -0300)]
Update busybox 1.17.1 fixes

New shell_common fix and sed fix.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 years agoPrevent C++ + locale + uClibc 0.9.31 + gcc 4.2 to be selected
Thomas Petazzoni [Wed, 11 Aug 2010 14:00:20 +0000 (16:00 +0200)]
Prevent C++ + locale + uClibc 0.9.31 + gcc 4.2 to be selected

The problem fixed by 60f945e47a15e10f0e777f69b05492b6f7ba918d is in
fact not limited to the AVR32 architecture, as reported by Will Newton
on the list. The issue is the combination uClibc 0.9.31 with gcc 4.2,
C++ support and locales.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMark CRIS architecture as deprecated
Thomas Petazzoni [Wed, 11 Aug 2010 13:31:33 +0000 (15:31 +0200)]
Mark CRIS architecture as deprecated

The CRIS architecture support in Buildroot hasn't been updated since a
long time. Even a toolchain with recent kernel headers does not build
due to missing patches.

Moreover, the CRIS architecture has been discontinued by Axis, as
visible at http://www.axis.com/products/dev/index.htm. We will remove
it from Buildroot at the next release cycle.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd the traditional powerpc-link-with-math-lib patch to gcc 4.4.4
Thomas Petazzoni [Wed, 11 Aug 2010 11:25:50 +0000 (13:25 +0200)]
Add the traditional powerpc-link-with-math-lib patch to gcc 4.4.4

Patch taken from Crosstool-NG patchset.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoDetect early if an UTF-8 locale is needed
Thomas Petazzoni [Wed, 11 Aug 2010 11:10:54 +0000 (13:10 +0200)]
Detect early if an UTF-8 locale is needed

Check in toolchain/dependencies/dependencies.sh if an UTF-8 locale is
properly present on the system before trying to build a locale enabled
toolchain. As this test is only needed when a locale enabled toolchain
is going to be built, we pass the configuration file path to the
dependencies.sh script so that it can grep for the current value of
various options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMake uClibc gen_wc8bit shows an error when no locale support available
Thomas Petazzoni [Wed, 11 Aug 2010 10:59:46 +0000 (12:59 +0200)]
Make uClibc gen_wc8bit shows an error when no locale support available

When no UTF-8 locale is available on the host system, uClibc can't
generate some stuff it needs to compile a C library with locale
support. Unfortunately, as gen_wc8bit message is shown on stdout and
the stdout of gen_wc8bit is redirected to a file, the user don't see
anything, as reported at
http://lists.busybox.net/pipermail/buildroot/2010-May/034177.html.

Those two patches fix the problem for uClibc 0.9.31 and 0.9.30.3. It
has been submitted upstream:
 http://lists.uclibc.org/pipermail/uclibc/2010-August/044256.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd dependency from util-linux on ncurses
Thomas Petazzoni [Tue, 10 Aug 2010 17:15:26 +0000 (19:15 +0200)]
Add dependency from util-linux on ncurses

util-linux can build without ncurses, but when ncurses is available,
additional features can be built (such as the more
command). Therefore, in util-linux.mk, when ncurses is available, mark
it as a dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoFix util-linux build on MIPS
Thomas Petazzoni [Tue, 10 Aug 2010 17:08:10 +0000 (19:08 +0200)]
Fix util-linux build on MIPS

As reported in bug #635, util-linux doesn't build due to missing
constant definitions related to the a.out binary format. We fix this
by hardcoding these constant definitions, as done in newer versions of
util-linux.

Obviously, the long term fix is to upgrade to util-linux-ng, but this
is probably not acceptable for 2010.08.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoCHANGES: libgail is new, not removed
Peter Korsgaard [Fri, 30 Jul 2010 11:03:59 +0000 (13:03 +0200)]
CHANGES: libgail is new, not removed

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoupdate for 2010.08-rc1
Peter Korsgaard [Fri, 30 Jul 2010 10:35:45 +0000 (12:35 +0200)]
update for 2010.08-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoRemove gdb plugins from target
Malte Starostik [Sat, 24 Jul 2010 19:29:56 +0000 (21:29 +0200)]
Remove gdb plugins from target

* Don't install gdb plugins unless BR2_TARGET_GDB is set

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoGlobally remove aclocal directories from target
Malte Starostik [Sat, 24 Jul 2010 11:21:25 +0000 (13:21 +0200)]
Globally remove aclocal directories from target

* Remove $(TARGET_DIR)/usr/share/aclocal from target-finalize when not
  installing devfiles and
* Remove some (now) redundant cleanup from individual packages

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoPurge libglib2 dev files from target
Malte Starostik [Sat, 24 Jul 2010 11:21:28 +0000 (13:21 +0200)]
Purge libglib2 dev files from target

* Don't install libglib2 development binaries and to target unless
  BR2_HAVE_DEVFILES is set

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: add a bunch of issues resolved by Thomas
Peter Korsgaard [Fri, 30 Jul 2010 08:42:02 +0000 (10:42 +0200)]
CHANGES: add a bunch of issues resolved by Thomas

Thanks!

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update with changes from fixes-20100729 branch
Peter Korsgaard [Fri, 30 Jul 2010 08:24:08 +0000 (10:24 +0200)]
CHANGES: update with changes from fixes-20100729 branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'fixes-20100729' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 30 Jul 2010 08:21:40 +0000 (10:21 +0200)]
Merge branch 'fixes-20100729' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agogcc: move <tuple>/lib* symlink handling up to gcc-intermediate
Peter Korsgaard [Fri, 30 Jul 2010 08:02:23 +0000 (10:02 +0200)]
gcc: move <tuple>/lib* symlink handling up to gcc-intermediate

The <tuple>/lib* symlinking added by 3c77bab2eeace needs to
be moved up to the gcc-intermediate step now the NPTL stuff is merged,
otherwise 64bit builds fails (lib64 already created).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: enforce --disable-multilib
Peter Korsgaard [Fri, 30 Jul 2010 07:31:39 +0000 (09:31 +0200)]
toolchain: enforce --disable-multilib

Since 5575d205c (toolchain: remove multilib) we were no longer passing
--disable-multilib, which broke builds for multilib-capable archs (like
x86-64, ppc, ..).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux: bump 2.6.34.x version
Peter Korsgaard [Thu, 29 Jul 2010 21:50:27 +0000 (23:50 +0200)]
linux: bump 2.6.34.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: 1.17.1 mktemp fix
Peter Korsgaard [Thu, 29 Jul 2010 21:47:44 +0000 (23:47 +0200)]
busybox: 1.17.1 mktemp fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxerces: only add -liconv when locale are disabled
Thomas Petazzoni [Thu, 29 Jul 2010 20:03:33 +0000 (22:03 +0200)]
xerces: only add -liconv when locale are disabled

The iconv library can only be present when locale are disabled in the
toolchain. When locale are enabled in the toolchain, iconv is directly
implemented by the C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoxerces: fix download location
Thomas Petazzoni [Thu, 29 Jul 2010 19:52:18 +0000 (21:52 +0200)]
xerces: fix download location

apache.jumper.nu does not work anymore, so use archive.apache.org
instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcurl: bump version to fix build issue
Thomas Petazzoni [Thu, 29 Jul 2010 16:16:49 +0000 (18:16 +0200)]
libcurl: bump version to fix build issue

The ./configure script of libcurl includes <arpa_inet.h> instead of
<arpa/inet.h> when testing for inet_pton(). The test fails, but it
doesn't prevent libcurl to build as it can work without inet_pton().

However, it fills the configure cache with the fact that inet_pton()
does not exist. And later, tcpreplay reads this from the configure
cache and fails to build, because tcpreplay really need inet_pton().

Unfortunately, just fixing the .m4 file doesn't work because the
autoreconfiguration of the package fails. Since the fix for this
problem is already upstream, the easiest solution is therefore to bump
libcurl.

The libcurl-7.19.2-fix-ssl-no-verbose.patch patch is no longer needed.

Since we're patching a m4 file, we must autoreconfigure the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotoolchain: mark uClibc 0.9.31 + locale + C++ as broken
Thomas Petazzoni [Thu, 29 Jul 2010 14:03:27 +0000 (16:03 +0200)]
toolchain: mark uClibc 0.9.31 + locale + C++ as broken

It fails to build with:

ctype_members.cc: In constructor 'std::ctype_byname<_CharT>::ctype_byname(const char*, size_t) [with _CharT = char]':
ctype_members.cc:59: error: invalid use of incomplete type 'struct __uclibc_locale_struct'
/home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct'
ctype_members.cc:60: error: invalid use of incomplete type 'struct __uclibc_locale_struct'
/home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct'
ctype_members.cc:61: error: invalid use of incomplete type 'struct __uclibc_locale_struct'
/home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct'
make[5]: *** [ctype_members.lo] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocairo: PDF support is needed when SVG support is enabled
Thomas Petazzoni [Thu, 29 Jul 2010 13:56:48 +0000 (15:56 +0200)]
cairo: PDF support is needed when SVG support is enabled

As soon as PostScript, PNG or SVG support is enabled, PDF support is
required for Cairo to build properly. Otherwise, you get build
failures such as:

.libs/cairo-type3-glyph-surface.o: In function `_cairo_type3_glyph_surface_set_stream':
/home/thomas/local/buildroot-dl/cairo-1.8.10/src/cairo-type3-glyph-surface.c:337: undefined reference to `_cairo_pdf_operators_set_stream'
/home/thomas/local/buildroot-dl/cairo-1.8.10/src/cairo-type3-glyph-surface.c:337: undefined reference to `_cairo_pdf_operators_set_stream'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolinux: more mistake detection
Thomas Petazzoni [Thu, 29 Jul 2010 13:40:28 +0000 (15:40 +0200)]
linux: more mistake detection

Just as we do for U-Boot, error out in the Linux kernel makefile when
the defconfig name or the configuration file path are not
correct. What prompted me to implement this was a report on IRC from
an user using BR 2010.05 and not understand why the kernel build
process was failing. It was because he just forgot to set the path of
the configuration file.

Of course, it doesn't catch all mistakes (like pointing to a
non-existing defconfig or to a non-existing configuration file), but
it at least catches basic mistakes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agou-boot: fix custom patch handling
Thomas Petazzoni [Thu, 29 Jul 2010 13:38:27 +0000 (15:38 +0200)]
u-boot: fix custom patch handling

When U-Boot is enabled and no custom patch directory has been set,
then the current test:

  ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),"")

works. However, when U-Boot is not enabled, but still gets compiled
because mkimage is needed to build the kernel,
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is completely empty. It does not
even have quotes. So the test in fact needs to be:

 ifneq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosamba: remove swat documentation when not needed
Thomas Petazzoni [Thu, 29 Jul 2010 11:41:46 +0000 (13:41 +0200)]
samba: remove swat documentation when not needed

When SWAT (the Web administration tool of Samba) is enabled, which is
the default when one enables samba in Buildroot, a lot of
documentation gets installed in /usr/swat (~15 MB). This patch fixes
this by removing the documentation when BR2_HAVE_DOCUMENTATION is not
set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoavahi: pkg-config is needed
Thomas Petazzoni [Thu, 29 Jul 2010 09:57:15 +0000 (11:57 +0200)]
avahi: pkg-config is needed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>