buildroot.git
10 years agogcc/4.7: add patch to enable more C++ features with uClibc
Thomas Petazzoni [Fri, 15 Aug 2014 16:37:58 +0000 (18:37 +0200)]
gcc/4.7: add patch to enable more C++ features with uClibc

This commit fixes bug #7250, by allowing more libstdc++ features to be
enabled with uClibc. libstdc++ wants an absolutely complete C99
support in the C library before enabling *any* feature that needs some
C99 functions. However, uClibc doesn't provide C99 complex numbers, so
libstdc++ disables a lot of C++ standard methods, even though they are
not related to C99 complex numbers.

A partial solution already existed in the patch
302-c99-snprintf.patch, but this commit replaces it by the more
complete 850-libstdcxx-uclibc-c99.patch, which is highly inspired by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393, except that it
doesn't rely on configure.ac checks, but simply on testing
defined(__UCLIBC__) like was done in 302-c99-snprintf.patch. This
allows to avoid having to autoreconf gcc, which is quite complicated
to achieve.

Reported-by: Richard <tarka.t.otter@gmail.com>
Cc: Richard <tarka.t.otter@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/{atngw100, atstk100x}: fix build of AVR32 defconfigs
Thomas Petazzoni [Sat, 16 Aug 2014 07:44:21 +0000 (09:44 +0200)]
configs/{atngw100, atstk100x}: fix build of AVR32 defconfigs

Since we marked the AVR32 architecture deprecated, it can no longer be
selected in a normal configuration. This has caused the AVR32
defconfigs to fail to build in our daily Jenkins tests. In order to
make them build again, they must use BR2_DEPRECATED=y. Of course, when
we remove AVR32 completely, we'll remove those defconfigs as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnftnl: add patch to avoid symbol conflict
Thomas Petazzoni [Sat, 16 Aug 2014 13:35:48 +0000 (15:35 +0200)]
libnftnl: add patch to avoid symbol conflict

When ELF binaries and shared libraries are used, the internal
functions of libnftnl such as xfree() are not visible to the outside
world (their visibility is 'hidden'). Therefore, the fact that other
programs (especially nftables) may have symbols with the same name
does not cause any problem.

However, when doing static linking on a non-ELF platform (such as
Blackfin, which uses the FLAT binary format), there is no way of
encoding this visibility. Therefore, the xfree() symbols of libnftnl
becomes visible to the outside world, causing a conflict with the
xfree() symbol defined by nftables.

To solve this, this patch renames the libnftnl xfree() function to
libnftnl_xfree().

This commit fixes a problem seen after building nftables statically on
Blackfin. This problem was seen after the previous patch fixing the
autobuilder failure:

  http://autobuild.buildroot.org/results/98b/98b707ffdeeb1cda94b7c1019ef29cf5fd7db8bf/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonftables: fix build in static scenarios
Thomas Petazzoni [Sat, 16 Aug 2014 13:35:47 +0000 (15:35 +0200)]
nftables: fix build in static scenarios

When linking against readline, it forgets to link against ncurses,
which is needed by readline. Fix this by passing LIBS="-lcurses" to
the configure script.

Fixes:

  http://autobuild.buildroot.org/results/98b/98b707ffdeeb1cda94b7c1019ef29cf5fd7db8bf/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/empty: Respect LDFLAGS, fix link order
Bernd Kuhls [Sun, 10 Aug 2014 14:57:52 +0000 (16:57 +0200)]
package/empty: Respect LDFLAGS, fix link order

Fixes
http://autobuild.buildroot.net/results/50f/50fedb54cf005d1177d85c5a34fd10a1c354ba5b/
http://autobuild.buildroot.net/results/9fc/9fce0825772e99de3c6808b729641147385413aa/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqmx6/wandboard_defconfig: switch to custom kernel headers version
Gustavo Zacarias [Fri, 15 Aug 2014 11:14:54 +0000 (08:14 -0300)]
qmx6/wandboard_defconfig: switch to custom kernel headers version

Since 3.0.x was EOL and deprecated this would cause it to use newer
headers than the kernel and cause issues.
So switch to custom kernel headers version string to fix this.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: mark EOL versions deprecated
Gustavo Zacarias [Fri, 15 Aug 2014 11:14:53 +0000 (08:14 -0300)]
linux-headers: mark EOL versions deprecated

Follow the upstream EOL cycle and mark 3.0, 3.11, 3.13 and 3.15
as deprecated for 2014.08.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual-text: hide image representations
Thomas De Schampheleire [Fri, 15 Aug 2014 13:40:38 +0000 (15:40 +0200)]
manual-text: hide image representations

Images specified in the asciidoc sources (currently only the logo) are
displayed as the file name in the text version of the manual. This causes an
odd line to appear:
    logo.png

Avoid this by setting the image representation macros to {empty} in
manual-text.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual-text: make sure URLs are displayed if a link text was provided
Thomas De Schampheleire [Fri, 15 Aug 2014 13:40:37 +0000 (15:40 +0200)]
manual-text: make sure URLs are displayed if a link text was provided

When the asciidoc source contain URLs of the form:
    http://example.com[An example website]
the text representation of the manual would only contain:
    An example website
without displaying the actual URL.

This patch adds an asciidoc configuration file that sets the inline macros
for several URL types so that the display becomes:
    An example website [http://example.com]
For URLs where no link text was provided, the display becomes:
    http://example.com
which is the same as before.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogendoc infra: add support for asciidoc configuration files
Thomas De Schampheleire [Fri, 15 Aug 2014 13:40:36 +0000 (15:40 +0200)]
gendoc infra: add support for asciidoc configuration files

This patch introduces support for asciidoc configuration files, specific for
each output format (html, text, pdf, ...). This is useful to make certain
tweaks in the document generation.

If a file docs/manual/asciidoc-<format>.conf is present, it is passed to
asciidoc as configuration file. If no file for the current format is
present, the options passed to asciidoc are empty.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogendoc infra: use $(pkgname) instead of explicitly passing 'manual'
Thomas De Schampheleire [Fri, 15 Aug 2014 13:40:35 +0000 (15:40 +0200)]
gendoc infra: use $(pkgname) instead of explicitly passing 'manual'

In the gendoc infrastructure, using an assignment of the form
    FOO = docs/$(1)/bar
inside GENDOC_INNER does not work as expected: the $(1) value is empty here
and the value of FOO becomes 'docs//bar'.

Parameters $(2), $(3), etc. do not have this problem. The specific thing
about $(1) is that it is a parameter to GENDOC itself (indicating the
document to create) and passed transparently to GENDOC_INNER.

This is different from the package infrastructures, where $(1) is set from
$(pkgname). In fact, the same strategy could be used by the gendoc
infrastructure as well, as $(pkgname) resolves to 'manual' for file
docs/manual/manual.mk. This has the advantage that the described problem
does not occur.

Note that this means that if we want to use the same GENDOC infrastructure
for another document, it will have to reside in a separate directory than
the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: unconditionally include pkg-utils.mk
Thomas De Schampheleire [Fri, 15 Aug 2014 13:40:34 +0000 (15:40 +0200)]
Makefile: unconditionally include pkg-utils.mk

Currently, pkg-utils.mk (included via package/Makefile.in) is only included
when a configuration file already exists. This means that none of the
utilities it defines are available without .config.

In particular:
- the MESSAGE macro, causing pretty build output. Since some make targets
  can be run even without .config, like 'make manual', not having this
  pretty printing is odd.

- pkgname, pkgdir: in a subsequent patch, these functions will be used for
  the generation of the manual, and since this should work also without
  .config, we need these functions to be available.

This patch moves the include of pkg-utils.mk from package/Makefile.in to
Makefile, outside of the check for .config.

This is a quick fix. The full solution involves to minimize the amount of
Makefile code that is guarded by a check on .config. This approach will be
taken in the 2014.11 release cycle.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-net-ssleay: fix build
Francois Perrad [Sat, 16 Aug 2014 07:11:10 +0000 (09:11 +0200)]
perl-net-ssleay: fix build

the new option OPTIMIZE needs the same replacement.

see http://autobuild.buildroot.net/results/278f9d121273a16cedc009c0b8df0a8659d8fb73/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/iftop: fix static build
Bernd Kuhls [Thu, 7 Aug 2014 18:56:40 +0000 (20:56 +0200)]
package/iftop: fix static build

Use pcap-config to list optional libpcap dependencies that we need to list
when building statically.

Inspired by Baruch Siach
http://git.buildroot.net/buildroot/commit/package/dhcpdump/dhcpdump.mk?id=429f4415cd153c6809394a8b3245d4d15bba3ec3

Fixes
http://autobuild.buildroot.net/results/c7e/c7e3b2897a9cb9ab55dc7b1a2cd1961235d2d1a4/
http://autobuild.buildroot.net/results/60f/60f82bedae255f6b69c9a5ac22686c76c6276301/
http://autobuild.buildroot.net/results/1b7/1b771af04a95a78144141a5d555c97bbb5a7e13f/
http://autobuild.buildroot.net/results/1f4/1f45e2adcc80c4a209aa5895260985460933575c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ngrep: fix static build
Bernd Kuhls [Sat, 9 Aug 2014 15:54:42 +0000 (17:54 +0200)]
package/ngrep: fix static build

Use pcap-config to list optional libpcap dependencies that we need to list
when building statically.

Inspired by Baruch Siach
http://git.buildroot.net/buildroot/commit/package/dhcpdump/dhcpdump.mk?id=429f4415cd153c6809394a8b3245d4d15bba3ec3

Fixes
http://autobuild.buildroot.net/results/3c5/3c584b850cabebcf93dfd61c59e28988165a41c4/
http://autobuild.buildroot.net/results/938/93842b54767cca51c68ad33ddc93ec58d70602c8/
http://autobuild.buildroot.net/results/0ae/0ae4adec7fe66f819c7b3dabf13648fb29247de6/
http://autobuild.buildroot.net/results/9c2/9c203bc6ca91da68c9e7335611c1fb56224380bc/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxapp_rstart: Depends on MMU
Bernd Kuhls [Sat, 9 Aug 2014 13:34:35 +0000 (15:34 +0200)]
xapp_rstart: Depends on MMU

Fixes
  CCLD   rstartd.real
auth.o: In function `_do_auth':
auth.c:(.text+0x6a): undefined reference to `_fork'
server.o: In function `_detach':
server.c:(.text+0x80a): undefined reference to `_fork'

To reproduce use this defconfig
http://autobuild.buildroot.net/results/8d5/8d5ad404fab7ec2a501972ba9c08b0109e420b80/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/matchbox: Depends on MMU
Bernd Kuhls [Sat, 9 Aug 2014 12:54:15 +0000 (14:54 +0200)]
package/matchbox: Depends on MMU

Fixes matchbox-panel:
http://autobuild.buildroot.net/results/8d5/8d5ad404fab7ec2a501972ba9c08b0109e420b80/

and matchbox-desktop:
mbdesktop_win_plugin.o: In function `mbdesktop_win_plugin_load':
/home/br/br/output/build/matchbox-desktop-0.9.1/src/mbdesktop_win_plugin.c:22: undefined reference to `_fork'

and matchbox-wm:
matchbox-remote.o: In function `mbcommand':
/home/fli4l/br3/output/build/matchbox-wm-1.2/src/matchbox-remote.c:147: undefined reference to `_fork'

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/webkit: select cairo, since we select one of its options
Yann E. MORIN [Fri, 15 Aug 2014 20:49:46 +0000 (22:49 +0200)]
package/webkit: select cairo, since we select one of its options

When selecting an option of a package, that package must also be
selected, otherwise the package is not built.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/infozip: Rename HOST_CC to HOSTCC
Bernd Kuhls [Fri, 15 Aug 2014 22:22:55 +0000 (00:22 +0200)]
package/infozip: Rename HOST_CC to HOSTCC

Wrong variable name is used which can lead to build errors for the host variant:

[...] -I. -DUNIX" AS=" -c" -f unix/Makefile generic

c _match.s
make[1]: c: command not found

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: disable link time optimization
Eric Le Bihan [Tue, 12 Aug 2014 20:28:27 +0000 (22:28 +0200)]
systemd: disable link time optimization

As reported in https://bugs.busybox.net/show_bug.cgi?id=7286,
systemd fails to build with BR2_OPTIMIZE_2=y. This mode activates the GCC
options -flto and -ffat-lto-objects, which do not mix well with the GCC
tricks used in src/compat-libs/linkwarning.h to build the compatibility
libraries.

As a temporary workaround, this patch disables link time optimization for
systemd.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agognupg2: Needs a suitable iconv implementation
Vicente Olivert Riera [Thu, 14 Aug 2014 12:16:12 +0000 (13:16 +0100)]
gnupg2: Needs a suitable iconv implementation

gnupg2 needs a toolchain with locale support or a package which provides
a suitable iconv implementation (libiconv). Otherwise it will fail at
the configure phase with an error like this one:

*** It is now required to build with support for iconv
*** Please install a suitable iconv implementation.

Fixes:
  http://autobuild.buildroot.net/results/8c9/8c93c28533dfebffa8b2e34b1421d3fa3cdeb278/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosubversion: security bump to version 1.7.18
Gustavo Zacarias [Fri, 15 Aug 2014 18:25:21 +0000 (15:25 -0300)]
subversion: security bump to version 1.7.18

Fixes:

CVE-2014-0032 - mod_dav_svn is vunerable to a remotely triggerable
segfault DoS vulnerability when SVNListParentPath is on.

CVE-2014-3522 - Serf RA layer does not correctly validate certificates
with wildcards in them for HTTPS.

CVE-2014-3528 - Credentials cached with Subversion may be sent to the
wrong server.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogd: add patch for CVE-2014-2497
Gustavo Zacarias [Fri, 15 Aug 2014 18:02:52 +0000 (15:02 -0300)]
gd: add patch for CVE-2014-2497

Fixes CVE-2014-2497 - NULL pointer dereference
Patch from upstream:
https://bitbucket.org/libgd/gd-libgd/commits/463c3bd09bfe8e924e19acad7a2a6af16953a704

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/localedef: don't use config.site when cross-compiling
Romain Naour [Wed, 13 Aug 2014 21:05:23 +0000 (23:05 +0200)]
package/localedef: don't use config.site when cross-compiling

On fedora 20 64bits host, the file /usr/share/config.site contains
a fix for installing libraries into /lib/lib64 on 64bits systems
that redefine libdir in the generated Makefile.

This causes the bug 7262 reported Normen Bolling.

Set CONFIG_SITE to "no" to not use config.site

fixes: https://bugs.busybox.net/show_bug.cgi?id=7262

Reported-by: Normen Bolling <normen.bolling@teufel.de>
Cc: Normen Bolling <normen.bolling@teufel.de>
Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/tar: Depends on MMU
Bernd Kuhls [Sat, 9 Aug 2014 13:28:39 +0000 (15:28 +0200)]
package/tar: Depends on MMU

Fixes
misc.o: In function `_xfork':
misc.c:(.text+0x614): undefined reference to `_fork'
../lib/libtar.a(rtapelib.o): In function `_rmt_open__':
rtapelib.c:(.text+0x6d2): undefined reference to `_fork'

To reproduce use this defconfig
http://autobuild.buildroot.net/results/8d5/8d5ad404fab7ec2a501972ba9c08b0109e420b80/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-good: v4l2 plugin needs kernel headers 3.0+
Peter Korsgaard [Fri, 15 Aug 2014 16:50:34 +0000 (18:50 +0200)]
gst1-plugins-good: v4l2 plugin needs kernel headers 3.0+

Fixes http://autobuild.buildroot.net/results/284/284313e660c3c9fad891fd71aa56ca5751946dc6/

For the multi planar api (mp_pix). It was actually added in 2.6.39 (commit
f8f3914cf9), but we only have symbols for 3.x kernels, so use 3.0 instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt: don't install translation files by default
Luca Ceresoli [Fri, 15 Aug 2014 08:31:27 +0000 (10:31 +0200)]
qt: don't install translation files by default

Commit 93917b6980f7f2b51302e1a3fa451b07cf7d674e (2013.11) introduced
the installation of the binary .qm translation files, unconditionally.

However, the installed size is very large for some embedded systems
(about 8 MB), and they are not needed in many cases.

In order to avoid such a waste of storage space, commit
2ff329412f490dc916bab3377073ef5950a46298 (2014.08) made this
installation an option that could be disabled. For backward
compatibility, the option default was set to yes.

Given the size of these files, and that they had never been installed
by Buildroot versions before 2013.11, change the default to not
installing them.

Interested users can still activate it as needed.

Also update and improve the help text.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Danomi Manchego <danomimanchego123@gmail.com>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcuefile: fix static linking
Thomas Petazzoni [Fri, 15 Aug 2014 09:48:02 +0000 (11:48 +0200)]
libcuefile: fix static linking

Add a patch to libcuefile to fix BR2_PREFER_STATIC_LIB=y configurations.

Fixes:

  http://autobuild.buildroot.org/results/13e/13ecdab5bb132532674a51e0e0e1136d417dfcd9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibebml: properly support static only builds
Thomas Petazzoni [Fri, 15 Aug 2014 09:23:08 +0000 (11:23 +0200)]
libebml: properly support static only builds

This commit adjusts the libebml package to not build a shared library
when BR2_PREFER_STATIC_LIB=y.

Fixes:

  http://autobuild.buildroot.org/results/262/26279f72b6c5708f363b3cce2102afa0eccc3a72/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobandwidthd: incorporate fixes for autobuilders
Nathaniel Roach [Fri, 15 Aug 2014 00:27:09 +0000 (08:27 +0800)]
bandwidthd: incorporate fixes for autobuilders

"The build failures of bandwidthd observed in the autobuilders in
relation to libpng are caused by the usage of -L/usr/lib
-L/usr/local/lib in the compiler flags, which leads the configure
script to try to link against a host libpng library."

These issues are fixed by:

* Version bump to -r08
"[patched] the configure.ac script to remove the hardcoded
-L/usr/local/lib and -I/usr/local/include. The bandwidthd package
-was already autoreconfigured, so there is no need to add it."

* "Adding the --without-x option, which ensures that the configure.ac
script will not add -L/usr/lib to the compiler flags (and we anyway
haven't added any sort of X.org support to bandwidthd for the
moment)."
Both fixes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ffmpeg: prevent stripping the ffmpeg binary
Bernd Kuhls [Sun, 10 Aug 2014 12:46:46 +0000 (14:46 +0200)]
package/ffmpeg: prevent stripping the ffmpeg 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.

Inspired by Thomas:
http://git.buildroot.net/buildroot/commit/package/hdparm/hdparm.mk?id=11dbb615338cd768acc2c3138064ddf557e9b60b

Fixes
http://autobuild.buildroot.net/results/581/581c43b50c9717e53334eb156ece95fe499ccb04/
http://autobuild.buildroot.net/results/57a/57a1bdc22b803114c018fa007884385bf8355151/
http://autobuild.buildroot.net/results/d8a/d8a1aadebd302abc923bc4865e1242ab2479d641/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-perl: fix build of perl XS packages
Francois Perrad [Thu, 14 Aug 2014 18:49:59 +0000 (20:49 +0200)]
pkg-perl: fix build of perl XS packages

Set OPTIMIZE in order to avoid the use of the host $Config{optimize} value
which could cause breakage when cross-compiling for the target.

See discussion in http://lists.busybox.net/pipermail/buildroot/2014-August/104129.html

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobluez5_utils: gatttool depends on bluez5_utils client
Thomas Petazzoni [Thu, 14 Aug 2014 18:28:34 +0000 (20:28 +0200)]
bluez5_utils: gatttool depends on bluez5_utils client

The gatttool utility uses readline, and is therefore built only if
--enable-client is used, i.e when bluez5_utils client applications are
enabled. Therefore, this commit makes
BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL depend on
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT. It also moves
BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL to be right below the
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT definition.

Fixes:

  http://autobuild.buildroot.org/results/f2b/f2b8b1bf5d50e6223a9a6d6858320975edb2a25a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump default to version 3.16.1
Gustavo Zacarias [Thu, 14 Aug 2014 11:14:57 +0000 (08:14 -0300)]
linux: bump default to version 3.16.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, 16}.x series
Gustavo Zacarias [Thu, 14 Aug 2014 11:14:56 +0000 (08:14 -0300)]
linux-headers: bump 3.{4, 10, 14, 15, 16}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoltrace: disable on mips/mipsel
Thomas Petazzoni [Thu, 14 Aug 2014 17:41:44 +0000 (19:41 +0200)]
ltrace: disable on mips/mipsel

ltrace currently doesn't build on mips/mipsel, and it's an upstream
issue that has been reported. Until it get fixed, let's disable ltrace
for mips/mipsel.

Fixes:

  http://autobuild.buildroot.org/results/43a/43a8fc7075f52eab74ebfee4c9f25dd2b886e75e/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosynergy: needs mmu
Gustavo Zacarias [Thu, 14 Aug 2014 22:02:12 +0000 (19:02 -0300)]
synergy: needs mmu

Fixes:
http://autobuild.buildroot.net/results/8d4/8d435c1605204f154c8a0a94ebc06d9c29a1768a/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopppd: security bump to version 2.4.7
Gustavo Zacarias [Wed, 13 Aug 2014 14:41:56 +0000 (11:41 -0300)]
pppd: security bump to version 2.4.7

Fixes CVE-2014-3158 - potential security issue in parsing option files.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotftpd: depends on MMU
Yuvaraj Patil [Wed, 13 Aug 2014 05:34:03 +0000 (11:04 +0530)]
tftpd: depends on MMU

This package needs MMU. Hence added dependency on BR2_USE_MMU

Fixes:
http://autobuild.buildroot.net/results/3e1/3e16d8c9ae3b77393e082c3dd9b7b3de9aa040c0//

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprocps-ng: Depends on MMU
Yuvaraj Patil [Wed, 13 Aug 2014 05:32:48 +0000 (11:02 +0530)]
procps-ng: Depends on MMU

This package needs MMU. Hence added dependency on BR2_USE_MMU

Fixes:
http://autobuild.buildroot.net/results/f24/f24aa16857e91fb6b03f9ac7ab0442fedcab8546//

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xbmc: Bump version to 13.2rc1
Bernd Kuhls [Wed, 13 Aug 2014 05:03:26 +0000 (07:03 +0200)]
package/xbmc: Bump version to 13.2rc1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofbv: fix typo in pkg-config variable
Peter Korsgaard [Tue, 12 Aug 2014 07:08:53 +0000 (09:08 +0200)]
fbv: fix typo in pkg-config variable

Reported-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/fbv: Fix static linking against libpng
Bernd Kuhls [Sun, 10 Aug 2014 15:12:08 +0000 (17:12 +0200)]
package/fbv: Fix static linking against libpng

Fixes
http://autobuild.buildroot.net/results/9ca/9cacec257f979745a7d4a43224b243ee4e16f9ac/
http://autobuild.buildroot.net/results/996/996e42396546555e9fcf0c7135aac610ccca4eee/
http://autobuild.buildroot.net/results/c91/c918046900045c34c73e16578026cce3e6bcccf8/

[Peter: adjust description, pass --static to pkg-config, only use for static linking]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/fbv: Typo fix
Bernd Kuhls [Sun, 10 Aug 2014 15:03:41 +0000 (17:03 +0200)]
package/fbv: Typo fix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: fix warnings at runtime
Francois Perrad [Sun, 10 Aug 2014 18:17:25 +0000 (20:17 +0200)]
perl: fix warnings at runtime

autosplit.ix files are used by AutoLoader.pm

    Can't locate auto/Net/SSLeay/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.2/arm-linux /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/5.18.2/arm-linux /usr/lib/perl5/5.18.2 .) at /usr/lib/perl5/5.18.2/AutoLoader.pm line 181.
     at /usr/lib/perl5/site_perl/5.18.2/arm-linux/Net/SSLeay.pm line 24.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopostgresql: disable spinlock support for nios2
Peter Seiderer [Sun, 10 Aug 2014 18:45:58 +0000 (20:45 +0200)]
postgresql: disable spinlock support for nios2

Fixes:
http://autobuild.buildroot.net/results/4d2/4d2f962ae59cfe11fce4d6790dbccfbb527a8f5f/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoespeak : depends on MMU
Arnaud Aujon [Mon, 11 Aug 2014 16:03:51 +0000 (18:03 +0200)]
espeak : depends on MMU

Fixes http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/
espeak uses fork(), don't work on non-MMU platforms

[Peter: indent with tab instead of spaces]
Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetwork-manager: fix build on toolchains not exporting CLOCK_BOOTTIME (E.G. uClibc)
Peter Korsgaard [Mon, 11 Aug 2014 07:57:05 +0000 (09:57 +0200)]
network-manager: fix build on toolchains not exporting CLOCK_BOOTTIME (E.G. uClibc)

Fixes
http://autobuild.buildroot.net/results/c13/c1388cf73961ddf06f771afe77a7e1e9fc0d8c20/
http://autobuild.buildroot.net/results/d33/d33ed1c3bf1be7c8f8ea02590a770b0d29c7d9fa/
http://autobuild.buildroot.net/results/093/093656db99067eb7bff725e292f8fc880a1d748e/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssl: add fix for hash cryptodev offloading
Gustavo Zacarias [Tue, 5 Aug 2014 21:25:11 +0000 (18:25 -0300)]
openssl: add fix for hash cryptodev offloading

See http://rt.openssl.org/Ticket/Display.html?id=2770&user=guest&pass=guest
This has been sitting for ages in the openssl tracker and it's verified
to cause issues.
The patch only touches cryptodev engine offloading so it's pretty safe.
Tested on CAAM SEC4 hardware.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.08-rc1
Peter Korsgaard [Fri, 8 Aug 2014 21:34:24 +0000 (23:34 +0200)]
Update for 2014.08-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: add highlights for 2014.08 release
Peter Korsgaard [Fri, 8 Aug 2014 21:28:02 +0000 (23:28 +0200)]
CHANGES: add highlights for 2014.08 release

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4, 10, 14, 15}.x series
Gustavo Zacarias [Fri, 8 Aug 2014 11:00:37 +0000 (08:00 -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 agodropbear: bump to version 2014.65
Gustavo Zacarias [Fri, 8 Aug 2014 14:25:03 +0000 (11:25 -0300)]
dropbear: bump to version 2014.65

Fixes some regressions introduced by 2014.64

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowireshark: security bump to version 1.10.9
Gustavo Zacarias [Fri, 8 Aug 2014 13:29:54 +0000 (10:29 -0300)]
wireshark: security bump to version 1.10.9

Fixes:
WNPA-SEC-2014-08 / CVE-2014-5161 / CVE-2014-5162
The Catapult DCT2000 and IrDA dissectors could underrun a buffer.

WNPA-SEC-2014-09 / CVE-2014-5163
The GSM Management dissector could crash.

WNPA-SEC-2014-10 / CVE-2014-5164
The RLC dissector could crash.

WNPA-SEC-2014-11 / CVE-2014-5165
The ASN.1 BER dissector could crash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Thu, 7 Aug 2014 22:50:13 +0000 (00:50 +0200)]
CHANGES: update with recent changes

The description of important changes still needs to be added.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodhcpdump: Fix strsep() feature test
Benoît Thébaudeau [Tue, 5 Aug 2014 12:12:29 +0000 (14:12 +0200)]
dhcpdump: Fix strsep() feature test

Use the official _BSD_SOURCE feature test macro instead of the meaningless
HAVE_STRSEP macro in order to detect the availability of strsep().

This allows toolchains supporting strsep() to use it instead of the custom
implementation from dhcpdump, which also avoids the following error with some
toolchains:

In file included from dhcpdump.c:30:0:
dhcpdump.c: At top level:
strsep.c:65:23: error: register name not specified for ‘delim’
  register const char *delim;
                       ^

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodhcpdump: Fix patch file name
Benoît Thébaudeau [Tue, 5 Aug 2014 12:12:28 +0000 (14:12 +0200)]
dhcpdump: Fix patch file name

Use the naming convention for patches, which is:

<packagename>-<number>-<description>.patch

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/aarch64-virt: add new sample config
Gustavo Zacarias [Thu, 7 Aug 2014 01:55:03 +0000 (22:55 -0300)]
qemu/aarch64-virt: add new sample config

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: fix LINUX_SITE for release candidates
Jean-Baptiste Theou [Thu, 7 Aug 2014 20:07:23 +0000 (13:07 -0700)]
linux: fix LINUX_SITE for release candidates

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Thu, 7 Aug 2014 16:55:37 +0000 (13:55 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoopenssl: security bump to version 1.0.1i
Gustavo Zacarias [Thu, 7 Aug 2014 12:30:43 +0000 (09:30 -0300)]
openssl: security bump to version 1.0.1i

Fixes:
CVE-2014-3508 - Information leak in pretty printing functions
CVE-2014-5139 - Crash with SRP ciphersuite in Server Hello message
CVE-2014-3509 - Race condition in ssl_parse_serverhello_tlsext
CVE-2014-3505 - Double Free when processing DTLS packets
CVE-2014-3506 - DTLS memory exhaustion
CVE-2014-3507 - DTLS memory leak from zero-length fragments
CVE-2014-3510 - OpenSSL DTLS anonymous EC(DH) denial of service
CVE-2014-3511 - OpenSSL TLS protocol downgrade attack
CVE-2014-3512 - SRP buffer overrun

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomongoose: fix build failure
Gustavo Zacarias [Thu, 7 Aug 2014 17:20:16 +0000 (14:20 -0300)]
mongoose: fix build failure

mongoose.h looks missing because we're not building locally, so add
the appropriate -I flag. Fixes:
http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/

[Thomas: change the solution to use -I$(@D) instead of switching to
the build directory.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain: fix 3.16 selection for custom version
Gustavo Zacarias [Wed, 6 Aug 2014 20:17:47 +0000 (17:17 -0300)]
toolchain: fix 3.16 selection for custom version

Fix d'oh typo from 911516f1b6dec4b2985a1f454949f8d9d10f6ef5 that
prevents custom version string 3.16 headers from working properly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs/imx233_olinuxino: bump to kernel 3.16
Gustavo Zacarias [Wed, 6 Aug 2014 20:43:51 +0000 (17:43 -0300)]
configs/imx233_olinuxino: bump to kernel 3.16

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xbmc: Bump version to 13.2b3
Bernd Kuhls [Wed, 6 Aug 2014 20:47:01 +0000 (22:47 +0200)]
package/xbmc: Bump version to 13.2b3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs/qemu-microblaze: lock down kernel headers
Gustavo Zacarias [Wed, 6 Aug 2014 20:52:33 +0000 (17:52 -0300)]
configs/qemu-microblaze: lock down kernel headers

Now that we use an internal toolchain as default care should be taken to
avoid breaking things.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomongoose: patch to avoid _LARGEFILE_SOURCE redefinition warning
Davide Viti [Tue, 5 Aug 2014 20:47:08 +0000 (22:47 +0200)]
mongoose: patch to avoid _LARGEFILE_SOURCE redefinition warning

Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomongoose: bump to version 5.4
Davide Viti [Tue, 5 Aug 2014 20:47:07 +0000 (22:47 +0200)]
mongoose: bump to version 5.4

Avoid compilation of the server via the upstream Makefile which
unconditionally uses -lssl

The -lssl flag is appended to MONGOOSE_CFLAGS whenever
BR2_PACKAGE_OPENSSL=y gets set.

Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: renumber patch
Baruch Siach [Wed, 6 Aug 2014 18:31:02 +0000 (21:31 +0300)]
python: renumber patch

Advance the serial number of a patch from 015 to 016 to avoid collision and
confusion.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython3: fix termios build for xtensa
Baruch Siach [Wed, 6 Aug 2014 18:31:01 +0000 (21:31 +0300)]
python3: fix termios build for xtensa

Forward port the patch from c821210b1bfa (python: fix termios build for
xtensa) to python3.

Fixes:
http://autobuild.buildroot.net/results/e7f/e7f71fbcb0796f315052947382fa39d85c5dc8fe/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonodejs: updated to 0.10.30
Jordi Llonch [Tue, 5 Aug 2014 07:07:26 +0000 (07:07 +0000)]
nodejs: updated to 0.10.30

Signed-off-by: Jordi Llonch <jordi.llonch@rochsystems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: bump kernel used for the RPi
Bernd Kuhls [Mon, 4 Aug 2014 19:46:38 +0000 (21:46 +0200)]
configs: bump kernel used for the RPi

The rpi-3.12.y branch has now been merged with the 3.12.26 upstream.

Bump kernel headers used for the toolchain at the same time.

Fixes
http://jenkins.free-electrons.com/job/buildroot/config=raspberrypi_defconfig/320/console

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra/pkg-kconfig: incorporate oldconfig call to avoid endless rebuilds
Thomas De Schampheleire [Tue, 5 Aug 2014 10:36:53 +0000 (12:36 +0200)]
infra/pkg-kconfig: incorporate oldconfig call to avoid endless rebuilds

The configure step of the busybox package performs 'make oldconfig', which
causes the .config file to be updated. Thus, the .config file is more recent
than our stamp file .stamp_kconfig_fixup_done. On a subsequent build, our
dependency rules would kick in, and run the config fixup again, thus
kicking in the package's configure, build and install steps yet once
more, that, ad infinitum.

One solution is to modify kconfig-package to introduce an explicit touch of
the .kconfig_fixup_config_done stamp file, as post-configure hook.

Another solution, implemented by this patch, is to move the oldconfig call
from the package's .mk file to the kconfig-package infrastructure and make
sure it is done as part of the fixup commands. This way, the stamp file will
only be touched once, after the full fixup (including oldconfig) and no
endless rebuilds will occur.

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
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>
10 years agoinfra/pkg-kconfig: join comments to the related code-block
Yann E. MORIN [Tue, 5 Aug 2014 10:36:52 +0000 (12:36 +0200)]
infra/pkg-kconfig: join comments to the related code-block

The current layout of comments wrt. to the related code-blocks is a bit
hard to handle visually.

Remove empty lines between the comments and their respective related
code-blocks.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobusybox: enable ash getopts
Gustavo Zacarias [Tue, 5 Aug 2014 21:22:16 +0000 (18:22 -0300)]
busybox: enable ash getopts

It's increasingly used by scripts like some in the btrfs-progs package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogcc 4.9.1: add patch for PR60102
Gustavo Zacarias [Tue, 5 Aug 2014 19:51:25 +0000 (16:51 -0300)]
gcc 4.9.1: add patch for PR60102

Fixes ICE for SPE ABI, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102

And re-enable gcc 4.9.1 for SPE.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: fix copy/paste error in python package example
Danomi Manchego [Wed, 6 Aug 2014 02:41:52 +0000 (22:41 -0400)]
manual: fix copy/paste error in python package example

The SOURCE references "LIBFOO_VERSION", should be "PYTHON_FOO_VERSION".

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Thomas De Schampheleire < thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoespeak: bump to version 1.48.04
Arnaud Aujon [Tue, 5 Aug 2014 11:16:41 +0000 (13:16 +0200)]
espeak: bump to version 1.48.04

* Bump to latest upstream version 1.48.04
* Remove patch as applied upstream

Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoespeak: depends on threads
Arnaud Aujon [Tue, 5 Aug 2014 11:16:27 +0000 (13:16 +0200)]
espeak: depends on threads

Fixes autobuild failure : http://autobuild.buildroot.org/results/f39/f3903d2b4a16226df2d460dcd2e26c7fb87613ab

Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogdb: allow building on AArch64 systems
alex.bennee@linaro.org [Wed, 6 Aug 2014 08:42:14 +0000 (09:42 +0100)]
gdb: allow building on AArch64 systems

gdb has had AArch64 support since 7.6 which is now the default minimum
version of GDB in the tree. Older versions are now legacy.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoiproute2: bump to version 3.16.0
Gustavo Zacarias [Wed, 6 Aug 2014 01:48:14 +0000 (22:48 -0300)]
iproute2: bump to version 3.16.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorpi-userland: .mk: Indent rules with tabs
Benoît Thébaudeau [Wed, 6 Aug 2014 13:39:09 +0000 (15:39 +0200)]
rpi-userland: .mk: Indent rules with tabs

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorpi-userland: Bump version
Benoît Thébaudeau [Wed, 6 Aug 2014 13:39:08 +0000 (15:39 +0200)]
rpi-userland: Bump version

Bump version to f9e6f9f3def8dc18dc0092cd695ccf53b8ba3efe and revert local commit
f22830e456833e98e11f09d2aa38017f5aaa557c 'rpi-userland: add patch fix missing
libvcilcs install rules' in order to replace the local patch from this commit by
the upstream commit 1ecc49c97b7be3d524cb4cfc97401f16b485a4ee 'vmcs_host: Fix
missing install of libvcilcs.so'.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojack2: add staging installation
Pieter De Gendt [Wed, 6 Aug 2014 11:40:36 +0000 (13:40 +0200)]
jack2: add staging installation

jack2 installs some headers and libraries that can be used by other
applications, so it makes sense to install it to the staging
directory.

Signed-off-by: Pieter De Gendt <pieter.degendt@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: fix the git helper output file format
Yann E. MORIN [Wed, 6 Aug 2014 16:47:53 +0000 (18:47 +0200)]
support/download: fix the git helper output file format

The git helper uses gzip to compress the intermediate tarball. But gzip
removes the source file, and create a new file named by appending .gz to
the original file name.

Thus, we end up with output.gz, while the download wrapper expects jsut
output, and thus believes the downlaod failed.

Fix that by storing the tar from git to a temporary file, then pipe this
file to gzip's stdin, and redirect gzip's stdout to the output file.

Reported-by: Graham Newton <gnewton@peavey-eu.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: fix the git helper
Peter Seiderer [Wed, 6 Aug 2014 16:47:52 +0000 (18:47 +0200)]
support/download: fix the git helper

Re-add the git_done variable (lost in commit [1]).

Fixes download problem reported by Rohit Kumar [2].

[1] http://git.buildroot.net/buildroot/commit/?id=7e40a1103a919a8177f00ddca2b46b4439953511
[2] http://lists.busybox.net/pipermail/buildroot/2014-August/103733.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoespeak: new package
Arnaud Aujon [Wed, 30 Apr 2014 14:21:53 +0000 (16:21 +0200)]
espeak: new package

[Thomas: minor formatting tweaks to the Config.in and .mk file.]

Signed-off-by: Arnaud Aujon <arnaud@intelibre.fr>
Tested-by: Marcelo Gutierrez <kuyurix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoexim: security bump to version 4.83
Gustavo Zacarias [Mon, 4 Aug 2014 19:34:55 +0000 (16:34 -0300)]
exim: security bump to version 4.83

Fixes CVE-2014-2972 - prevent double expansion in math comparison
functions (can expand unsanitized data).
Also rename patches according to patch naming policy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodhcp: Fix IPv6 files paths
Benoît Thébaudeau [Mon, 4 Aug 2014 18:19:04 +0000 (20:19 +0200)]
dhcp: Fix IPv6 files paths

Use IPv6 file locations consistent with those set for IPv4 instead of keeping
the defaults, which use different locations.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodhcp: Fix config files paths
Benoît Thébaudeau [Mon, 4 Aug 2014 18:19:03 +0000 (20:19 +0200)]
dhcp: Fix config files paths

The built dhcp binaries and the installed startup scripts used configuration
files under /etc/, but the configuration files were installed under /etc/dhcp/.
Fix everything to have configuration files under /etc/dhcp/.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ffmpeg: Fix bfin compile error
Bernd Kuhls [Mon, 4 Aug 2014 19:14:53 +0000 (21:14 +0200)]
package/ffmpeg: Fix bfin compile error

Fixes
http://autobuild.buildroot.net/results/ae0/ae056f267e907091d09d2a1546d6f1ae02fa23b9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosmartmontools: bump to version 6.3
Gustavo Zacarias [Mon, 4 Aug 2014 18:28:59 +0000 (15:28 -0300)]
smartmontools: bump to version 6.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoradvd: bump to version 2.5
Gustavo Zacarias [Mon, 4 Aug 2014 18:28:58 +0000 (15:28 -0300)]
radvd: bump to version 2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba: Remove execution rights from smb.conf
Benoît Thébaudeau [Mon, 4 Aug 2014 18:14:16 +0000 (20:14 +0200)]
samba: Remove execution rights from smb.conf

/etc/samba/smb.conf should be installed without execution rights since it is a
simple text configuration file.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert wget to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:42 +0000 (19:53 +0200)]
support/download: convert wget to use the wrapper

This drastically simplifies the wget helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(Tested by running 'make busybox-source')
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert svn to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:41 +0000 (19:53 +0200)]
support/download: convert svn to use the wrapper

This drastically simplifies the svn helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(Tested by running 'make open2300-source')
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert scp to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:40 +0000 (19:53 +0200)]
support/download: convert scp to use the wrapper

This drastically simplifies the scp helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(Tested by setting a primary site to 'scp://localhost:/tmp' and
running 'make vim-source')
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert Hg to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:39 +0000 (19:53 +0200)]
support/download: convert Hg to use the wrapper

This drastically simplifies the hg helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(Tested by running 'make vim-source')
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert git to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:38 +0000 (19:53 +0200)]
support/download: convert git to use the wrapper

This drastically simplifies the git helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(Tested by running 'make fmc-fsl-sdk-source')
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/download: convert cvs to use the wrapper
Yann E. MORIN [Sun, 3 Aug 2014 17:53:37 +0000 (19:53 +0200)]
support/download: convert cvs to use the wrapper

This drastically simplifies the cvs helper, as it no longer has to deal
with atomically saving the downloaded archive.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>