Commit Graph

6327 Commits

Author SHA1 Message Date
Gustavo Zacarias
335260afd4 microperl: bump to version 5.12.4 and convert to gentargets
* Convert microperl to gentargets infrastructure
* Bump to a more modern version 5.12.4
* Introduce the bundle options to simplify people's lives

host-microperl is a fully-fledged perl.

For the time being we can't build XS modules thus breaking
target automake support for example since it requires IO.

target-automake was broken before anyway since the automake version
bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-08 22:50:31 +01:00
Peter Korsgaard
de66776330 kmod: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-08 22:36:51 +01:00
Arnout Vandecappelle (Essensium/Mind)
b5410b6a19 gpsd: dbus interface requires dbus-glib
gpsd uses dbus-glib as the dbus interface, so it should only be built if
libglib2 has been selected.  To simplify things, build dbus support only
if dbus-glib is selected.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-06 23:05:46 +01:00
Arnout Vandecappelle (Essensium/Mind)
cb9a5877b8 microperl: fix host build
It misses -lm when compiling miniperl

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-06 22:21:39 +01:00
Gustavo Zacarias
e482a430ec expat: add security patch for CVE-2009-3560
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-06 16:11:34 +01:00
Thomas Petazzoni
3311e41dc0 package: fix WGET download method
In cf2486bf31, we changed from using the
-P option of wget (to set the output *directory*) to using the -O
option (to set the output *file*). Unfortunately, wget -O has a
strange behaviour: it creates an empty 0-byte file even if the
download fails (for example when there is no network connection).

The problem is that then Buildroot thinks the download was successful
and therefore goes on with extracting the tarball.

The following succession of events makes Buildroot think that the
download has been sucessful:

 * Buildroot calls the DOWNLOAD_WGET macro with the URL of the
   official site

   * It tests if the file exists in the download directory, it doesn't
     exist.

   * It calls wget. wget fails to download the file and returns an
     error code, but leaves an empty file with the correct name in the
     downloaded directory.

 * Since the previously download failed, Buildroot tries another
   download from the Buildroot mirror (sources.buildroot.net)

   * It tests if the file exists in the download directory... and it
     exists! So this second download returns with success, and
     Buildroot assumes the file has been downloaded properly.

This scenario brings us with the following result, where the download
fails, but Buildroot continues its execution and tries to extract the
tarball:

$ rm /opt/dl/glib-2.30.2.tar.bz2
rm: cannot remove `/opt/dl/glib-2.30.2.tar.bz2': No such file or directory
$ rm -rf build/host-libglib2-2.30.2/
$ make
make -C /home/thomas/projets/buildroot O=/opt/outputs/udisks/.
>>> host-libglib2 2.30.2 Downloading
--2012-03-03 12:06:25--  http://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.2.tar.bz2
Resolving ftp.gnome.org... failed: Name or service not known.
wget: unable to resolve host address `ftp.gnome.org'
>>> host-libglib2 2.30.2 Extracting
bzcat /opt/dl//glib-2.30.2.tar.bz2 | tar --strip-components=1 -C /opt/outputs/udisks/build/host-libglib2-2.30.2  -xf -
bzcat: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
[...]
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[1]: *** [/opt/outputs/udisks/build/host-libglib2-2.30.2/.stamp_extracted] Error 2
make: *** [all] Error 2
$ ls -l /opt/dl/glib-2.30.2.tar.bz2
-rw-r--r-- 1 thomas thomas 0 Mar  3 12:12 /opt/dl/glib-2.30.2.tar.bz2

Therefore, this commit modifies DOWNLOAD_WGET so that it removes the
downloaded file if wget returns with an error.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-05 20:56:28 +01:00
Will Newton
3d2e77d5cb lite: Remove excess slashes from pkg-config file.
Signed-off-by: Will Newton <will.newton@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 22:09:20 +01:00
Peter Korsgaard
b38f41736e glib-networking: fix build without gnutls
configure errors out when it doesn't find gnutls unless explicitly
disabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 20:34:22 +01:00
Peter Korsgaard
9ab01a85d2 atk: fix build after glib2 bump
Remove G_CONST_RETURN references, similar to how we did for gamin.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 16:58:17 +01:00
Peter Korsgaard
06ef58efc4 imagemagick: re-add xml2-config patch
The patch somehow got removed from eb5498 (bump version, fix build) by
accident, so add it again.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 11:02:48 +01:00
Peter Korsgaard
77cb845b43 mtd: build after busybox if enabled
Busybox also provides flash applets nowadays, so ensure the mtd version
takes precedence if both are enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 11:00:39 +01:00
Peter Korsgaard
eb54983fdf imagemagick: bump version, fix build with zlib
The recent zlib bump broke imagemagick. This has been fixed upstream
in 6.7.5, but the xml2-config fix is still not upstream and 6.7.5
needs autoconf 2.67 to autoreconf (and we have 2.65), so we cannot
easily use that.

Instead move to the most recent version using autoconf 2.64 and
backport the fix from imagemagick svn. At the same time also
ensure zlib+bzip2 support is picked up if enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-03 22:56:23 +01:00
Peter Korsgaard
7a58ed7317 Merge branch 'next' 2012-03-01 14:05:41 +01:00
Thomas Petazzoni
def11d7922 libecore: fix build of host-libecore when X11 not available
The host-libecore build tries to build the X11 backend. This works if
you have X11 headers/libraries installed on your build machine, but
fails if you don't, and Buildroot shouldn't depend on such things
being installed.

Therefore, we force host-libecore to not build any of the graphical
backends (X, XCB or DirectFB).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-29 10:00:24 +01:00
Peter Korsgaard
97165f123b libglib2: fix build with legacy uClibc versions
qsort_r was only added in uClibc 0.9.33, so only enable it when we're sure
it's available. For external/ctng toolchains we cannot easily know, so
simply disable it there.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-28 21:53:46 +01:00
Sven Neumann
e825561895 e2fsprogs: disable build of e4defrag unless explicitly enabled
The e2fsprogs configure script enables the build of the e4defrag
utility by default. Disable it unless BR2_PACKAGE_E2FSPROGS_E4DEFRAG
is selected.

Also the --disable-blkid option is not recognized by the configure
script. Use --disable-libblkid instead.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-28 20:52:06 +01:00
Sven Neumann
8d485749e1 libsoup: update to version 2.36.1
Update to latest stable release. SSL support now depends on
glib-networking with gnutls support instead of using gnutls
directly.

Remove libsoup-CVE-2011-2054.patch, this is fixed upstream.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-28 09:22:21 +01:00
Sven Neumann
01ffa2e868 glib-networking: new package
glib-networking provides network-related GIO modules for glib.
It is used by newer versions of libsoup to implement SSL/TLS
support.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-28 09:22:21 +01:00
Sven Neumann
4fd8bdc7da libglib2: update to version 2.30.2
Update to latest stable release and add a dependency on libffi which
is needed by GObject.

[Peter: fixup build on uClibc]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-28 09:22:03 +01:00
Sven Neumann
328fc57472 gamin: fix compilation with glib 2.30
G_CONST_RETURN is deprecated in glib 2.30 so remove occurences
to avoid build failures.

Patch taken from http://patches.openembedded.org/patch/13079/

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-27 23:30:00 +01:00
Peter Korsgaard
7e4936dfa4 vala: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-27 16:32:28 +01:00
Peter Korsgaard
974a0da6e1 qt: fix build with gcc 4.6.x on arm
As noted by Ismael Luceno. For details, see:
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-26 22:30:12 +01:00
Ismael Luceno
fbfda06cb9 qt: simplify arch handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-26 22:15:51 +01:00
Peter Korsgaard
0a19eea3ec customize: deprecate package
As described in the buildroot dev day report, using a post-build script
is nowadays the preferred way of adding stuff to the rootfs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-26 20:52:26 +01:00
Peter Korsgaard
261cb20a08 Makefile.cmake.in: fix automatic host deps calculation
We need similar handling as in autotools because of the host-cmake addition.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-26 08:24:23 +01:00
Peter Korsgaard
ed7791e2e8 Makefile: move cmake toolchain file to $HOST_DIR/usr/share/buildroot
To make it part of the SDK installation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-25 23:18:03 +01:00
Peter Korsgaard
24bc2ff8c1 qt: bump version
Webkit support runs pkg-config at build time, so we need to ensure our
version gets picked up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-25 22:52:02 +01:00
Gustavo Zacarias
5ddfc12703 ffmpeg: security bump to version 0.8.10
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-24 15:38:00 +01:00
Julien Boibessot
bf6a6e441a sdl_net: bump version, fix tarball name
Bump version & cleanup variables setting while we are at it.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-24 15:36:23 +01:00
Gustavo Zacarias
dcb7f907a9 libpng: security bump to version 1.4.9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-24 15:27:56 +01:00
Peter Korsgaard
086bdfd378 dropbear: bump version, fixes CVE-2012-0920
From the release notes:

Security: Fix use-after-free bug that could be triggered if command="..."
authorized_keys restrictions are used.  Could allow arbitrary code
execution or bypass of the command="..." restriction to an authenticated
user.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-24 14:11:16 +01:00
Peter Korsgaard
457d9c592f libarchive: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-23 23:19:53 +01:00
Francois Perrad
3175e72e05 Avoid the warnings about the redefinition of LUA_USE_DLOPEN, when BR2_PACKAGE_LUA_INTERPRETER_READLINE is set
See src/luaconf.h lines 36-40

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-19 23:06:31 +01:00
Alexandre Pereira da Silva
25d88d9281 linux-firmware: add support for the atheros ar9271 firmware
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-19 23:03:10 +01:00
Peter Korsgaard
5207e68a8c gst-dsp: bump version for DSP_API=2 bugfix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-16 22:11:27 +01:00
Peter Korsgaard
d6628bca39 libecore: tweak makekeys workaround for make 3.82
It seems that make 3.82 gets confused and considers makekeys
out of date when there isn't a makekeys.o, so ensure that we
create both makekeys and makekeys.o before building.

Also move the workaround to the extract step so we can build using
make's default rules rather than explicitly calling gcc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-15 23:22:23 +01:00
Peter Korsgaard
68f6519547 avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-15 08:41:05 +01:00
Will Newton
d54dc133e1 mxml: Use correct paths when installing into staging.
The DSTROOT option passed for the staging install would install
into the target directory, which is not what was intended.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 23:30:55 +01:00
Arnout Vandecappelle (Essensium/Mind)
cf2486bf31 DOWNLOAD_WGET: use -O instead of -P to set output file
Some URLs use url-encoded arguments to specify the file to download.
Wget will then use an output file name which includes all the ampersands
and such.  However, this is not what we see from buildroot.

E.g.:
FOO_SITE="http://git.foo.com/?p=foo.git;a=blob;f="
FOO_SOURCE="foo.tgz"

wget will download this into $(DL_DIR)/index.html?p=foo.git;a=blob;f=foo.tgz
buildroot thinks it's in $(DL_DIR)/foo.tgz

To make sure the view of wget and buildroot are consistent, specify
the output file explicitly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 12:07:27 +01:00
Peter Korsgaard
7a7bd4b873 busybox: bump 1.19.x stable version
Identical to 1.19.3 + patches.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 10:51:12 +01:00
Peter Korsgaard
40281284ad python: workaround distutils issue with binary extensions
distutils adds -L$LIBDIR (/usr/lib), breaking build of binary extensions.
Seen with netifaces, but other extensions may be affected as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 10:32:30 +01:00
Peter Korsgaard
3c61d73209 ffmpeg: fix altivec typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-13 22:26:26 +01:00
Peter Korsgaard
08bd8712ef libvncserver: ensure target libgcrypt-config is used
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-13 11:26:42 +01:00
Peter Korsgaard
7b462167ee zlib: bump version
Patch is now upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-13 11:25:18 +01:00
Peter Korsgaard
46b71cb0be mplayer: fix libtheora linking issue
We cannot (easily) move to a newer upstream version where this is fixed
as ffmpeg moved to git / is no longer bundled, so instead this fix
is backported (upstream r34498 + r34503).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-12 22:05:43 +01:00
Peter Korsgaard
342a3d8dab libecore: fix build error when X support is disabled but host has X headers
Forcibly disable imf-xim as it requires the X support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-12 20:52:05 +01:00
Peter Korsgaard
832068e494 libecore: add optional tslib/glib/openssl/gnutls/curl support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-12 20:51:24 +01:00
Peter Korsgaard
718e1ecf5f libecore: fix directfb dependency
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-12 20:29:50 +01:00
Felipe Contreras
94f70d5810 gst-plugins-base: add missing orc dependency
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-11 18:00:34 +01:00
Felipe Contreras
c6a3b7bff2 gst-dsp: add dependency to pkg-config
It's used in the Makefile.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-11 15:42:35 +01:00