Yann E. MORIN [Thu, 21 Jan 2016 21:23:37 +0000 (22:23 +0100)]
package/makedevs: use the rooted /etc/passwd and /etc/group
Currently, makedevs will query the host's /etc/passwd and /etc/group to
resolve usernames and group names. This is inherently flawed, as we can
never guarantee that the UIDs will be the same on the target as on the
host, or even whether a particular user does exist on the host.
This is because getpwnam() and getgrnam() will forcibly read the
system's /etc/passwd and /etc/group, and there is no way to tell them to
look anywhere else.
However, we can use fgetpwent() and fgetgrent() instead, for which
we can pass a FILE* stream to read from to get the entries. This means
we must implement the scanning-loop ourselves, but fortunately, that's
pretty trivial to do.
[Peter: swap errno / return value check, use bb_perror_msg_and_die, code style]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Thu, 21 Jan 2016 21:23:36 +0000 (22:23 +0100)]
fs/common: generate users before setting permissions
We will need the users and groups to get defined before we can use them
from makedevs.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Fri, 22 Jan 2016 13:35:18 +0000 (10:35 -0300)]
rt-tests: unavailable for static builds
Fixes:
http://autobuild.buildroot.net/results/a6f/
a6f6502e55fd68803f3ff8b4b76cce6601e101db/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Fri, 22 Jan 2016 13:25:23 +0000 (10:25 -0300)]
busybox: add truncate fix patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sat, 30 Jan 2016 16:29:41 +0000 (17:29 +0100)]
package/libraw1394: fix musl build
Fixes
http://autobuild.buildroot.net/results/33c/
33cac2bda4890b6050c71734b2c36a77db3d3a09/
http://autobuild.buildroot.net/results/9b5/
9b56c1eb7a790d6df6665e8592004f20ed3f0693/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 30 Jan 2016 16:29:40 +0000 (17:29 +0100)]
package/libraw1394: bump version to 2.1.1
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 10:24:49 +0000 (11:24 +0100)]
package/flot: update hash
Upstream apparently updated their tarball
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/122226/focus=138335
Issue reported upstream: https://github.com/flot/flot/issues/1484
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 30 Jan 2016 21:37:37 +0000 (22:37 +0100)]
package/lightning: bump version to 2.1.0
Removed autoreconf and both patches after upstream commits:
http://git.savannah.gnu.org/cgit/lightning.git/commit/configure.ac?id=
e98640e1ac160034fe65346f68c5ade90d6b2032
http://git.savannah.gnu.org/cgit/lightning.git/commit/?id=
361caf28545aa0c2b2ab8d1cbd334fbdd952f373
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 08:08:23 +0000 (09:08 +0100)]
package/mtdev2tuio: fix musl build
Fixes
http://autobuild.buildroot.net/results/aee/
aee411047265bf205f8990a3d0d2310decb5fd19/
http://autobuild.buildroot.net/results/9a9/
9a96fdd2b52a75b348b46696c7f8b427f2d987c2/
http://autobuild.buildroot.net/results/2e1/
2e155f2f57fd035362ad1b414f42e1c2b5de844b/
http://autobuild.buildroot.net/results/f62/
f62d3830c594d9169fa9b9df5212f190d676fab9/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 10:14:48 +0000 (11:14 +0100)]
package/oprofile: bump version to 1.1.0
Removed patch applied upstream:
http://sourceforge.net/p/oprofile/oprofile/ci/
f357d40c9f64f3ea2dccf5f9abdff84b2ac62e6f/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 14:18:19 +0000 (15:18 +0100)]
package/qhull: bump version to 7.2.0, add hash
Updated _SITE after closure of gitorious.org.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 14:33:28 +0000 (15:33 +0100)]
package/qpdf: bump version to 6.0.0
Removed patch applied upstream:
https://github.com/qpdf/qpdf/commit/
857bb208d338e117f2a864407e34de76da360d8a
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Julien BOIBESSOT [Fri, 29 Jan 2016 23:41:51 +0000 (00:41 +0100)]
board: add support for Freescale i.MX6UL Evaluation Kit
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
[Thomas: simplify exit logic of post-image script.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:58 +0000 (14:58 +0100)]
package/pulseview: bump version to 0.3.0
Switch to upstream tarball, remove autoreconf, add hash.
Upstream expects the boost unit tests being activated by default:
http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff;f=CMakeLists.txt;h=
77b0137db22b7b6cab80d8aee7c97fecb8c542bf;hp=
a82953cc166141af626ace0e5d2b3a285bf20eea;hb=
f513bec599b8d626f914aa804a01325914bdb5e9;hpb=
8ada6ef1319fa11fd594a34853967c1f9688913b
Add some logic to pulseview.mk to disable them if needed.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:57 +0000 (14:58 +0100)]
package/sigrok-cli: bump version to 0.6.0
Switch to upstream tarball, remove autoreconf, add hash.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:56 +0000 (14:58 +0100)]
package/libsigrokdecode: bump version to 0.4.0
Switch to upstream tarball, remove autoreconf, add hash, fix typo.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:55 +0000 (14:58 +0100)]
package/libsigrok: fix musl build
Fixes
http://autobuild.buildroot.net/results/afc/
afcea2068d5b0ba707aa90339401550602103ca7/
http://autobuild.buildroot.net/results/a4d/
a4dab61fb39dd642f85fad20972a0a4572af9a73/
and others
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:54 +0000 (14:58 +0100)]
package/libsigrok: bump version to 0.4.0
Switch to upstream tarball, remove autoreconf, add hash.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 13:58:53 +0000 (14:58 +0100)]
package/libserialport: bump version to 0.1.1
Switch to upstream tarball, remove autoreconf.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 20:04:51 +0000 (21:04 +0100)]
package/sconeserver: bump version to fix musl build
Fixes this musl build error:
TermBuffer.cpp: In member function ‘virtual scx::Condition scx::TermBuffer::read(void*, int, int&)’:
TermBuffer.cpp:83:10: error: ‘CEOT’ was not declared in this scope
case CEOT:
^
TermBuffer.cpp:123:10: error: ‘CERASE’ was not declared in this scope
case CERASE: // Backspace
^
The autobuilders did not catch this specific error yet because they
failed earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/
6cc0f8c067e07deea688b9b97284601a596b898c/
- added hash
- removed 0001-fix-ssl-libs-ordering.patch, applied upstream:
https://github.com/sconemad/sconeserver/commit/
ffb69ca18fd03d0dc976696144d215b3a8555155
- disabled markdown module because its git submodule cmark
( https://github.com/sconemad/sconeserver/tree/master/markdown )
has no cross-compile support provided by the sconeserver build system:
make[4]: Entering directory '/home/bernd/buildroot/br3/output/build/sconeserver-
c4b8e14f6e9e06cbff5b4195f69d6fce9391a1cd/markdown/cmark'
mkdir -p build; \
cd build; \
cmake .. \
-G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE= \
-DCMAKE_INSTALL_PREFIX=/usr/local
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
[...]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: adjust the comment about <pkg>_AUTORECONF = YES.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 19:30:52 +0000 (20:30 +0100)]
package/tor: bump version to 0.2.7.6, fix musl build
According to
https://gitweb.torproject.org/tor.git/plain/ReleaseNotes?id=tor-0.2.7.6
"Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series."
so this patch bumps to the stable 2.7 series.
This patch also fixes a musl build error not yet found by the
autobuilders:
CC src/common/workqueue.o
src/common/sandbox.c:51:25: fatal error: bits/signum.h: Datei oder Verzeichnis nicht gefunden
#include <bits/signum.h>
^
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 20:04:50 +0000 (21:04 +0100)]
package/gpsd: bump version to 3.16
Removed patch applied upstream:
http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=
3e25e2167beb3936de3986fad9b6c9bdec82b81f
0001-Fix-build-against-musl-libc.patch is also not needed anymore after
this commit:
http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=
95c99f69e026e8c57aecba545e51c97f3b284e75
The upstream commit included in this version bump
http://git.savannah.gnu.org/cgit/gpsd.git/commit/libgps.pc.in?id=
772eedf8a13c2c0468b1fd94beb5406dbfcb3b6e
fixes a build error with the location module of the updated
sconeserver package included in this patch series:
../libtool: line 7486: cd: lib: No such file or directory
libtool: error: cannot determine absolute directory name of 'lib'
Makefile:428: recipe for target 'location.la' failed
make[3]: *** [location.la] Error 1
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 23 Jan 2016 15:44:50 +0000 (16:44 +0100)]
package/open-plc-utils: bump version
Remove patch for scripts/Makefile because the file was removed upstream:
https://github.com/qca/open-plc-utils/commit/
3682e7be80b76490360b655c6217da41bfb90a8e
Fixes musl build error:
http://autobuild.buildroot.net/results/582/
5824f101d21698d562e9836c571ceab6fdfadc29//
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sat, 23 Jan 2016 16:04:10 +0000 (17:04 +0100)]
package/openswan: bump version to 2.6.46
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sat, 23 Jan 2016 17:39:04 +0000 (18:39 +0100)]
package/oprofile: fix typo in comment
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Sun, 31 Jan 2016 16:26:21 +0000 (17:26 +0100)]
package/smack: fix musl build
The build error was not yet found by the autobuilders:
common.c: In function ‘clear’:
common.c:36:12: error: ‘PATH_MAX’ undeclared (first use in this function)
char path[PATH_MAX];
^
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jan 2016 16:26:20 +0000 (17:26 +0100)]
package/smack: bump version to 1.1.0
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>