Compare commits

..

33 Commits

Author SHA1 Message Date
Peter Korsgaard
9b3904543c Update for 2013.11
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 14:16:03 +01:00
Peter Korsgaard
e6b7bcd4c5 docs/news.html: announce slides from 'Buildroot: What is new' presentation at ELCE
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:50:24 +01:00
Ezequiel García
61998c8b6f libnspr: Add patch to support nios2 arch
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:38:26 +01:00
Peter Korsgaard
1351d0c284 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:37:14 +01:00
Ivan Sergeev
fe796fee83 dbus-python: select pyexpat dependency
dbus-python requires xml.parsers.expat, which is provided by the pyexpat
module. This patch enables the pyexpat module as a dependency when dbus-python
is selected.

[Peter: fixup whitespace]
Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:06:04 +01:00
Vicente Olivert Riera
155d27303e libiscsi: Call autoreconf to use buildroot's libtool
Use updated libtool from buildroot to fix MIPS64/n64 build problems
http://autobuild.humanoidz.org/results/a9a/a9aa506a591581e413dc38c53d0e56bec5970634/build-end.log

[Peter: add comment explaining why]
Acked-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:03:23 +01:00
Vicente Olivert Riera
4268d3967e libtool: Apply upstream patch to set correct linkage on MIPS64
This libtool change ensures that ld uses the right machine emulation file,
which will allow to fix several MIPS64 n64 link failures, such as the one
currently visible on the libiscsi package.  Packages affected by this
problem will have to use <pkg>_AUTORECONF = YES to benefit from this libtool
fix, until they are fixed upstream.

Acked-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-30 09:03:07 +01:00
Vicente Olivert Riera
931b73e5ea qt5: Disable on MIPS64 BigEndian n64 platforms
qt5base fails to compile on MIPS64 BigEndian n64 platforms because there
are multiple calls to some functions that are disabled. Since every Qt5
package depends on qt5base we can disable Qt5 entirely. This is a quick
fix for the next release. In the meantime, a proposed patch to fix this
problem has already been sent to Qt:

https://bugreports.qt-project.org/browse/QTBUG-35228

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 19:42:50 +01:00
Gustavo Zacarias
f62a1d887a hostapd: fix static build failure
libnl-3 uses threads and this isn't accounted for in hostapd (or
libnl-3*.pc files for that matter - hostapd doesn't use pkg-config
anyway).
Since linking order matters for static scenarios also throw in -lnl-3
into LIBS first since it gets appended to in hostapd makefiles to add
libnl-3.

Fixes:
http://autobuild.buildroot.net/results/d4a/d4a9f44effeb08eda6c4b32764274ae81d185d5e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 19:41:58 +01:00
Vicente Olivert Riera
cf4ec89bfb tvheadend: remove -Werror from CFLAGS
Remove -Werror from CFLAGS to avoid build failures caused by warnings.

Fixes the following autobuild failure on MIPS64 n32/64:

   http://autobuild.buildroot.net/results/6be/6be075726ac6db0a48dd6b535841ada932c9ffbb/

Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 12:19:00 +01:00
Simon Dawson
1842ad7f93 libpfm4: disable on avr32
The perf_event_open syscall is not available on avr32. Fixes build failures
such as the following.

  http://autobuild.buildroot.net/results/38f/38fa81315be448c409b9af29f92621fcf5676f71/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 11:27:38 +01:00
Peter Korsgaard
fe8d728db5 qt: fix build with opengl es
Fixes http://autobuild.buildroot.net/results/efe/efe26c54361094fb1e201da6915900cd9b24d596/

qt doesn't use pkg-config to figure out the needed compiler/linker flags
for egl, so pass them explicitly instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 11:25:25 +01:00
Simon Dawson
765ccaf08c lua-ev: disable on avr32 and blackfin
lua-ev is a reverse dependency of libev, but the architecture filtering is
not propagated. Fixes autobuild failure such as the following.

  http://autobuild.buildroot.net/results/387/38704a4362ab6c3458c45603975b274937059fa9/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29 10:01:44 +01:00
Baruch Siach
5be04371a3 ecryptfs-utils: add a dependencies comment
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 23:29:50 +01:00
Chris Zankel
354cab0ee8 libnspr: Add dependency on !BR2_xtensa and !BR2_bfin
Xtensa is not yet supported in libnspr. Also add dependencies to libnss,
which requires libnspr, and ecryptfs-utils, which requires libnss.

Fixes (xtensa)
http://autobuild.buildroot.net/results/14b/14ba6426edbffa100de924aa69157b3f59368ff2/

Fixes (blackfin)
http://autobuild.buildroot.net/results/dd3/dd353703ed94cec48cd126d80cd2f1b039811be4/

[baruch: fix summary, add autobuild reference, add comment dependency,
 add blackfin]

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 23:29:47 +01:00
Vicente Olivert Riera
a88dceb951 grantlee: Disable on non-supported platforms
This package selects BR2_PACKAGE_QT_SCRIPT which is not supported on
certain platforms. To prevent this behaviour we use the same solution as
we applied for BR2_PACKAGE_QT_SCRIPT

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 22:48:15 +01:00
Vicente Olivert Riera
1d57723541 qt: Disable QtScript on non-supported platforms
There is no support for certain platforms in QtScript right now, so
buildroot upstream suggested to disable the possibility of enabling
QtScript on those platforms as a quick fix for the 2013.11 release:

   http://lists.busybox.net/pipermail/buildroot/2013-November/083157.html

QtScript doesn't build because it uses JavaScriptCore, so we re-use the
existing BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT option which already lists
which platforms are supported by JavaScriptCore in Qt4.

In addition, a proposed fix to add support for MIPS64 has already been
sent to Qt:

   https://bugreports.qt-project.org/browse/QTBUG-35030

Fixes:

   http://autobuild.buildroot.net/results/fd7/fd7e7e53290f235b540ed5f3c784e2584fdb41e0/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 22:47:36 +01:00
Gustavo Zacarias
df8d0b90eb gdb: disable texinfo/documentation
Fixes bug #6554

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 22:23:32 +01:00
Thomas Petazzoni
9402eef6e2 mplayer: not available on nios2
Fixes:

  http://autobuild.buildroot.org/results/0ae/0ae3a53a1a6e870ee1bf2a902a400893339777df/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 22:22:09 +01:00
Gustavo Zacarias
689f975e7b wpa_supplicant: define BINDIR for systemd/dbus service files
BINDIR is used to point systemd/dbus service files to the correct binary
path where wpa_supplicant resides.
So define it to avoid the default /usr/local path that doesn't work.
Solves bug #6704

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 20:01:50 +01:00
Arnout Vandecappelle
ff0f55e381 lvm2: replace !BR2_PACKAGE_LVM2_DMSETUP_ONLY by BR2_PACKAGE_LVM2_STANDARD_INSTALL
BR2_PACKAGE_LVM2_DMSETUP_ONLY is a "negative" option that disables
build and install of part of the suite. This option cannot be unselected
by other config options, which gives a problem for BR2_PACKAGE_UDISKS_LVM2:
it needs BR2_PACKAGE_LVM2_APP_LIBRARY, which requires the full suite.

Therefore, replace the negative BR2_PACKAGE_LVM2_DMSETUP_ONLY by a positive
BR2_PACKAGE_LVM2_STANDARD_INSTALL. To make sure that existing defconfigs
keep working, the new option defaults to y unless the legacy
BR2_PACKAGE_LVM2_DMSETUP_ONLY was selected.

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 17:29:48 +01:00
Gustavo Zacarias
62d15df19a util-linux: tweak sscanf-no-ms-as patch
The patch has a minor mistake so fix it.
Credit go to Daniel Mentz <daniel@exxm.de> for the detailed bug report.
Closes bug #6428

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 17:25:47 +01:00
Gustavo Zacarias
300c6e7c0a iptables: patch another static linking issue
Fixes:
http://autobuild.buildroot.net/results/e4a/e4a0f93e2abdad0222063b3f71970ee1c5940f3a/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 17:24:35 +01:00
Thomas Petazzoni
b0a72f02ad gpsd: do not allow profiling support on AArch64
The profiling support is not available on AArch64, causing build
failures such as:

  http://autobuild.buildroot.net/results/724f8646e1c2c28cf187f2313244d1e3e61b4c25/

According to Will Newton, function profiling will only be added in the
next version of the AArch64 Linaro toolchain. This indicates it is a
rather new feature in AArch64, so for the moment, just disallow
profiling on AArch64. We can revise this later, when this feature has
been made available in Linaro toolchains, and official gcc releases
(for internal toolchain support).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 15:14:58 +01:00
Gustavo Zacarias
769bb15ea3 eglibc: add security patch for CVE-2013-4788
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4788
http://hmarco.org/bugs/CVE-2013-4788.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 14:45:49 +01:00
Gustavo Zacarias
1f2d661854 apr: needs mmu
Uses fork() in apr_proc_fork() which is used by almost all the packages
that use apr (log4cxx, subversion).
apr-util doesn't use fork or apr_proc_fork but it's of no use alone.

[Peter: also hide log4cxx comment if !BR2_USE_MMU]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 14:44:16 +01:00
Gustavo Zacarias
b7eb4b3619 apr: fix threading lib detection
apr's configure doesn't try to guess which library is needed for
threading when cross-compiling hence this is never reflected in
apr-1-config, leading to a build failure such as:
http://autobuild.buildroot.net/results/035/035a00de0a56be00559767ba822a396ddc18a9fb/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-28 14:41:18 +01:00
Peter Korsgaard
a6fa695639 binutils: fix static linking
pkg-autotools.mk already handles static/shared linking, so no need to
explictly force it. Worse even, the build fails with BR2_PREFER_STATIC_LINK
as we end up calling libtool with --static when it tries to link the .so,
breaking the build:

../ld: attempted static link of dynamic object
`../opcodes/.libs/libopcodes.so'
collect2: error: ld returned 1 exit status

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 22:29:05 +01:00
Gustavo Zacarias
7ea26acd3d dropwatch: adjust LDFLAGS
Add more library links into LDFLAGS.
-lncurses because readline uses it (missing _tputs and others).
-lpthread for missing _pthread_rwlock_unlock and others.
-lm for missing _rint.
Fixes:
http://autobuild.buildroot.net/results/6b1/6b1f4f2167d8aca0d73dc0e66fd2e1704c821c61/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 17:47:43 +01:00
Vicente Olivert Riera
2d9ee197c2 tinymembench: Fix typo error on dependence
It should be BR2_MIPS_NABI64 instead of BR_MIPS_NABI64

Fixes:

   http://autobuild.buildroot.net/results/c5d/c5da2d99c09b1a2f7da23f1636f1ccc8978cc4a3/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 13:58:16 +01:00
Gustavo Zacarias
3783b84eef ruby: security bump to 1.9.3-p484
Fixes CVE-2013-4164.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 13:56:36 +01:00
Gustavo Zacarias
51b3db5eaa libnss: security bump to version 3.14.5
Fixes CVE-2013-5605.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 13:56:28 +01:00
Gustavo Zacarias
50b9552a44 quagga: security bump to version 0.99.22.4
Fixes CVE-2013-6051.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-27 13:56:20 +01:00
40 changed files with 336 additions and 32 deletions

21
CHANGES
View File

@@ -1,3 +1,24 @@
2013.11, Released November 30th, 2013:
Minor fixes.
Updated/fixed packages: apr, binutils, dbus-python, dropwatch,
ecryptfs-utils, eglibc, gdb, gpsd, grantlee, hostapd,
iptables, qlibiscsi, libnspr, libnss, libpfm4, libtool,
lua-ev, lvm2, mplayer, qt, qt5, quagga, ruby, tinymembench,
tvheadend, util-linux, wpa_supplicant
Issues resolved (http://bugs.uclibc.org):
#1279: Buildroot compiled Busybox and Coreutils LFS issues
#2995: -fstack-protector-all causes ssh to SIGSEGV
#5570: Cannot compile software on the target machine
#6428: util-linux libmount segfaults with patch from buildroot
#6500: php fails to build for armel
#6554: gdb needs to dependents on host texinfo
#6692: GNU nano fails to compile for x86_64
#6704: wpa_supplicant: fix wrong path to executable file in D-Bus
2013.11-rc3, Released November 26th, 2013
Fixes all over the tree.

View File

@@ -101,6 +101,18 @@ endif
###############################################################################
comment "Legacy options removed in 2013.11"
config BR2_PACKAGE_LVM2_DMSETUP_ONLY
bool "lvm2's 'dmsetup only' option removed"
select BR2_LEGACY
help
The BR2_PACKAGE_LVM2_DMSETUP_ONLY was a negative option, which
led to problems with other packages that need the full lvm2
suite. Therefore, the option has been replaced with the positive
BR2_PACKAGE_LVM2_STANDARD_INSTALL option.
# Note: BR2_PACKAGE_LVM2_DMSETUP_ONLY is still referenced in package/lvm2/Config.in
# in order to automatically propagate old configs
config BR2_PACKAGE_QT_JAVASCRIPTCORE
bool "qt javascriptcore option removed"
select BR2_LEGACY

View File

@@ -24,7 +24,7 @@
#--------------------------------------------------------------
# Set and export the version string
export BR2_VERSION:=2013.11-rc3
export BR2_VERSION:=2013.11
# Check for minimal make version (note: this check will break at make 10.x)
MIN_MAKE_VERSION=3.81

View File

@@ -6,15 +6,15 @@
<p>
The latest stable release is <b>2013.08.1</b>, which can be downloaded
The latest stable release is <b>2013.11</b>, which can be downloaded
here:<p>
<a href="/downloads/buildroot-2013.08.1.tar.gz">buildroot-2013.08.1.tar.gz</a>
<a href="/downloads/buildroot-2013.11.tar.gz">buildroot-2013.11.tar.gz</a>
or
<a href="/downloads/buildroot-2013.08.1.tar.bz2">buildroot-2013.08.1.tar.bz2</a>.
<a href="/downloads/buildroot-2013.11.tar.bz2">buildroot-2013.11.tar.bz2</a>.
<p>
<!--
The latest release candidate is <b>2013.11-rc3</b>, which can be
downloaded here:<p>
@@ -22,7 +22,7 @@ downloaded here:<p>
or
<a href="/downloads/buildroot-2013.11-rc3.tar.bz2">buildroot-2013.11-rc3.tar.bz2</a>.
<p>
-->
This and earlier releases can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.

View File

@@ -5,6 +5,22 @@
<p>
<ul>
<li><b>30 November 2013 -- 2013.11 released</b>
<p>The stable 2013.11 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.11">CHANGES</a>
file for more details
and go to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2013.11.tar.bz2">2013.11 release</a>.</p>
<li><b>30 November 2013 -- Slides from Embedded Linux Conference Europe</b>
<p>The slides from the Buildroot presentation at the recent
<a href="http://events.linuxfoundation.org/events/embedded-linux-conference-europe">Embedded Linux Conference Europe 2013</a>
are now
<a href="http://elinux.org/images/2/23/Buildroot-whats-new-elce2013.pdf">available</a>.</p>
<li><b>18 November 2013 -- 2013.11-rc3 released</b>
<p>Another week, another release candidate with more fixes. See the <a

View File

@@ -7,6 +7,7 @@ config BR2_PACKAGE_APR_UTIL
select BR2_PACKAGE_ZLIB
# apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # apr
help
The utility library for the apache runtime project

View File

@@ -2,6 +2,7 @@ config BR2_PACKAGE_APR
bool "apr"
# apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # fork() in apr_proc_fork()
help
The mission of the Apache Portable Runtime (APR) project is to create
and maintain software libraries that provide a predictable and

View File

@@ -19,6 +19,11 @@ APR_CONF_ENV = \
apr_cv_mutex_recursive=yes
APR_CONFIG_SCRIPTS = apr-1-config
# Doesn't even try to guess when cross compiling
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
APR_CONF_ENV += apr_cv_pthreads_lib="-lpthread"
endif
define APR_CLEANUP_UNNEEDED_FILES
$(RM) -rf $(TARGET_DIR)/usr/build-1/
endef

View File

@@ -39,7 +39,6 @@ BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB
BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
--host=$(GNU_TARGET_NAME) \
--target=$(GNU_TARGET_NAME) \
--enable-shared \
$(BINUTILS_EXTRA_CONFIG_OPTIONS)
# Install binutils after busybox to prefer full-blown utilities

View File

@@ -5,6 +5,8 @@ config BR2_PACKAGE_DBUS_PYTHON
depends on BR2_PACKAGE_DBUS
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_DBUS_GLIB
# pyexpat: runtime dependency only
select BR2_PACKAGE_PYTHON_PYEXPAT
help
Python bindings for D-Bus

View File

@@ -16,7 +16,8 @@ DROPWATCH_LICENSE_FILES = COPYING
#
# Also: always need to add -liberty to hardcoded LDFLAGS for avr32
DROPWATCH_LDFLAGS = \
$(TARGET_LDFLAGS) -lbfd -liberty -lreadline -lnl-3 -lnl-genl-3
$(TARGET_LDFLAGS) -lbfd -liberty -lreadline -lnl-3 -lnl-genl-3 \
-lpthread -lncurses -lm
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
DROPWATCH_LDFLAGS += -lintl

View File

@@ -6,7 +6,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
depends on !BR2_avr32 && !BR2_microblaze # keyutils
depends on BR2_LARGEFILE # libnss
depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
depends on !BR2_arc # libnss -> libnspr
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
help
eCryptfs is a POSIX-compliant enterprise cryptographic
filesystem for Linux. It is stacked on top of any other
@@ -21,3 +21,9 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
for another method.
http://ecryptfs.org
comment "ecryptfs-utils needs a toolchain w/ largefile, threads"
depends on !BR2_avr32 && !BR2_microblaze
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on BR2_USE_MMU
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -57,6 +57,7 @@ HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
endif
GDB_CONF_ENV = \
ac_cv_prog_MAKEINFO=missing \
ac_cv_type_uintptr_t=yes \
gt_cv_func_gettext_libintl=yes \
ac_cv_func_dcgettext=yes \

View File

@@ -0,0 +1,35 @@
Fix for CVE-2013-4788 from http://hmarco.org/bugs/CVE-2013-4788.html
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -rupN glibc-2.17/csu/libc-start.c glibc-2.17-mangle-fix/csu/libc-start.c
--- glibc-2.17/libc/csu/libc-start.c 2012-12-25 04:02:13.000000000 +0100
+++ glibc-2.17-mangle-fix/libc/csu/libc-start.c 2013-07-10 00:13:48.000000000 +0200
@@ -38,6 +38,12 @@ extern void __pthread_initialize_minimal
in thread local area. */
uintptr_t __stack_chk_guard attribute_relro;
# endif
+
+# ifndef THREAD_SET_POINTER_GUARD
+uintptr_t __pointer_chk_guard_local
+ attribute_relro attribute_hidden __attribute__ ((nocommon));
+# endif
+
#endif
#ifdef HAVE_PTR_NTHREADS
@@ -184,6 +190,14 @@ LIBC_START_MAIN (int (*main) (int, char
# else
__stack_chk_guard = stack_chk_guard;
# endif
+ uintptr_t pointer_chk_guard = _dl_setup_pointer_guard (_dl_random,
+ stack_chk_guard);
+# ifdef THREAD_SET_POINTER_GUARD
+ THREAD_SET_POINTER_GUARD (pointer_chk_guard);
+# else
+ __pointer_chk_guard_local = pointer_chk_guard;
+# endif
+
#endif
/* Register the destructor of the dynamic linker if there is any. */

View File

@@ -34,6 +34,7 @@ config BR2_PACKAGE_GPSD_OLDSTYLE
config BR2_PACKAGE_GPSD_PROFILING
bool "profiling support"
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_aarch64
comment "profiling support not available with uClibc-based toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_GRANTLEE
bool "grantlee"
depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
select BR2_PACKAGE_QT_STL
select BR2_PACKAGE_QT_SCRIPT
select BR2_PACKAGE_QT_GUI_MODULE

View File

@@ -10,13 +10,14 @@ HOSTAPD_SUBDIR = hostapd
HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config
HOSTAPD_DEPENDENCIES = libnl
HOSTAPD_CFLAGS = $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3/
HOSTAPD_LDFLAGS = $(TARGET_LDFLAGS)
HOSTAPD_LICENSE = GPLv2/BSD-3c
HOSTAPD_LICENSE_FILES = README
# libnl needs -lm (for rint) if linking statically
# libnl-3 needs -lm (for rint) and -lpthread if linking statically
# And library order matters hence stick -lnl-3 first since it's appended
# in the hostapd Makefiles as in LIBS+=-lnl-3 ... thus failing
ifeq ($(BR2_PREFER_STATIC_LIB),y)
HOSTAPD_LDFLAGS += -lm
HOSTAPD_LIBS += -lnl-3 -lm -lpthread
endif
define HOSTAPD_LIBNL_CONFIG
@@ -93,7 +94,7 @@ endef
define HOSTAPD_BUILD_CMDS
$(TARGET_MAKE_ENV) CFLAGS="$(HOSTAPD_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(HOSTAPD_LIBS)" \
$(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(HOSTAPD_SUBDIR)
endef

View File

@@ -0,0 +1,47 @@
From 2efdcf332a40431c6584970bb0c68712d14d409b Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Wed, 27 Nov 2013 10:18:11 -0300
Subject: [PATCH] iptables/ip(6)tables-save.c: remove dlfcn.h include
It's not required and breaks on static-only uClibc builds which don't
have the header file.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
iptables/ip6tables-save.c | 4 ----
iptables/iptables-save.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/iptables/ip6tables-save.c b/iptables/ip6tables-save.c
index d819b30..a86a64a 100644
--- a/iptables/ip6tables-save.c
+++ b/iptables/ip6tables-save.c
@@ -18,10 +18,6 @@
#include "ip6tables.h"
#include "ip6tables-multi.h"
-#ifndef NO_SHARED_LIBS
-#include <dlfcn.h>
-#endif
-
static int show_counters = 0;
static const struct option options[] = {
diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
index e599fce..2999c7f 100644
--- a/iptables/iptables-save.c
+++ b/iptables/iptables-save.c
@@ -17,10 +17,6 @@
#include "iptables.h"
#include "iptables-multi.h"
-#ifndef NO_SHARED_LIBS
-#include <dlfcn.h>
-#endif
-
static int show_counters = 0;
static const struct option options[] = {
--
1.8.3.2

View File

@@ -10,5 +10,7 @@ LIBISCSI_LICENSE = GPLv2+ LGPLv2.1+
LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
LIBISCSI_INSTALL_STAGING = YES
LIBISCSI_DEPENDENCIES = popt
# fixes MIPS64 link failure
LIBISCSI_AUTORECONF = YES
$(eval $(autotools-package))

View File

@@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
def_bool y
depends on !BR2_arc && !BR2_xtensa && !BR2_bfin
config BR2_PACKAGE_LIBNSPR
bool "libnspr"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_arc
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
help
NSPR is the Netscape Portable Runtime library which provides
a platform-neutral API for system level and libc like
@@ -12,5 +16,5 @@ config BR2_PACKAGE_LIBNSPR
http://www.mozilla.org/projects/nspr/
comment "libnspr needs a toolchain w/ largefile, threads"
depends on !BR2_arc
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,71 @@
Add Nios-II support
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
diff -Naur libnspr-4.9.6-ori/mozilla/nsprpub/pr/include/md/_linux.cfg libnspr-4.9.6/mozilla/nsprpub/pr/include/md/_linux.cfg
--- libnspr-4.9.6-ori/mozilla/nsprpub/pr/include/md/_linux.cfg 2013-11-10 21:15:04.556139100 -0300
+++ libnspr-4.9.6/mozilla/nsprpub/pr/include/md/_linux.cfg 2013-11-10 21:15:29.332138283 -0300
@@ -914,6 +914,51 @@
#define PR_BYTES_PER_WORD_LOG2 2
#define PR_BYTES_PER_DWORD_LOG2 3
+#elif defined(nios2)
+
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+
+#define PR_BYTES_PER_BYTE 1
+#define PR_BYTES_PER_SHORT 2
+#define PR_BYTES_PER_INT 4
+#define PR_BYTES_PER_INT64 8
+#define PR_BYTES_PER_LONG 4
+#define PR_BYTES_PER_FLOAT 4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD 4
+#define PR_BYTES_PER_DWORD 8
+
+#define PR_BITS_PER_BYTE 8
+#define PR_BITS_PER_SHORT 16
+#define PR_BITS_PER_INT 32
+#define PR_BITS_PER_INT64 64
+#define PR_BITS_PER_LONG 32
+#define PR_BITS_PER_FLOAT 32
+#define PR_BITS_PER_DOUBLE 64
+#define PR_BITS_PER_WORD 32
+
+#define PR_BITS_PER_BYTE_LOG2 3
+#define PR_BITS_PER_SHORT_LOG2 4
+#define PR_BITS_PER_INT_LOG2 5
+#define PR_BITS_PER_INT64_LOG2 6
+#define PR_BITS_PER_LONG_LOG2 5
+#define PR_BITS_PER_FLOAT_LOG2 5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2 5
+
+#define PR_ALIGN_OF_SHORT 2
+#define PR_ALIGN_OF_INT 4
+#define PR_ALIGN_OF_LONG 4
+#define PR_ALIGN_OF_INT64 4
+#define PR_ALIGN_OF_FLOAT 4
+#define PR_ALIGN_OF_DOUBLE 4
+#define PR_ALIGN_OF_POINTER 4
+#define PR_ALIGN_OF_WORD 4
+
+#define PR_BYTES_PER_WORD_LOG2 2
+#define PR_BYTES_PER_DWORD_LOG2 3
+
#else
#error "Unknown CPU architecture"
diff -Naur libnspr-4.9.6-ori/mozilla/nsprpub/pr/include/md/_linux.h libnspr-4.9.6/mozilla/nsprpub/pr/include/md/_linux.h
--- libnspr-4.9.6-ori/mozilla/nsprpub/pr/include/md/_linux.h 2013-11-10 21:15:04.556139100 -0300
+++ libnspr-4.9.6/mozilla/nsprpub/pr/include/md/_linux.h 2013-11-10 21:15:33.245138154 -0300
@@ -55,6 +55,8 @@
#define _PR_SI_ARCHITECTURE "avr32"
#elif defined(__m32r__)
#define _PR_SI_ARCHITECTURE "m32r"
+#elif defined(nios2)
+#define _PR_SI_ARCHITECTURE "nios2"
#else
#error "Unknown CPU architecture"
#endif

View File

@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBNSS
select BR2_PACKAGE_ZLIB
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
depends on !BR2_arc # libnspr
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
help
Network Security Services (NSS) is a set of libraries designed
to support development of security-enabled client and server
@@ -16,6 +16,6 @@ config BR2_PACKAGE_LIBNSS
http://www.mozilla.org/projects/security/pki/nss/
comment "libnss needs a toolchain w/ largefile, threads"
depends on !BR2_arc
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBNSS_VERSION = 3.14.3
LIBNSS_VERSION = 3.14.5
LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
LIBNSS_SITE_VERSION = $(subst .,_,$(LIBNSS_VERSION))
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(LIBNSS_SITE_VERSION)_RTM/src

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBPFM4
bool "libpfm4"
depends on !BR2_avr32 # no perf_event_open
help
A helper library to help encode Performance Events to use with
Operating system kernels performance monitoring interfaces.

View File

@@ -0,0 +1,47 @@
sets correct linker ABI flags on MIPS64
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=5f7f7d9615bf650cf99d581a33b3e18357f79951
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
diff -ru libtool-2.4.2.orig/libltdl/m4/libtool.m4 libtool-2.4.2/libltdl/m4/libtool.m4
--- libtool-2.4.2.orig/libltdl/m4/libtool.m4 2013-11-11 11:44:30.419396295 +0000
+++ libtool-2.4.2/libltdl/m4/libtool.m4 2013-11-11 11:44:07.055032308 +0000
@@ -1312,6 +1312,38 @@
rm -rf conftest*
;;
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.

View File

@@ -6,6 +6,7 @@ config BR2_PACKAGE_LOG4CXX
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # apr
help
Apache log4cxx is a logging framework for C++ patterned
after Apache log4j.
@@ -15,3 +16,4 @@ config BR2_PACKAGE_LOG4CXX
comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_LUA_EV
bool "lua-ev"
select BR2_PACKAGE_LIBEV
depends on !(BR2_avr32 || BR2_bfin) # libev
help
Get access to the libev library from Lua.

View File

@@ -16,19 +16,23 @@ config BR2_PACKAGE_LVM2
user-space. This makes it useful for not only LVM, but EVMS,
software raid, and other drivers that create "virtual" block devices.
config BR2_PACKAGE_LVM2_DMSETUP_ONLY
bool "install dmsetup only"
depends on BR2_PACKAGE_LVM2
if BR2_PACKAGE_LVM2
config BR2_PACKAGE_LVM2_STANDARD_INSTALL
bool "standard install instead of only dmsetup"
default y if !BR2_PACKAGE_LVM2_DMSETUP_ONLY # legacy 2013.11
help
Install dmsetup only and skip the LVM2 suite.
Install the standard suite of lvm2 programs. When this option is not
set, only dmsetup is installed.
config BR2_PACKAGE_LVM2_APP_LIBRARY
bool "install application library"
depends on BR2_PACKAGE_LVM2
depends on !BR2_PACKAGE_LVM2_DMSETUP_ONLY
select BR2_PACKAGE_LVM2_STANDARD_INSTALL
help
Install application library (liblvm2app).
endif
comment "lvm2 needs a toolchain w/ largefile"
depends on BR2_USE_MMU
depends on !BR2_LARGEFILE

View File

@@ -38,7 +38,7 @@ else
LVM2_CONF_OPT += --disable-readline
endif
ifeq ($(BR2_PACKAGE_LVM2_DMSETUP_ONLY),y)
ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),)
LVM2_MAKE_OPT = device-mapper
LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install_device-mapper
LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install_device-mapper

View File

@@ -2,7 +2,7 @@ config BR2_PACKAGE_MPLAYER
bool "mplayer"
# Those architectures are not supported by MPlayer
depends on !(BR2_sh2 || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|| BR2_microblaze || BR2_aarch64)
|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
# Broken support for <ARMv5
depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t \
|| BR2_arm920t || BR2_arm922t || BR2_fa526 || BR2_strongarm)

View File

@@ -385,6 +385,7 @@ config BR2_PACKAGE_QT_OPENSSL
config BR2_PACKAGE_QT_SCRIPT
bool "Script Module"
depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
default y
help
Build the Qt Script module.

View File

@@ -35,6 +35,7 @@ endif
QT_CFLAGS = $(TARGET_CFLAGS)
QT_CXXFLAGS = $(TARGET_CXXFLAGS)
QT_LDFLAGS = $(TARGET_LDFLAGS)
ifeq ($(BR2_LARGEFILE),y)
QT_CONFIGURE_OPTS += -largefile
@@ -320,6 +321,9 @@ endif
ifeq ($(BR2_PACKAGE_QT_OPENGL_ES),y)
QT_CONFIGURE_OPTS += -opengl es2 -egl
QT_DEPENDENCIES += libgles libegl
QT_CFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)
QT_CXXFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)
QT_LDFLAGS += $(shell $(PKG_CONFIG_HOST_BINARY) --libs egl)
else
QT_CONFIGURE_OPTS += -no-opengl
endif
@@ -490,7 +494,7 @@ define QT_CONFIGURE_CMDS
$(call QT_QMAKE_SET,QMAKE_STRIP,$(TARGET_STRIP),$(@D))
$(call QT_QMAKE_SET,QMAKE_CFLAGS,$(QT_CFLAGS),$(@D))
$(call QT_QMAKE_SET,QMAKE_CXXFLAGS,$(QT_CXXFLAGS),$(@D))
$(call QT_QMAKE_SET,QMAKE_LFLAGS,$(TARGET_LDFLAGS),$(@D))
$(call QT_QMAKE_SET,QMAKE_LFLAGS,$(QT_LDFLAGS),$(@D))
$(call QT_QMAKE_SET,PKG_CONFIG,$(HOST_DIR)/usr/bin/pkg-config,$(@D))
# Don't use TARGET_CONFIGURE_OPTS here, qmake would be compiled for the target
# instead of the host then. So set PKG_CONFIG* manually.

View File

@@ -9,6 +9,7 @@ menuconfig BR2_PACKAGE_QT5
depends on BR2_INET_IPV6
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_PACKAGE_QT
depends on !BR2_mips64 || !BR2_MIPS_NABI64
help
This option enables the Qt5 framework. Sub-options allow to
select which modules should be built.

View File

@@ -4,7 +4,7 @@
#
################################################################################
QUAGGA_VERSION = 0.99.22.3
QUAGGA_VERSION = 0.99.22.4
QUAGGA_SOURCE = quagga-$(QUAGGA_VERSION).tar.xz
QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
QUAGGA_DEPENDENCIES = host-gawk

View File

@@ -4,7 +4,7 @@
#
################################################################################
RUBY_VERSION = 1.9.3-p448
RUBY_VERSION = 1.9.3-p484
RUBY_SITE = ftp://ftp.ruby-lang.org/pub/ruby/1.9
RUBY_DEPENDENCIES = host-pkgconf host-ruby
HOST_RUBY_DEPENDENCIES = host-pkgconf

View File

@@ -3,6 +3,7 @@ config BR2_PACKAGE_SUBVERSION
select BR2_PACKAGE_APR_UTIL
# apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # apr
select BR2_PACKAGE_NEON
select BR2_PACKAGE_NEON_XML
help

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_TINYMEMBENCH
bool "tinymembench"
depends on !BR2_MIPS_NABI32 && !BR_MIPS_NABI64
depends on !BR2_MIPS_NABI32 && !BR2_MIPS_NABI64
help
Tinymembench is a simple memory benchmark program, which
tries to measure the peak bandwidth of sequential memory

View File

@@ -0,0 +1,15 @@
tvheadend: remove -Werror from CFLAGS
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
--- tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/Makefile.orig 2013-11-28 15:52:52.284041848 +0000
+++ tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/Makefile 2013-11-28 15:53:03.715220194 +0000
@@ -27,7 +27,7 @@ PROG := $(BUILDDIR)/tvheadend
# Common compiler flags
#
-CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
+CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations
CFLAGS += -Wmissing-prototypes -fms-extensions
CFLAGS += -g -funsigned-char -O2
CFLAGS += -D_FILE_OFFSET_BITS=64

View File

@@ -124,7 +124,7 @@ ported to util-linux-2.23.2
"%jd" /* (4) used */
"%d", /* priority */
+#ifndef HAVE_SCANF_MS_MODIFIER
+#ifdef HAVE_SCANF_MS_MODIFIER
&src,
&fs->swaptype,
+#else

View File

@@ -137,7 +137,7 @@ endef
define WPA_SUPPLICANT_BUILD_CMDS
$(TARGET_MAKE_ENV) CFLAGS="$(WPA_SUPPLICANT_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" BINDIR=/usr/sbin \
$(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(WPA_SUPPLICANT_SUBDIR)
endef