Commit Graph

9925 Commits

Author SHA1 Message Date
Thomas Petazzoni
f940d7602c package: fix <pkg>_DL_VERSION value
993e51bc22 introduced a <pkg>_DL_VERSION
in addition to <pkg>_VERSION. This variable, purely internal to the
package infrastructure, allows to store the *raw* version name, as
defined in the package .mk file. However, as this version string can
contain slashes, it is not appropriate to be part of the build
directory name of the package. This is why <pkg>_VERSION is defined to
be the same thing as <pkg>_DL_VERSION, except that slashes are
replaced by underscores.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:54:09 +02:00
Peter Korsgaard
411543ae80 kernel-headers: bump 2.6.35.x / 2.6.39.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:32:54 +02:00
Yegor Yefremov
db185234b4 udev: bump to 173
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-04 20:26:44 +02:00
Peter Korsgaard
55cea3b5ef util-linux: add option for libmount
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 13:38:49 +02:00
Peter Korsgaard
1050bf67c7 util-linux: mount/fsck needs libblkid
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 13:35:09 +02:00
Peter Korsgaard
8d657be342 libroxml: drop -Werror from CFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 09:52:59 +02:00
Tristan Lelong
cef0721c74 libroxml: bump version
Closes #3997

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

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

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

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

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

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

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

From reading:

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

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

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

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

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 17:58:50 +02:00
Peter Korsgaard
43d198c051 util-linux: libblkid needs liibuuid
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 17:54:37 +02:00
Peter Korsgaard
c2b730f447 e2fsprogs: configure needs pkg-config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 15:45:02 +02:00
Peter Korsgaard
5d7cac5eb2 e2fsprogs: add options for debugfs/e2image/resize2fs utilities
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 15:35:55 +02:00
Peter Korsgaard
f94057d89d e2fsprogs: don't build uuidd if not requested
Rather than not installing it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 15:05:09 +02:00
Peter Korsgaard
bf10224167 e2fsprogs: simplify Config.in
No need for 'depends on' for all individual options when they already
are in a conditional section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 14:42:39 +02:00
Peter Korsgaard
49086f19fe util-linux: fix sub option typos
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 09:21:07 +02:00
Peter Korsgaard
a4a20acb2e CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-28 00:01:47 +02:00
Peter Korsgaard
3612ecf4a8 iso9660: fix build after linux package change
linux26 target is no more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 23:26:36 +02:00
Peter Korsgaard
4e3ae5ccab busybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check
It is already within an 'if BR2_PACKAGE_BUSYBOX' section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 21:10:13 +02:00
Yegor Yefremov
1f2879ccb7 usbmount fixes
- create mounting points
- fix dependencies
- fix udev rules
- fix fs type detection

[Peter: fix Config.in deps, create usb7, only remove /media/usb?]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 21:07:54 +02:00
Peter Korsgaard
4ee9d569f9 uClibc: drop BR2_PROGRAM_INVOCATION option
Remove the BR option and enable the configuration setting in the
uClibc defconfigs.

The BR2_PROGRAM_INVOCATION option only adds very little overhead to
uClibc, and we have a number of packages needing it, so simply always
enable it - Simplifying the kconfig logic and the number of choices
users have to make.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 11:56:53 +02:00
Peter Korsgaard
213bbe9a22 util-linux: misc fixes
- We patch configure.ac, so we need to autoreconf
- configure uses pkg-config, so ensure the cross version is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 11:49:46 +02:00
Yegor Yefremov
6378cac4e6 util-linux: convert to autotarget and bump to 2.19.1
[Peter: fix deps, restructure, add unshare]
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 09:41:44 +02:00
Peter Korsgaard
04d0689cc4 toolchain-external: sync toolchain options with the internal toolchain
The internal toolchain defaults to thread support enabled (and
most external toolchains have thread support as well), so enable
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-26 15:28:19 +02:00
Mike Williams
bc38f2c8b5 inotify-tools: Add new package
Adds support for inotify-tools, which are useful for scripting the
Linux inotify API.

[Peter: needs largefile support]
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-26 15:02:09 +02:00
Peter Korsgaard
f0e9c42bd1 udev: extras needs BR2_PROGRAM_INVOCATION
For usbutils.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-26 10:41:31 +02:00
Yegor Yefremov
f0952fcdb6 udev: bump version and clean up
[Peter: fix Config.in deps, add host-pkg-config]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 23:33:29 +02:00
Peter Korsgaard
c663498aac package: remove hal
Hal is deprecated upstream, our package has not seen any significant
work since it was added in 2007, nothing depends on it and it's blocking
a long-overdue udev update.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 23:06:29 +02:00
Peter Korsgaard
43a2e62387 hostapd: fix libnl linking with BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 16:26:40 +02:00
Peter Korsgaard
53f8882d44 libdrm: configure needs pkg-config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 14:16:35 +02:00
Yegor Yefremov
afce67a902 New package: ti-utils
Add the calibrator and other useful utilities for TI wireless solution,
based on wl12xx driver.

See http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator for
further details.

[Peter: add libnl Config.in dependency]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 13:50:38 +02:00
Peter Korsgaard
b96193a4b5 xorg-xserver: configure needs pkg-config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 08:44:26 +02:00
Baruch Siach
ec8eda419a toolchain: add user defined target LDFLAGS options
Allow the user to specify additional options for the target LDFLAGS.

I use this to pass the -te500v2 option to the linker, when using the
CodeSourcery toolchain for PowerPC. This chooses the correct CRT for e500 hard
float. Otherwise I get errors like

undefined reference to `_save32gpr_31'
undefined reference to `_rest32gpr_31_x'

at final link time.

[Peter: fixup, use qstrip]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 08:31:15 +02:00
Arnout Vandecappelle (Essensium/Mind)
0af4136c54 e2fsprogs: Add missing dependency of tst_uuid.o on uuid.h
The missing dependency used to break parallel builds.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 00:22:28 +02:00
Peter Korsgaard
9dc7b73f3b System config: split static-dev device table setting into seperate option
As discussed here:

http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html

Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s)
to create device nodes in /dev, rather than complicated logic in
BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static
and dynamic modes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 00:09:33 +02:00
Benoit Mauduit
80eeabc55d busybox: Add busybox-xconfig and busybox-gconfig rules
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-24 23:57:16 +02:00