Commit Graph

22727 Commits

Author SHA1 Message Date
Thomas Petazzoni
198734f00b powertop: only link against -lintl when needed
BR2_PACKAGE_GETTEXT=y might be enabled even if BR2_NEEDS_GETTEXT is
not set, and in this case, we should not link against libintl, because
it may not exist, for example with glibc toolchains.

Fixes:

  http://autobuild.buildroot.net/results/270/270018e2c9e3845a4015faa155325eea2cabe3d9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-21 09:39:22 +01:00
Max Filippov
b5423c2c3f uclibc: enable UCLIBC_HAS_GNU_GETSUBOPT in all configs
This fixes build for applications that use getsubopt unconditionally.
Code addition to getopt is negligible.

Fixes:
  http://autobuild.buildroot.net/results/90c318e3a9ef5e626d0a80e36695d34eda21f97e/
  http://autobuild.buildroot.net/results/cd8e9d9a5f454c321071c21192958aeee9c39e73/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:44:23 +01:00
Max Filippov
1919d3c287 uclibc: Fix getopt implementations conditional compilation
There's no way to disable getsubopt in uClibc 0.9.33.2: either GNU or
SUSv3 getsubopt is always built.

Properly exclude SUSv3 getsubopt implementation when GNU getopt is
selected.
Exclude GNU getsubopt when SUSv3 getopt is selected. Honor getopt_long
configuration.

This brings UCLIBC_HAS_GNU_GETOPT, UCLIBC_HAS_GNU_GETSUBOPT and
UCLIBC_HAS_GETOPT_LONG handling in sync with uClibc and uClibc-ng tips.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:44:04 +01:00
Samuel Martin
9bdf592654 package/openocd: depends on libftdi1 instead of libftdi
Note that, if both libftdi and libftdi1 are available, openocd will
prefer libftdi1, so does Buildroot. ;-)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:30:08 +01:00
Samuel Martin
772dbcd797 package/avrdude: optionally depends on libftdi or libftdi1
Avrdude supports both libftdi and libftdi1.

Because libftdi is already an optional dependency, this patch adds
libftdi1 as optional dependency as well, but privileges libftdi1 over
libftdi (accdording to what is done in  avrdude's configure script).

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:29:49 +01:00
Matt Weber
92e8d431f5 quagga: option for vtysh
[Thomas: add corresponding explicit --disable option.]

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:20:40 +01:00
Bartosz Golaszewski
c99144b317 pulseview: new package
[Thomas:
  - Fix dependency on C++, it should use BR2_INSTALL_LIBSTDCPP and not
    BR2_TOOLCHAIN_BUILDROOT_CXX.
  - Fix comment dependency, there should be an || between all the
    toolchain dependencies. Also fix the dependency on Qt5 for the
    comment, which was in the wrong way: the comment was displayed
    only when Qt5 was disabled.
  - Use -DDISABLE_WERROR=TRUE instead of -DDISABLE_WERROR=y, since
    TRUE/FALSE are normally the accepted values for CMake options.]

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 23:05:28 +01:00
Andrew Parlane
26f215d137 target-finalize: Use NULL deliminators when stripping the target directory.
Special characters in files or directories in the rootfs can cause
problems when stripping files.  For example "target/some song.mp3"
gets treated as two entries. "target/some" and "song.mp3" are both
passed to $(STRIPCMD). This then errors saying files don't exist.

Additionally a ' and possibly other special characters in a file path
causes xargs to give the error: "xargs: unmatched single quote; by
default quotes are special to xargs unless you use the -0
option". This also has the effect of removing this entry and further
entries from the list of files to strip.  This can be demonstrated by
having a test directory with the files: "cat" "rabbit's"
"elephant". then running the command: "find -name "*" -print | xargs"

To fix this we pass -print0 to find which seperates entries with a
NULL character, and we pass -0 to xargs to tell it to only use NULL
characters as the deliminator.

Signed-off-by: Andrew Parlane <andrewp@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 22:46:02 +01:00
Gustavo Zacarias
3503386aad elf2flt: disable for blackfin
Now that we don't support the internal blackfin toolchain any more it
makes no sense to have this enabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 22:12:53 +01:00
Gustavo Zacarias
6b0baf14ce uclibc: remove blackfin bits
Now that we don't support the internal blackfin toolchain any more
remove unnecessary bits, conditionals and tweaks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 22:12:16 +01:00
Gustavo Zacarias
5fcf071227 gcc: remove blackfin conditionals
Now that we don't support the internal blackfin toolchain any more
remove unnecessary conditionals.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 22:11:05 +01:00
Gustavo Zacarias
f206d745a4 binutils: remove blackfin conditionals
Now that we don't support the internal blackfin toolchain any more
remove unnecessary conditionals.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:51:02 +01:00
Gustavo Zacarias
e781702c47 glibc: disable eglibc 2.18 for sparc
It's broken as well, wants to emit v9 asm.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:49:34 +01:00
Romain Naour
70f74d8662 package/mcelog: bump version to v111
Since v110, mcelog detect Atom's cpuids.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:46:42 +01:00
Gustavo Zacarias
928cce8f0d jhead: bump to version 3.00
Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:46:24 +01:00
Gustavo Zacarias
d1d6d20702 dhcpcd: bump to version 6.7.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:46:09 +01:00
Gustavo Zacarias
b5a62325ae wireless-regdb: bump to version 2015.03.13
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:45:51 +01:00
Gustavo Zacarias
0f4707e2d6 iw: bump to version 4.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:45:38 +01:00
Steven Noonan
6e80c3007b hwloc: new package
[Thomas:
  - remove mandatory libpciaccess and numactl dependencies. Those
    dependencies are optional.
  - add dependency on threads.
  - use a HWLOC_VERSION_MAJOR variable to avoid repeating the major
    version number in HWLOC_SITE.
  - explicitly disable features we don't support.
  - explicitly enable/disable pci and numa support, depending on the
    availability of the corresponding dependencies.
  - add dependency on host-pkgconf, since pkg-config can be used by
    hwloc configure script.]

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:32:15 +01:00
Thomas Petazzoni
9e3e251b6f numactl: install to the staging directory as well
In addition to building programs, numactl also builds a library and
its corresponding header files, which can be used by other programs
such as hwloc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 21:32:15 +01:00
Bernd Kuhls
4ac6464501 package/x11r7/xlib_libXfont: security version bump to 1.5.1
Fixes CVE-2015-1802, CVE-2015-1803, CVE-2015-1804
http://lists.x.org/archives/xorg-announce/2015-March/002551.html
http://lists.x.org/archives/xorg-announce/2015-March/002550.html

Also add hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:54:10 +01:00
Gustavo Zacarias
5b68ea35a6 m4: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:53:12 +01:00
Gustavo Zacarias
3db2341143 nano: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:52:47 +01:00
Gustavo Zacarias
cdfce42046 nginx: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:50:22 +01:00
Mike Williams
c85b3fca39 thttpd: add systemd service file
Based on Arch service file, adjusted to point to /usr/sbin.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:43:31 +01:00
Mike Williams
1c74c84313 wpa_supplicant: install systemd service files
Unlike other systemd services, these are not enabled by default, as the
most likely configuration is that they will be managed by something like
NetworkManager.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:43:11 +01:00
Mike Williams
af17811662 kodi: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:40:11 +01:00
Mike Williams
b054815ee5 dhcp: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:40:00 +01:00
Mike Williams
1dd088ca16 libiio: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:39:40 +01:00
Mike Williams
173f15e62b postgresql: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:39:26 +01:00
Mike Williams
3aa96c1e5a dropbear: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:39:09 +01:00
Mike Williams
6111d478d2 openssh: move systemd service files to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:37:16 +01:00
Mike Williams
2702ac5016 irqbalance: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:37:07 +01:00
Mike Williams
40f0d87374 dbus: move systemd service files to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:36:57 +01:00
Mike Williams
407e542d77 openntpd: move systemd service files to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:36:40 +01:00
Mike Williams
ad56242ae3 openvmtools: move systemd service to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:33:23 +01:00
Mike Williams
7afccf6776 ntp: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:33:12 +01:00
Mike Williams
c986d663d7 lighttpd: use upstream systemd service file
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 20:32:43 +01:00
Max Filippov
c34f42ace6 package/uclibc: fix linuxthreads symbol typos
BR2_UCLIBC_VERSION_XTENSA_GIT and BR2_UCLIBC_VERSION_SNAPSHOT select
BR2_UCLIBC_SUPPORTS_* instead of new BR2_UCLIBC_VERSION_SUPPORTS_*.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 16:45:52 +01:00
Steven Noonan
0adc0e24ee powertop: new package
[Thomas:
  - fix commit title
  - powertop wants libintl unconditionally, so make sure
    BR2_PACKAGE_GETTEXT is selected when BR2_NEEDS_GETTEXT is set, and
    add gettext to the dependencies.
  - add missing comment about thread dependency.
  - add missing dependency on host-pkgconf, without which powertop
    cannot find libnl.
  - patch src/Makefile.am to not pass -fstack-protector, which fails
    to build if the toolchain does not have SSP support.
  - rename patch powertop-autotune.patch to confirm to the patch
    naming convention.]

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 16:28:27 +01:00
Steve Kenton
4c6bc6f2cd dvdrw-tools: delete explicit default for backend
Signed-off-by: Steve Kenton <skenton@ou.edu>
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:31:08 +01:00
Gustavo Zacarias
1c58da6c53 gpsd: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:24:20 +01:00
Peter Seiderer
b1d20221e8 postgresql: disable spinlock support for arcle/arcbe
Fixes:
  http://autobuild.buildroot.net/results/9b2/9b20513253fa68a3eb5588464a206092bb45e82d
  http://autobuild.buildroot.net/results/8ea/8ea59872bd68d302a11681426a47c70d9aa1475f
  http://autobuild.buildroot.net/results/4a1/4a1cf5721af631e15e076a5bcdd8676839c2a98d
  http://autobuild.buildroot.net/results/050/050a799f2e9e864e02cf75b2a5697ece215ab0a2

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:22:19 +01:00
Steven Noonan
99d30f1faf package/haveged: add systemd units
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Reviewed-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:11:39 +01:00
Romain Naour
7d2738289d package/gdb: fix build with glibc 2.20 (2)
Backport a second patch from gdb 7.8 for aarch64.

Fixes:
http://autobuild.buildroot.net/results/2fc/2fcf1a40a08baf881fdbccd070b1a1a6c89127e1/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:07:41 +01:00
Max Filippov
395141d0db package/gcc: fix ICE building QT5 on xtensa
Add fix for GCC PR 64896 from the gcc-4_9-branch of gcc.
This fixes bugzilla bug 7961.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:05:51 +01:00
Baruch Siach
0a12a5a1b9 powerpc-utils: security bump to 1.2.24
Fixes CVE-2014-4040: A local attacker could obtain sensitive information from
the generated archive such as plain text passwords.

Yes, version 1.2.24 seems to be newer than 1.4, which is equivalent to 1.2.20.

Also, switch from git clone to tarball download , and add a .hash file.

The configure script seems to misdetect stack smashing protection support in
the toolchain. gcc accepts -fstack_protector_all, but the linker complains:
"ld: cannot find -lssp".

Cc: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:04:14 +01:00
Gustavo Zacarias
6259a985a2 php-gnupg: bump to version 1.3.6
Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:02:54 +01:00
Gustavo Zacarias
2c88be8ef7 php: security bump to version 5.5.23
Fixes:
CVE-2015-0231 - Use After Free Vulnerability in unserialize()
CVE-2015-2305 - heap overflow vulnerability in regcomp.c
CVE-2015-2331 - ZIP Integer Overflow leads to writing past heap boundary

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:02:40 +01:00
Jerzy Grzegorek
76c02c6b46 package: normalize separator size to 80
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20 14:02:00 +01:00