]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agolibcap-ng: security bump to version 0.7.4
Gustavo Zacarias [Wed, 11 Jun 2014 12:55:56 +0000 (09:55 -0300)]
libcap-ng: security bump to version 0.7.4

Fixes CVE-2014-3215.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoe2fsprogs: fix static build against external libblkid
Baruch Siach [Wed, 11 Jun 2014 10:15:09 +0000 (13:15 +0300)]
e2fsprogs: fix static build against external libblkid

Fixes:
http://autobuild.buildroot.net/results/0159246b52659508a4bbba4126ab27b28a2b2e2c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoradvd: bump to version 1.12
Gustavo Zacarias [Tue, 10 Jun 2014 17:58:22 +0000 (14:58 -0300)]
radvd: bump to version 1.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agop910nd: bump to version 0.97
Gustavo Zacarias [Tue, 10 Jun 2014 17:54:32 +0000 (14:54 -0300)]
p910nd: bump to version 0.97

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofaifa: force GIT_REV to a correct value
Maxime Hadjinlian [Tue, 10 Jun 2014 22:15:57 +0000 (00:15 +0200)]
faifa: force GIT_REV to a correct value

This variable is looked up by the Makefile throught a git command line
invocation.
Since we don't keep the '.git' folder in the packages when we clone
them, the command line fail to find anything.

Even worse, it can keep going up the tree until it finds buildroot's
'.git' directory.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofaifa: remove useless CFLAGS -Wno-unused-result
Maxime Hadjinlian [Tue, 10 Jun 2014 22:15:56 +0000 (00:15 +0200)]
faifa: remove useless CFLAGS -Wno-unused-result

Fixes
http://autobuild.buildroot.net/results/961/9614d13769bfdc908e12e3242e7e07630dd08869/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoti-gfx: bump to version 5_01_01_01 if EABIhf is used
Hadrien Boutteville [Tue, 10 Jun 2014 21:50:38 +0000 (23:50 +0200)]
ti-gfx: bump to version 5_01_01_01 if EABIhf is used

SDK 5_01_01_01 only support EABIhf so 5_01_00_01 is still used if
EABIhf is not available.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflann: disable with the problematic NIOS II toolchain
Thomas Petazzoni [Tue, 10 Jun 2014 21:27:40 +0000 (23:27 +0200)]
flann: disable with the problematic NIOS II toolchain

Fixes:

  http://autobuild.buildroot.org/results/062/0620bf8d60aa57949cede0c5b3920ef5446fe98b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoznc: not available on !MMU systems, uses fork()
Thomas Petazzoni [Tue, 10 Jun 2014 21:01:32 +0000 (23:01 +0200)]
znc: not available on !MMU systems, uses fork()

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoznc: add patch to add missing <time.h> inclusions
Thomas Petazzoni [Tue, 10 Jun 2014 21:01:31 +0000 (23:01 +0200)]
znc: add patch to add missing <time.h> inclusions

With certain toolchains, znc fails to build due to missing <time.h>
inclusions. This commit fixes that by adding a patch that adds those
missing inclusions.

Fixes:

  http://autobuild.buildroot.net/results/86e/86e5e76a6ccc1396cd84107af63cdaa0ce1dfbee/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcp: bump to version 4.1-ESV-R9
Gustavo Zacarias [Wed, 11 Jun 2014 10:39:39 +0000 (07:39 -0300)]
dhcp: bump to version 4.1-ESV-R9

Also install the SysV initscripts from the proper hook.
Since the scripts check for the proper files to be present there's no
need to exclude them according to options since they won't try to start
anything.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoperl-cross: bump to version 0.8.5 and move to github
Francois Perrad [Thu, 24 Apr 2014 16:26:02 +0000 (18:26 +0200)]
perl-cross: bump to version 0.8.5 and move to github

The perl-cross tarball allows to patch the Perl distribution (in a
_POST_EXTRACT_HOOKS).  The github helper gives a copy of the project which
allows to build this tarball.  So, the github helper can not be used here.

[Peter: mention the change to github]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-perl: fix for Perl XS packages configured by Makefile.PL
Francois Perrad [Thu, 24 Apr 2014 16:26:01 +0000 (18:26 +0200)]
pkg-perl: fix for Perl XS packages configured by Makefile.PL

ExtUtils::MakeMaker adds all the header files used by the perl as
dependencies to the generated Makefile. This means that the generated
Makefile will depend on the system's header files.

Usually this is not a problem, because when building the target package,
these header files will indeed be found in $(STAGING_DIR). However, some
distro's add an extra header file to the system's perl. This header is
also included in the generated Makefile, which makes the build fail
because it doesn't exist in $(STAGING_DIR).

As a work-around, explicitly create this header file in $(STAGING_DIR).
It doesn't hurt to create it even if the system perl doesn't need it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxterm: bump to version 306
Gustavo Zacarias [Tue, 10 Jun 2014 12:17:27 +0000 (09:17 -0300)]
xterm: bump to version 306

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobind: security bump to version 9.9.5
Gustavo Zacarias [Tue, 10 Jun 2014 10:18:25 +0000 (07:18 -0300)]
bind: security bump to version 9.9.5

Fixes CVE-2014-0591 (a crafted query against an NSEC3-signed zone can
crash BIND).
The 9.9.x series is the new ESV vesion, 9.6.x has been retired.
Also cleanup the initscript while at it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokexec: bump to 2.0.7
Yegor Yefremov [Tue, 10 Jun 2014 06:30:05 +0000 (08:30 +0200)]
kexec: bump to 2.0.7

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Mon, 9 Jun 2014 21:15:31 +0000 (18:15 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcgicc: bump to version 3.2.15
Gustavo Zacarias [Mon, 9 Jun 2014 17:03:49 +0000 (14:03 -0300)]
libcgicc: bump to version 3.2.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: Bump version
Bernd Kuhls [Mon, 9 Jun 2014 10:56:23 +0000 (12:56 +0200)]
package/tvheadend: Bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: Properly disable internal fetch of dvb-data
Bernd Kuhls [Mon, 9 Jun 2014 10:56:22 +0000 (12:56 +0200)]
package/tvheadend: Properly disable internal fetch of dvb-data

Fixes
http://autobuild.buildroot.net/results/a8a/a8a8e39d57b14f1a59c8e6322b511c761442ee3c/
http://autobuild.buildroot.net/results/227/2278a078af5cc2e9f36661ad11e70b7692481266/

Instead of patching the buildsystem just use the included option --disable-
dvbscan, therefore remove tvheadend-001-no-auto-download-dvbscans.patch

This should also point tvheadend to the right place for the dvb data according
to src/input/mpegts/scanfile.c:

  #if ENABLE_DVBSCAN
    path = "data/dvb-scan";
  #else
    path = "/usr/share/dvb";
  #endif

and the resulting binary:

strings tvheadend | grep "dvb-scan\|share\/dvb"
/usr/share/dvb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogettext: optimize build time
Thomas Petazzoni [Sun, 1 Jun 2014 20:23:31 +0000 (22:23 +0200)]
gettext: optimize build time

This commit significantly reduces the build time of host-gettext and
gettext, by using the capacity of gettext to handle build things in a
certain subdirectory:

 - For the host variant of gettext, we only need the gettext-tools,
   available in the directory of the same name in the gettext sources.

 - For the target variant of gettext, we only need the gettext library
   libintl, available in the gettext-runtime directory in the gettext
   sources.

So by using appropriate values of GETTEXT_SUBDIR and
HOST_GETTEXT_SUBDIR, we only build what's necessary. Moreover, by
manually patching gettext-tools/Makefile.in and
gettext-runtime/Makefile.in, we make sure to not build and install
things like examples, documentation and so on.

In addition to this, these changes avoid the need to autoreconfigure
the gettext package, which was particularly long.

Thanks to these changes, the build time of gettext goes from 1 minutes
and 37 seconds to just 24 seconds, and the build of host-gettext goes
from 2 minutes and 18 seconds to 1 minute and 13 seconds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agogettext: remove support for gettext-tools on target
Thomas Petazzoni [Sun, 1 Jun 2014 20:23:30 +0000 (22:23 +0200)]
gettext: remove support for gettext-tools on target

This commit removes the BR2_PACKAGE_GETTEXT_TOOLS option, which could
be used to install gettext tools on the target. This is not needed,
because Buildroot is not designed to provide a full development
environment on the target, and gettext translation files should be
processed on the build machine, using the host gettext tools.

Remove this option will allow to optimize the build time of gettext on
the target, by only building the gettext runtime libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agominidlna: do not select BR2_PACKAGE_GETTEXT_TOOLS
Thomas Petazzoni [Sun, 1 Jun 2014 20:23:29 +0000 (22:23 +0200)]
minidlna: do not select BR2_PACKAGE_GETTEXT_TOOLS

Commit 9ff640ae30ca588228030faf2c6fd13af292cb66 ("minidlna: needs
gettext and host-gettext tools if locale is enabled") modified the
minidlna package to fix gettext related issues. As part of this patch,
a select of BR2_PACKAGE_GETTEXT_TOOLS was added, which according to
the commit title is used to have host-gettext tools installed.

However, this is not what this option is about: this option is about
having gettext tools installed on the target.

Since this is not what minidlna needs, and we anyway plan to remove
this BR2_PACKAGE_GETTEXT_TOOLS option, this commit removes this
incorrect select statement.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: add ADI Blackfin 2014R1 toolchain, remove 2012R1
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:48 +0000 (12:47 +0200)]
toolchain-external: add ADI Blackfin 2014R1 toolchain, remove 2012R1

This commit adds support for two ADI Blackfin toolchains: the 'stable'
2014R1 based on gcc 4.3, and the 'experimental' 2014R1 based on gcc
4.5.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: add CodeSourcery MIPS 2014.05, remove 2012.09
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:46 +0000 (12:47 +0200)]
toolchain-external: add CodeSourcery MIPS 2014.05, remove 2012.09

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: bump Linaro AArch64 toolchain to 2014.05
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:44 +0000 (12:47 +0200)]
toolchain-external: bump Linaro AArch64 toolchain to 2014.05

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: bump Linaro ARMeb toolchain to 2014.04
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:43 +0000 (12:47 +0200)]
toolchain-external: bump Linaro ARMeb toolchain to 2014.04

For some reason, there is no ARMeb toolchain available in the 2014.05
Linaro release.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: bump Linaro ARM to 2014.05
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:42 +0000 (12:47 +0200)]
toolchain-external: bump Linaro ARM to 2014.05

The major changes are: switch to gcc 4.9 instead of 4.8, and switch to
glibc 2.19 instead of glibc 2.18.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: support only one Linaro AArch64 toolchain at a time
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:41 +0000 (12:47 +0200)]
toolchain-external: support only one Linaro AArch64 toolchain at a time

Linaro toolchains are released so frequently (every month) that it
doesn't make much sense to support 3 consecutive versions. So, like we
do for ARM big-endian, let's support only one version at a time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: support only one Linaro ARM toolchain at a time
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:40 +0000 (12:47 +0200)]
toolchain-external: support only one Linaro ARM toolchain at a time

Linaro toolchains are released so frequently (every month) that it
doesn't make much sense to support 3 consecutive versions. So, like we
do for ARM big-endian, let's support only one version at a time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: do not pass TOOLCHAIN_EXTERNAL_CFLAGS for kernel headers check
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:39 +0000 (12:47 +0200)]
toolchain-external: do not pass TOOLCHAIN_EXTERNAL_CFLAGS for kernel headers check

When getting the sysroot used for the kernel headers version check,
passing TOOLCHAIN_EXTERNAL_CFLAGS causes a problem when used with
multilib toolchains, where only the main sysroot has the header files,
and the other sysroots only have the libraries.

Since the kernel headers version used is normally the same for all
sysroots, this commit solves this problem by removing the
TOOLCHAIN_EXTERNAL_CFLAGS argument when calling
toolchain_find_sysroot, so that it returns the main sysroot, in which
<linux/version.h> can be found for the kernel headers version check.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agotoolchain-external: apply kernel headers check to non-custom toolchains
Thomas Petazzoni [Sun, 1 Jun 2014 10:47:38 +0000 (12:47 +0200)]
toolchain-external: apply kernel headers check to non-custom toolchains

Since the introduction of the kernel headers Config.in options, the
external toolchain logic had a check for custom external toolchains to
verify that the kernel headers version entered by the user matches the
one of the toolchain. However, this check was not made for non-custom
external toolchains (i.e the built-in profiles, such as Linaro,
CodeSourcery and al.), making the assumption that the Buildroot
developers will do the right selection.

However, it is quite nice when bumping external toolchains to have
this automatic kernel headers version check, to ensure we select the
appropriate kernel headers version.

Therefore, this commit makes the kernel headers version check
applicable to non-custom external toolchains.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agopinentry: new package
Vicente Olivert Riera [Fri, 6 Jun 2014 13:44:29 +0000 (14:44 +0100)]
pinentry: new package

[Thomas:
 - fix license version: the license is GPLv2+, not GPLv2
 - make sure the ncurses backend is selected if none of the other
   backends are selected.
 - add dependency on libiconv of the curses and gtk2 backends, needed
   in !locale configurations.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Reviewed-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolsof: do not remove WIDECHARINCL definition
Benoît Thébaudeau [Fri, 2 May 2014 14:59:23 +0000 (16:59 +0200)]
lsof: do not remove WIDECHARINCL definition

WIDECHARINCL is enabled by HASWIDECHAR, so removing its definition if
BR2_USE_WCHAR is not set is useless.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibksba: new package
Vicente Olivert Riera [Fri, 6 Jun 2014 13:44:26 +0000 (14:44 +0100)]
libksba: new package

[Thomas: fix license informations.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 3.15
Gustavo Zacarias [Mon, 9 Jun 2014 11:30:35 +0000 (08:30 -0300)]
linux: bump default to version 3.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: add 3.15.x series
Gustavo Zacarias [Mon, 9 Jun 2014 11:30:34 +0000 (08:30 -0300)]
linux-headers: add 3.15.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: add 3.15 choice for headers
Gustavo Zacarias [Mon, 9 Jun 2014 11:30:33 +0000 (08:30 -0300)]
toolchain: add 3.15 choice for headers

[Thomas: fix BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 to select
BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 and not itself.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libbsd: needs an (e)glibc toolchain
Yann E. MORIN [Mon, 9 Jun 2014 10:26:21 +0000 (12:26 +0200)]
package/libbsd: needs an (e)glibc toolchain

libbsd needs support for .init_array and checks for a
glibc >= 2.4 since .init_array was introduced at around
that time.

uClibc claims to be a glibc-compatible toolchain, but it
only impersonates a glibc-2.2.

Just disable libbsd on uClibc.

Fixes:
    http://autobuild.buildroot.net/results/e94/e949d8fabeeecc74bd1c324c516e0b4938c99dbc/
    http://autobuild.buildroot.net/results/d3e/d3e1b70fb91571efacbe32af2cd12d055508f5ac/
    http://autobuild.buildroot.net/results/b19/b19d24dbf9d05d86d839349695da45d548705b25/
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-zigbee: add missing comment for thread dependency
Thomas Petazzoni [Mon, 9 Jun 2014 12:39:18 +0000 (14:39 +0200)]
linux-zigbee: add missing comment for thread dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosispmctl: new package
Phil Eichinger [Thu, 29 May 2014 15:05:33 +0000 (17:05 +0200)]
sispmctl: new package

[Thomas:
 - Add missing select of BR2_PACKAGE_LIBUSB, since
   BR2_PACKAGE_LIBUSB_COMPAT depends on it
 - Add missing thread dependency, since libusb requires threads.
 - Add missing wide-char dependency. Without wide char support,
   sispmctl doesn't build.
 - Rewrap the Config.in help text, and remove trailing whitespaces.
 - License is GPLv2+, not GPLv2.
 - Remove --disable-dependency-tracking from <pkg>_CONF_OPT. That's a
   global, standard, autoconf option, and there's no reason to pass it
   at the per-package level.]

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "package/weston: libxkbcommon is optional"
Yann E. MORIN [Mon, 9 Jun 2014 12:15:39 +0000 (14:15 +0200)]
Revert "package/weston: libxkbcommon is optional"

This reverts commit cf1c2eb19d3eeddca04013cfa7b2107530abf054.

xkbcommon is still needed for the clients. There's no point in disabling
the clients, or weston is unusable (as packaged in Buildroot.)

Fixes:

  http://autobuild.buildroot.org/results/4e9/4e996c65f5b33d4518b0596d9c7076083d491a52/

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-zigbee: new package
Maxime Hadjinlian [Sat, 3 May 2014 17:48:00 +0000 (19:48 +0200)]
linux-zigbee: new package

linux-zigbee is a mix of utility tools that implements a 802.15.4 stack
along with a usefull library for any program that would need to use this
stack.

Note that the name is mislead, for licensing reason, this does *NOT*
implement the ZigBee protocol.

[Thomas:
 - add dependency on threads, propagated from libnl
 - improve the Config.in description by borrowing more text from the
   upstream website
 - fix the prompt of sub-options to be more consistent, and add help
   texts where appropriate
 - fix indentation of the BR2_PACKAGE_LINUX_ZIGBEE_TESTS option help
   text
 - add missing dependencies on host-pkgconf, host-flex and host-bison
 - add missing SoB line in the patch disabling test-serial. Maxime is
   a well-known contributor, so I assumed we had his SoB.
 - fix indentation of <pkg>_CONF_OPT.
 - remove <pkg>_INSTALL_STAGING = YES since the package does not
   install any library, and the two headers it installs are available
   through the toolchain kernel headers.
 - add comment to explain <pkg>_AUTORECONF = YES.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>