Compare commits

...

36 Commits

Author SHA1 Message Date
Peter Korsgaard
6bf057b0f2 Update for 2015.02
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 22:26:12 +01:00
Baruch Siach
4ba55e2287 gnupg2: needs dynamic library support
Fixes:
http://autobuild.buildroot.net/results/d2f/d2fc4cfb0c42d352d1119d8196d6df5fc2ab4be2/
http://autobuild.buildroot.net/results/4ff/4ff76c7da4c50f10d2194a1c50c6c10adaf6f8b6/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 22:26:12 +01:00
Fabio Porcedda
c2eca9eb90 package/libfribidi: add optional dependency on libglib2
Fix the following message when libglib2 is enabled but not already
built:
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
No package 'glib-2.0' found

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 22:02:31 +01:00
Fabio Porcedda
a74ed49f66 package/efl/libevas: add optional dependency on libfribidi
Fix the following message when libfribidi is enabled but not already
built:
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
No package 'fribidi' found

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 22:02:15 +01:00
Fabio Porcedda
40fa6dcdcc shared-mime-info: host variant requires libxml2 and libglib2
Add to HOST_SHARED_MIME_INFO_DEPENDENCIES the missing dependencies
host-libxml2 and host-libglib2.

Also remove from SHARED_MIME_INFO_DEPENDENCIES dependencies already
present in HOST_SHARED_MIME_INFO_DEPENDENCIES.

Fix build failure:
configure: error: Package requirements ( libxml-2.0 >= 2.4 glib-2.0 >= 2.6.0) were not met

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 21:58:41 +01:00
Yann E. MORIN
c9ba844ed0 package/rpi-firmware: fix config.txt parsing
The rpi-firmware we currently package has a fiscious bug, that happens
in corner cases while reading config.txt (mostly seen on RPi-2, but may
also occur on RPi-1).

Both the DT-aware and DT-unaware branches are affected.

Bump to the latest rpi-firmware to fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-01 00:15:41 +01:00
Gustavo Zacarias
b6997c8e4c gnupg: security bump to version 1.4.19
Fixes:
CVE-2014-3591 - Use ciphertext blinding for Elgamal decryption
CVE-2015-0837 - Fixed data-dependent timing variations in modular
exponentiation.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 13:04:04 +01:00
Gustavo Zacarias
b3db3aba6e libgcrypt: security bump to version 1.6.3
Fixes:
CVE-2014-3591 - Use ciphertext blinding for Elgamal decryption
CVE-2015-0837 - Fixed data-dependent timing variations in modular
exponentiation.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 13:03:54 +01:00
Peter Korsgaard
67cebbdf5f libsrtp: openssl handling needs shared library support
Fixes:
http://autobuild.buildroot.net/results/ab8/ab80094080c18602a2adb266981f53ebe0647f63/
http://autobuild.buildroot.net/results/a77/a770318af841610e0c10f61cf61bdae298aa59a8/
http://autobuild.buildroot.net/results/ce2/ce27f5b81b74320f4d2efbbaa4754c23fb2feeab/
http://autobuild.buildroot.net/results/57f/57f54c6f00953e8b7da70f4467f38cc9dfca2380/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 12:29:49 +01:00
Fabio Porcedda
ce6a0e685e x11r7/xcb-util-keysyms: depends on host-pkgconf and libxcb
Fix build failure:
./configure: line 11453: /home/tetsuya/buildroot/br/output/host/usr/bin/pkg-config: No such file or directory
configure: error: in `/home/tetsuya/buildroot/br/output/build/xcb-util-keysyms-0.3.9':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Fix build failure:
configure: error: Package requirements (xcb >= 1.4) were not met:

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 10:34:39 +01:00
Fabio Porcedda
1c499247ff freetype: host-freetype-patch requires host-automake
The "make host-freetype-patch" fails because using the autogen.sh script
doesn't find the autoconf tool. The problem was already fixed for
"make freetype-patch" adding the "host-automake" as a prerequisite to
freetype-patch, so fix it by adding "host-automake" as a prerequisite to
"host-freetype-patch" too.

Fix build failure:
running `autoconf --force'
./autogen.sh: line 15: autoconf: command not found
error while running `autoconf --force'
package/pkg-generic.mk:146: recipe for target 'buildroot/output/build/host-freetype-2.5.5/.stamp_patched' failed

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 10:10:21 +01:00
Fabio Porcedda
a9079c7d86 package/civetweb: fix build error on a host with make v4.0
Add a patch to fix a typo that on a system with make v4.0 and
BR2_CIVETWEB_WITH_LUA=y fails to build:
  Makefile:203: *** mixed implicit and normal rules.  Stop.

The patch was not sent upstream because this problem is already fixed on
master.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 10:02:21 +01:00
Yann E. MORIN
7cbfc35ed3 configs/raspberrypi_dt: update and fix our defconfig
Lock to 3.18 headers; add comment about installing DTBs;
bump kernel sha1.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 08:10:48 +01:00
Vicente Olivert Riera
63f5f44e61 pinentry: fix ncurses' unsafe header path
pinentry sets the NCURSES_INCLUDE variable in the Makefile to
/usr/include/ncurses and that causes problems when cross-compiling
because it fails with an error like this one:

Making all in curses
make[3]: Entering directory `/br/output/build/pinentry-0.9.0/curses'
/br/output/host/usr/bin/mips64el-ctng_n64-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I..  -I/usr/include/ncursesw -I../pinentry -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -Wall -Wcast-align
-Wshadow -Wstrict-prototypes -Wno-pointer-sign -c pinentry-curses.c
mips64el-ctng_n64-linux-gnu-gcc: ERROR: unsafe header/library path used
in cross-compilation: '/usr/include/ncursesw'
make[3]: *** [pinentry-curses.o] Error 1

Fixes:

  http://autobuild.buildroot.net/results/5b9/5b9b53a37f7cf4bab4d989f852726a0f0885605f/

[Peter: use --with-ncurses-include-dir=none instead]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-28 08:10:48 +01:00
Fabio Porcedda
5f91f5765a libxmlrpc: add missing braces for variable CURL_CONFIG in patch 4
Change $CURL_CONFIG to $(CURL_CONFIG) in the patch
0004-use-correct-curl-config.patch because in a makefile the braces are
required to expand a variable.

Fix error messages:
make[3]: Entering directory '/home/tetsuya/buildroot/br2/output/build/libxmlrpc-1.25.30/lib/curl_transport'
make[3]: URL_CONFIG: Command not found
/bin/sh: line 0: test: <: unary operator expected
make[3]: URL_CONFIG: Command not found

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 17:18:38 +01:00
Gustavo Zacarias
9d13019edd vlc: security bump to version 2.1.6
* Fix heap overflow in decomp stream filter
* Fix buffer overflow in updater
* Fix potential buffer overflow in schroedinger encoder
* Fix null-pointer dereference in DMO decoder
* Fix buffer overflow in parsing of string boxes in mp4 demuxer
* Fix SRTP integer overflow
* Fix potential crash in zip access
* Fix read overflow in Ogg demuxer

And also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 17:13:57 +01:00
Peter Korsgaard
fb56d37163 libupnpp: fix libupnp detection with static linking
Fixes http://autobuild.buildroot.net/results/566/566e1510f94670d4ff642c7bfa9918c1d9ec583f/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 16:43:46 +01:00
Sébastien Szymanski
a0e44a348a linux: add support for 4.x versions
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 16:14:27 +01:00
Baruch Siach
c6c8fbcdf4 gpm: avoid use of host emacs
configure looks for emacs installation to byte compile .el files. This may
break the build if the host installed emacs is missing needed dependencies.
Since we don't (yet?) package emacs for target, just disable detection of
emacs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 14:47:53 +01:00
Baruch Siach
b17e5352ca gnupg2: security bump to version 2.0.27
Fixes:

CVE-2015-1606: Use after free, resulting from failure to skip invalid packets

CVE-2015-1607: memcpy with overlapping ranges, resulting from incorrect
bitwise left shifts

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 13:56:49 +01:00
Pedro Aguilar
10900c0715 libgc: Remove duplicated package
Remove libgc that is a copy of bdwgc but it's not used
by any package and gives an error when building make-4.1.
bdwgc is a mandatory dependency for guile.

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

Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
[baruch: added Reported-by, Config.in.legacy entry, autobuilder reference]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 09:24:10 +01:00
Peter Korsgaard
6a56d7d9d2 ding-libs: fix build with !locale
It needs libiconv if the toolchain doesn't have iconv support.

Fixes:
http://autobuild.buildroot.net/results/60f/60f85a2144b167f33ed674ff5979c1ef20bc0555/
http://autobuild.buildroot.net/results/76d/76d249f5a85da72cc53a3e66202c372dc33c9c38/
http://autobuild.buildroot.net/results/9f7/9f78043f549e09d020d69f45cd26c3e43a91d9dc/
http://autobuild.buildroot.net/results/8a5/8a586b781b6923444857ef58de659e5f0e8652ee/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 09:21:32 +01:00
Peter Korsgaard
f29bb169cf libevent: fix openssl detection when statically linking
Fixes (indirectly):
http://autobuild.buildroot.net/results/dbf/dbf2d348de3831a86728f9d72cb56b9f2ddbf554/
http://autobuild.buildroot.net/results/6a8/6a89183e558e4ff27841c3e544687ad4a04fb036/
http://autobuild.buildroot.net/results/c80/c80eedb4d7335f1aef736a1312900c2b371eabc9/
http://autobuild.buildroot.net/results/91b/91b4ab54ed9d422bfaef765d09cc92192012ce7e/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 08:54:33 +01:00
Peter Korsgaard
0278ba33bb directfb-examples: drop usr/bin path from sub options text
Nowhere else do we list the explicit path where binaries are installed to,
so drop it from here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:15:59 +01:00
Peter Korsgaard
b1f83fefcb directfb-examples: drop explicit stripping when installing into target
Stripping is globally handled by target-finalize (if enabled), so drop it
from here.

Reported-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:13:44 +01:00
Peter Seiderer
b3d1a543f7 directfb-examples: explicitly add -lstdc++ for static build
Fixes [1] and [2]:
undefined reference to `___cxa_pure_virtual'
undefined reference to `___gxx_personality_v0'

[1] http://autobuild.buildroot.net/results/bd0/bd0f4b3e41bf6330f83e3d9b58d985cc63506a3b/
[2] http://autobuild.buildroot.net/results/584/584ace383204d97fcaad37742e2e035ca78a3d10/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:11:32 +01:00
Baruch Siach
38ee8a8e16 make: depend on guile explicitly when available
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-26 23:25:03 +01:00
Romain Naour
5d15655964 package/libsrtp: fix static build with openssl
libsrtp forget to link with zlib for static build when openssl
support is requested.

The issue was reported upstream by Vicente Olivert Riera:
https://github.com/cisco/libsrtp/issues/97

Backport upstream patch for the upcoming libsrtp 1.5.2.
Since the libsrtp package already use AUTORECONF, apply only
the changes for configure.in.

Fixes:
http://autobuild.buildroot.net/results/a71/a71d85a5bb9af2ee82a8e61054025bceb03dbdeb/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-26 23:05:38 +01:00
Peter Korsgaard
db2cbeee44 libgtk2: ensure faq/tutorial isn't regenerated
As we don't need them, the tarball already contains generated documentation
and it fails to build with certain versions of db2html:

http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/65165

Reported-by: Justin Swartz <justin.swartz@nym.hush.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-26 00:19:02 +01:00
Gustavo Zacarias
3cf45f5697 libshout: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:50:16 +01:00
Gustavo Zacarias
9f90ce88d5 vorbis-tools: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:50:02 +01:00
Gustavo Zacarias
4ef6b9ff86 libtheora: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:49:38 +01:00
Gustavo Zacarias
f6b985be30 libao: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:49:21 +01:00
Gustavo Zacarias
c07a1bd122 opus: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:48:58 +01:00
Gustavo Zacarias
489af59473 glibc: add security patches for CVE-2015-1472
Fixes CVE-2015-1472 - heap buffer overflow in wscanf.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 17:17:09 +01:00
Julien Boibessot
752dd650b5 package/gstreamer[0/1]: rename BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX config option.
1] BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX is not defined anywhere
 2] qtdemux is not a plugin by itself but belongs to isomp4

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 17:12:52 +01:00
52 changed files with 586 additions and 128 deletions

14
CHANGES
View File

@@ -1,3 +1,17 @@
2015.02, Released March 1st, 2015
Minor fixes.
Updated/fixed packages: civetweb, ding-libs,
directfb-examples, glibc, gnupg, gnupg2, gpm,
gst-plugins-good, gst1-plugins-good, freetype, libao, libevas,
libevent, libfribidi, libgcrypt, libgtk2, libshout, libsrtp,
libtheora, libupnpp, libxmlrpc, linux, make, opus, pinentry,
rpi-firmware, shared-mime-info, vlc, vorbis-tools,
xcb-util-keysyms
Removed packages: libgc
2015.02-rc3, Released February 24th, 2015
Minor fixes.

View File

@@ -102,6 +102,14 @@ endif
comment "Legacy options removed in 2015.02"
config BR2_PACKAGE_LIBGC
bool "libgc package removed"
select BR2_LEGACY
select BR2_PACKAGE_BDWGC
help
libgc has been removed because we have the same package under a
different name, bdwgc.
config BR2_PACKAGE_WDCTL
bool "util-linux' wdctl option has been renamed"
select BR2_LEGACY

View File

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

View File

@@ -1,12 +1,22 @@
BR2_arm=y
BR2_arm1176jzf_s=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
# Lock to 3.18 headers as the RPi kernel with
# DT support is based off the 3.18 branch
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.18"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/raspberrypi/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="03d0d9c73c17f74a7afa64ed9f022565e89b8dd5"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="246530ff8a4f302b8666c6d9cf509407d8c1257a"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/raspberrypi/linux-3.18-rpi-dt.defconfig"
BR2_LINUX_KERNEL_ZIMAGE=y
# Install the DTB files
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y

View File

@@ -7,17 +7,17 @@
<p>
The latest stable release is <b>2014.11</b>, which can be downloaded
The latest stable release is <b>2015.02</b>, which can be downloaded
here:<p>
<a href="/downloads/buildroot-2014.11.tar.gz">buildroot-2014.11.tar.gz</a>
(<a href="/downloads/buildroot-2014.11.tar.gz.sign">PGP signature</a>)
<a href="/downloads/buildroot-2015.02.tar.gz">buildroot-2015.02.tar.gz</a>
(<a href="/downloads/buildroot-2015.02.tar.gz.sign">PGP signature</a>)
or
<a href="/downloads/buildroot-2014.11.tar.bz2">buildroot-2014.11.tar.bz2</a>
(<a href="/downloads/buildroot-2014.11.tar.bz2.sign">PGP signature</a>).
<a href="/downloads/buildroot-2015.02.tar.bz2">buildroot-2015.02.tar.bz2</a>
(<a href="/downloads/buildroot-2015.02.tar.bz2.sign">PGP signature</a>).
<p>
<!--
The latest release candidate is <b>2015.02-rc3</b>, which can be
downloaded here:<p>
@@ -32,7 +32,7 @@ This and earlier releases (and their PGP signatures) can always be downloaded fr
<a href="/downloads/">http://buildroot.net/downloads/</a>.
<p>
-->
You can also obtain daily snapshots of the latest Buildroot source tree if you
want to follow development, but cannot or do not wish to use Git.

View File

@@ -8,7 +8,16 @@
<p>
<ul>
<li><b>24 February 2015 -- 2015.02-rc3 released</b>
<li><b>1 March 2015 -- 2015.02 released</b>
<p>The stable 2015.02 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2015.02">CHANGES</a>
file for more details,
and go to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2015.02.tar.bz2">2015.02 release</a>.</p>
<li><b>24 February 2015 -- 2015.02-rc3 released</b>
<p>Release candidate 3 is out with more cleanups and security / build fixes. See the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2015.02-rc3">CHANGES</a>

View File

@@ -25,12 +25,14 @@ LINUX_SITE_METHOD = hg
else
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
# In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
# to use the $(word) function. We support versions such as 3.1,
# to use the $(word) function. We support versions such as 4.0, 3.1,
# 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.)
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
else
else ifeq ($(findstring x3.,x$(LINUX_VERSION)),x3.)
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.)
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
endif
# release candidates are in testing/ subdir
ifneq ($(findstring -rc,$(LINUX_VERSION)),)

View File

@@ -948,7 +948,6 @@ menu "Other"
source "package/libevdev/Config.in"
source "package/libevent/Config.in"
source "package/libffi/Config.in"
source "package/libgc/Config.in"
source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/liblinear/Config.in"

View File

@@ -0,0 +1,27 @@
From 0821066f9adf8410891cd07684ecac50a9bc36a4 Mon Sep 17 00:00:00 2001
From: Fabio Porcedda <fabio.porcedda@gmail>
Date: Wed, 25 Feb 2015 18:40:24 +0100
Subject: [PATCH] Lua: fix a typo changing %(LFS_DIR) to $(LFS_DIR)
Also this fix a error on GNU Make v4.0:
Makefile:203: *** mixed implicit and normal rules. Stop.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail>
---
resources/Makefile.in-lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/Makefile.in-lua b/resources/Makefile.in-lua
index 0902f11..f3d95fd 100644
--- a/resources/Makefile.in-lua
+++ b/resources/Makefile.in-lua
@@ -57,5 +57,5 @@ LFS_CFLAGS = -I$(LFS_DIR)
OBJECTS += $(LUA_OBJECTS) $(SQLITE_OBJECTS) $(LFS_OBJECTS)
CFLAGS += $(LUA_CFLAGS) $(SQLITE_CFLAGS) $(LFS_CFLAGS) -DUSE_LUA -DUSE_LUA_SQLITE3 -DUSE_LUA_FILE_SYSTEM
-SOURCE_DIRS = $(LUA_DIR) $(SQLITE_DIR) %(LFS_DIR)
+SOURCE_DIRS = $(LUA_DIR) $(SQLITE_DIR) $(LFS_DIR)
--
2.3.0

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_DING_LIBS
bool "ding-libs"
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
depends on BR2_USE_WCHAR || !BR2_NEEDS_GETTEXT
help
The ding-libs packages contain a set of libraries used by

View File

@@ -7,7 +7,9 @@
DING_LIBS_VERSION = 0_4_0
DING_LIBS_SOURCE = ding_libs-$(DING_LIBS_VERSION).tar.xz
DING_LIBS_SITE = https://git.fedorahosted.org/cgit/ding-libs.git/snapshot
DING_LIBS_DEPENDENCIES = $(if $(BR2_PACKAGE_GETTEXT),gettext) host-pkgconf
DING_LIBS_DEPENDENCIES = host-pkgconf \
$(if $(BR2_PACKAGE_GETTEXT),gettext) \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
DING_LIBS_INSTALL_STAGING = YES
DING_LIBS_LICENSE = LGPLv3+ (library),GPLv3+ (test programs)
DING_LIBS_LICENSE_FILES = COPYING COPYING.LESSER

View File

@@ -11,146 +11,146 @@ config BR2_PACKAGE_DIRECTFB_EXAMPLES
if BR2_PACKAGE_DIRECTFB_EXAMPLES
config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI
bool "usr/bin/df_andi"
bool "df_andi"
help
Penguin demo, press 'space' to form convergence logo,
's'/'d' to spawn/destroy 'a' penguin, 'r' to revive penguin
after space was pressed, 'c' tests clipping.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_BLTLOAD
bool "usr/bin/df_bltload"
bool "df_bltload"
help
Reads information from /proc/bltstat.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_CPULOAD
bool "usr/bin/df_cpuload"
bool "df_cpuload"
help
CPU Load with data from /proc/stat.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_DATABUFFER
bool "usr/bin/df_databuffer"
bool "df_databuffer"
help
Simple test application for data buffers.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_DIOLOAD
bool "usr/bin/df_dioload"
bool "df_dioload"
help
Disk IO with data from /proc/stat.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK
bool "usr/bin/df_dok"
bool "df_dok"
help
DirectFB benchmark application, runs some tests and
displays benchmark results afterwards.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST
bool "usr/bin/df_drivertest"
bool "df_drivertest"
help
Tool to check drivers for bugs and accuracy.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_FIRE
bool "usr/bin/df_fire"
bool "df_fire"
help
The famous fire effect ported to DirectFB (16 bpp only).
config BR2_PACKAGE_DIRECTFB_EXAMPLES_FLIP
bool "usr/bin/df_flip"
bool "df_flip"
help
Raw Flip() benchmark.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_FONTS
bool "usr/bin/df_fonts"
bool "df_fonts"
help
Takes a list of font files and shows character tables.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_INPUT
bool "usr/bin/df_input"
bool "df_input"
help
Test application for input devices.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_JOYSTICK
bool "usr/bin/df_joystick"
bool "df_joystick"
help
A colored version of df_particle, fointain can be moved with
joystick. The particles of different colors can be spawned
with different joystick buttons (1-4).
config BR2_PACKAGE_DIRECTFB_EXAMPLES_KNUCKLES
bool "usr/bin/df_knuckles"
bool "df_knuckles"
help
3D skull drawn using triangles that can be rotated using
the mouse. 'Space' switches to wireframe, 'b' toggles
backface culling.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_LAYER
bool "usr/bin/df_layer"
bool "df_layer"
help
Simple videoplayer with layers.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX
bool "usr/bin/df_matrix"
bool "df_matrix"
help
Testing SetMatrix() for free transforms.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX_WATER
bool "usr/bin/df_matrix_water"
bool "df_matrix_water"
help
Same as df_matrix, but using new Water API.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_NEO
bool "usr/bin/df_neo"
bool "df_neo"
help
Port from a gdk-pixbuf demo to DirectFB, uses scaling,
alpha blending and color modulation, use cursor keys and
space to change parameters.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_NETLOAD
bool "usr/bin/df_netload"
bool "df_netload"
help
Network statistica from /proc/net/dev.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_PALETTE
bool "usr/bin/df_palette"
bool "df_palette"
help
A example blitting from a surface with a
rotating/morphing palette.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_PARTICLE
bool "usr/bin/df_particle"
bool "df_particle"
help
A moving fountain consisting of alphablended rectangles,
nice and fast if hardware accelerated.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_PORTER
bool "usr/bin/df_porter"
bool "df_porter"
help
Shows porter/duff blending rules.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_STRESS
bool "usr/bin/df_stress"
bool "df_stress"
help
Stress tests surface manager, for debugging purposes only.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_TEXTURE
bool "usr/bin/df_texture"
bool "df_texture"
help
A simple texture example. The 3d windows can be rotated
with the mouse.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO
bool "usr/bin/df_video"
bool "df_video"
help
Shows window stack with alpha blending and video playback
in a moving window.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO_PARTICLE
bool "usr/bin/df_video_particle"
bool "df_video_particle"
help
Same as df_particle, but the rectangles have been
replaced by a video (via video4linux). Nice color effects.
config BR2_PACKAGE_DIRECTFB_EXAMPLES_WINDOW
bool "usr/bin/df_window"
bool "df_window"
help
Simple demonstration of the DirectFB window stack, follow
the instructions in the upper left corner. Pass a video

View File

@@ -12,6 +12,10 @@ DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING
DIRECTFB_EXAMPLES_INSTALL_STAGING = YES
DIRECTFB_EXAMPLES_DEPENDENCIES = directfb
ifeq ($(BR2_STATIC_LIBS),y)
DIRECTFB_EXAMPLES_CONF_OPTS += LIBS=-lstdc++
endif
DIRECTFB_EXAMPLES_TARGETS_ =
DIRECTFB_EXAMPLES_TARGETS_y =
@@ -94,7 +98,6 @@ define DIRECTFB_EXAMPLES_INSTALL_TARGET_CMDS
$(Q)mkdir -p $(TARGET_DIR)/usr/share/directfb-examples/fonts/
$(Q)for file in $(DIRECTFB_EXAMPLES_TARGETS_y); do \
cp -dpf $(STAGING_DIR)/$$file $(TARGET_DIR)/$$file; \
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$$file; \
done
$(Q)cp -rdpf $(STAGING_DIR)/usr/share/directfb-examples/fonts/decker.ttf $(TARGET_DIR)/usr/share/directfb-examples/fonts/
$(Q)for file in $(DIRECTFB_EXAMPLES_FONT_y); do \

View File

@@ -225,6 +225,13 @@ else
LIBEVAS_CONF_OPTS += --disable-fontconfig
endif
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
LIBEVAS_CONF_OPTS += --enable-fribidi
LIBEVAS_DEPENDENCIES += libfribidi
else
LIBEVAS_CONF_OPTS += --disable-fribidi
endif
# libevas installs the source code of examples on the target, which
# are generally not useful.
define LIBEVAS_REMOVE_EXAMPLES

View File

@@ -98,6 +98,7 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
$(eval $(autotools-package))
$(eval $(host-autotools-package))
# freetype-patch uses autogen.sh so add it as a order-only-prerequisite
# because it is a phony target.
$(FREETYPE_TARGET_PATCH): | host-automake
# freetype-patch and host-freetype-patch use autogen.sh so add
# host-automake as a order-only-prerequisite because it is a phony
# target.
$(FREETYPE_TARGET_PATCH) $(HOST_FREETYPE_TARGET_PATCH): | host-automake

View File

@@ -0,0 +1,88 @@
Fix CVE-2015-1472 - heap buffer overflow in wscanf
Backport from upstream:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
See: https://bugzilla.redhat.com/show_bug.cgi?id=1188235
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index aece3f2..8a2eb9e 100644
--- a/libc/stdio-common/tst-sscanf.c
+++ b/libc/stdio-common/tst-sscanf.c
@@ -233,5 +233,38 @@ main (void)
}
}
+ /* BZ #16618
+ The test will segfault during SSCANF if the buffer overflow
+ is not fixed. The size of `s` is such that it forces the use
+ of malloc internally and this triggers the incorrect computation.
+ Thus the value for SIZE is arbitrariy high enough that malloc
+ is used. */
+ {
+#define SIZE 131072
+ CHAR *s = malloc ((SIZE + 1) * sizeof (*s));
+ if (s == NULL)
+ abort ();
+ for (size_t i = 0; i < SIZE; i++)
+ s[i] = L('0');
+ s[SIZE] = L('\0');
+ int i = 42;
+ /* Scan multi-digit zero into `i`. */
+ if (SSCANF (s, L("%d"), &i) != 1)
+ {
+ printf ("FAIL: bug16618: SSCANF did not read one input item.\n");
+ result = 1;
+ }
+ if (i != 0)
+ {
+ printf ("FAIL: bug16618: Value of `i` was not zero as expected.\n");
+ result = 1;
+ }
+ free (s);
+ if (result != 1)
+ printf ("PASS: bug16618: Did not crash.\n");
+#undef SIZE
+ }
+
+
return result;
}
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index cd129a8..0e204e7 100644
--- a/libc/stdio-common/vfscanf.c
+++ b/libc/stdio-common/vfscanf.c
@@ -272,9 +272,10 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
if (__glibc_unlikely (wpsize == wpmax)) \
{ \
CHAR_T *old = wp; \
- size_t newsize = (UCHAR_MAX + 1 > 2 * wpmax \
- ? UCHAR_MAX + 1 : 2 * wpmax); \
- if (use_malloc || !__libc_use_alloca (newsize)) \
+ bool fits = __glibc_likely (wpmax <= SIZE_MAX / sizeof (CHAR_T) / 2); \
+ size_t wpneed = MAX (UCHAR_MAX + 1, 2 * wpmax); \
+ size_t newsize = fits ? wpneed * sizeof (CHAR_T) : SIZE_MAX; \
+ if (!__libc_use_alloca (newsize)) \
{ \
wp = realloc (use_malloc ? wp : NULL, newsize); \
if (wp == NULL) \
@@ -286,14 +287,13 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
} \
if (! use_malloc) \
MEMCPY (wp, old, wpsize); \
- wpmax = newsize; \
+ wpmax = wpneed; \
use_malloc = true; \
} \
else \
{ \
size_t s = wpmax * sizeof (CHAR_T); \
- wp = (CHAR_T *) extend_alloca (wp, s, \
- newsize * sizeof (CHAR_T)); \
+ wp = (CHAR_T *) extend_alloca (wp, s, newsize); \
wpmax = s / sizeof (CHAR_T); \
if (old != NULL) \
MEMCPY (wp, old, wpsize); \
--
1.9.4

View File

@@ -0,0 +1,88 @@
Fix CVE-2015-1472 - heap buffer overflow in wscanf
Backport from upstream:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
See: https://bugzilla.redhat.com/show_bug.cgi?id=1188235
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index aece3f2..8a2eb9e 100644
--- a/libc/stdio-common/tst-sscanf.c
+++ b/libc/stdio-common/tst-sscanf.c
@@ -233,5 +233,38 @@ main (void)
}
}
+ /* BZ #16618
+ The test will segfault during SSCANF if the buffer overflow
+ is not fixed. The size of `s` is such that it forces the use
+ of malloc internally and this triggers the incorrect computation.
+ Thus the value for SIZE is arbitrariy high enough that malloc
+ is used. */
+ {
+#define SIZE 131072
+ CHAR *s = malloc ((SIZE + 1) * sizeof (*s));
+ if (s == NULL)
+ abort ();
+ for (size_t i = 0; i < SIZE; i++)
+ s[i] = L('0');
+ s[SIZE] = L('\0');
+ int i = 42;
+ /* Scan multi-digit zero into `i`. */
+ if (SSCANF (s, L("%d"), &i) != 1)
+ {
+ printf ("FAIL: bug16618: SSCANF did not read one input item.\n");
+ result = 1;
+ }
+ if (i != 0)
+ {
+ printf ("FAIL: bug16618: Value of `i` was not zero as expected.\n");
+ result = 1;
+ }
+ free (s);
+ if (result != 1)
+ printf ("PASS: bug16618: Did not crash.\n");
+#undef SIZE
+ }
+
+
return result;
}
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index cd129a8..0e204e7 100644
--- a/libc/stdio-common/vfscanf.c
+++ b/libc/stdio-common/vfscanf.c
@@ -272,9 +272,10 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
if (__glibc_unlikely (wpsize == wpmax)) \
{ \
CHAR_T *old = wp; \
- size_t newsize = (UCHAR_MAX + 1 > 2 * wpmax \
- ? UCHAR_MAX + 1 : 2 * wpmax); \
- if (use_malloc || !__libc_use_alloca (newsize)) \
+ bool fits = __glibc_likely (wpmax <= SIZE_MAX / sizeof (CHAR_T) / 2); \
+ size_t wpneed = MAX (UCHAR_MAX + 1, 2 * wpmax); \
+ size_t newsize = fits ? wpneed * sizeof (CHAR_T) : SIZE_MAX; \
+ if (!__libc_use_alloca (newsize)) \
{ \
wp = realloc (use_malloc ? wp : NULL, newsize); \
if (wp == NULL) \
@@ -286,14 +287,13 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
} \
if (! use_malloc) \
MEMCPY (wp, old, wpsize); \
- wpmax = newsize; \
+ wpmax = wpneed; \
use_malloc = true; \
} \
else \
{ \
size_t s = wpmax * sizeof (CHAR_T); \
- wp = (CHAR_T *) extend_alloca (wp, s, \
- newsize * sizeof (CHAR_T)); \
+ wp = (CHAR_T *) extend_alloca (wp, s, newsize); \
wpmax = s / sizeof (CHAR_T); \
if (old != NULL) \
MEMCPY (wp, old, wpsize); \
--
1.9.4

View File

@@ -0,0 +1,88 @@
Fix CVE-2015-1472 - heap buffer overflow in wscanf
Backport from upstream:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
See: https://bugzilla.redhat.com/show_bug.cgi?id=1188235
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index aece3f2..8a2eb9e 100644
--- a/stdio-common/tst-sscanf.c
+++ b/stdio-common/tst-sscanf.c
@@ -233,5 +233,38 @@ main (void)
}
}
+ /* BZ #16618
+ The test will segfault during SSCANF if the buffer overflow
+ is not fixed. The size of `s` is such that it forces the use
+ of malloc internally and this triggers the incorrect computation.
+ Thus the value for SIZE is arbitrariy high enough that malloc
+ is used. */
+ {
+#define SIZE 131072
+ CHAR *s = malloc ((SIZE + 1) * sizeof (*s));
+ if (s == NULL)
+ abort ();
+ for (size_t i = 0; i < SIZE; i++)
+ s[i] = L('0');
+ s[SIZE] = L('\0');
+ int i = 42;
+ /* Scan multi-digit zero into `i`. */
+ if (SSCANF (s, L("%d"), &i) != 1)
+ {
+ printf ("FAIL: bug16618: SSCANF did not read one input item.\n");
+ result = 1;
+ }
+ if (i != 0)
+ {
+ printf ("FAIL: bug16618: Value of `i` was not zero as expected.\n");
+ result = 1;
+ }
+ free (s);
+ if (result != 1)
+ printf ("PASS: bug16618: Did not crash.\n");
+#undef SIZE
+ }
+
+
return result;
}
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index cd129a8..0e204e7 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -272,9 +272,10 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
if (__glibc_unlikely (wpsize == wpmax)) \
{ \
CHAR_T *old = wp; \
- size_t newsize = (UCHAR_MAX + 1 > 2 * wpmax \
- ? UCHAR_MAX + 1 : 2 * wpmax); \
- if (use_malloc || !__libc_use_alloca (newsize)) \
+ bool fits = __glibc_likely (wpmax <= SIZE_MAX / sizeof (CHAR_T) / 2); \
+ size_t wpneed = MAX (UCHAR_MAX + 1, 2 * wpmax); \
+ size_t newsize = fits ? wpneed * sizeof (CHAR_T) : SIZE_MAX; \
+ if (!__libc_use_alloca (newsize)) \
{ \
wp = realloc (use_malloc ? wp : NULL, newsize); \
if (wp == NULL) \
@@ -286,14 +287,13 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
} \
if (! use_malloc) \
MEMCPY (wp, old, wpsize); \
- wpmax = newsize; \
+ wpmax = wpneed; \
use_malloc = true; \
} \
else \
{ \
size_t s = wpmax * sizeof (CHAR_T); \
- wp = (CHAR_T *) extend_alloca (wp, s, \
- newsize * sizeof (CHAR_T)); \
+ wp = (CHAR_T *) extend_alloca (wp, s, newsize); \
wpmax = s / sizeof (CHAR_T); \
if (old != NULL) \
MEMCPY (wp, old, wpsize); \
--
1.9.4

View File

@@ -0,0 +1,88 @@
Fix CVE-2015-1472 - heap buffer overflow in wscanf
Backport from upstream:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
See: https://bugzilla.redhat.com/show_bug.cgi?id=1188235
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index aece3f2..8a2eb9e 100644
--- a/stdio-common/tst-sscanf.c
+++ b/stdio-common/tst-sscanf.c
@@ -233,5 +233,38 @@ main (void)
}
}
+ /* BZ #16618
+ The test will segfault during SSCANF if the buffer overflow
+ is not fixed. The size of `s` is such that it forces the use
+ of malloc internally and this triggers the incorrect computation.
+ Thus the value for SIZE is arbitrariy high enough that malloc
+ is used. */
+ {
+#define SIZE 131072
+ CHAR *s = malloc ((SIZE + 1) * sizeof (*s));
+ if (s == NULL)
+ abort ();
+ for (size_t i = 0; i < SIZE; i++)
+ s[i] = L('0');
+ s[SIZE] = L('\0');
+ int i = 42;
+ /* Scan multi-digit zero into `i`. */
+ if (SSCANF (s, L("%d"), &i) != 1)
+ {
+ printf ("FAIL: bug16618: SSCANF did not read one input item.\n");
+ result = 1;
+ }
+ if (i != 0)
+ {
+ printf ("FAIL: bug16618: Value of `i` was not zero as expected.\n");
+ result = 1;
+ }
+ free (s);
+ if (result != 1)
+ printf ("PASS: bug16618: Did not crash.\n");
+#undef SIZE
+ }
+
+
return result;
}
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index cd129a8..0e204e7 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -272,9 +272,10 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
if (__glibc_unlikely (wpsize == wpmax)) \
{ \
CHAR_T *old = wp; \
- size_t newsize = (UCHAR_MAX + 1 > 2 * wpmax \
- ? UCHAR_MAX + 1 : 2 * wpmax); \
- if (use_malloc || !__libc_use_alloca (newsize)) \
+ bool fits = __glibc_likely (wpmax <= SIZE_MAX / sizeof (CHAR_T) / 2); \
+ size_t wpneed = MAX (UCHAR_MAX + 1, 2 * wpmax); \
+ size_t newsize = fits ? wpneed * sizeof (CHAR_T) : SIZE_MAX; \
+ if (!__libc_use_alloca (newsize)) \
{ \
wp = realloc (use_malloc ? wp : NULL, newsize); \
if (wp == NULL) \
@@ -286,14 +287,13 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
} \
if (! use_malloc) \
MEMCPY (wp, old, wpsize); \
- wpmax = newsize; \
+ wpmax = wpneed; \
use_malloc = true; \
} \
else \
{ \
size_t s = wpmax * sizeof (CHAR_T); \
- wp = (CHAR_T *) extend_alloca (wp, s, \
- newsize * sizeof (CHAR_T)); \
+ wp = (CHAR_T *) extend_alloca (wp, s, newsize); \
wpmax = s / sizeof (CHAR_T); \
if (old != NULL) \
MEMCPY (wp, old, wpsize); \
--
1.9.4

View File

@@ -1,2 +1,2 @@
# Locally calculated after checking pgp signature
sha256 b7b5fdda78849955e0cdbc5a085f3a08f8b7fba126c622085debb62def5d6388 gnupg-1.4.18.tar.bz2
# From http://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000363.html
sha1 5503f7faa0a0e84450838706a67621546241ca50 gnupg-1.4.19.tar.bz2

View File

@@ -4,7 +4,7 @@
#
################################################################################
GNUPG_VERSION = 1.4.18
GNUPG_VERSION = 1.4.19
GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
GNUPG_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg
GNUPG_LICENSE = GPLv3+

View File

@@ -1,3 +1,7 @@
comment "gnupg2 needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_GNUPG2
bool "gnupg2"
select BR2_PACKAGE_ZLIB
@@ -9,6 +13,7 @@ config BR2_PACKAGE_GNUPG2
select BR2_PACKAGE_LIBPTHSEM_COMPAT
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
depends on BR2_USE_MMU # libassuan
depends on !BR2_STATIC_LIBS
help
GnuPG is the GNU project's complete and free implementation
of the OpenPGP standard as defined by RFC4880. GnuPG allows

View File

@@ -1,2 +1,2 @@
# Locally calculated after checking pgp signature
sha256 7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0 gnupg-2.0.26.tar.bz2
# From http://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000362.html
sha1 d065be185f5bac8ea07b210ab7756e79b83b63d4 gnupg-2.0.27.tar.bz2

View File

@@ -4,7 +4,7 @@
#
################################################################################
GNUPG2_VERSION = 2.0.26
GNUPG2_VERSION = 2.0.27
GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2
GNUPG2_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg
GNUPG2_LICENSE = GPLv3+

View File

@@ -15,7 +15,8 @@ GPM_DEPENDENCIES = host-bison
# if not already installed in staging dir, gpm Makefile may fail to find some
# of the headers needed to generate build dependencies, the first time it is
# built. CPPFLAGS is used to pass the right include path to dependency rules.
GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/"
GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/" \
ac_cv_path_emacs=no
# For some reason, Microblaze gcc does not define __ELF__, which gpm
# configure script uses to determine whether the architecture uses ELF

View File

@@ -27,11 +27,11 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2
config BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB
bool "zlib support"
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4 || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
select BR2_PACKAGE_ZLIB
help
Enable zlib support for the following plugins:
id3demux, qtdemux, matroska
id3demux, isomp4, matroska
comment "dependency-less plugins"

View File

@@ -34,11 +34,11 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2
config BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB
bool "zlib support"
depends on BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QTDEMUX || BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
depends on BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4 || BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
select BR2_PACKAGE_ZLIB
help
Enable zlib support for the following plugins:
id3demux, qtdemux, matroska
id3demux, isomp4, matroska
comment "dependency-less plugins"

2
package/libao/libao.hash Normal file
View File

@@ -0,0 +1,2 @@
# From http://downloads.xiph.org/releases/ao/SHA256SUMS.txt
sha256 03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf libao-1.2.0.tar.gz

View File

@@ -26,6 +26,11 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBEVENT_DEPENDENCIES += openssl
LIBEVENT_CONF_OPTS += --enable-openssl
# openssl needs zlib but configure forgets to link against it causing
# openssl detection to fail
ifeq ($(BR2_STATIC_LIBS),y)
LIBEVENT_CONF_ENV += OPENSSL_LIBADD='-lz'
endif
else
LIBEVENT_CONF_OPTS += --disable-openssl
endif

View File

@@ -15,4 +15,10 @@ LIBFRIBIDI_INSTALL_STAGING = YES
LIBFRIBIDI_AUTORECONF = YES
LIBFRIBIDI_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
LIBFRIBIDI_DEPENDENCIES += libglib2
else
LIBFRIBIDI_CONF_OPTS += --with-glib=no
endif
$(eval $(autotools-package))

View File

@@ -1,32 +0,0 @@
From 9cbd876ebc6ef8cbe647d4a914d03f527f822424 Mon Sep 17 00:00:00 2001
Message-Id: <9cbd876ebc6ef8cbe647d4a914d03f527f822424.1398253762.git.baruch@tkos.co.il>
From: Baruch Siach <baruch@tkos.co.il>
Date: Wed, 23 Apr 2014 14:42:21 +0300
Subject: [PATCH] Fix build on Linux/x86_64 under uClibc
* include/private/gcconfig.h (GETCONTEXT_FPU_EXCMASK_BUG): don't define for
uClibc, as it may not have fenv.h
Patch status: sent upstream
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
include/private/gcconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index de7998be0f54..f866cc4ed8cc 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -2235,7 +2235,7 @@
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
-# if defined(__GLIBC__)
+# if defined(__GLIBC__) && !defined(__UCLIBC__)
/* At present, there's a bug in GLibc getcontext() on */
/* Linux/x64 (it clears FPU exception mask). We define this */
/* macro to workaround it. */
--
1.9.2

View File

@@ -1,11 +0,0 @@
config BR2_PACKAGE_LIBGC
bool "libgc"
select BR2_PACKAGE_LIBATOMIC_OPS
depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
help
The Boehm-Demers-Weiser conservative garbage collector can be used
as a garbage collecting replacement for C malloc or C++ new. It allows
you to allocate memory basically as you normally would, without
explicitly deallocating memory that is no longer useful.
http://www.hboehm.info/gc/

View File

@@ -1,15 +0,0 @@
################################################################################
#
# libgc
#
################################################################################
LIBGC_VERSION = 7.4.0
LIBGC_SOURCE = gc-$(LIBGC_VERSION).tar.gz
LIBGC_SITE = http://www.hboehm.info/gc/gc_source
LIBGC_DEPENDENCIES = libatomic_ops host-pkgconf
LIBGC_LICENSE = Permissive X11-style
LIBGC_LICENSE_FILES = README.md
LIBGC_INSTALL_STAGING = YES
$(eval $(autotools-package))

View File

@@ -1,2 +1,2 @@
# From http://lists.gnupg.org/pipermail/gnupg-announce/2014q3/000355.html
sha1 cc31aca87e4a3769cb86884a3f5982b2cc8eb7ec libgcrypt-1.6.2.tar.bz2
# From http://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000364.html
sha1 9456e7b64db9df8360a1407a38c8c958da80bbf1 libgcrypt-1.6.3.tar.bz2

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBGCRYPT_VERSION = 1.6.2
LIBGCRYPT_VERSION = 1.6.3
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
LIBGCRYPT_LICENSE = LGPLv2.1+
LIBGCRYPT_LICENSE_FILES = COPYING.LIB

View File

@@ -69,7 +69,8 @@ LIBGTK2_CONF_ENV = \
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \
ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \
ac_cv_prog_F77=no \
ac_cv_path_CUPS_CONFIG=no
ac_cv_path_CUPS_CONFIG=no \
DB2HTML=false
LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no

View File

@@ -0,0 +1,2 @@
# From http://downloads.xiph.org/releases/libshout/SHA256SUMS
sha256 cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e libshout-2.3.1.tar.gz

View File

@@ -0,0 +1,33 @@
From 3107a0161bf30f7e3e0c356c3d040d99634fbf5b Mon Sep 17 00:00:00 2001
From: jfigus <foleyj@cisco.com>
Date: Thu, 26 Feb 2015 12:25:08 -0500
Subject: [PATCH] A autoconf checks for libz and libdl when OpenSSL is enabled
to allow for static linking of OpenSSL (via CFLAGS=-static).
[Romain:
Drop the configure part of the patch since Buildroot
use AUTORECONF in libsrtp.mk]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
configure.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.in b/configure.in
index ee30daf..71df46b 100644
--- a/configure.in
+++ b/configure.in
@@ -147,6 +147,10 @@ if test "$enable_openssl" = "yes"; then
LDFLAGS="$LDFLAGS $(pkg-config --libs openssl)";
CFLAGS="$CFLAGS $(pkg-config --cflags openssl)";
+ AC_CHECK_LIB([dl], [dlopen], [],
+ [AC_MSG_FAILURE([can't find libdl])])
+ AC_CHECK_LIB([z], [inflate], [],
+ [AC_MSG_FAILURE([can't find libz])])
AC_CHECK_LIB([crypto], [EVP_EncryptInit], [],
[AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])])
AC_CHECK_LIB([crypto], [EVP_aes_128_ctr], [],
--
1.9.3

View File

@@ -25,7 +25,8 @@ endif
# host-pkgconf to make sure pkg-config is installed.
LIBSRTP_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_OPENSSL),y)
# openssl handling needs libdl support
ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
LIBSRTP_DEPENDENCIES += openssl
LIBSRTP_CONF_OPTS += --enable-openssl
else

View File

@@ -0,0 +1,2 @@
# From http://downloads.xiph.org/releases/theora/SHA256SUMS
sha256 f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61 libtheora-1.1.1.tar.xz

View File

@@ -11,4 +11,10 @@ LIBUPNPP_LICENSE_FILES = COPYING
LIBUPNPP_INSTALL_STAGING = YES
LIBUPNPP_DEPENDENCIES = expat libcurl libupnp
# configure script fails to link against the dependencies of libupnp
# causing upnp detection to fail when statically linking
ifeq ($(BR2_STATIC_LIBS),y)
LIBUPNPP_CONF_ENV += LIBS='-lthreadutil -lixml -pthread'
endif
$(eval $(autotools-package))

View File

@@ -55,7 +55,7 @@ Index: b/lib/curl_transport/Makefile
$(SRCDIR)/common.mk: srcdir blddir
-CURL_VERSION := $(shell curl-config --vernum)
+CURL_VERSION := $(shell $CURL_CONFIG --vernum)
+CURL_VERSION := $(shell $(CURL_CONFIG) --vernum)
# Some time at or before Curl 7.12, <curl/types.h> became an empty file
# (no-op). Some time after Curl 7.18, <curl/types.h> ceased to exist.
@@ -64,7 +64,7 @@ Index: b/lib/curl_transport/Makefile
endif
-CURL_INCLUDES := $(shell curl-config --cflags)
+CURL_INCLUDES := $(shell $CURL_CONFIG --cflags)
+CURL_INCLUDES := $(shell $(CURL_CONFIG) --cflags)
# We expect that curl-config --cflags just gives us -I options, because
# we need just the -I options for 'make dep'. Plus, it's scary to think
# of what any other compiler flag would do to our compile.
@@ -77,7 +77,7 @@ Index: b/src/cpp/test/Makefile
ifeq ($(MUST_BUILD_CURL_CLIENT),yes)
- LIBS += $(shell curl-config --libs)
+ LIBS += $(shell $CURL_CONFIG --libs)
+ LIBS += $(shell $(CURL_CONFIG) --libs)
endif
ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
LIBS += $(shell libwww-config --libs)
@@ -90,7 +90,7 @@ Index: b/tools/common.mk
endif
ifeq ($(MUST_BUILD_CURL_CLIENT),yes)
- CLIENT_LDLIBS += $(shell curl-config --libs)
+ CLIENT_LDLIBS += $(shell $CURL_CONFIG --libs)
+ CLIENT_LDLIBS += $(shell $(CURL_CONFIG) --libs)
endif
ifeq ($(MUST_BUILD_WININET_CLIENT),yes)
CLIENT_LDLIBS += $(shell wininet-config --libs)

View File

@@ -16,4 +16,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
MAKE_CONF_OPTS += --disable-load
endif
ifeq ($(BR2_PACKAGE_GUILE),y)
MAKE_DEPENDENCIES += guile
MAKE_CONF_OPTS += --with-guile
else
MAKE_CONF_OPTS += --without-guile
endif
$(eval $(autotools-package))

2
package/opus/opus.hash Normal file
View File

@@ -0,0 +1,2 @@
# From http://downloads.xiph.org/releases/opus/SHA256SUMS.txt
sha256 b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 opus-1.1.tar.gz

View File

@@ -21,7 +21,7 @@ endif
# pinentry-ncurses backend
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
PINENTRY_CONF_OPTS += --enable-ncurses
PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none
PINENTRY_DEPENDENCIES += ncurses
else
PINENTRY_CONF_OPTS += --disable-ncurses

View File

@@ -4,7 +4,7 @@
#
################################################################################
RPI_FIRMWARE_VERSION = 393dcc0e76f18f6ac1b67ba45d36058410670034
RPI_FIRMWARE_VERSION = b9fac65dd9ff607d0c2c4ea1bbba2bbf3fbc4a10
RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
RPI_FIRMWARE_LICENSE = BSD-3c
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
@@ -16,7 +16,7 @@ RPI_FIRMWARE_DEPENDENCIES += host-rpi-firmware
# The Device Tree blobs are not yet in the master branch of the
# raspberrypi firmware project, so we have to use a separate branch
# for now.
RPI_FIRMWARE_VERSION = 09627457b9e15bf4ea4e6751d3c173a3fb65df07
RPI_FIRMWARE_VERSION = 6c0acfbbdba9908a4a4d21eab63c49ab72cb528b
define RPI_FIRMWARE_INSTALL_DTB
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b.dtb
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b-plus.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b-plus.dtb

View File

@@ -9,13 +9,14 @@ SHARED_MIME_INFO_SOURCE = shared-mime-info-$(SHARED_MIME_INFO_VERSION).tar.bz2
SHARED_MIME_INFO_SITE = http://freedesktop.org/~hadess
SHARED_MIME_INFO_INSTALL_STAGING = YES
SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
SHARED_MIME_INFO_DEPENDENCIES = host-pkgconf host-libglib2 host-libxml2 host-shared-mime-info libxml2 libglib2
SHARED_MIME_INFO_DEPENDENCIES = host-shared-mime-info libxml2 libglib2
SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
SHARED_MIME_INFO_MAKE = $(MAKE1)
SHARED_MIME_INFO_LICENSE = GPLv2
SHARED_MIME_INFO_LICENSE_FILES = COPYING
HOST_SHARED_MIME_INFO_DEPENDENCIES = host-pkgconf host-intltool
HOST_SHARED_MIME_INFO_DEPENDENCIES = \
host-pkgconf host-intltool host-libxml2 host-libglib2
HOST_SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
HOST_SHARED_MIME_INFO_MAKE = $(MAKE1)

2
package/vlc/vlc.hash Normal file
View File

@@ -0,0 +1,2 @@
# From http://get.videolan.org/vlc/2.1.6/vlc-2.1.6.tar.xz.sha256
sha256 1b76cf4b96e18cf224d21b91343f7e579790c5d3e499c8a230f53da695687c04 vlc-2.1.6.tar.xz

View File

@@ -4,7 +4,7 @@
#
################################################################################
VLC_VERSION = 2.1.5
VLC_VERSION = 2.1.6
VLC_SITE = http://get.videolan.org/vlc/$(VLC_VERSION)
VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
VLC_LICENSE = GPLv2+ LGPLv2.1+

View File

@@ -0,0 +1,2 @@
# From http://downloads.xiph.org/releases/vorbis/SHA256SUMS
sha256 a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc vorbis-tools-1.4.0.tar.gz

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_XCB_UTIL_KEYSYMS
bool "xcb-util-keysyms"
select BR2_PACKAGE_LIBXCB
help
The XCB util modules provides a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension

View File

@@ -13,4 +13,6 @@ XCB_UTIL_KEYSYMS_LICENSE = MIT
XCB_UTIL_KEYSYMS_INSTALL_STAGING = YES
XCB_UTIL_KEYSYMS_DEPENDENCIES = host-pkgconf libxcb
$(eval $(autotools-package))