buildroot.git
9 years agosnowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:16 +0000 (15:18 +0100)]
snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:15 +0000 (15:18 +0100)]
mpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoat: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:14 +0000 (15:18 +0100)]
at: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:13 +0000 (15:18 +0100)]
tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:12 +0000 (15:18 +0100)]
openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:11 +0000 (15:18 +0100)]
tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also make sure we use a full path for the destination of the
$(INSTALL) command.

[Peter: use install -m as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:10 +0000 (15:18 +0100)]
xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopango: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:09 +0000 (15:18 +0100)]
pango: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoolsr: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:08 +0000 (15:18 +0100)]
olsr: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:07 +0000 (15:18 +0100)]
gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:06 +0000 (15:18 +0100)]
mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonetatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:05 +0000 (15:18 +0100)]
netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:04 +0000 (15:18 +0100)]
nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism

Also move back the NFS_UTILS_INSTALL_FIXUP hook registration right
after the hook definition.

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:03 +0000 (15:18 +0100)]
ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoinput-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:02 +0000 (15:18 +0100)]
input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:01 +0000 (15:18 +0100)]
samba: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoproftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:00 +0000 (15:18 +0100)]
proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also use a complete destination path for the $(INSTALL) command.

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:59 +0000 (15:17 +0100)]
gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:58 +0000 (15:17 +0100)]
stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism

Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
the init script, we rename it to STUNNEL_INSTALL_CONF.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: improve installation of binaries
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:57 +0000 (15:17 +0100)]
portmap: improve installation of binaries

This commit explicits the permissions with which executables are
installed, and also makes sure that the build is aborted if one of the
binaries cannot be installed, instead of silently ignoring the error.

[Peter: fixop typos in commit message as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: don't install manpages
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:56 +0000 (15:17 +0100)]
portmap: don't install manpages

We no longer support having documentation on the target, so there's no
point in carrying code to install man pages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:55 +0000 (15:17 +0100)]
portmap: use <pkg>_INSTALL_INIT_SYSV mechanism

We also switch to using a full destination path as the second argument
of $(INSTALL).

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobusybox: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:54 +0000 (15:17 +0100)]
busybox: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agothttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:53 +0000 (15:17 +0100)]
thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoradvd: use <pkg>_INSTALL_INIT_SYSV
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:52 +0000 (15:17 +0100)]
radvd: use <pkg>_INSTALL_INIT_SYSV

This commit changes the radvd to use the <pkg>_INSTALL_INIT_SYSV
mechanism instead of using a post install target hook. We also use a
full destination path when calling $(INSTALL).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: rename patches to the new naming convention
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:51 +0000 (15:17 +0100)]
vsftpd: rename patches to the new naming convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: don't install manpages
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:50 +0000 (15:17 +0100)]
vsftpd: don't install manpages

Installing manpages to the target is quite useless, since we don't
support installing documentation on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:49 +0000 (15:17 +0100)]
vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script

This commit changes the vsftpd package to use the
<pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and
renames the init script in the Buildroot source tree to match how it's
named on the target.

Also, the init script is now installed unconditionally, as is done in
most packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
Vicente Olivert Riera [Mon, 1 Dec 2014 15:37:40 +0000 (15:37 +0000)]
ci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

We had this option in the defconfig because the kernel defconfig we
provide doesn't have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT, so a
/dev management which creates the devices dynamically using only
devtmpfs would not work. However, CONFIG_DEVTMPFS and
CONFIG_DEVTMPFS_MOUNT are automatically added to the kernel config when
you build the kernel using Buildroot, except when you choose
BR2_ROOTFS_DEVICE_CREATION_STATIC as a /dev management. This is handled
by linux/linux.mk.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba4: bump to version 4.1.14
Gustavo Zacarias [Mon, 1 Dec 2014 14:30:39 +0000 (11:30 -0300)]
samba4: bump to version 4.1.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRemove BR2_DEPRECATED_SINCE_2013_11
Gustavo Zacarias [Mon, 1 Dec 2014 14:17:00 +0000 (11:17 -0300)]
Remove BR2_DEPRECATED_SINCE_2013_11

The symbol is unused so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoarch/mips: remove deprecated mips1/2/3/4 support
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:59 +0000 (11:16 -0300)]
arch/mips: remove deprecated mips1/2/3/4 support

Remove the support for generating mips1/2/3/4 code since it has been
deprecated for more than a year now.
Also remove the unnecessary kludges in packages for it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gcc/mpfr: remove deprecated features
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:58 +0000 (11:16 -0300)]
package/gcc/mpfr: remove deprecated features

Remove the fortran and objective C language support since these have
been deprecated since more than a year ago.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: mark EOL versions deprecated
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:57 +0000 (11:16 -0300)]
linux-headers: mark EOL versions deprecated

Follow the upstream EOL cycle and mark 3.16 as deprecated for 2015.02.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoAdd BR2_DEPRECATED_SINCE_2015_02
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:56 +0000 (11:16 -0300)]
Add BR2_DEPRECATED_SINCE_2015_02

In preparation for the deprecation of certain features in 2015.02, add
the BR2_DEPRECATED_SINCE_2015_02 symbol.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoelfutils: download portability patch
Gustavo Zacarias [Mon, 1 Dec 2014 13:24:35 +0000 (10:24 -0300)]
elfutils: download portability patch

Download the portability patch into the buildroot tree.

This isn't nice but there really isn't another good solution for it.
The elfutils-portability.patch is version-dependent hence we already
have an older version for an older version of elfutils in the mirrors.
This causes hash check failures when fetching from sources.buildroot.net
But we can't remove (hence replace) the old version with the new one
since this would causee issues with older versions of
buildroot/elfutils for the same scenario.

Fixes:
http://autobuild.buildroot.net/results/26a/26afb92dc14fd0f85c0800dd4e034ea86af19fe2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxserver_xorg-server: libunwind support is broken on MIPS64 n32
Vicente Olivert Riera [Mon, 1 Dec 2014 12:24:26 +0000 (12:24 +0000)]
xserver_xorg-server: libunwind support is broken on MIPS64 n32

Amend the former commit and disable xorg-server with libunwind support
only for MIPS64 n32, as stated in the bug report:

https://bugs.freedesktop.org/show_bug.cgi?id=79939

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolame: also disable debug handling on xtensa
Peter Korsgaard [Mon, 1 Dec 2014 12:05:53 +0000 (13:05 +0100)]
lame: also disable debug handling on xtensa

Similar to the other architectures we have disabled it for. At the same time
also adjust the comment as we now do this for several other architectures.

Fixes http://autobuild.buildroot.net/results/b7e/b7e466580561e32fb584399e5914cd61a37bf7e9/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflac: drop CVE patches
Peter Korsgaard [Mon, 1 Dec 2014 11:20:01 +0000 (12:20 +0100)]
flac: drop CVE patches

These are alredy included in 1.3.1, and should have been dropped when I
merged next.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMerge branch 'next'
Peter Korsgaard [Mon, 1 Dec 2014 10:15:54 +0000 (11:15 +0100)]
Merge branch 'next'

Conflicts:
Makefile
package/flac/0001-fix-altivec-logic.patch
package/grantlee/Config.in

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2014.11
Peter Korsgaard [Mon, 1 Dec 2014 09:19:00 +0000 (10:19 +0100)]
Update for 2014.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: unbreak host-gdb with python support if python3 is enabled
Peter Korsgaard [Mon, 1 Dec 2014 08:38:10 +0000 (09:38 +0100)]
gdb: unbreak host-gdb with python support if python3 is enabled

Fixes http://autobuild.buildroot.net/results/ef4/ef487b495e57f098af0fe9508d430b56b0750339/

Explicitly pass the path to host-python to ensure it gets used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/parted: fix static link
Yann E. MORIN [Sun, 30 Nov 2014 22:31:37 +0000 (23:31 +0100)]
package/parted: fix static link

libuuid needs to be linked with -lintl when gettext is needed (with
locales).

For a shared build, this is solved with the DT_NEEDED ELF tags, but for
a static link, it is not pulled in automatically.

Use pkg-config to find libuuid, instead of AC_CHECK_LIB().

Second part at fixing:
    http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

[Peter: add host-pkgconf to _DEPENDENCIES]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/util-linux: libuuid needs -lintl
Yann E. MORIN [Sun, 30 Nov 2014 22:31:36 +0000 (23:31 +0100)]
package/util-linux: libuuid needs -lintl

When gettext is needed (with locales), libuuid needs to be linked
against -lintl.

In dynamic link, this is solved via the DT_NEEDED ELF tag, but for
static links, it does not get pulled in automatically.

Fix that by adding a Libs.private section to uuid.pc, but only if
it needed.

First part at fixing:
    http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/shairport-sync: fix static builds
Yann E. MORIN [Sun, 30 Nov 2014 11:42:56 +0000 (12:42 +0100)]
package/shairport-sync: fix static builds

Because shairport-sync uses AC_CHECK_LIB to find some of the needed
libraries (opensl, alsa, popt...), it fails to bring in the dependencies
of those libraries; for example, -lssl requires -lz.

When doing a dynamically-linked build, those dependent libraries are
pulled in thanks to the DT_NEEDED ELF tags, but those are not available
in static libraries.

Use PKG_CHECK_MODULES instead of AC_CHECK_LIB, and emulate the results
of AC_CJECK_LIB (i.e. set the HAVE_LIBxxx and the LIBS variable
appropriately) to minimise the amount of code touched.

This should fix:
    http://autobuild.buildroot.net/results/1a5/1a56dbff3583bed0d693508dfc16859086846ecd/
    http://autobuild.buildroot.net/results/6d5/6d5a8157592f7a2c9469bf71b0453796ef982ab1/

At the same time, remove a comment at the end of a variable assignment,
since this has proven to cause some problems.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <jkrause@posteo.de>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoinfra: do not append an empty LD_LIBRARY_PATH
Yann E. MORIN [Fri, 21 Nov 2014 22:53:36 +0000 (23:53 +0100)]
infra: do not append an empty LD_LIBRARY_PATH

When we set LD_LIBRARY_PATH when building our host tools, we append any
pre-existing value to our custom path:
        LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)"

But then if LD_LIBRARY_PATH was previously empty, we end up with an
LD_LIBRARY_PATH that ends with a colon.

Also, when we check that an existing LD_LIBRARY_PATH does not contain
CWD, we previously did not look for a zero-length prefix.

Since 'man ld.so' says of LD_LIBRARY_PATH:
    A colon-separated list of directories in which to search for ELF
    libraries at execution-time. Similar to the PATH environment
    variable.

And POSIX states about PATH:
    A zero-length prefix is a legacy feature that indicates the current
    working directory.

And bash also recognises a zero-length prefix to search in CWD:
    A zero-length (null) directory name in the value of PATH indicates
    the current directory.

We may thus end up on a system where a zero-length prefix in
LD_LIBRARY_PATH is interpreted as CWD.

Do not append the previous LD_LIBRARY_PATH if it was empty, and check
for a zero-length prefix when checking dependencies.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: fixing wrong monolite library path
Angelo Compagnucci [Sun, 30 Nov 2014 21:41:06 +0000 (22:41 +0100)]
package/mono: fixing wrong monolite library path

Due to a bug in makefile logic, monolite libraries path will not
be selected when EXTERNAL_MCS parameter is specified.
Setting EXTERNAL_MCS to a non existent binary, makes the internal logic
to fallback to monolite, setting correctly both binary and
library paths.
This has the benefit to force host-mono to always use monolite as
bootstrap compiler also in case a mono compiler is already installed
on the system.

Fixes:
http://autobuild.buildroot.net/results/fc00952bef03cf3b4785be1a0d9c08dc84aa3f54/

[Peter: add comment explaining why this is done]
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reported-by: Rainer Berns <rainer.berns@berns-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libwebsockets: fix static build
Yann E. MORIN [Sun, 30 Nov 2014 11:44:14 +0000 (12:44 +0100)]
package/libwebsockets: fix static build

Fixes:
http://autobuild.buildroot.net/results/afc/afc56e03a9d410563f43e5d26cf8b12fc4da7e5b/
http://autobuild.buildroot.net/results/922/9221b4967d069c9b634cb1f98ead193593d22dbc/

When the version was bumped, the existing patch to fix static linking
was not proprerly tested, and was missing three new locations to be
fixed.

[Peter: add autobuilder reference]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sagaert Johan <sagaert.johan@skynet.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gd: fix build when libiconv is enabled
Bernd Kuhls [Sat, 29 Nov 2014 20:54:36 +0000 (21:54 +0100)]
package/gd: fix build when libiconv is enabled

First of two patches to fix
http://autobuild.buildroot.net/results/238/2386edb7f95920e84a35811a33f4333ee0a7a860/

gd links against libiconv if it is already built, depend on libiconv
to get reproducable builds.

readelf output without libiconv present:
$ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \
  -a output/staging/usr/lib/libgd.a | grep iconv
    15: 00000000    12 FUNC    GLOBAL HIDDEN     1 _iconv_open
    16: 0000000c    12 FUNC    GLOBAL HIDDEN     1 _iconv
    17: 00000018    12 FUNC    GLOBAL HIDDEN     1 _iconv_close

readelf output with libiconv present:
$ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \
  -a output/staging/usr/lib/libgd.a | grep iconv
000000e4  0000100a R_BFIN_PCREL24    00000000   _libiconv_open + 0
00000140  0000140a R_BFIN_PCREL24    00000000   _libiconv + 0
0000019a  0000160a R_BFIN_PCREL24    00000000   _libiconv_close + 0
    16: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv_open
    20: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv
    22: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv_close

[Peter: also add to LIBS so it ends up in gdlib-config --libs output]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoluajit: point /usr/bin/lua to luajit if lua not selected
Danomi Manchego [Sun, 30 Nov 2014 18:46:12 +0000 (13:46 -0500)]
luajit: point /usr/bin/lua to luajit if lua not selected

The luajit package is a provider of a lua interpreter, but does not install a
lua executable.  This is fine for scripts that explicitly invoke luajit, but
not so good for scripts that just need a lua interpreter and call lua.  This
mod creates a lua symlink so that the non-jit-specific scripts will still work.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xserver_xorg-server: libunwind support is broken on mips64
Bernd Kuhls [Sat, 29 Nov 2014 22:10:35 +0000 (23:10 +0100)]
package/x11r7/xserver_xorg-server: libunwind support is broken on mips64

Fixes
http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/
http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/
http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/

[Peter: use official bugtracker URL, fix check]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: force host-mono to use internal mono bootstrap compiler
Angelo Compagnucci [Fri, 28 Nov 2014 23:19:18 +0000 (00:19 +0100)]
package/mono: force host-mono to use internal mono bootstrap compiler

This patch forces the use of internal compiler for building mono,
for more information please refer to mono official documentation
(README.md)

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xserver_xorg-server: bump version to 1.16.2
Bernd Kuhls [Fri, 28 Nov 2014 20:46:39 +0000 (21:46 +0100)]
package/x11r7/xserver_xorg-server: bump version to 1.16.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoAdd a defconfig for MIPS Creator CI20
Vicente Olivert Riera [Fri, 28 Nov 2014 16:43:29 +0000 (16:43 +0000)]
Add a defconfig for MIPS Creator CI20

MIPS Creator CI20 is a Linux and Android development system from
MIPS/Imagination Technologies. It incorporates an Ingenic JZ4780 SoC
which includes a 1.2GHz dual core MIPS32 processor and Imagination
PowerVR SGX540 GPU.

More information can be found at:
  http://elinux.org/MIPS_Creator_CI20

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xapp_bdftopcf: Fix linking error
Bernd Kuhls [Fri, 28 Nov 2014 18:36:10 +0000 (19:36 +0100)]
package/x11r7/xapp_bdftopcf: Fix linking error

Fixes
http://autobuild.buildroot.net/results/242/24297c948c0eee684e868ad4bd12f11c3a759248/
http://autobuild.buildroot.net/results/464/464fdc71690a437c1782dd8e4c75d78195bf8bfd/
http://autobuild.buildroot.net/results/77c/77c26d14c8906b44f7c3fa1b3d759556c7318a7e/
and many others ( http://autobuild.buildroot.net/?reason=xapp_bdftopcf-1.0.4 )

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: bump to version 6.6.4
Gustavo Zacarias [Fri, 28 Nov 2014 14:23:16 +0000 (11:23 -0300)]
dhcpcd: bump to version 6.6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: bump to version 0.19.5
Gustavo Zacarias [Fri, 28 Nov 2014 13:59:02 +0000 (10:59 -0300)]
mpd: bump to version 0.19.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflac: unbreak powerpc e500 support
Gustavo Zacarias [Thu, 27 Nov 2014 23:51:50 +0000 (20:51 -0300)]
flac: unbreak powerpc e500 support

Add patch to avoid the enable/disable-debug options from unsetting -g
from CFLAGS in an incorrect way which breaks -mfloat-gprs=X (translit to
-mfloatprs=X).
It's possible to affect other less common CFLAGS with a '-g' in any
position.

Upstream status: sent different patch (configure.ac) - to avoid
autoreconfiguring.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowireless-regdb: bump to version 2014.11.18
Gustavo Zacarias [Thu, 27 Nov 2014 22:08:52 +0000 (19:08 -0300)]
wireless-regdb: bump to version 2014.11.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2014.11-rc3
Peter Korsgaard [Fri, 28 Nov 2014 12:23:02 +0000 (13:23 +0100)]
Update for 2014.11-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcp: update dhclient-script
Gustavo Zacarias [Thu, 27 Nov 2014 17:00:27 +0000 (14:00 -0300)]
dhcp: update dhclient-script

The previous no-op dhclient-script is useless and in fact can lead
users to believe things will work.
dhclient-script is supposed to, among many other things, bring the
interface up for dhclient to pump an address, set the interface
address, set resolv.conf appropiately and set the default gateway.
It's a complex script since it has to deal with a lot of details so
let's just use the best fit which is the OpenWRT one since it uses the
"legacy" tools (ifconfig, route, ...) which can be easily provided by
busybox and/or net-tools.
There are newer and more feature-complete versions around but they
require full iproute2 ip and wouldn't fit as well with the busybox-only
approach.

License: likely GPLv2+
Source:
http://git.openwrt.org/?p=packages.git;a=blob;f=net/isc-dhcp/files/dhclient-script;h=4afebc0ad20ebac51c5baae5ed01c6713e3a0fd0;hb=HEAD

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotcpdump: add 3 security patches
Gustavo Zacarias [Fri, 28 Nov 2014 10:25:45 +0000 (07:25 -0300)]
tcpdump: add 3 security patches

Fixes:
CVE-2014-8767 - denial of service in verbose mode using malformed OLSR
payload
OLSR payload
CVE-2014-8768 - denial of service in verbose mode using malformed Geonet
payload
CVE-2014-8769 - unreliable output using malformed AOVD payload

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobind: not available for static builds
Gustavo Zacarias [Fri, 28 Nov 2014 10:25:27 +0000 (07:25 -0300)]
bind: not available for static builds

Fixes:
http://autobuild.buildroot.net/results/e27/e27111f484f72c77d2179fa1a29ea7b5271ff9fa/

While at it rename patches to new convention.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompg123: needs host-pkgconf
Peter Korsgaard [Fri, 28 Nov 2014 09:43:43 +0000 (10:43 +0100)]
mpg123: needs host-pkgconf

SDL detection is done using pkg-config.

Fixes http://autobuild.buildroot.net/results/437/437f408122d7f21420a7cdc9758caf0ab1ba877d/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: fix static build
Baruch Siach [Fri, 28 Nov 2014 07:18:12 +0000 (09:18 +0200)]
btrfs-progs: fix static build

libuuid needs -lintl when BR2_NEEDS_GETTEXT_IF_LOCALE is set.

Fixes:
http://autobuild.buildroot.net/results/9f1/9f182cd5955d724750135bcd6cb7e315fb28334f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt: Webkit Module needs a toolchain with NPTL
Vicente Olivert Riera [Wed, 19 Nov 2014 14:40:06 +0000 (14:40 +0000)]
qt: Webkit Module needs a toolchain with NPTL

Qt Webkit Module uses pthread_getattr_np() which is implemented in
toolchains with NPTL. Otherwise the compilation will fail showing this
error message:

wtf/StackBounds.cpp: In member function ‘void
WTF::StackBounds::initialize()’:
wtf/StackBounds.cpp:172:38: error: ‘pthread_getattr_np’ was not declared
in this scope

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt: Script Module needs a toolchain with NPTL
Vicente Olivert Riera [Wed, 19 Nov 2014 14:40:05 +0000 (14:40 +0000)]
qt: Script Module needs a toolchain with NPTL

Qt Script Module uses pthread_getattr_np() which is implemented in
toolchains with NPTL. Otherwise the compilation will fail showing this
error message:

../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp: In
function ‘void* QTJSC::currentThreadStackBase()’:
../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:692:42:
error: ‘pthread_getattr_np’ was not declared in this scope

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopciutils: install to /usr/bin rather than /usr/sbin
Gustavo Zacarias [Thu, 27 Nov 2014 22:51:11 +0000 (19:51 -0300)]
pciutils: install to /usr/bin rather than /usr/sbin

Somehow busybox thinks debian standards are the rule and installs lspci
to /usr/bin instead of /usr/sbin where upstream says it belongs.
So install pciutils binaries there as well to really win over busybox
PATH-wise and overwrite the little bugger symlink.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nfs-utils: use pkg-config to find libtirpc
Yann E. MORIN [Thu, 27 Nov 2014 21:28:49 +0000 (22:28 +0100)]
package/nfs-utils: use pkg-config to find libtirpc

Fixes:
    http://autobuild.buildroot.net/results/17d/17d1d94e6f1617851e374f4fe9804f1e5ea9e99f/
    http://autobuild.buildroot.net/results/c08/c08b7be40c8f208147a4f95ad897e4a1df7e108d/
    and probably some others as well...

[Peter: correct tirpc/tirpcinclude mixmatch in patch description]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nfs-utils: rename patches
Yann E. MORIN [Thu, 27 Nov 2014 21:28:48 +0000 (22:28 +0100)]
package/nfs-utils: rename patches

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libtirpc: add -pthread to the private libraries
Yann E. MORIN [Thu, 27 Nov 2014 21:28:47 +0000 (22:28 +0100)]
package/libtirpc: add -pthread to the private libraries

Fixes:
    http://autobuild.buildroot.net/results/17d/17d1d94e6f1617851e374f4fe9804f1e5ea9e99f/
    http://autobuild.buildroot.net/results/c08/c08b7be40c8f208147a4f95ad897e4a1df7e108d/
    and maybe a bunch of others...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libtirpc: rename patches
Yann E. MORIN [Thu, 27 Nov 2014 21:28:46 +0000 (22:28 +0100)]
package/libtirpc: rename patches

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years ago(e)glibc: add security patches for CVE-2014-7817
Gustavo Zacarias [Thu, 27 Nov 2014 15:19:02 +0000 (12:19 -0300)]
(e)glibc: add security patches for CVE-2014-7817

Fixes:
CVE-2014-7817 - command execution in wordexp() with WRDE_NOCMD specified

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobotan: fix static build
Francois Perrad [Thu, 27 Nov 2014 06:35:07 +0000 (07:35 +0100)]
botan: fix static build

see http://autobuild.buildroot.net/results/2d1/2d1563e253b669b45c9df449c5b3a750c04a43dc/

this commit reverts the previous commit 84047394ed6ad08adb9f59a9022553a327eef040
which disables static build in Config.in

the option --no-autoload prevents the use of the function dlopen.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain/external: fix building the wrapper on MIPS
Yann E. MORIN [Wed, 26 Nov 2014 18:09:10 +0000 (19:09 +0100)]
toolchain/external: fix building the wrapper on MIPS

Some crazy folks use MIPS machines as build machines. ;-)

On MIPS, the only acceptable hash-style is 'sysv', because the MIPS ABI
defines that the GOT ordering to be the same as the symbols ordering,
while GNU hash requires symbols to be sorted by their hash.

Looking at binutils' code, it seems that only MIPS suffers from that
limitation.

Currently, we force the toolchain wrapper to be linked with both hash
styles, which breaks on MIPS.

So, fix that by singling out MIPS, and use sysv in that case, and both
otherwise.

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibz160: fix comment header
Thomas Petazzoni [Thu, 27 Nov 2014 21:31:21 +0000 (22:31 +0100)]
libz160: fix comment header

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibz160: new package
Jérôme Pouiller [Fri, 7 Nov 2014 15:57:51 +0000 (16:57 +0100)]
libz160: new package

An API for user space programs to perform 2D accelerated graphics operations
on AMD GPU

[Thomas:
 - merge in the same patch the patch switching to the freescale-imx
   extract helper.
 - remove the dependency on "depends BR2_arm", since anyway the
   package Config.in file is only included if we are using the i.MX51
   or i.MX53 platforms.
 - use full installation paths (i.e $(INSTALL) -D), and install
   libraries 755, as it usually done.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslvpuwrap: Use self-extractible helper
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:39 +0000 (22:30 +0100)]
libfslvpuwrap: Use self-extractible helper

[Thomas: remove unneeded comment.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslparser: Use self-extractible helper
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:38 +0000 (22:30 +0100)]
libfslparser: Use self-extractible helper

[Thomas: remove unneeded comment.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslcodec: Use self-extractible helper
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:37 +0000 (22:30 +0100)]
libfslcodec: Use self-extractible helper

[Thomas: remove unneeded comment.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-vpu: Use self-extractible helper
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:36 +0000 (22:30 +0100)]
imx-vpu: Use self-extractible helper

[Thomas: remove unneeded comment about seeing freescale-imx.mk.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofirmware-imx: Use self-extractible helper
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:35 +0000 (22:30 +0100)]
firmware-imx: Use self-extractible helper

[Thomas: remove useless comment about looking in freescale-imx.mk.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale-imx: Add helper to extract self-extractible binaries
Jérôme Pouiller [Wed, 19 Nov 2014 21:30:34 +0000 (22:30 +0100)]
freescale-imx: Add helper to extract self-extractible binaries

[Thomas:
 - reword the comment of the new macro, and add details about the
   expected arguments, as suggested by Yann E. Morin.
 - rework the logic to move the files in $(@D), as it was simply not
   working in the original patch. $(basename $(1)) was used to get the
   filename without the extension, but it also contains the full
   path. $(basename $(notdir $(1))) is needed.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogit: bump version to 2.2.0
Vicente Olivert Riera [Thu, 27 Nov 2014 12:12:21 +0000 (12:12 +0000)]
git: bump version to 2.2.0

- Bump version to 2.2.0
- Update the hash value

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolvm2: bump version to 2.02.113
Vicente Olivert Riera [Thu, 27 Nov 2014 14:00:08 +0000 (14:00 +0000)]
lvm2: bump version to 2.02.113

- Bump version to 2.02.113
- Update the hash value

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoflac: bump to version 1.3.1
Gustavo Zacarias [Thu, 27 Nov 2014 16:33:25 +0000 (13:33 -0300)]
flac: bump to version 1.3.1

All patches upstream and add hash file.

[Thomas: remove AUTORECONF = YES, since we no longer have any
patches touching configure.ac/Makefile.am]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/p1010rdb: bump to kernel 3.17.4
Gustavo Zacarias [Thu, 27 Nov 2014 18:14:06 +0000 (15:14 -0300)]
configs/p1010rdb: bump to kernel 3.17.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonftables: fix static build
Baruch Siach [Wed, 26 Nov 2014 19:49:02 +0000 (21:49 +0200)]
nftables: fix static build

libnftnl needs -ljansson when built with json support.

Fixes:
http://autobuild.buildroot.net/results/68a/68ab2101a0b2b7d5482aafe0d88c87a50491159f/
http://autobuild.buildroot.net/results/87e/87ecbba5b9b16d592a48fe827fa88ef5a5c6d09b/

libnftl also needs -mxml when built with XML support.

Fixes:
http://autobuild.buildroot.net/results/58f/58f592d823db14e4e7558134f1b479f4f8659a23/
http://autobuild.buildroot.net/results/1cf/1cf23f2b38236f43971c65e704793b5bc762ecfe/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnspr: fix static build
Baruch Siach [Wed, 26 Nov 2014 17:27:22 +0000 (19:27 +0200)]
libnspr: fix static build

Disable shared library in a static build.

Fixes:
http://autobuild.buildroot.net/results/6ff/6ffae151ec3eaca175923ab860cf42167871164c/
http://autobuild.buildroot.net/results/cab/cab19721c43b3256dd51ae511016bc9ea440512a/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tvheadend: Add support for liburiparser
Bernd Kuhls [Sun, 23 Nov 2014 19:56:52 +0000 (20:56 +0100)]
package/tvheadend: Add support for liburiparser

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/liburiparser: New package
Bernd Kuhls [Sun, 23 Nov 2014 19:56:51 +0000 (20:56 +0100)]
package/liburiparser: New package

[Thomas:
 - put liburiparser at the right place in package/Config.in, i.e
   sorted alphabetically
 - use positive logic for the wchar test.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolttng-babeltrace: Remove dependency on lttng-tools
Simon Marchi [Sun, 23 Nov 2014 22:16:11 +0000 (17:16 -0500)]
lttng-babeltrace: Remove dependency on lttng-tools

babeltrace is used to read the traces generated by lttng, but it doesn't
depend on lttng-tools.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorng-tools: bump to version 5
Gustavo Zacarias [Wed, 26 Nov 2014 19:01:18 +0000 (16:01 -0300)]
rng-tools: bump to version 5

Add semi-automatic libgcrypt dependency for i386/x86_64 to use RDRAND.
This is exclusively used by rngd for which we don't yet ship an
initscript/service file. Even so the user can choose to disable it at
invocation time via the --no-drng option (which must be accounted for).

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba: Add support for libnss_win*.so* installation
Benoît Thébaudeau [Wed, 26 Nov 2014 00:00:15 +0000 (01:00 +0100)]
samba: Add support for libnss_win*.so* installation

The libnss_wins and libnss_winbind libraries are required in order to
add support for the wins and winbind sources to the Name Service Switch
(NSS), so make it possible to install them. This is useful in order to
resolve NetBIOS names or user and group information from a Windows NT
server.

These libraries are installed to /lib/ like the standard libnss_*
libraries from (E)GLIBC.

[Thomas: remove useless comments.]

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: add python-networkmanager
Peter Korsgaard [Wed, 26 Nov 2014 08:16:24 +0000 (09:16 +0100)]
package: add python-networkmanager

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoguile: Add new package
Pedro Aguilar [Mon, 24 Nov 2014 22:56:30 +0000 (23:56 +0100)]
guile: Add new package

Guile is an interpreter and compiler for the Scheme programming
language, a clean and elegant dialect of Lisp.

The patch guile-01-fix_arm_endianness.patch is based on guile's
git commit ^ffd3e55cfd

[Thomas:
 - rewrap comments and help text.
 - add missing host-gettext dependency, since gettext.m4 is needed for
   the package to autoreconf.
 - add missing host-pkgconf dependency.
 - add dependency on wchar, inherited from libunistring.]

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibunistring: add wchar dependency
Thomas Petazzoni [Tue, 25 Nov 2014 21:33:10 +0000 (22:33 +0100)]
libunistring: add wchar dependency

Even though libunistring itself builds fine, its library contains
undefined references to wchar related functions, which are causing
link failures when the library is actually linked into an application.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibunistring: host-libunistring is needed by guile
Pedro Aguilar [Mon, 24 Nov 2014 22:56:29 +0000 (23:56 +0100)]
libunistring: host-libunistring is needed by guile

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobdwgc: Add new package
Pedro Aguilar [Mon, 24 Nov 2014 22:56:28 +0000 (23:56 +0100)]
bdwgc: Add new package

bdwgc is a garbage collector for C and C++. The Boehm-Demers-Weiser
conservative garbage collector can be used as a garbage collecting
replacement for C 'malloc' or C++ 'new'.

[Thomas:
 - drop the dependency on host-bdwgc, since it is not needed. Only
   host-guile will need host-bdwgc, but bdwgc itself doesn't need
   host-bdwgc.
 - add dependency on host-pkgconf, needed to detect libatomic_ops
 - add --with-libatomic-ops=yes to force bdwgc to use the system
   libatomic_ops, and not the internal one.
 - instead of using BDWGC_LIBTOOL_PATCH = NO (needed to avoid patching
   libtool because the libtool version used by bdwgc does not have a
   corresponding patch in Buildroot), use BDWGC_AUTORECONF = YES,
   which generates a proper libtool (without this, some -L/usr/lib
   flags are added by libtool).]

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibatomic_ops: Add host-libatomic_ops
Pedro Aguilar [Mon, 24 Nov 2014 22:56:27 +0000 (23:56 +0100)]
libatomic_ops: Add host-libatomic_ops

The host-libatomic_ops is needed by host-bdwgc that is needed
in turn by guile.

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>