buildroot.git
8 years agoconfigs/nitrogen6*: update to use genimage
Gary Bisson [Sun, 31 Jan 2016 19:41:53 +0000 (20:41 +0100)]
configs/nitrogen6*: update to use genimage

Also updating the documentation with the dd instruction to flash the
bootable media.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: use a relative symlink to gstconfig.h
Phil Eichinger [Thu, 28 Jan 2016 13:19:58 +0000 (14:19 +0100)]
gstreamer1: use a relative symlink to gstconfig.h

No functional change today, but is needed for relocatable SDK.

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/sredird: fix musl build
Bernd Kuhls [Sun, 31 Jan 2016 18:01:44 +0000 (19:01 +0100)]
package/sredird: fix musl build

Fixes
http://autobuild.buildroot.net/results/4bc/4bc77733d235ba12f70432be4ead921666f5121d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sredird: bump version to 2.2.2, add hash
Bernd Kuhls [Sun, 31 Jan 2016 18:01:43 +0000 (19:01 +0100)]
package/sredird: bump version to 2.2.2, add hash

While Debian still uses version 2.2.1 the bump to 2.2.2 was committed to
FreeBSD ports back in 2005:
https://www.freshports.org/commit.php?category=comms&port=sredird&files=yes&message_id=200512291935.jBTJZfff072190@repoman.freebsd.org

FreeBSD ports lists the new upstream URL as no. 12:
https://www.freshports.org/comms/sredird/
and http://freecode.com/projects/sredird also links to it.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/snowball-init: use github helper
Bernd Kuhls [Sun, 31 Jan 2016 16:32:13 +0000 (17:32 +0100)]
package/snowball-init: use github helper

Otherwise download is broken:

>>> snowball-init b064be21de25729039e5e54037bbdd2e25cfd5b7 Downloading
--2016-01-31 17:31:27--  https://github.com/igloocommunity/snowball-init/snowball-init-b064be21de25729039e5e54037bbdd2e25cfd5b7.tar.gz
Resolving github.com (github.com)... 192.30.252.128
Connecting to github.com (github.com)|192.30.252.128|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-31 17:31:27 ERROR 404: Not Found.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/subversion: security version bump to 1.9.3
Bernd Kuhls [Sun, 31 Jan 2016 18:23:50 +0000 (19:23 +0100)]
package/subversion: security version bump to 1.9.3

Release announcement:
http://mail-archives.apache.org/mod_mbox/subversion-dev/201512.mbox/%3CCAP_GPNj_GCA869VQeJUrp5ngXsgN7pQQHSS=sqoXm8_6hHTTxg@mail.gmail.com%3E

CVE-2015-5259:
Remotely triggerable heap overflow and out-of-bounds read caused by
integer overflow in the svn:// protocol parser.
http://subversion.apache.org/security/CVE-2015-5259-advisory.txt

CVE-2015-5343:
Remotely triggerable heap overflow and out-of-bounds read in mod_dav_svn
caused by integer overflow when parsing skel-encoded request bodies.
http://subversion.apache.org/security/CVE-2015-5343-advisory.txt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pixman: bump version to 0.34.0
Bernd Kuhls [Sun, 31 Jan 2016 15:10:39 +0000 (16:10 +0100)]
package/pixman: bump version to 0.34.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoredis: bump to version 3.0.7
Gustavo Zacarias [Sun, 31 Jan 2016 13:25:32 +0000 (10:25 -0300)]
redis: bump to version 3.0.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "package/openvpn: bump version to 2.3.10"
Gustavo Zacarias [Sun, 31 Jan 2016 13:26:30 +0000 (10:26 -0300)]
Revert "package/openvpn: bump version to 2.3.10"

openvpn 2.3.10 doesn't work with polarssl 1.2.x, hence this bump breaks
builds for the polarssl backend.

This reverts commit 06f3e7904f13ec08492fcc7f6e7287a90eac6347.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libraw: add optional support for lcms2
Bernd Kuhls [Sat, 30 Jan 2016 16:17:16 +0000 (17:17 +0100)]
package/libraw: add optional support for lcms2

[Peter: also needs host-pkgconf]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libraw: add optional support for jpeg
Bernd Kuhls [Sat, 30 Jan 2016 16:17:15 +0000 (17:17 +0100)]
package/libraw: add optional support for jpeg

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libraw: add optional support for jasper
Bernd Kuhls [Sat, 30 Jan 2016 16:17:14 +0000 (17:17 +0100)]
package/libraw: add optional support for jasper

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libraw: Remove /usr/local from configure.ac
Bernd Kuhls [Sat, 30 Jan 2016 16:17:13 +0000 (17:17 +0100)]
package/libraw: Remove /usr/local from configure.ac

Build fails with BR2_COMPILER_PARANOID_UNSAFE_PATH=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libraw: bump version to 0.17.1
Bernd Kuhls [Sat, 30 Jan 2016 16:17:12 +0000 (17:17 +0100)]
package/libraw: bump version to 0.17.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libndp: bump version to 1.5
Bernd Kuhls [Sat, 30 Jan 2016 15:40:06 +0000 (16:40 +0100)]
package/libndp: bump version to 1.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/lcms2: bump version to 2.7
Bernd Kuhls [Sat, 30 Jan 2016 16:04:17 +0000 (17:04 +0100)]
package/lcms2: bump version to 2.7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/liboauth: fix broken download URL
Bernd Kuhls [Sat, 30 Jan 2016 15:43:01 +0000 (16:43 +0100)]
package/liboauth: fix broken download URL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/liblinear: bump version to 2.1
Bernd Kuhls [Sat, 30 Jan 2016 15:13:19 +0000 (16:13 +0100)]
package/liblinear: bump version to 2.1

This bump also fixes the broken download of the previous version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/tzdata: bump version to 2016a
Martin Bark [Sat, 30 Jan 2016 14:52:23 +0000 (14:52 +0000)]
package/tzdata: bump version to 2016a

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/zic: bump version to 2016a
Martin Bark [Sat, 30 Jan 2016 14:52:22 +0000 (14:52 +0000)]
package/zic: bump version to 2016a

Removed 0001-fix-dependencies.patch as this has now been fixed upstream

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/python-alsaaudio: bump version to 0.8.2
Bernd Kuhls [Sun, 31 Jan 2016 12:24:22 +0000 (13:24 +0100)]
package/python-alsaaudio: bump version to 0.8.2

Upstream moved to github, the old project site now redirects to the URL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/proftpd: bump version to 1.3.5a
Bernd Kuhls [Sun, 31 Jan 2016 12:07:35 +0000 (13:07 +0100)]
package/proftpd: bump version to 1.3.5a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/procps-ng: bump version to 3.3.11 to fix musl build
Bernd Kuhls [Sun, 31 Jan 2016 12:04:16 +0000 (13:04 +0100)]
package/procps-ng: bump version to 3.3.11 to fix musl build

Rebased 0002-use-pkgconfig-for-ncursesw-cflags.patch

The build error has not yet been found by the autobuilders:

watch.c:564:37: error: request for member ‘chars’ in something not a structure or union
     exit_early = (wchar_t) c != oldc.chars[0];
                                     ^
watch.c:573:5: error: unknown type name ‘cchar_t’
     cchar_t oldc;

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/pax-utils: bump version to 1.1.4 to fix musl build
Bernd Kuhls [Sun, 31 Jan 2016 10:30:06 +0000 (11:30 +0100)]
package/pax-utils: bump version to 1.1.4 to fix musl build

The build error has not yet been found by the autobuilders:

elf.h:31:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
 typedef uint16_t Elf32_Half;
 ^
elf.h:59:9: error: unknown type name ‘Elf32_Half’
 typedef Elf32_Half Elf32_Versym;
         ^
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/opkg: bump version to v0.3.1 to fix musl build
Bernd Kuhls [Sun, 31 Jan 2016 09:56:47 +0000 (10:56 +0100)]
package/opkg: bump version to v0.3.1 to fix musl build

Upstream included a fix for musl in the current release:
http://git.yoctoproject.org/cgit/cgit.cgi/opkg/commit/?id=f9a2febe724a514a89046c8cd92c2342e4383846

Fixes
http://autobuild.buildroot.net/results/7e0/7e02c7d81bb83fef22554590521b848acd4fc38c/
http://autobuild.buildroot.net/results/4e0/4e01abdc8cace71802e527273b47dcc49c9bd4ce/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/openvpn: bump version to 2.3.10
Bernd Kuhls [Sun, 31 Jan 2016 09:52:48 +0000 (10:52 +0100)]
package/openvpn: bump version to 2.3.10

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/net-tools: bump version to fix musl build
Bernd Kuhls [Sun, 31 Jan 2016 08:22:23 +0000 (09:22 +0100)]
package/net-tools: bump version to fix musl build

git head includes this commit
http://sourceforge.net/p/net-tools/code/ci/c35607eae8243851dd80a0181554f3a0e9e50aa8/

Due to the gettext problems the package-specific build errors were not
yet found by the autobuilders:

slattach.c:85:11: error: ‘B50’ undeclared here (not in a function)
   { "50", B50 }, { "75", B75   },
(and many more)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoolimex_a20_olinuxino_lime: bump kernel to 4.4
Francois Perrad [Sun, 31 Jan 2016 08:05:47 +0000 (09:05 +0100)]
olimex_a20_olinuxino_lime: bump kernel to 4.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/input-tools: fix broken download URL
Bernd Kuhls [Sat, 30 Jan 2016 14:27:00 +0000 (15:27 +0100)]
package/input-tools: fix broken download URL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonettle: bump to version 3.2
Gustavo Zacarias [Sat, 30 Jan 2016 13:24:23 +0000 (10:24 -0300)]
nettle: bump to version 3.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/leafpad: bump version to 0.8.18.1
Bernd Kuhls [Sat, 30 Jan 2016 13:17:03 +0000 (14:17 +0100)]
package/leafpad: bump version to 0.8.18.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/fio: fix license file
Bernd Kuhls [Sat, 30 Jan 2016 10:30:54 +0000 (11:30 +0100)]
package/fio: fix license file

Sorry, I missed the changed filename.

Fixes
http://autobuild.buildroot.net/results/a35/a3596283632433831ea24c1d586f2067b034eb32/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomerge_config.sh: create temporary files in /tmp
Henrique Marks [Mon, 7 Dec 2015 14:08:45 +0000 (12:08 -0200)]
merge_config.sh: create temporary files in /tmp

Creating temporary files in /tmp (or the path pointed by $TMPDIR) allows the
buildroot top directory to be read-only and shareable between multible builds.
This follows what other scripts do, e.g. check-kernel-headers.sh.

Signed-off-by: Henrique Marks <henrique.marks@datacom.ind.br>
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/lshw: fix musl build
Bernd Kuhls [Sat, 30 Jan 2016 22:59:18 +0000 (23:59 +0100)]
package/lshw: fix musl build

Fixes
http://autobuild.buildroot.net/results/aa3/aa3abc215b7a4e95b60be9a635758d8448e4959f/
http://autobuild.buildroot.net/results/075/075423a70b9bb80b2f13cac4fb95502180e68b43/
http://autobuild.buildroot.net/results/61f/61fb9b93af41b565fd44bab95955ab6f63c1f1ad/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lshw: bump version to B.02.17
Bernd Kuhls [Sat, 30 Jan 2016 22:59:17 +0000 (23:59 +0100)]
package/lshw: bump version to B.02.17

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/alsa-lib: fix musl-related openal build error
Bernd Kuhls [Sat, 30 Jan 2016 09:05:07 +0000 (10:05 +0100)]
package/alsa-lib: fix musl-related openal build error

openal will fail to build without this patch when using pcm.h

In file included from /home/bernd/buildroot/br3/output/host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/alsa/asoundlib.h:54:0,
                 from /home/bernd/buildroot/br3/output/build/openal-1.17.2/Alc/backends/alsa.c:34:
/home/bernd/buildroot/br3/output/host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/alsa/pcm.h:1111:1: error: unknown type name ‘u_int8_t’
 u_int8_t snd_pcm_format_silence(snd_pcm_format_t format);
 ^

It seems that this problem was not yet caught by the autobuilders.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/openal: bump version to 1.17.2
Bernd Kuhls [Sat, 30 Jan 2016 09:05:06 +0000 (10:05 +0100)]
package/openal: bump version to 1.17.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage, toolchain: remove BR2_TOOLCHAIN_HAS_GCC_BUG_* options
Thomas Petazzoni [Fri, 29 Jan 2016 23:24:50 +0000 (00:24 +0100)]
package, toolchain: remove BR2_TOOLCHAIN_HAS_GCC_BUG_* options

Quite some time ago, we added the options
BR2_TOOLCHAIN_HAS_GCC_BUG_58595 and BR2_TOOLCHAIN_HAS_GCC_BUG_58854 to
indicate if the toolchain was affected by those gcc bugs, which were
causing build failure with a number of packages.

With the recent change in the external toolchain logic to provide only
the latest version of each toolchain "family", all the toolchains
which were affected by those issues disappeared from Buildroot. Those
options are no longer being selected anywhere, and being blind
options, it means their value is always going to be "disabled".

Conquently, this commit removes those options completely, and updates
all the packages where they were used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomosquitto: bump to version 1.4.7
Peter Korsgaard [Fri, 29 Jan 2016 19:50:03 +0000 (20:50 +0100)]
mosquitto: bump to version 1.4.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/armadillo: bump version to 6.500.4
Bernd Kuhls [Fri, 29 Jan 2016 20:17:05 +0000 (21:17 +0100)]
package/armadillo: bump version to 6.500.4

This patch also fixes the broken download of the current package
version because upstream removed version 5.100.2.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xkeyboard-config: bump version to 2.17
Bernd Kuhls [Fri, 29 Jan 2016 20:25:48 +0000 (21:25 +0100)]
package/x11r7/xkeyboard-config: bump version to 2.17

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/live555: bump version to 2016.01.29
Bernd Kuhls [Fri, 29 Jan 2016 20:51:12 +0000 (21:51 +0100)]
package/live555: bump version to 2016.01.29

This patch also fixes the broken download of the current package
version because upstream removed the previous version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobonnie: Expand description in config help text.
Cam Hutchison [Fri, 29 Jan 2016 21:06:04 +0000 (08:06 +1100)]
bonnie: Expand description in config help text.

The description "Filesystem tester" is rather unhelpful. Take the
description from the referenced web site to make it a bit clearer what
bonnie++ actually is.

[Thomas: rewrap Config.in help text.]

Signed-off-by: Cam Hutchison <camh@xdna.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lm-sensors: bump version to 3.4.0
Bernd Kuhls [Fri, 29 Jan 2016 21:16:19 +0000 (22:16 +0100)]
package/lm-sensors: bump version to 3.4.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lm-sensors: fix download URL
Bernd Kuhls [Fri, 29 Jan 2016 21:16:18 +0000 (22:16 +0100)]
package/lm-sensors: fix download URL

According to http://www.lm-sensors.org/
"the previous hosting for lm-sensors.org has been discontinued and the
 former website maintainers can't be reached. For now, please refer to
 the Internet Archive of the old site until a replacement is created:
 https://web.archive.org/web/20150905145034/http://www.lm-sensors.org/"

This site points to ftp://ftp.netroedge.com/pub/lm-sensors/ as a mirror
site for this package, so let's use it until upstream can fix its web
site.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.{10, 14}.x series
Gustavo Zacarias [Fri, 29 Jan 2016 21:19:53 +0000 (18:19 -0300)]
linux-headers: bump 3.{10, 14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/memtest86: bump to version 5.01
Bernd Kuhls [Fri, 29 Jan 2016 21:38:43 +0000 (22:38 +0100)]
package/memtest86: bump to version 5.01

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libev: bump version to 4.22
Bernd Kuhls [Fri, 29 Jan 2016 21:53:02 +0000 (22:53 +0100)]
package/libev: bump version to 4.22

This patch also fixes the broken download of version 4.19 because
upstream move the archive file to Attic/

Removed patch after upstream applied a similar fix:
http://cvs.schmorp.de/libev/ev.c?r1=1.476&r2=1.477

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/fio: bump version to 2.6, fix musl build
Bernd Kuhls [Sat, 30 Jan 2016 07:26:27 +0000 (08:26 +0100)]
package/fio: bump version to 2.6, fix musl build

Fixes
http://autobuild.buildroot.net/results/063/0637236b89e3251bbf8b649ff60de0ff19494703/
http://autobuild.buildroot.net/results/2fe/2fefe784fb45368344775c7b6f2eb83e1c0c2104/
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: drop useless PHP_VERSION_MAJOR variable
Jerzy Grzegorek [Fri, 29 Jan 2016 07:52:43 +0000 (08:52 +0100)]
php: drop useless PHP_VERSION_MAJOR variable

~/buildroot$ grep -R PHP_VERSION_MAJOR .
./package/php/php.mk:PHP_VERSION_MAJOR = 5.6
./package/php/php.mk:PHP_VERSION = $(PHP_VERSION_MAJOR).17

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoarmadillo: drop useless ARMADILLO_VERSION_MAJOR variable
Jerzy Grzegorek [Fri, 29 Jan 2016 07:52:42 +0000 (08:52 +0100)]
armadillo: drop useless ARMADILLO_VERSION_MAJOR variable

~/buildroot$ grep -R ARMADILLO_VERSION_MAJOR .
./package/armadillo/armadillo.mk:ARMADILLO_VERSION_MAJOR = 5.100
./package/armadillo/armadillo.mk:ARMADILLO_VERSION = $(ARMADILLO_VERSION_MAJOR).2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/orangepi: Changing Linux kernel to v4.5-rc1
Eelco Chaudron [Fri, 29 Jan 2016 14:27:48 +0000 (15:27 +0100)]
configs/orangepi: Changing Linux kernel to v4.5-rc1

[Peter: use tarball for Linux kernel, use 4.4 kernel headers]
Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomoarvm: bump to version 2016.01
Francois Perrad [Fri, 29 Jan 2016 15:05:22 +0000 (16:05 +0100)]
moarvm: bump to version 2016.01

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libinput: bump version to 1.1.5
Bernd Kuhls [Thu, 28 Jan 2016 20:21:26 +0000 (21:21 +0100)]
package/libinput: bump version to 1.1.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/imagemagick: bump version to 6.9.3-2
Bernd Kuhls [Thu, 28 Jan 2016 20:16:38 +0000 (21:16 +0100)]
package/imagemagick: bump version to 6.9.3-2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/python-mako: bump version to 1.0.3, add hash
Bernd Kuhls [Thu, 28 Jan 2016 20:16:37 +0000 (21:16 +0100)]
package/python-mako: bump version to 1.0.3, add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/perl-uri: bump version to 1.71
Bernd Kuhls [Thu, 28 Jan 2016 20:01:27 +0000 (21:01 +0100)]
package/perl-uri: bump version to 1.71

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libcurl: security bump version to 7.47.0
Bernd Kuhls [Thu, 28 Jan 2016 20:01:26 +0000 (21:01 +0100)]
package/libcurl: security bump version to 7.47.0

Fixes
CVE-2016-0754: remote file name path traversal in curl tool for Windows
CVE-2016-0755: NTLM credentials not-checked for proxy connection re-use

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/cmake: bump version to 3.4.3
Bernd Kuhls [Thu, 28 Jan 2016 20:01:25 +0000 (21:01 +0100)]
package/cmake: bump version to 3.4.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/openssl: security bump to version 1.0.2f
Bernd Kuhls [Thu, 28 Jan 2016 19:37:07 +0000 (20:37 +0100)]
package/openssl: security bump to version 1.0.2f

Fixes
DH small subgroups (CVE-2016-0701)
SSLv2 doesn't block disabled ciphers (CVE-2015-3197)
An update on DHE man-in-the-middle protection (Logjam)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodirectfb: add help text to Config.in, note broken URL
Jonathan Ben Avraham [Thu, 28 Jan 2016 15:37:56 +0000 (17:37 +0200)]
directfb: add help text to Config.in, note broken URL

Adds descriptive help text to Config.in based on content from elinux.org and
Wikipedia. Notes that http://www.directfb.org/ has been broken for more than
five months and suggests using http://elinux.org/DirectFB instead.

Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Thu, 28 Jan 2016 12:06:57 +0000 (09:06 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibnspr: fix link error with musl toolchains
Sergio Prado [Tue, 5 Jan 2016 23:48:36 +0000 (21:48 -0200)]
libnspr: fix link error with musl toolchains

When linking against libnspr with musl toolchains we get undefined
references to `getprotobyname_r' and `getprotobynumber_r', for example
when compiling libnss:

/home/test/autobuild/instance-1/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/lib/libnspr4.so:
undefined reference to `getprotobyname_r'
/home/test/autobuild/instance-1/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/lib/libnspr4.so:
undefined reference to `getprotobynumber_r'

That's because musl does not have an implementation of these functions,
so we need to enable their internal implementation from libnspr.

This patch was backported from Alpine Linux commit
a162da839db0d3f8be94a5c1ad2e2e54e691c38a.

Fixes:
http://autobuild.buildroot.net/results/6052538d10779a21ac242d61bb43a371497ec684/
http://autobuild.buildroot.net/results/d62ea7dbe68188d073b4f176e6a354e95a8bab97/
http://autobuild.buildroot.net/results/ae50521c485371cd59bc4ee7e8f323169c7d513d/
...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopixman: add patch to fix build issue with musl
Thomas Petazzoni [Sun, 17 Jan 2016 14:40:00 +0000 (15:40 +0100)]
pixman: add patch to fix build issue with musl

pixman fails to build with musl because <float.h> is included in
assembler files, which doesn't work with the <float.h> provided by
musl. This commit fixes that by patching pixman (patch submitted
upstream).

Reported-by: Eial Czerwacki <eial@scalemp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopixman: bump version to 0.33.6
Thomas Petazzoni [Sun, 17 Jan 2016 14:39:59 +0000 (15:39 +0100)]
pixman: bump version to 0.33.6

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/minicom: fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 14:41:58 +0000 (15:41 +0100)]
package/minicom: fix musl build

Add two upstream patches to fix the build of minicom with the musl C
library.

Fixes:

  http://autobuild.buildroot.net/results/ea7/ea72a5aee30a89251c06e6a916499e39128437c0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: use upstream patches instead of OpenEmbedded patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.18.x series
Gustavo Zacarias [Wed, 27 Jan 2016 11:47:31 +0000 (08:47 -0300)]
linux-headers: bump 3.18.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoptpd2: explicitly point to pcap-config
Gustavo Zacarias [Wed, 27 Jan 2016 13:38:21 +0000 (10:38 -0300)]
ptpd2: explicitly point to pcap-config

Otherwise it will search in the usual places, and if the host has
it it will try to build against that one, resulting in failure. Fixes:
http://autobuild.buildroot.net/results/b39/b399ee830de587e3302f86ac0caadd2607c6c43c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonginx: security bump to version 1.8.1
Gustavo Zacarias [Wed, 27 Jan 2016 12:03:30 +0000 (09:03 -0300)]
nginx: security bump to version 1.8.1

Fixes:

CVE-2016-0742 - invalid pointer dereference might occur during DNS
server response processing if the "resolver" directive was used,
allowing anattacker who is able to forge UDP packets from the DNS server
to cause segmentation fault in a worker process.

CVE-2016-0746 - use-after-free condition might occur during CNAME
response processing if the "resolver" directive was used, allowing an
attacker who is able to trigger name resolution to cause segmentation
fault in a worker process, or might have potential other impact.

CVE-2016-0747 - CNAME resolution was insufficiently limited if the
"resolver" directive was used, allowing an attacker who is able to
trigger arbitrary name resolution to cause excessive resource
consumption in worker processes.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoredis: bump to version 3.0.6
Gustavo Zacarias [Wed, 27 Jan 2016 12:03:20 +0000 (09:03 -0300)]
redis: bump to version 3.0.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/collectd: bump version to 5.5.1
Bernd Kuhls [Wed, 27 Jan 2016 20:01:58 +0000 (21:01 +0100)]
package/collectd: bump version to 5.5.1

Removed COLLECTD_AUTORECONF=yes because our patches applied were applied
upstream:
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=780e6a76021a240e95007a04b723d827120afa95
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=3e3848349b753d78a0b1d19648fb394866856bda

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lxc: bump version to 1.1.5
Bernd Kuhls [Sat, 23 Jan 2016 14:37:51 +0000 (15:37 +0100)]
package/lxc: bump version to 1.1.5

[Thomas: download location changed to
https://linuxcontainers.org/downloads/lxc, as noticed by Santosh
Multhalli.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomadplay: fix musl gettext support detection
Peter Korsgaard [Wed, 27 Jan 2016 16:57:21 +0000 (17:57 +0100)]
madplay: fix musl gettext support detection

Fixes:
http://autobuild.buildroot.net/results/256/2561190b274d71666c4bdf3c569b02063cefdb30/
http://autobuild.buildroot.net/results/14e/14e6addcd3ec35f882da7ec489caa9b60ecd4b63/
http://autobuild.buildroot.net/results/cf0/cf011286be839674d358a8bccaf1c5c52de75e46/

madplay needs gettext when built with nls, and it support 3 variants:

- C library support gettext (E.G. glibc)
- Libintl (E.G. uClibc)
- An included libintl copy

The included libintl copy has unfortunately bitrotted and doesn't even build
any more.  With that said, musl DOES have gettext support, so that should be
used instead.

The configure script unfortunately uses an old AM_GNU_GETTEXT test, which
explicitly checks for nonstandard glibc extensions, which musl doesn't
support:

http://www.openwall.com/lists/musl/2015/04/16/3

Which causes the detection to fail:

configure:24770: checking for GNU gettext in libc
configure:24794: /home/peko/source/buildroot/output/host/usr/bin/i486-linux-musl-gcc \
   -o conftest -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c  >&5
/tmp/ccboDFhK.o: In function `main':
conftest.c:(.text+0x39): undefined reference to `_nl_msg_cat_cntr'
conftest.c:(.text+0x40): undefined reference to `_nl_domain_bindings'
collect2: error: ld returned 1 exit status

Now, madplay itself doesn't actually use these glibc extensions, so just force the
detection of GNU gettext when musl is used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/intel-microcode: bump version to 20151106
Bernd Kuhls [Tue, 26 Jan 2016 22:05:53 +0000 (23:05 +0100)]
package/intel-microcode: bump version to 20151106

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopulseaudio: bump to version 8.0
Vicente Olivert Riera [Fri, 22 Jan 2016 12:36:58 +0000 (12:36 +0000)]
pulseaudio: bump to version 8.0

- Bump to version 8.0
- Update hash values
- Remove upstreamed patch:
  http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=1c5005ef77737a21b513eaa322d2f119e12f31e3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: security bump to version 9.10.3-P3
Gustavo Zacarias [Fri, 22 Jan 2016 12:28:11 +0000 (09:28 -0300)]
bind: security bump to version 9.10.3-P3

Fixes:

CVE-2015-8704 - apl_42.c in ISC BIND 9.x before 9.9.8-P3 and 9.9.x and
9.10.x before 9.10.3-P3 allows remote authenticated users to cause a
denial of service (INSIST assertion failure and daemon exit) via a
malformed Address Prefix List (APL) record.

CVE-2015-8705 - buffer.c in named in ISC BIND 9.10.x before 9.10.3-P3,
when debug logging is enabled, allows remote attackers to cause a denial
of service (REQUIRE assertion failure and daemon exit, or daemon crash)
or possibly have unspecified other impact via (1) OPT data or (2) an ECS
option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: rename ptrsize to ptr_size in the code
Gustavo Zacarias [Fri, 22 Jan 2016 11:41:01 +0000 (08:41 -0300)]
bind: rename ptrsize to ptr_size in the code

uClibc in commit 70a04a28 #defined ptrsize globally in bits/setjmp.h for
mips. However this is a common variable name and causes build failure
for at least bind.
So rename ptrsize to ptr_size in bind to avoid this. Fixes:
http://autobuild.buildroot.net/results/a92/a92fa5dc5d9d6742d61d4d293f7eac97c5355dfe/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/odhcp6c: add hash
Bernd Kuhls [Tue, 26 Jan 2016 21:50:13 +0000 (22:50 +0100)]
package/odhcp6c: add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: fix typos
Bernd Kuhls [Sat, 23 Jan 2016 13:46:44 +0000 (14:46 +0100)]
package/kodi: fix typos

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.{2, 10, 14}.x and 4.{1, 3}.x series
Gustavo Zacarias [Sat, 23 Jan 2016 12:36:18 +0000 (09:36 -0300)]
linux-headers: bump 3.{2, 10, 14}.x and 4.{1, 3}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iperf3: bump version to 3.1.1, switch upstream to github
Bernd Kuhls [Sat, 23 Jan 2016 21:52:21 +0000 (22:52 +0100)]
package/iperf3: bump version to 3.1.1, switch upstream to github

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/monkey: fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 22:56:46 +0000 (23:56 +0100)]
package/monkey: fix musl build

Fixes
http://autobuild.buildroot.net/results/f69/f690cb1efece8a47fccdf3e782bbde4d1b2cd6b3/
http://autobuild.buildroot.net/results/21b/21b6fa8b2586f318ff071085f2b204bd555b425b/
http://autobuild.buildroot.net/results/0bf/0bf7a83a4ccbbcb3ff181ac962e6fdd0099a19f1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/odhcp6c: bump version to fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:21:34 +0000 (00:21 +0100)]
package/odhcp6c: bump version to fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using
the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/setools: add homepage to Config.in
Bernd Kuhls [Sun, 24 Jan 2016 12:18:49 +0000 (13:18 +0100)]
package/setools: add homepage to Config.in

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/radvd: fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:46:45 +0000 (00:46 +0100)]
package/radvd: fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using the
defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

[Thomas: replace with upstream patch directly, fetched from Github.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ptpd2: Fix musl build
Bernd Kuhls [Sat, 23 Jan 2016 23:40:19 +0000 (00:40 +0100)]
package/ptpd2: Fix musl build

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build using
the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ptpd2: bump version to 2.3.1, switch upstream to github
Bernd Kuhls [Sat, 23 Jan 2016 23:40:18 +0000 (00:40 +0100)]
package/ptpd2: bump version to 2.3.1, switch upstream to github

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/aumix: bump version to 2.9.1
Bernd Kuhls [Tue, 26 Jan 2016 21:03:18 +0000 (22:03 +0100)]
package/aumix: bump version to 2.9.1

- rebased patch 0001
- added AUMIX_GETTEXTIZE = YES to solve
  *** error: gettext infrastructure mismatch: using a Makefile.in.in
  from gettext version 0.17 but the autoconf macros are from gettext
  version 0.19

Fixes
http://autobuild.buildroot.net/results/c8c/c8c7f9a799d1af507a6edd5e02b0bbc8b7b5d068/
http://autobuild.buildroot.net/results/67e/67e6d29e6d6f8d4967a74ec70a754a5b24afc0ce/
and others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xl2tp: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 13:31:00 +0000 (14:31 +0100)]
package/xl2tp: fix musl build

Fixes
http://autobuild.buildroot.net/results/78d/78daf927aa43591401a072230b582591add1204c/
http://autobuild.buildroot.net/results/b7e/b7e42137e2a7379ea8acb76b2d4faece86ab488a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libpciaccess: fix musl build
Bernd Kuhls [Sun, 24 Jan 2016 15:21:58 +0000 (16:21 +0100)]
package/libpciaccess: fix musl build

Also added note about upstream commit to patch 0001.

Fixes
http://autobuild.buildroot.net/results/e86/e869e08779626ac578017e6b34a82adf156d12f8/
http://autobuild.buildroot.net/results/0bf/0bf803654e7298d5cd0b31fc55b1babdcd2f8765/
http://autobuild.buildroot.net/results/f5a/f5a516cf6c25af89000019b6789d5a003099cdff/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenocd: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:59 +0000 (00:07 +0100)]
openocd: remove BR2_ARCH_HAS_ATOMICS dependency

For some reason, since when openocd was introduced, it was using a
BR2_ARCH_HAS_ATOMICS dependency for all sub-options that selected
BR2_PACKAGE_LIBFTDI1, even if the libftdi1 package did not have any
atomics dependency. Maybe it was confused with the libftdi package,
which did have a BR2_ARCH_HAS_ATOMICS dependency ?

Regardless, openocd with all four sub-options that currently depend on
BR2_ARCH_HAS_ATOMICS builds perfectly fine with a toolchain that does
not implement any of the __sync atomic built-ins, so we can remove the
BR2_ARCH_HAS_ATOMICS dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozbar: add a patch to wrap logical not operations into parenthesis
Vicente Olivert Riera [Mon, 25 Jan 2016 12:17:50 +0000 (12:17 +0000)]
zbar: add a patch to wrap logical not operations into parenthesis

This fixes build failures like this one:

zbar/decoder/ean.c: In function 'ean_part_end4':
zbar/decoder/ean.c:297:13: error: logical not is only applied to the
left hand side of comparison [-Werror=logical-not-parentheses]
     if(!par == fwd) {

This patch has been sent upstream as a pull request:

  https://github.com/ZBar/ZBar/pull/9

Fixes:

  http://autobuild.buildroot.net/results/299/299dc845af082167085d366b38daf1dfd95d7047/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-kconfig: add missing -patch dependency for defconfig
Arnout Vandecappelle [Sun, 24 Jan 2016 22:58:42 +0000 (23:58 +0100)]
pkg-kconfig: add missing -patch dependency for defconfig

Since the introduction of _KCONFIG_DEFCONFIG in 8ef62b99, the package's
.config file no longer depends on anything (unless a fragment is
defined). Therefore, there is no dependency anymore between .config
and <pkg>-patch. Thus, it is possible that the .config file is
attempted to be built before the package is extracted and patched.
Usually this works out OK because <pkg>-patch will always be done
before <pkg>-configure, but it will fail when the user calls
<pkg>-menuconfig explicitly. It will also fail when we enable
top-level parallel build.

To solve this, just add an explicit order-only dependency on
<pkg>-patch. It really is only necessary when _KCONFIG_DEFCONFIG is
defined and _KCONFIG_FRAGMENT_FILES is not, but it doesn't hurt to
add it unconditionally.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: FrAnKenStEiN MC <chfakht@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoicu: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:51 +0000 (00:07 +0100)]
icu: remove BR2_ARCH_HAS_ATOMICS dependency

The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions
may not be provided by the architecture and therefore the compiler
does not provide the __sync_*() built-ins.

However, since then, icu was changed and is now able to use C++11
atomics, or even no atomic operations at all. In fact, icu will:

 * If possible, it will use C++11 atomics, which internally rely on
   the __atomic built-ins. These are available since gcc 4.7, and all
   architectures provide it. On some architectures, you *must* link
   with libatomic, on some other architectures, they are available
   built-in, but in all cases, linking against libatomic does not
   harm. Thanks to this, even ARC with no atomic support (which was
   the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency
   builds fine, provided -latomic is added to LIBS.

 * If C++11 atomics are not available, then it falls back to
   __sync_*() built-ins, which allows compilers older than 4.7 to be
   supported.

 * If really no atomic mechanism is available, then it falls back to a
   basic implementation based on a mutex.

Conclusion:

 - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed.

 - We need to link with -latomic when gcc >= 4.7 is used.

Note that reverse dependencies of icu are also changed accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: remove BR2_ARCH_HAS_ATOMICS dependency
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:48 +0000 (00:07 +0100)]
libftdi: remove BR2_ARCH_HAS_ATOMICS dependency

In commit 669ce8c75eb4c76cef81f279fb6b4f95d1472f51 ("libftdi: add
dependency on atomic operations"), a dependency on
BR2_ARCH_HAS_ATOMICS was added to the libftdi package to fix a build
failure occuring on the ARC architecture due to the missing
__sync_fetch_and_add_4 function:

../ftdipp/.libs/libftdipp.so: undefined reference to `__sync_fetch_and_add_4'

However, today, even on the SPARC architecture that does not implement
any of the __sync built-ins, libftdi and its C++ binding libftdipp
build fine. ARC was also tested and builds fine.

Therefore, we remove the BR2_ARCH_HAS_ATOMICS dependency from libftdi,
and also from flashrom, in which it was only present due to the
selection of libftdi. Note that anyway flashrom is available only for
i386 and x86_64, both of which implement all the __sync built-ins.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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>
8 years agolibftdi: C++ bindings need boost
Thomas Petazzoni [Sun, 24 Jan 2016 23:07:47 +0000 (00:07 +0100)]
libftdi: C++ bindings need boost

According to libftdi configure.in:

"""
dnl libftdi C++ wrapper. Needs boost.
[...]
        if test "x$HAVE_BOOST" != "xyes"; then
            AC_MSG_ERROR(Sorry, we need the boost library for the C++ wrapper)
        fi
"""

And indeed, if you enable BR2_PACKAGE_LIBTFDI_CPP but don't have Boost
enabled, the libfdipp library is not built. To fix this, this commit
changes BR2_PACKAGE_LIBTFDI_CPP to select Boost.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: Fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:24:50 +0000 (20:24 +0100)]
package/mjpg-streamer: Fix musl build

Fixes
http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: fix musl build
Bernd Kuhls [Tue, 26 Jan 2016 19:56:46 +0000 (20:56 +0100)]
package/mesa3d: fix musl build

Compile error occured using an allyesconfig, it seems it has not been
caught by the autobuilders yet.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: disable tirpc authdes_create tests
Thomas De Schampheleire [Fri, 22 Jan 2016 10:40:31 +0000 (11:40 +0100)]
ltp-testsuite: disable tirpc authdes_create tests

Commit d1d735a1480f0f37a5996cb57c5a35ca2c3c3d90 disables the tests
    tirpc_auth_authdes_seccreate
but not those in
    tirpc_auth_authdes_create
while these also fail on targets without native RPC support.

Update the added patch to exclude those tests too.

Fixes:
http://autobuild.buildroot.net/results/3a2/3a2b141d90b28a2954fa0ad3104cba81d648d2a3/
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mjpg-streamer: bump version, add hash
Bernd Kuhls [Sun, 24 Jan 2016 14:12:58 +0000 (15:12 +0100)]
package/mjpg-streamer: bump version, add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>