buildroot.git
10 years agopkg-stats: add statistics about hash files
Thomas Petazzoni [Fri, 17 Oct 2014 13:34:12 +0000 (15:34 +0200)]
pkg-stats: add statistics about hash files

As discussed during the Buildroot meeting, this commit extends the
pkg-stats script to include statistics about the number of packages
having vs. not having the hash file.

As of today, we have 104 packages with the hash file, and 1274
packages without.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotar: bump to version 1.28
Gustavo Zacarias [Sun, 19 Oct 2014 13:38:08 +0000 (10:38 -0300)]
tar: bump to version 1.28

Also add hash file and set eprefix to / otherwise when busybox is around
we've got duplicate tar applications (/bin/tar for busybox, /usr/bin/tar
for full-blown) normally making busybox still win in directory search.

[Thomas: slightly improve the comment that explains why we pass
--exec-prefix.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: Remove --disable-gtk-doc from packages, already defined in pkg-autotools.mk
Bernd Kuhls [Sun, 19 Oct 2014 09:59:02 +0000 (11:59 +0200)]
infra: Remove --disable-gtk-doc from packages, already defined in pkg-autotools.mk

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: Move --enable/--disable-debug to package/Makefile.in
Bernd Kuhls [Sun, 19 Oct 2014 09:59:01 +0000 (11:59 +0200)]
infra: Move --enable/--disable-debug to package/Makefile.in

A lot of packages ignored BR2_ENABLE_DEBUG. This patch simplifies the handling of
this option by adding the corresponding configure option to the global Makefile
for target packages.

For host packages --disable-debug is added to the global Makefile.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocppdb: enable postgresql support
Gustavo Zacarias [Fri, 17 Oct 2014 14:25:54 +0000 (11:25 -0300)]
cppdb: enable postgresql support

Also:
Fix mysql support.
Add hash file.
Forcibly disable automatic db support when it's not selected.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorpi-userland: bump revision and add patch to fix compile with musl
Maarten ter Huurne [Sat, 18 Oct 2014 17:58:37 +0000 (19:58 +0200)]
rpi-userland: bump revision and add patch to fix compile with musl

We can not bump to the latest cset, because it breaks weston. So we
add a patch to backport upstream fixes for musl:

  http://lists.busybox.net/pipermail/buildroot/2014-October/109309.html
  https://github.com/raspberrypi/userland/pull/201

[Thomas: adjust commit log as suggested by Yann E. Morin.]

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/cdrkit: download from alternate site
Karoly Kasza [Sun, 19 Oct 2014 13:30:08 +0000 (15:30 +0200)]
package/cdrkit: download from alternate site

www.cdrkit.org looks dead, the cdrkit archive always downloads from the
buildroot.org mirror. This patch points the downloader to the Debian
archive site.

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libpciaccess: Add optional support for zlib
Bernd Kuhls [Sun, 19 Oct 2014 11:08:16 +0000 (13:08 +0200)]
package/libpciaccess: Add optional support for zlib

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxserver_xorg-server: Bump version to 1.16.1
Bernd Kuhls [Sun, 19 Oct 2014 11:08:15 +0000 (13:08 +0200)]
xserver_xorg-server: Bump version to 1.16.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs/qemu: update to the latest possible kernel version
Gustavo Zacarias [Sun, 19 Oct 2014 12:42:28 +0000 (09:42 -0300)]
configs/qemu: update to the latest possible kernel version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/alsa-lib: Switch ALSA_LIB_SITE to official site
Bernd Kuhls [Sun, 19 Oct 2014 11:31:54 +0000 (13:31 +0200)]
package/alsa-lib: Switch ALSA_LIB_SITE to official site

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/alsa-utils: Switch ALSA_UTILS_SITE to official site
Bernd Kuhls [Sun, 19 Oct 2014 11:31:53 +0000 (13:31 +0200)]
package/alsa-utils: Switch ALSA_UTILS_SITE to official site

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobandwidthd: Version bump to handle indirect deps properly
Nathaniel Roach [Sun, 19 Oct 2014 10:10:29 +0000 (18:10 +0800)]
bandwidthd: Version bump to handle indirect deps properly

Thanks to Romain Naour, Baruch Siach and Thomas Petazzoni, I've
solved the build issues in certain cases for bandwidthd.

The issue was that libpcap and libpng would depend on other libraries
and upon testing for pcap/libpng the tests would fail due to not
being able to find the other libraries.

Bandwidthd's configure script now uses pkg-config for libpng
and pcap-config for libpcap. pcap-config's path is specified
in configure's arguments.

Some other tweaks have been made including the layout and flow
of configure.ac is a bit more logical, and the handling of postgres
and sqlite has been tweaked. Finally, the test for X.Org has been
removed.

[Thomas: re-add Nathaniel SoB line, which was misplaced in the commit
log, and therefore dropped when applying the patch.]

Fixes: http://autobuild.buildroot.org/results/eb4/eb48acec37a7fd1714b267b105816bf0053d40e9/build-end.log
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoavahi: do not install S05avahi-setup.sh in systemd setup
Thomas Petazzoni [Sun, 19 Oct 2014 11:10:58 +0000 (13:10 +0200)]
avahi: do not install S05avahi-setup.sh in systemd setup

The AVAHI_INSTALL_AUTOIPD was unconditionally installing
S05avahi-setup.sh to /etc/init.d/, even in systemd
configurations. Therefore, this commit:

 * Moves the installation of S05avahi-setup.sh to a separate variable
   called AVAHI_INSTALL_AUTOIPD_INIT_SYSV.

 * Makes sure to use 'install -D' and a full destination path when
   installing S05avahi-setup.sh.

 * Moves the definition of AVAHI_INSTALL_AUTOIPD inside the
   BR2_PACKAGE_AVAHI_AUTOIPD conditional, so that both the variable
   definition and its addition to AVAHI_POST_INSTALL_TARGET_HOOKS are
   enclosed in the conditional.

 * Moves the S50avahi-daemon installation from AVAHI_INSTALL_INIT_SYSV
   to AVAHI_INSTALL_DAEMON_INIT_SYSV.

 * Uses 'install -D' to install S50avahi-daemon.

 * Adds a AVAHI_INSTALL_INIT_SYSV definition which calls both
   AVAHI_INSTALL_AUTOIPD_INIT_SYSV and AVAHI_INSTALL_DAEMON_INIT_SYSV.

Note: in a systemd configuration, there is no provision to do what
S05avahi-setup.sh is doing for sysv init configurations. Maybe this is
something that our systemd people should have a look at.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoavahi: remove useless 'mkdir -p' in AVAHI_INSTALL_INIT_SYSTEMD
Thomas Petazzoni [Sun, 19 Oct 2014 11:01:04 +0000 (13:01 +0200)]
avahi: remove useless 'mkdir -p' in AVAHI_INSTALL_INIT_SYSTEMD

In AVAHI_INSTALL_INIT_SYSTEMD, since we're using 'install -D' to
install /usr/lib/tmpfiles.d/avahi.conf in $(TARGET_DIR), there's no
need to have a 'mkdir -p' before that, since 'install -D' creates the
directories as needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoavahi: fix indentation in AVAHI_INSTALL_INIT_SYSTEMD
Thomas Petazzoni [Sun, 19 Oct 2014 11:00:32 +0000 (13:00 +0200)]
avahi: fix indentation in AVAHI_INSTALL_INIT_SYSTEMD

The indentation for commands should be made with tabs, not spaces, so
fix that up in AVAHI_INSTALL_INIT_SYSTEMD.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/avahi: use upstream-provided systemd files
André Erdmann [Fri, 17 Oct 2014 19:10:42 +0000 (21:10 +0200)]
package/avahi: use upstream-provided systemd files

When using the buildroot-provided avahi-daemon.service file, bootup never
finishes, because multi-user.target is waiting for avahi-daemon to exit,
which is caused by "Type=oneshot" (in avahi-daemon.service).

Upstream's systemd files get already installed to /lib/systemd.
They're not an exact copy of S50avahi-daemon, but work flawlessly,
so use these units:

* avahi-daemon.service, auto-enabled (ln -fs in AVAHI_INSTALL_INIT_SYSTEMD)
* avahi-daemon.socket,
  not auto-enabled, but a dependency of avahi-daemon.service
* avahi-dnsconfd.service, auto-enabled

[Thomas: use simpler absolute paths for the symbolic links instead of
relative paths. Suggested by Maxime Hadjinlian.]

Signed-off-by: André Erdmann <dywi@mailerd.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoncurses: fix typo 'target'
Sebastien Bourdelin [Fri, 17 Oct 2014 15:12:27 +0000 (11:12 -0400)]
ncurses: fix typo 'target'

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libva-intel-driver: Do not depend on xorg
Bernd Kuhls [Sat, 18 Oct 2014 17:41:31 +0000 (19:41 +0200)]
package/libva-intel-driver: Do not depend on xorg

This patch reverts
http://git.buildroot.net/buildroot/commit/package/libva-intel-driver/Config.in?id=062bacfa67688b2747412a30ddeb996449d1c6df

By removing the xorg dependency of libpciaccess the libdrm package, and
therefore also libva-intel-driver, does not depend on xorg any longer.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxlib_libpciaccess: Rename package to libpciaccess
Bernd Kuhls [Sat, 18 Oct 2014 17:41:30 +0000 (19:41 +0200)]
xlib_libpciaccess: Rename package to libpciaccess

While libpciaccess is part of the X libraries, it does not
depend upon X11 or any other X library.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofs/iso9660: add dependencies for make source
Karoly Kasza [Sat, 18 Oct 2014 18:23:59 +0000 (20:23 +0200)]
fs/iso9660: add dependencies for make source

The "iso image" rootfs target is a special one, as it does not use the
ROOTFS_TARGET infrastructure. The absence of ROOTFS_*_DEPENDENCIES
variable makes "make source" to skip this target's dependencies
(namely host-cdrkit and it's children) obstructing an offline build.

[Thomas: add the rootfs-iso9660-show-depends target, so that 'make
graph-depends' doesn't break when iso9660 is selected.]

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackages/*.mk: Remove duplicate options
Maxime Hadjinlian [Sat, 18 Oct 2014 18:20:13 +0000 (20:20 +0200)]
packages/*.mk: Remove duplicate options

These flags are already defined in pkg-autotools.mk.
There is no need to have them twice.

[Thomas: restore += instead of = in the opus package, as suggested by
Yann E. Morin.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libplist: Bump version to 1.12
Bernd Kuhls [Sat, 18 Oct 2014 19:05:38 +0000 (21:05 +0200)]
package/libplist: Bump version to 1.12

Quoting http://cgit.sukimashita.com/libplist.git/tree/NEWS
"  * Fix parallel build for autotools"

Therefore removed MAKE1, tested with -j90

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomodplugtools: Added package
Maarten ter Huurne [Sun, 19 Oct 2014 00:00:46 +0000 (02:00 +0200)]
modplugtools: Added package

This installs the 'modplug123' command line tool to play tracker music
files (MOD, S3M, XM etc.) using libmodplug.

The modplugtools package can build two players: modplugplay that plays
directly via OSS and modplug123 that plays via libao. Since modplugplay
won't work without OSS support and modern kernels are likely to have no
OSS or OSS emulation, we build only modplug123.

If you have a system without ALSA support for some reason, you can
still use modplug123 to play over OSS via libao.

http://modplug-xmms.sourceforge.net/

[Thomas: add missing Config.in comment about the C++ dependency.]

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/.mk files: remove --localstatedir=/var from autotools packages
Jörg Krause [Fri, 17 Oct 2014 22:36:33 +0000 (00:36 +0200)]
package/.mk files: remove --localstatedir=/var from autotools packages

Remove --localstatedir=/var from all autotools packages where it is no longer
needed.

Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is
used by dhcp to set the default directory for the leases files. This can also
be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in
dhcp.mk.

A custom --localstatedir is left in:
* proftpd.mk
* mysql.mk

This is safe to do:
One of the good thing with autoconf is that if you pass:
        --localstatedir=/var ... --localstatedir=/var/something
Then /var/something will be used. So, we can set --localstatedir=/var
by default in the infrastructure, and still have certain packages doing
weird things override it. [Thanks to Thomas Petazzoni]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/pkg-autotools.mk: set --localstatedir=/var by default
Jörg Krause [Fri, 17 Oct 2014 22:36:32 +0000 (00:36 +0200)]
package/pkg-autotools.mk: set --localstatedir=/var by default

`localstatedir` is a common autoconf variable like prefix and sysconfdir. At
this time 25 autotools and one generic package uses this Makefile variable. 22
of the autotools packages use --localstatedir=/var, the remaining use custom
settings.

Setting `localstatedir` to /var is consistent with the Filesystem Hierarchy
Standard (FHS). So it's time to move it as a common definition in the
autotools infrastructure.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibxml2: explicitly state zlib dir
Gustavo Zacarias [Sat, 18 Oct 2014 12:30:53 +0000 (09:30 -0300)]
libxml2: explicitly state zlib dir

Pass the zlib directory prefix to --with-zlib otherwise it expands into
absolute (distribution) directories leading to bad test results in
configure. Fixes:
http://autobuild.buildroot.net/results/303/303d6d165c5423944122bf430575c018479733f8/build-end.log

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobtrfs-progs: bump to version 3.17
Gustavo Zacarias [Sat, 18 Oct 2014 11:34:53 +0000 (08:34 -0300)]
btrfs-progs: bump to version 3.17

Patch now silently upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotinyalsa: Fix overwrite of asound.h
Maxime Hadjinlian [Sat, 18 Oct 2014 13:21:14 +0000 (15:21 +0200)]
tinyalsa: Fix overwrite of asound.h

As stated by Maarten ter Huurne on the mailing list, the install of the
asound.h headers overwrite the one from the toolchains or kernel
headers.
Since tinyals's header is only a subset of the 'real' asound.h, there is
no need to overwrite it.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Maarten ter Huurne <maarten@treewalker.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibshout: fix typo
Jérôme Pouiller [Fri, 17 Oct 2014 14:52:04 +0000 (16:52 +0200)]
libshout: fix typo

Fix error:
  package/libshout/libshout.mk:28: *** Package error: use LIBSHOUT_CONF_OPTS instead of LIBSHOUT_CONF_OPT. Please fix your .mk file.  Stop.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agostunnel: security bump to version 5.06
Gustavo Zacarias [Thu, 16 Oct 2014 17:16:58 +0000 (14:16 -0300)]
stunnel: security bump to version 5.06

Disables SSLv2 & SSLv3 by default to mitigate poodle.
Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libvorbis: add hash file
Jörg Krause [Wed, 15 Oct 2014 21:23:51 +0000 (23:23 +0200)]
package/libvorbis: add hash file

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libogg: add hash file
Jörg Krause [Wed, 15 Oct 2014 21:23:50 +0000 (23:23 +0200)]
package/libogg: add hash file

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libogg: bump to version 1.3.2
Jörg Krause [Wed, 15 Oct 2014 21:23:49 +0000 (23:23 +0200)]
package/libogg: bump to version 1.3.2

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibshout: new package
Jörg Krause [Wed, 15 Oct 2014 21:23:48 +0000 (23:23 +0200)]
libshout: new package

[Peter: fix Config.in indentation, license, needs host-pkgconf, optionally
 use libtheora and speex]
Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinadyn: bump to version 1.99.11
Gustavo Zacarias [Thu, 16 Oct 2014 17:06:05 +0000 (14:06 -0300)]
inadyn: bump to version 1.99.11

Update initscript for the /usr/sbin -> /usr/bin change which is the
default installation directory now that it's using autotools infra.
Also add hash file.
Make the initscript use tabs instead of spaces.
Make the config file installation conditional.
Now with optional gnutls support for HTTPS.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogettext: bump to version 0.19.3
Gustavo Zacarias [Thu, 16 Oct 2014 16:27:27 +0000 (13:27 -0300)]
gettext: bump to version 0.19.3

Add hash file, switch to xz tarball.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl-cross: bump to version 0.9.3
Francois Perrad [Wed, 15 Oct 2014 17:00:37 +0000 (19:00 +0200)]
perl-cross: bump to version 0.9.3

this version fixes the issue with big endian,
see https://github.com/arsv/perl-cross/issues/10

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: remove useless hacks
Francois Perrad [Sat, 11 Oct 2014 06:36:45 +0000 (08:36 +0200)]
perl: remove useless hacks

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-perl: refactor with host-perl
Francois Perrad [Sat, 11 Oct 2014 06:36:44 +0000 (08:36 +0200)]
pkg-perl: refactor with host-perl

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: add host variant
Francois Perrad [Sat, 11 Oct 2014 06:36:43 +0000 (08:36 +0200)]
perl: add host variant

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibxml-parser-perl: restore it like before perl infra
Francois Perrad [Sat, 11 Oct 2014 06:36:42 +0000 (08:36 +0200)]
libxml-parser-perl: restore it like before perl infra

intltool uses this package,
and we don't want that it depends on host-perl,
but on system perl

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibxml2: security bump to version 2.9.2
Gustavo Zacarias [Thu, 16 Oct 2014 19:02:40 +0000 (16:02 -0300)]
libxml2: security bump to version 2.9.2

Fixes:
CVE-2014-3660 - billion laugh variant
CVE-2014-0191 - Do not fetch external parameter entities

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopciutils: add hash file
Gustavo Zacarias [Thu, 16 Oct 2014 14:06:19 +0000 (11:06 -0300)]
pciutils: add hash file

Also switch to xz tarball to avoid cached tarball hash conflict.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump default version to 3.17.1
Gustavo Zacarias [Thu, 16 Oct 2014 13:12:43 +0000 (10:12 -0300)]
linux: bump default version to 3.17.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{17, 16, 14, 10}.x series
Gustavo Zacarias [Thu, 16 Oct 2014 13:12:42 +0000 (10:12 -0300)]
linux-headers: bump 3.{17, 16, 14, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssl: security bump to version 1.0.1j
Gustavo Zacarias [Thu, 16 Oct 2014 12:57:47 +0000 (09:57 -0300)]
openssl: security bump to version 1.0.1j

Fixes:
CVE-2014-3513 - SRTP memory leak
CVE-2014-3567 - Session ticket memory leak
CVE-2014-3568 - Build option no-ssl3 is incomplete
And adds SSL3 fallback protection against POODLE.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowhois: bump to version 5.2.1
Gustavo Zacarias [Thu, 16 Oct 2014 17:48:03 +0000 (14:48 -0300)]
whois: bump to version 5.2.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: security bump to version 5.5.18
Gustavo Zacarias [Thu, 16 Oct 2014 17:48:37 +0000 (14:48 -0300)]
php: security bump to version 5.5.18

Fixes:
CVE-2014-3669 - Integer overflow in unserialize() (32-bits only)
CVE-2014-3670 - Heap corruption in exif_thumbnail()
CVE-2014-3668 - Global buffer overflow in mkgmtime() function

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libnfs: bump to version 1.9.5
Jörg Krause [Wed, 15 Oct 2014 09:20:00 +0000 (11:20 +0200)]
package/libnfs: bump to version 1.9.5

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: Add note about uses of github helper
Maxime Hadjinlian [Wed, 15 Oct 2014 12:24:20 +0000 (14:24 +0200)]
manual: Add note about uses of github helper

Add a little comment regarding the uses of the github helper for the releases.

[Arnout: extend the comment a little]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-utils: describe the case conversion macros in more detail.
Arnout Vandecappelle [Tue, 14 Oct 2014 09:23:47 +0000 (11:23 +0200)]
pkg-utils: describe the case conversion macros in more detail.

After the refactoring of the case conversion macros in dd5e620ac, the
macro became even harder to understand. Improve this explanation a
little so future generations can make sense of what we're doing here.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibgtk3: ensure host version of pkg-config is used for native compilation
Peter Korsgaard [Thu, 16 Oct 2014 11:52:57 +0000 (13:52 +0200)]
libgtk3: ensure host version of pkg-config is used for native compilation

This already was in Eric's submission, but I removed it when committing
while cleaning up.  The package infrastructure already passes the correct
pkg-config to use for cross compilation, but NOT for building native tools,
so we ended up using the target variant and got wrong libraries/headers.

Fixes:

http://autobuild.buildroot.net/results/e0c/e0c2623e2d400ce66963eae23f136c0158556b36/
http://autobuild.buildroot.net/results/5bf/5bf66b8d16a3ddded24827bf278ad24b55ded6e7/
http://autobuild.buildroot.net/results/75f/75f93cea8ab59f052ddefa51c0bfc14c3df47a60/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibgtk3: ensure cups-config can be found
Peter Korsgaard [Thu, 16 Oct 2014 11:39:39 +0000 (13:39 +0200)]
libgtk3: ensure cups-config can be found

Fixes:

http://autobuild.buildroot.net/results/db6/db6cd8922444490056bf5157fc0c9349e9bf383b/
http://autobuild.buildroot.net/results/4bd/4bdcd642eaa880dbbfbed8f4ed5ffac0c52edaa8/
http://autobuild.buildroot.net/results/8d3/8d30687f92178de15d7697a7b8a1b7e2d6e93deb/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogetent: look for glibc's getent in more places
Arnout Vandecappelle [Wed, 15 Oct 2014 12:15:22 +0000 (14:15 +0200)]
getent: look for glibc's getent in more places

External toolchains don't always install the executable in /usr/bin -
God knows why. So check in a few more places.

We can use make's $(wildcard ...) here, because the variable only gets
expanded when the install step is executed, and by that time the
STAGING_DIR has already been installed.

Probably fixes most getent autobuilder errors, at least if fixes
http://autobuild.buildroot.net/results/615b9d17f713b4a53192efb00188560a76b9efa3/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxz: add hash file
Gustavo Zacarias [Tue, 14 Oct 2014 23:29:42 +0000 (20:29 -0300)]
xz: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobzip2: add hash file
Gustavo Zacarias [Tue, 14 Oct 2014 23:29:41 +0000 (20:29 -0300)]
bzip2: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosamba: fix config symbols
Gustavo Zacarias [Tue, 14 Oct 2014 23:29:06 +0000 (20:29 -0300)]
samba: fix config symbols

Some of the configure cache symbols changed name because some routines
were moved to libreplace instead of samba itself.
So change the naming for those affected so that samba can work nicely
again with some configuration directives (like interfaces = X).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokmod: add hash file
Gustavo Zacarias [Tue, 14 Oct 2014 23:24:40 +0000 (20:24 -0300)]
kmod: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocrda: add hash file
Gustavo Zacarias [Tue, 14 Oct 2014 23:24:39 +0000 (20:24 -0300)]
crda: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotftpd: add hash file
Gustavo Zacarias [Tue, 14 Oct 2014 23:24:37 +0000 (20:24 -0300)]
tftpd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibqmi: bump to 1.10.4
Yegor Yefremov [Tue, 14 Oct 2014 19:46:19 +0000 (21:46 +0200)]
libqmi: bump to 1.10.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomusl: bump to version 1.1.5
Gustavo Zacarias [Tue, 14 Oct 2014 19:34:19 +0000 (16:34 -0300)]
musl: bump to version 1.1.5

Patch upstream, add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibgtk3: new package
Hadrien Boutteville [Mon, 13 Oct 2014 12:54:23 +0000 (14:54 +0200)]
libgtk3: new package

This package provides Gtk+ 3.0, a graphical toolkit.

[Peter: fix Config.in deps, ensure atleast 1 backend, remove redundant info]
Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Eric: added backend support, use of pkgconf for host-libgtk3]
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohicolor-icon-theme: new package
Eric Le Bihan [Mon, 13 Oct 2014 12:54:22 +0000 (14:54 +0200)]
hicolor-icon-theme: new package

This new package provides Freedesktop Hicolor icon theme.

This is the fallback icon theme, which only creates the standard
directory structure for storing icons of third-party applications (i.e.
the ones not available in usual icon themes).

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: bump to version 2.0.8
Gustavo Zacarias [Tue, 14 Oct 2014 13:44:30 +0000 (10:44 -0300)]
kexec: bump to version 2.0.8

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohostapd: add hash
Gustavo Zacarias [Tue, 14 Oct 2014 10:55:59 +0000 (07:55 -0300)]
hostapd: add hash

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperf: fix typo and syntax error
Gustavo Zacarias [Tue, 14 Oct 2014 10:54:25 +0000 (07:54 -0300)]
perf: fix typo and syntax error

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnss: bump to version 3.17.2
Gustavo Zacarias [Tue, 14 Oct 2014 10:54:03 +0000 (07:54 -0300)]
libnss: bump to version 3.17.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcdio: bump to version 0.93
Gustavo Zacarias [Tue, 14 Oct 2014 10:54:02 +0000 (07:54 -0300)]
libcdio: bump to version 0.93

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomake: bump to version 4.1
Gustavo Zacarias [Tue, 14 Oct 2014 10:54:01 +0000 (07:54 -0300)]
make: bump to version 4.1

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to version 3.2.19
Gustavo Zacarias [Tue, 14 Oct 2014 10:54:00 +0000 (07:54 -0300)]
gnutls: bump to version 3.2.19

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoradvd: bump to version 2.8
Gustavo Zacarias [Tue, 14 Oct 2014 10:53:59 +0000 (07:53 -0300)]
radvd: bump to version 2.8

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: drop stray patches
Gustavo Zacarias [Tue, 14 Oct 2014 10:53:15 +0000 (07:53 -0300)]
uclibc: drop stray patches

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: drop stray patch
Gustavo Zacarias [Tue, 14 Oct 2014 10:53:00 +0000 (07:53 -0300)]
binutils: drop stray patch

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibv4l: bump version
Peter Korsgaard [Tue, 14 Oct 2014 13:05:03 +0000 (15:05 +0200)]
libv4l: bump version

And add tarball hashes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mesa3d: Add hash file
Bernd Kuhls [Mon, 13 Oct 2014 18:05:27 +0000 (20:05 +0200)]
package/mesa3d: Add hash file

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/mesa3d: Bump version to 10.3.1
Bernd Kuhls [Mon, 13 Oct 2014 18:05:26 +0000 (20:05 +0200)]
package/mesa3d: Bump version to 10.3.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssh: place configuration files in /etc/ssh
Jérôme Pouiller [Mon, 13 Oct 2014 07:45:47 +0000 (09:45 +0200)]
openssh: place configuration files in /etc/ssh

pkg-autotools.mk fix --sysconfdir to "/etc". This patch restore
--sysconfdir to its default value (/etc/ssh)

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconnman: select dbus support in wpa_supplicant
Jérôme Pouiller [Mon, 13 Oct 2014 07:47:34 +0000 (09:47 +0200)]
connman: select dbus support in wpa_supplicant

... else connman cannot communicate with wpa_supplicant

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohostapd: needs MMU
Baruch Siach [Mon, 13 Oct 2014 05:36:25 +0000 (08:36 +0300)]
hostapd: needs MMU

hostapd calls fork() since last version bump.

Fixes:
http://autobuild.buildroot.net/results/945/94543b865db2ff5da34434fdcdf15ea7db73f392/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: explicitly set HAVE_SHARED depending on BR2_PREFER_STATIC_LIB
Alexey Brodkin [Sun, 12 Oct 2014 16:34:45 +0000 (18:34 +0200)]
uclibc: explicitly set HAVE_SHARED depending on BR2_PREFER_STATIC_LIB

Now with change of BR2_PREFER_STATIC_LIB meaning to "do not build dynamic libs
and build statically linked applications" it's possible to disable support of
shared libs in uClibc as well as builting of shared libc libs.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoConfig.in: update description of BR2_PREFER_STATIC_LIB
Alexey Brodkin [Sun, 12 Oct 2014 16:34:44 +0000 (18:34 +0200)]
Config.in: update description of BR2_PREFER_STATIC_LIB

With time BR2_PREFER_STATIC_LIB option meaning changed from "prefer static
libs when possible" to "do not build dynamic libs and build statically linked
applications".

This patch changes the option description.

Note that variable name is kept unchanged on purpose - it will be modified later
when real "prefer static" mode will be introduced.

[Peter: tweak help text as suggested by Thomas and Yann]
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/upmpdcli: fix missing dependency of libcurl
Jörg Krause [Sun, 12 Oct 2014 18:55:10 +0000 (20:55 +0200)]
package/upmpdcli: fix missing dependency of libcurl

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibva-intel-driver: indirectly depends on XORG7
Arnout Vandecappelle [Sun, 12 Oct 2014 18:33:35 +0000 (20:33 +0200)]
libva-intel-driver: indirectly depends on XORG7

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibva-intel-driver: add indirect dependency on BR2_PREFER_STATIC_LIB
Arnout Vandecappelle [Sun, 12 Oct 2014 17:41:41 +0000 (19:41 +0200)]
libva-intel-driver: add indirect dependency on BR2_PREFER_STATIC_LIB

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovalgrind: add patch to fix build on PowerPC uClibc
Thomas Petazzoni [Sun, 12 Oct 2014 17:27:14 +0000 (19:27 +0200)]
valgrind: add patch to fix build on PowerPC uClibc

uClibc on PowerPC forgot to define some PTRACE_* definitions. Even
though the Buildroot uClibc package has a fix for this, it doesn't fix
external uClibc toolchains that are not patched. Therefore this commit
adds a patch to Valgrind to workaround the problem by defining
PTRACE_GETSIGINFO to the appropriate value on PowerPC when it's not
defined by the C library.

Fixes:

  http://autobuild.buildroot.org/results/bc6/bc6be9aa1ad39201a1045a65c0c3eb1e968371f2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonginx: disallow AIO support on AArch64
Thomas Petazzoni [Sun, 12 Oct 2014 16:58:37 +0000 (18:58 +0200)]
nginx: disallow AIO support on AArch64

The nginx AIO support cannot build on AArch64, because it hardcodes
the usage of SYS_eventfd(), while it should just use eventfd() from
the C library.

See https://bugs.launchpad.net/linaro-aarch64/+bug/1160013 for details.

Fixes:

  http://autobuild.buildroot.org/results/54b/54bb761f9e774d91066b78217efcd583fdd85ff3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowpa_supplicant: uses fork(), not available on no-MMU platforms
Thomas Petazzoni [Sun, 12 Oct 2014 16:39:55 +0000 (18:39 +0200)]
wpa_supplicant: uses fork(), not available on no-MMU platforms

The only package selecting wpa_supplicant is connman, and it is
already depends on BR2_USE_MMU.

Fixes:

  http://autobuild.buildroot.org/results/9ac/9ac3c0de573f5266a889f1ceb6d43aa92f715c55/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qemu: add SDL frontends
Yann E. MORIN [Tue, 7 Oct 2014 22:38:15 +0000 (00:38 +0200)]
package/qemu: add SDL frontends

[Peter: use BR2_PACKAGE_QEMU_HAS_EMULS, only add SDL_CONFIG once]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qemu: add fine-grained target selection
Yann E. MORIN [Tue, 7 Oct 2014 22:38:14 +0000 (00:38 +0200)]
package/qemu: add fine-grained target selection

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qemu: add basic target selection
Yann E. MORIN [Tue, 7 Oct 2014 22:38:13 +0000 (00:38 +0200)]
package/qemu: add basic target selection

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qemu: build for the target (i386 or x86_64 only)
Yann E. MORIN [Tue, 7 Oct 2014 22:38:12 +0000 (00:38 +0200)]
package/qemu: build for the target (i386 or x86_64 only)

Untested for other architectures, so only enabled for known-working ones.

We explicitly disable all features that depends on other packages,
for now. Such features will be added one by one in the next patches.
Features that do not rely on external packages are explicitly enabled
to catch the dependencies on toolchain features early.

[Peter: propagate dependencies from libglib2]
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>
10 years agopackage/qemu: bump version
Yann E. MORIN [Tue, 7 Oct 2014 22:38:11 +0000 (00:38 +0200)]
package/qemu: bump version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qemu: do not use autotools for qemu
Yann E. MORIN [Tue, 7 Oct 2014 22:38:10 +0000 (00:38 +0200)]
package/qemu: do not use autotools for qemu

Although QEMU has a ./configure script, it is not an autotools-package,
so switch to providing build and install commands, and to using
generic-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoecryptfs-utils: add runtime dependency on getent
Thomas Petazzoni [Mon, 18 Aug 2014 09:54:09 +0000 (11:54 +0200)]
ecryptfs-utils: add runtime dependency on getent

Fixes bug #7142.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogetent: new package
Thomas Petazzoni [Mon, 18 Aug 2014 09:54:08 +0000 (11:54 +0200)]
getent: new package

The ecryptfs-utils scripts require the 'getent' program to be
installed to find the home directory of users. However, Buildroot
currently never installs this program, and therefore bug #7142 was
reported, explaining that ecryptfs-utils is not working properly.

In normal Linux systems, the getent program is provided by glibc, and
allows to query not only /etc/passwd, but also other NSS databases
such as LDAP and others.

In the context of Buildroot, this gives us several cases:

 1/ Internal toolchain

    a/ glibc/eglibc. In this case, the getent program is already built
       and installed by Buildroot in the staging directory, so the
       only thing missing is installing it in the target directory.

    b/ uclibc. uClibc provides a simple shell script that emulates the
       behavior of getent. It is located in extra/scripts/getent in
       the uClibc sources, but is currently never installed.

    c/ musl. There seems to be no getent implementation, and musl does
       not support NSS.

 2/ External toolchain

    a/ glibc/eglibc. In several external toolchains that we tested,
       there is a pre-built getent binary available in the sysroot,
       but Buildroot is not installing it to the target.

    b/ uclibc. The getent wrapper script is typically not part of any
       external uClibc toolchain.

    c/ musl. There is no getent implementation.

This patch proposes to solve this problem by introducing a getent
package, which has the following behavior:

 - When the toolchain is glibc based (either internal or external), it
   installs the getent program that was built and installed in the
   staging directory. This covers cases 1/ a/ and 2/ a/ above.

 - When the toolchain is uclibc or musl based, it installs a version
   of uclibc's getent wrapper script that is built into the getent
   package. This script is unlikely to change over time, so having it
   directly built into the package should not cause much issues moving
   forward. This covers all other cases above.

This solution allows to install a NSS-capable getent when glibc/eglibc
is used, and otherwise to rely on uClibc's wrapper script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: better support for starting and creating images
Marcin Jabrzyk [Fri, 14 Mar 2014 12:13:22 +0000 (13:13 +0100)]
beaglebone: better support for starting and creating images

- Added short readme file with description of first steps how to start.
- Added uEnv.txt so the board can start from SDCard
- Added post-image.sh script to copy included uEnv.txt to output/images

[Peter: strip trailing spaces]
Signed-off-by: Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
Tested-by: Stephan Hoffmann <sho@relinux.de>
Tested-by: Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouClibc: ldso/libdl: Also include dl-tls.h for for !SHARED.
Vicente Olivert Riera [Thu, 11 Sep 2014 12:51:18 +0000 (13:51 +0100)]
uClibc: ldso/libdl: Also include dl-tls.h for for !SHARED.

Apply an upstream patch:

  http://git.uclibc.org/uClibc/commit/ldso/libdl/libdl.c?id=b57e9640db53166c88cdac66b79a046e46b8d728

On MIPS, several relocations that were original only resolved by the
dynamic linker were reused as static relocations.  Consequently the
macros TLS_DTPREL_VALUE and TLS_TPREL_VALUE defined in
libpthread/nptl/sysdeps/mips/dl-tls.h need to be available even for
!SHARED.

Relevant: http://www.linux-mips.org/wiki/NPTL#History

Fixes:

  http://autobuild.buildroot.net/results/85e/85e66962da9a6b80e1d1b721031b6ef0da45e3d5/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/vlc: Fix typo
Bernd Kuhls [Sun, 12 Oct 2014 15:38:12 +0000 (17:38 +0200)]
package/vlc: Fix typo

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>