buildroot.git
10 years agodbus: don't forcibly disable static builds
Gustavo Zacarias [Wed, 18 Jun 2014 13:21:35 +0000 (10:21 -0300)]
dbus: don't forcibly disable static builds

It's there for some historical reason and breaks libpcap with dbus
support for static linkage scenarios (like the one used by tcpreplay).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogenimage: bump to version 6
Vivien Didelot [Wed, 18 Jun 2014 16:12:41 +0000 (12:12 -0400)]
genimage: bump to version 6

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs: add lego_ev3_defconfig
Vincent [Sun, 15 Jun 2014 13:56:37 +0000 (15:56 +0200)]
configs: add lego_ev3_defconfig

Add initial support for the Lego Mindstorms EV3 programmable brick.

The Lego Mindstorms EV3 brick comprises a Texas Instruments AM1808 SoC, with
an ARM 926EJ-S main processor running at 300 MHz.
https://en.wikipedia.org/wiki/Lego_Mindstorms_EV3

This configuration uses the Linux kernel of the ev3dev project.
https://github.com/mindboards/ev3sources

More info is available in the board/lego/ev3/readme.txt file, shamelessly
documented in the same way as the SoCkit folks did.

[Peter: lock kernel headers to match]
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoargus: bump to vanilla version 3.6.0.1
Gustavo Zacarias [Tue, 17 Jun 2014 17:55:00 +0000 (14:55 -0300)]
argus: bump to vanilla version 3.6.0.1

All of the new toolchain requirements (ipv6, threads, rpc) aren't
actually new - this package failed to build for ages, it just wasn't
picked up by the autobuilders because the main Makefile just doesn't
care about bailing out properly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agostunnel: bump to version 5.02
Gustavo Zacarias [Tue, 17 Jun 2014 14:40:51 +0000 (11:40 -0300)]
stunnel: bump to version 5.02

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsoc: bump to 0.6.2
Yegor Yefremov [Tue, 17 Jun 2014 13:11:01 +0000 (15:11 +0200)]
libsoc: bump to 0.6.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump default to version 3.15.1
Gustavo Zacarias [Tue, 17 Jun 2014 01:29:19 +0000 (22:29 -0300)]
linux: bump default to version 3.15.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4, 10, 14, 15}.x series
Gustavo Zacarias [Tue, 17 Jun 2014 01:29:18 +0000 (22:29 -0300)]
linux-headers: bump 3.{4, 10, 14, 15}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofreerdp: bump to version 1.0.2
Gustavo Zacarias [Mon, 16 Jun 2014 22:54:56 +0000 (19:54 -0300)]
freerdp: bump to version 1.0.2

And switch to github helper.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomsgpack: disable for ARC
Gustavo Zacarias [Mon, 16 Jun 2014 20:03:32 +0000 (17:03 -0300)]
msgpack: disable for ARC

msgpack uses the __sync_fetch_and_add() atomic primitive that is not
available for ARC. Fixes:
http://autobuild.buildroot.net/results/829/8292e67354602738cae12d8ebea83b513ba35482/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetatalk: add support for ACLs
Gustavo Zacarias [Mon, 16 Jun 2014 18:23:31 +0000 (15:23 -0300)]
netatalk: add support for ACLs

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetatalk: add support for zeroconf
Gustavo Zacarias [Mon, 16 Jun 2014 18:23:30 +0000 (15:23 -0300)]
netatalk: add support for zeroconf

[Peter: check for avahi-daemon, not just the base avahi package]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetatalk: bump to version 3.1.2
Gustavo Zacarias [Mon, 16 Jun 2014 18:23:29 +0000 (15:23 -0300)]
netatalk: bump to version 3.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoknock: bump to version 0.7
Gustavo Zacarias [Mon, 16 Jun 2014 17:13:53 +0000 (14:13 -0300)]
knock: bump to version 0.7

Bump knock to version 0.7 and switch away from a git snapshot, it's
nicer and avoids the need to autoreconf.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodbus: bump to version 1.8.4
Baruch Siach [Mon, 16 Jun 2014 15:11:10 +0000 (18:11 +0300)]
dbus: bump to version 1.8.4

Upstream removed support for libxml2 as xml backend, select expat
unconditionally.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocan-utils: switch homepage now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:36 +0000 (10:50 -0300)]
can-utils: switch homepage now that berlios is gone

Unfortunately the gitorious page/wiki says nothing useful so use the
elinux.org page for now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agongircd: switch site now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:35 +0000 (10:50 -0300)]
ngircd: switch site now that berlios is gone

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenocd: switch homepage now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:34 +0000 (10:50 -0300)]
openocd: switch homepage now that berlios is gone

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotstools: switch homepage now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:33 +0000 (10:50 -0300)]
tstools: switch homepage now that berlios is gone

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotslib: switch homepage now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:32 +0000 (10:50 -0300)]
tslib: switch homepage now that berlios is gone

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogpsd: switch homepage now that berlios is gone
Gustavo Zacarias [Mon, 16 Jun 2014 13:50:31 +0000 (10:50 -0300)]
gpsd: switch homepage now that berlios is gone

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowireless-regdb: bump to version 2014.06.13
Gustavo Zacarias [Mon, 16 Jun 2014 12:42:23 +0000 (09:42 -0300)]
wireless-regdb: bump to version 2014.06.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibusb: bump to version 1.0.19
Gustavo Zacarias [Mon, 16 Jun 2014 11:28:27 +0000 (08:28 -0300)]
libusb: bump to version 1.0.19

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokbd: bump to version 1.15.5
Gustavo Zacarias [Wed, 18 Jun 2014 01:11:13 +0000 (22:11 -0300)]
kbd: bump to version 1.15.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosysstat: bump to version 11.0.0
Gustavo Zacarias [Wed, 18 Jun 2014 01:11:12 +0000 (22:11 -0300)]
sysstat: bump to version 11.0.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopsmisc: bump to version 22.21
Gustavo Zacarias [Wed, 18 Jun 2014 01:11:11 +0000 (22:11 -0300)]
psmisc: bump to version 22.21

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovim: bump to version 7.4-333
Gustavo Zacarias [Wed, 18 Jun 2014 01:11:10 +0000 (22:11 -0300)]
vim: bump to version 7.4-333

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoblackfin: 2012R1 toolchain is gone, remove kludges
Gustavo Zacarias [Tue, 17 Jun 2014 22:23:19 +0000 (19:23 -0300)]
blackfin: 2012R1 toolchain is gone, remove kludges

Remove ADI toolchain 2012R1 package kludges since that version is gone
since the last bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodhcpcd: bump to version 6.4.0
Gustavo Zacarias [Tue, 17 Jun 2014 22:07:46 +0000 (19:07 -0300)]
dhcpcd: bump to version 6.4.0

Now with support for static builds.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibpng: bump to version 1.6.12
Gustavo Zacarias [Tue, 17 Jun 2014 20:30:36 +0000 (17:30 -0300)]
libpng: bump to version 1.6.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofile: bump to version 5.19
Gustavo Zacarias [Tue, 17 Jun 2014 20:30:14 +0000 (17:30 -0300)]
file: bump to version 5.19

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobtrfs-progs: bump to version 3.14.2
Gustavo Zacarias [Tue, 17 Jun 2014 19:59:15 +0000 (16:59 -0300)]
btrfs-progs: bump to version 3.14.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopus-tools: bump to version 0.1.9
Gustavo Zacarias [Tue, 17 Jun 2014 19:44:09 +0000 (16:44 -0300)]
opus-tools: bump to version 0.1.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompg123: bump to version 1.20.1
Gustavo Zacarias [Tue, 17 Jun 2014 19:44:08 +0000 (16:44 -0300)]
mpg123: bump to version 1.20.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopax-utils: bump to version 0.8.1
Gustavo Zacarias [Tue, 17 Jun 2014 19:43:44 +0000 (16:43 -0300)]
pax-utils: bump to version 0.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: security bump to version 2.1.4
Gustavo Zacarias [Tue, 17 Jun 2014 19:43:26 +0000 (16:43 -0300)]
vlc: security bump to version 2.1.4

Fixes CVE-2014-1684: The ASF_ReadObject_file_properties function in
modules/demux/asf/libasf.c in the ASF Demuxer in VideoLAN VLC Media
Player before 2.1.3 allows remote attackers to cause a denial of service
(divide-by-zero error and crash) via a zero minimum and maximum data
packet size in an ASF file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoolsr: bump to version 0.6.6.2
Gustavo Zacarias [Tue, 17 Jun 2014 19:16:00 +0000 (16:16 -0300)]
olsr: bump to version 0.6.6.2

Also make the menu entry less melodramatic.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinks: add security fix for CVE-2013-6050
Gustavo Zacarias [Tue, 17 Jun 2014 19:05:49 +0000 (16:05 -0300)]
links: add security fix for CVE-2013-6050

Also fix LICENSE typo.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosvgtiny: create BUILDDIR before $(BUILDDIR)/src_colors.c
Max Filippov [Wed, 18 Jun 2014 06:57:12 +0000 (10:57 +0400)]
svgtiny: create BUILDDIR before $(BUILDDIR)/src_colors.c

Fixes:
  http://autobuild.buildroot.net/results/5fe/5feca450d70a8de48fa2463e55c9e84db5d755b0/

[Peter: renumber existing patch and this]
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: prevent rebuilding after installation to staging
Alexey Brodkin [Wed, 4 Jun 2014 20:27:33 +0000 (00:27 +0400)]
uclibc: prevent rebuilding after installation to staging

Currently we configure uClibc to use kernel headers from "staging" folder with
KERNEL_HEADERS="$(STAGING_DIR)/usr/include". This path is added to include
search path of uClibc build system in Rules.mak "CFLAGS += -I$(KERNEL_HEADERS)".

At the same time on uClibc installation to "staging" we point to the same
location "$(STAGING_DIR)/usr" (headers effectively go in "usr/include").

So after every installation to "staging" dependences get touched (even though we
copy the same headers every time) and so we may see lots of sources in uClibc
get rebuilt.

This has 2 consequences:
1. Longer build time - becase even on ordinary buildroot build uClibc is built
twice. On "uclibc building" and on "uclibc installation to target".

2. Symbols in libuClibc built initially (that is later installed in
"staging/sysroot") are situated with different offset compared to second build
(later copied in "target"). This happens because as described above only part
of sources get rebuilt and then on final linkage object files are linked in
different order.

And (2) leads to problems on remote rebugging: gdbserver reports offsets that
correspond to pointless assembly in libuClibc on host.

Here's how it looks like.

Before this patch:
$ cd ~/br2_output/i586/target/lib
$ i586-buildroot-linux-uclibc-readelf -s libuClibc-0.9.33.2.so | grep kill
   423: 0000c42c    54 FUNC    GLOBAL DEFAULT    7 kill

$ cd ~/br2_output/i586/staging/lib
$ i586-buildroot-linux-uclibc-readelf -s libuClibc-0.9.33.2.so | grep kill
   423: 0000b518    54 FUNC    GLOBAL DEFAULT    7 kill

After this patch:
$ cd ~/br2_output/i586/target/lib
$ i586-buildroot-linux-uclibc-readelf -s libuClibc-0.9.33.2.so | grep kill
   423: 0000b518    54 FUNC    GLOBAL DEFAULT    7 kill

$ cd ~/br2_output/i586/staging/lib
$ i586-buildroot-linux-uclibc-readelf -s libuClibc-0.9.33.2.so | grep kill
   423: 0000b518    54 FUNC    GLOBAL DEFAULT    7 kill

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Noam Camus <noamc@ezchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofltk: drop custom install options
Peter Korsgaard [Mon, 16 Jun 2014 08:38:24 +0000 (10:38 +0200)]
fltk: drop custom install options

The fltk buildsystem no longer tries to strip binaries during installation,
so these can be dropped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofmlib: only show comment if we're on a suitable arch
Peter Korsgaard [Mon, 16 Jun 2014 07:46:02 +0000 (09:46 +0200)]
fmlib: only show comment if we're on a suitable arch

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofmc: fmlib needs a linux kernel, so propagate dependency
Peter Korsgaard [Mon, 16 Jun 2014 07:43:35 +0000 (09:43 +0200)]
fmc: fmlib needs a linux kernel, so propagate dependency

At the same time fixup the comments to only be visible if we are
on a suitable arch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoccache: provide capability to do initial ccache setup
Danomi Manchego [Thu, 1 May 2014 02:05:07 +0000 (22:05 -0400)]
ccache: provide capability to do initial ccache setup

For example, if your project is known to require more space than the
default max cache size, then you might want to increase the cache size
to a suitable amount using the -M (--max-size) option.

The string you specify here is passed verbatim to ccache.  Refer to
ccache documentation for more details.

These initial settings are applied after ccache has been compiled.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoccache: change default cache directory path to match config setting
Danomi Manchego [Thu, 1 May 2014 02:05:06 +0000 (22:05 -0400)]
ccache: change default cache directory path to match config setting

Commit 433290761fceb476b095548eec10adf72405e050 changed the hard-coded
ccache directory location to use BR_CACHE_DIR (then BUILDROOT_CACHE_DIR),
which is exported by Makefile based on the BR2_CCACHE_DIR config option.
This allowed the cache location to be changed on-the-fly by setting a
"make" command line variable, but left the default location of ccache's
normal default at "$HOME/.ccache".  Since this location does not match the
default for BR2_CCACHE_DIR, it is basically almost never correct, so
direct invocation of ccache outside of the buildroot Makefile, such as for
increasing the cache size, becomes cumbersome.

This patch changes the last-ditch cache location from "$HOME/.ccache" to
the BR_CCACHE_DIR value defined when host-ccache is configured.  Note that
the ability to later override the cache location by using a BR_CACHE_DIR
command line variable is left intact.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoclasspath: Use generic check for host program
Maxime Hadjinlian [Sat, 3 May 2014 22:45:44 +0000 (00:45 +0200)]
classpath: Use generic check for host program

Remove the specific check that was done in dependencies.sh to use the
generic one that were introduced by the previous patch.

Also, introduce, BR2_NEEDS_HOST_JAVAC and BR2_NEEDS_HOST_JAR as it is
needed by classpath.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: Add generic check_prog_host function
Maxime Hadjinlian [Sat, 3 May 2014 22:45:43 +0000 (00:45 +0200)]
infra: Add generic check_prog_host function

Avoid copy/pasting the same block of code to check if a program is
available on the host machine.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxserver_xorg-server: Fix race condition when installing man pages
Bernd Kuhls [Thu, 12 Jun 2014 08:09:45 +0000 (10:09 +0200)]
xserver_xorg-server: Fix race condition when installing man pages

Reproduced the bug using BR2_JLEVEL=16

Fixes race condition by disabling parallel make in man/

http://autobuild.buildroot.net/results/11e/11ece737078ca8da2fee4249432148675b4e630e/
http://autobuild.buildroot.net/results/a95/a952932b832ee3296d6c225c7a9df408ca3eef9f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomkpasswd: change version from 'undefined' to 'buildroot-$(BR2_VERSION)'
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:29 +0000 (21:12 +0200)]
mkpasswd: change version from 'undefined' to 'buildroot-$(BR2_VERSION)'

The sources of the mkpasswd package are shipped with Buildroot, rather than
downloaded from an external location. As a result, no explicit version is
defined, causing build messages and build directory to show 'undefined' as
version.

This patch sets the version for mkpasswd to 'buildroot-$(BR2_VERSION), which
would for example expand to 'buildroot-2014.05'.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomakedevs: change version from 'undefined' to 'buildroot-$(BR2_VERSION)'
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:28 +0000 (21:12 +0200)]
makedevs: change version from 'undefined' to 'buildroot-$(BR2_VERSION)'

The sources of the makedevs package are shipped with Buildroot, rather than
downloaded from an external location. As a result, no explicit version is
defined, causing build messages and build directory to show 'undefined' as
version.

This patch sets the version for makedevs to 'buildroot-$(BR2_VERSION), which
would for example expand to 'buildroot-2014.05'.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/toolchain-buildroot: migrate to virtual package infrastructure
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:27 +0000 (21:12 +0200)]
toolchain/toolchain-buildroot: migrate to virtual package infrastructure

This patch migrates the toolchain and toolchain-buildroot packages to the
virtual package infrastructure, causing the log messages to change from:

>>> toolchain undefined Downloading
>>> toolchain undefined Extracting
...

to

>>> toolchain virtual Downloading
>>> toolchain virtual Extracting
...

and similar for 'toolchain-buildroot', simply because it looks nicer.

At the same time, the directory names also become toolchain-virtual,
toolchain-buildroot-virtual instead of the corresponding 'undefined'
variants.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-virtual: simplify definition of FOO_VERSION to 'virtual'
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:26 +0000 (21:12 +0200)]
pkg-virtual: simplify definition of FOO_VERSION to 'virtual'

As mentioned in the e-mail accompanying the introduction of the pkg-virtual
infrastructure [1], the definition of FOO_VERSION is 'strange'.

After the cleanup of single/double dollar signs in inner-generic-package,
the special construction in pkg-virtual is no longer needed and can be
simplified.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[1] http://lists.busybox.net/pipermail/buildroot/2014-April/093670.html
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: add comment describing single/double dollar-sign rules
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:25 +0000 (21:12 +0200)]
infra: add comment describing single/double dollar-sign rules

As the rules with respect to variable and function references and the need
for single or double dollar signs are not trivial, add a comment in
pkg-generic.mk describing them.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: consistently use double dollar signs inside inner-xxx-targets
Thomas De Schampheleire [Wed, 11 Jun 2014 19:12:24 +0000 (21:12 +0200)]
infra: consistently use double dollar signs inside inner-xxx-targets

The inner-xxx-targets in the buildroot package infrastructures are
evaluated using $(eval) which causes variable references to be a bit
different than in regular make code. As we want most references to be
expanded only at the time of the $(eval) we should not use standard
references $(VAR) but rather use double dollar signs $$(VAR). This includes
function references like $(call), $(subst), etc. The only exception is the
reference to pkgdir/pkgname and numbered variables, which are parameters to
the inner block: $(1), $(2), etc.

This patch introduces consistent usage of double-dollar signs throughout the
different inner-xxx-targets blocks.

In some cases, this would potentially cause circular references, in
particular when the value of HOST_FOO_VAR would be obtained from the
corresponding FOO_VAR if HOST_FOO_VAR is not defined. In these cases, a test
is added to check for a host package (the only case where such constructions
are relevant; these are not circular).

Benefits of these changes are:
- behavior of variables is now again as expected. For example, setting
  $(2)_VERSION = virtual in pkg-virtual.mk will effectively work, while
  originally it would cause very odd results.

- The output of 'make printvars' is now much more useful. This target shows
  the value of all variables, and the expression that led to that value.
  However, if the expression was coming from an inner-xxx-targets block, and
  was using single dollar signs, it would show in printvars as
    VAR = value (value)
  while if double dollar signs are used, it would effectively look like
    VAR = value (actual expression)
  as is intended.
  This improvement is for example effective for FOO_DL_VERSION, FOO_RAWNAME,
  FOO_SITE_METHOD and FOO_MAKE.

The correctness of this patch has been verified using 'make printvars',
'make manual' and 'make legal-info' before and after applying this patch,
and comparing the output.

Insight-provided-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofmc: fix package/Config.in
Thomas Petazzoni [Sat, 14 Jun 2014 17:09:18 +0000 (19:09 +0200)]
fmc: fix package/Config.in

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotclap: fix syntax error in Config.in
Thomas Petazzoni [Sat, 14 Jun 2014 17:08:48 +0000 (19:08 +0200)]
tclap: fix syntax error in Config.in

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: Add menu option to install the test programs
Ezequiel García [Fri, 23 May 2014 15:13:19 +0000 (12:13 -0300)]
libdrm: Add menu option to install the test programs

The libdrm has a bunch of useful test programs. Add an option to pass
the configure option to install them.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: add CodeSourcery PowerPC 2012.03
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:47 +0000 (12:47 +0200)]
toolchain-external: add CodeSourcery PowerPC 2012.03

However, this toolchain is only usable for e500v2 with the SPE ABI.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
10 years agofetchmail: Update project URL after shutdown of berlios.de
Bernd Kuhls [Fri, 6 Jun 2014 14:45:03 +0000 (16:45 +0200)]
fetchmail: Update project URL after shutdown of berlios.de

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofmc: new package
Matt Weber [Wed, 11 Jun 2014 02:50:30 +0000 (19:50 -0700)]
fmc: new package

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotclap: new package
Matt Weber [Wed, 11 Jun 2014 02:50:29 +0000 (19:50 -0700)]
tclap: new package

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofmlib: new package
Matt Weber [Wed, 11 Jun 2014 02:50:28 +0000 (19:50 -0700)]
fmlib: new package

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: fix legal info
Fatih Aşıcı [Fri, 13 Jun 2014 13:38:12 +0000 (16:38 +0300)]
qt5: fix legal info

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: add network unit file
Ivan Sergeev [Fri, 13 Jun 2014 15:35:35 +0000 (17:35 +0200)]
systemd: add network unit file

Add and enable a systemd unit file to bring up or down network with ifup /
ifdown, analogous to the skeleton/etc/init.d/S40network init script.

Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com>
[eric.le.bihan.dev@free.fr:
  - rebase
  - install service only if systemd-networkd is not selected]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libatasmart: point to a better homepage
Yann E. MORIN [Fri, 13 Jun 2014 21:53:40 +0000 (23:53 +0200)]
package/libatasmart: point to a better homepage

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowireshark: security bump to version 1.10.8
Gustavo Zacarias [Sat, 14 Jun 2014 11:59:04 +0000 (08:59 -0300)]
wireshark: security bump to version 1.10.8

Fixes CVE-2014-4020 (The frame metadissector could crash).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosg3_utils: bump to version 1.39
Gustavo Zacarias [Sat, 14 Jun 2014 11:58:41 +0000 (08:58 -0300)]
sg3_utils: bump to version 1.39

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodialog: fix build failure
Gustavo Zacarias [Sat, 14 Jun 2014 10:56:48 +0000 (07:56 -0300)]
dialog: fix build failure

The old ncurses trick is no longer needed for this version, in fact it's
harmful. Switch to proper configure options.
Also disable rpath hackery since it's not required and could be
problematic. Fixes:
http://autobuild.buildroot.net/results/411/411f6171e972eab4486143dedbfd078136886ab0/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogcc: drop redundant explicit version handling for aarch64
Peter Korsgaard [Fri, 13 Jun 2014 21:01:16 +0000 (23:01 +0200)]
gcc: drop redundant explicit version handling for aarch64

Not needed anymore now that we default to gcc 4.8.x

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc 4.8.x does not compile a working kernel for sparc
Waldemar Brodkorb [Fri, 13 Jun 2014 17:00:48 +0000 (19:00 +0200)]
gcc 4.8.x does not compile a working kernel for sparc

Since the switch to 4.8.x as default, the qemu-sparc target is broken.
For a gcc bug report see here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60624

Switch back to gcc 4.7.x as default for sparc.
Disable 4.8/4.9 as suggested by Thomas Petazzoni.
I even disabled gcc snapshot, it works right now, because
it is an old 4.8.0 snapshot by default, but as soon as this is updated
sparc build will break.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: needs kernel headers >= 3.10
Eric Le Bihan [Fri, 13 Jun 2014 15:35:57 +0000 (17:35 +0200)]
systemd: needs kernel headers >= 3.10

Systemd needs a toolchain with kernel headers >= 3.10, as it needs
IFLA_VLAN_PROTOCOL from linux/if_link.h.

Fixes: http://autobuild.buildroot.net/results/33e/33e1447949d13bccc4076b69f902432e2131cc1c
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodialog: bump to version 1.2-20140219
Gustavo Zacarias [Fri, 13 Jun 2014 14:15:39 +0000 (11:15 -0300)]
dialog: bump to version 1.2-20140219

Add a homepage.
Ditch custom install target commands, they're not needed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokernel headers: remove deprecated version 3.8
Thomas De Schampheleire [Fri, 13 Jun 2014 19:21:45 +0000 (21:21 +0200)]
kernel headers: remove deprecated version 3.8

Kernel headers version 3.8.x has been deprecated since 2013.08 and thus can
be removed in 2014.08.
An automatic selection of 3.9.x headers is performed in the legacy menu.
Existing automatic selections of 3.8.x headers are modified to select
3.9.x.

As this patch removes the last occurrence of BR2_DEPRECATED_SINCE_2013_08,
the symbol is removed too.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohaserl: bump 0.9.x version
Peter Korsgaard [Fri, 13 Jun 2014 19:54:17 +0000 (21:54 +0200)]
haserl: bump 0.9.x version

Fixes a number of security issues and adds support for PUT/DELETE. From the
release mail:

<snip>
Stephen Röttger reported a number of security bugs, the most serious of
which is a potential heap overflow in sliding_buffer.c (file uploads).
There is a potential for remote code execution.

At the same time, I've made an *experimental* change to allow RESTful
API's possible:

* PUT and DELETE methods are handled by the POST and GET handlers.
* For mostly historical reasons, data on the URI is still called
GET.<var>, and data in the body is named POST.<var>
* If the Content-Type is not "application/x-www-form-urlencoded", Haserl
won't try to urldecode the POST contents - it will just put the body in
POST.body verbatim.
</snip>

The lua handling now uses pkg-config, so adjust the code to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoutil-linux: fix installation of shared libraries to not mess with pure static lib
Thomas Petazzoni [Thu, 12 Jun 2014 20:12:43 +0000 (22:12 +0200)]
util-linux: fix installation of shared libraries to not mess with pure static lib

Even when compiled with --enable-static --disable-shared, util-linux
creates some incorrect libuuid.so, libblkid.so and libmount.so
symbolic links, which confuses the compiler which thinks that a shared
library is available. This causes some build issues such as:

  http://autobuild.buildroot.org/results/990/9909d198ce14969d0e9d29a34fcc33f0ef79220d/

This commit fixes that by adding a patch to util-linux that fixes this
issue. The patch has been submitted upstream at
http://article.gmane.org/gmane.linux.utilities.util-linux-ng/9262.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetwork-manager: add terminal based UI support
Yegor Yefremov [Fri, 13 Jun 2014 08:31:30 +0000 (10:31 +0200)]
network-manager: add terminal based UI support

NM provides a newt based UI. One can create, modify and delete NM
connections via this interface.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetwork-manager: bump to 0.9.9.95
Yegor Yefremov [Fri, 13 Jun 2014 08:31:29 +0000 (10:31 +0200)]
network-manager: bump to 0.9.9.95

The patch fixes compilation error and is already upstreamed.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: test if dot exists before using it in graph-depends
Thomas Petazzoni [Fri, 13 Jun 2014 12:17:19 +0000 (14:17 +0200)]
Makefile: test if dot exists before using it in graph-depends

The 'graph-depends' logic uses the 'dot' program from Graphviz to draw
the dependency graph, but it doesn't check its existence before
starting the generation of the graph, which can lead to user confusion
as reported in:

 http://lists.busybox.net/pipermail/buildroot/2014-June/099278.html

With this commit, we first test if the 'dot' program is available, and
if it's not, we error out with a clear error message:

$ make graph-depends
ERROR: The 'dot' program from Graphviz is needed for graph-depends
make: *** [graph-depends] Error 1

[Peter: send error message to stderr instead]
Reported-by: Dallas Clement <dallas.a.clement@gmail.com>
Cc: Dallas Clement <dallas.a.clement@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: bump musl external toolchains to 1.1.1
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:45 +0000 (12:47 +0200)]
toolchain-external: bump musl external toolchains to 1.1.1

And while we're at it, factorize the definition of the musl version,
since it's common to the definition of the tarball names for the
various supported architectures.

[Peter: Adjust Config.in info to match new version]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agographs/depends: do not draw transitive dependencies by default
Yann E. MORIN [Mon, 9 Jun 2014 22:28:56 +0000 (00:28 +0200)]
graphs/depends: do not draw transitive dependencies by default

The transitive dependencies make the graphs barely readable for large
configs, with a large number of packages.

So, just switch to not drawing the transitive dependencies by default.

By popular demand... ;-)

[Peter: reword]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc; Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosimicsfs: new package
Matt Weber [Wed, 11 Jun 2014 02:19:44 +0000 (19:19 -0700)]
simicsfs: new package

[Peter: use http url as wget complains about certificate]
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopsplash: install systemd services
Eric Le Bihan [Wed, 11 Jun 2014 20:55:02 +0000 (22:55 +0200)]
psplash: install systemd services

This patch provides service files for using psplash on embedded devices
running systemd:

- psplash-start.service: start psplash.
- psplash-quit.service: kill psplash when reaching multi-user.target

The following kernel command line options should also be set:

  systemd.show_status=0 quiet splash

The option "systemd.show_status=0" is required, because, unlike Plymouth,
psplash does not have real systemd integration, i.e. it will not perform:

  kill(1, SIGRTMIN + 21);

Note that no progress messages will be printed on the splash screen.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: fix AM_PATH_LIBGCRYPT not found
Eric Le Bihan [Wed, 11 Jun 2014 21:26:22 +0000 (23:26 +0200)]
systemd: fix AM_PATH_LIBGCRYPT not found

This patch installs a copy of libgcrypt.m4 from the libgcrypt source tarball
to systemd m4 directory.

Libgcrypt uses a custom m4 macro and not pkg-config to check if the
development files are available. Though libgcrypt support is optional in
systemd, this macro should be available whenever autoreconf is used,
otherwise the re-configuration will fail with:

  configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library

The call to autoreconf is required, as it is needed by the patch which
solves the `ln --relative` issue.

As asking the user to install the development package of libgcrypt on
the host machine or adding libgcrypt as a build dependency to systemd is
not acceptable, the required file is added to the m4 directory.

Fixes: http://autobuild.buildroot.net/results/1524d346fa17749e2ae62e063b9cfdd0de95c76a/
Fixes: http://autobuild.buildroot.net/results/10bcd92437eaa27eb61f8281c93efcb53d555e35/
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/minidlna: Bump version to 1.1.3
Bernd Kuhls [Thu, 12 Jun 2014 06:06:37 +0000 (08:06 +0200)]
package/minidlna: Bump version to 1.1.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/minidlna: Always depend on host-gettext
Bernd Kuhls [Thu, 12 Jun 2014 06:06:36 +0000 (08:06 +0200)]
package/minidlna: Always depend on host-gettext

Fixes
http://autobuild.buildroot.net/results/7d1/7d10e2c13a1caf61b8bd18b85e5e5af50e5e7c48/

checking for msgfmt... no

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocosmo: disable package until upstream site is fixed
Thomas Petazzoni [Thu, 12 Jun 2014 21:36:35 +0000 (23:36 +0200)]
cosmo: disable package until upstream site is fixed

Fixes:

  http://autobuild.buildroot.org/results/1ca/1ca98e95b106a948f1c0d0153a290ae1d9adb76d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: bump 4.7.x series to version 4.7.4
Gustavo Zacarias [Thu, 12 Jun 2014 21:00:50 +0000 (18:00 -0300)]
gcc: bump 4.7.x series to version 4.7.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiproute2: bump version
Peter Korsgaard [Thu, 12 Jun 2014 20:03:48 +0000 (22:03 +0200)]
iproute2: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofaifa: Bump version
Maxime Hadjinlian [Thu, 12 Jun 2014 12:05:32 +0000 (14:05 +0200)]
faifa: Bump version

A tag has been created, so we should uses it.
This bump of version integrates the patch we had so there is no need for
it anymore.

Also, with this tag, faifa changed it's license to BSD-3c.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodnsmasq: static linking with lua doesn't need -ldl
Peter Korsgaard [Thu, 12 Jun 2014 08:46:41 +0000 (10:46 +0200)]
dnsmasq: static linking with lua doesn't need -ldl

Fixes http://autobuild.buildroot.net/results/77e/77e4123a3ddc934efedf4b09adc2436421ee70b3/

liblua only uses libdl when dynamic linking is used, and certain toolchains
(E.G.  bfin) doesn't provide a libdl - So only link against it if it is
needed.

At the same time change it pass the library in LIBS instead of LDFLAGS so it
ends up at the end of the linker cmdline.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohdparm: prevent package makefile from stripping the hdparm binary
Thomas Petazzoni [Wed, 11 Jun 2014 20:46:29 +0000 (22:46 +0200)]
hdparm: prevent package makefile from stripping the hdparm binary

Packages shouldn't strip executables by themselves, so that Buildroot
controls whether stripping should occur or not. This also fixes the
build on Blackfin FLAT where stripping actually doesn't work because
stripping FLAT binaries is not supported.

Fixes:

  http://autobuild.buildroot.org/results/7d4/7d4e59c96928a06db5091235bf2eacf462ba8a21/

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 <peter@korsgaard.com>
10 years agoinfra: indent the Config.in source-ing of packages
Arnout Vandecappelle [Thu, 8 May 2014 21:35:43 +0000 (23:35 +0200)]
infra: indent the Config.in source-ing of packages

This makes sure that a patch adding a package shows in which menu the
package is added.

Before this commit, the patch has something like this:
> diff --git a/package/Config.in b/package/Config.in
> index 7800f23..433312e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in"
>  source "package/haveged/Config.in"
>  source "package/mcrypt/Config.in"
>  source "package/mobile-broadband-provider-info/Config.in"
> +source "package/mypackage/Config.in"
>  source "package/shared-mime-info/Config.in"
>  source "package/snowball-init/Config.in"
>  source "package/sound-theme-borealis/Config.in"

[> added to avoid git-am recognizing this as the patch]

After this commit, the function marker shows in which menu the new
package was added:
> diff --git a/package/Config.in b/package/Config.in
> index b1111c8..7e6e1a4 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -864,6 +864,7 @@ menu "Miscellaneous"
>   source "package/haveged/Config.in"
>   source "package/mcrypt/Config.in"
>   source "package/mobile-broadband-provider-info/Config.in"
> + source "package/mypackage/Config.in"
>   source "package/shared-mime-info/Config.in"
>   source "package/snowball-init/Config.in"
>   source "package/sound-theme-borealis/Config.in"

To keep things consistent, this is done for Config.in.host there, even
though we don't have sub-menus there at the moment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4,10,12,14}.x series
Gustavo Zacarias [Wed, 11 Jun 2014 19:53:53 +0000 (16:53 -0300)]
linux-headers: bump 3.{4,10,12,14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/eudev: Bump version to 1.7
Bernd Kuhls [Wed, 11 Jun 2014 17:41:46 +0000 (19:41 +0200)]
package/eudev: Bump version to 1.7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopinentry: qt4 backend requires the Qt GUI module
Thomas Petazzoni [Wed, 11 Jun 2014 17:44:15 +0000 (19:44 +0200)]
pinentry: qt4 backend requires the Qt GUI module

Fixes:

  http://autobuild.buildroot.org/results/1d8/1d8a8ff1880549b2e2a24cc175dced1a51245cde/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosupervisor: add runtime dependency on python-setuptools
Thomas De Schampheleire [Wed, 11 Jun 2014 19:17:47 +0000 (21:17 +0200)]
supervisor: add runtime dependency on python-setuptools

supervisor has a runtime dependency on python-setuptools which was not
expressed in its Config.in file. When running supervisor without setuptools,
one gets:

Starting supervisord: Traceback (most recent call last):
  File "/usr/bin/supervisord", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Partially fixes bug #7184 (https://bugs.busybox.net/show_bug.cgi?id=7184)

Reported-by: Sebastian Himberger <sebastian@himberger.de>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mesa3d: depend on udev
Bernd Kuhls [Wed, 11 Jun 2014 17:41:48 +0000 (19:41 +0200)]
package/mesa3d: depend on udev

checking for LIBUDEV... no
configure: error: libudev-dev required for building DRI

Fixes
http://autobuild.buildroot.net/results/16d/16d12b986051db884eae86e9658e6c4fc0f28885/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibinput: bump version
Peter Korsgaard [Wed, 11 Jun 2014 15:24:02 +0000 (17:24 +0200)]
libinput: bump version

And remove upstreamed patches.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowireless tools: bump to version 30.pre9
Gustavo Zacarias [Wed, 11 Jun 2014 13:31:28 +0000 (10:31 -0300)]
wireless tools: bump to version 30.pre9

It seems there won't be any new release soon (or ever), so update to the
latest pre version for better functionality (non-ASCII ESSIDs, bigger
scan buffer for example).
Also update the bzero deprecation patch since it missed some instances.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tvheadend: Add optional dependency to libiconv
Bernd Kuhls [Wed, 11 Jun 2014 13:02:06 +0000 (15:02 +0200)]
package/tvheadend: Add optional dependency to libiconv

To get reproducable builds depend on libiconv if needed.

tvheadend configure either shows

  checking for cc libiconv ...                      fail

or

  checking for cc libiconv ...                      ok

depending on the presence of libiconv, and gets linked

output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/tvheadend | grep NEEDED | grep iconv
 0x00000001 (NEEDED)                     Shared library: [libiconv.so.2]

Please note that libiconv is not a hard-dependency.

Tested with minimal defconfig

BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_TVHEADEND=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>