Compare commits

..
Author SHA1 Message Date
Peter Korsgaard c92a369fe6 Update for 2013.05-rc3
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 22:23:57 +02:00
Gustavo Zacarias c17b0f0bda wireshark: security bump to version 1.8.7
Fixes CVE-2013-2486, CVE-2013-2487 and several wnpa-sec (wireshark)
advisories.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 13:33:50 +02:00
Will Newton 5ef3a7a7c7 urg: Add urg-select-h.patch.
This patch fixes a build failure on AArch64 (and potentially others).
Make sure sys/select.h is included before using select(2).

Signed-off-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 13:26:09 +02:00
gilles.talis@gmail.com 9c1917ef5b pptp-linux: add license information
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 13:23:20 +02:00
gilles.talis@gmail.com 97edb8f629 pptp-linux: needs MMU
Fixes:
http://autobuild.buildroot.org/results/9b8/9b80537d0efb3fefab486abaecd128bd18e0efdb

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 13:23:02 +02:00
Will Newton 8f2578d7b7 weston: Add make dependency on cairo
There's already a config dependency, make sure we build it too.

Signed-off-by: Will Newton <will.newton@linaro.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-25 00:13:06 +02:00
Gustavo Zacarias 1c3afe4bc1 poco: not available for all architectures
Missing defines for:
aarch64, arc, blackfin, microblaze & xtensa.
Not properly supported: mips - only defines generic mips as BE, doesn't
know about mipsel (LE) thus assuming it's BE.
Fixes:
http://autobuild.buildroot.net/results/9847702b046bed59b07f0e075a58b1f31e9236ce/

This should be pretty straightforward to fix in
Foundation/include/Poco/Platform.h for interested parties since it only
cares about endianness.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 23:34:28 +02:00
Will Newton d624203238 boost: Limit architectures which can build boost context library
The boost context library needs porting to each new architecture
and only a limited number of ports are currently available.

Signed-off-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 23:08:05 +02:00
gilles.talis@gmail.com 666aa6287c libatomic_ops: fix build failure seen with toolchain without threads support
Fixes:
http://autobuild.buildroot.net/results/58c188ad59c62c7897381e110fe3518ccc17867e

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:48:20 +02:00
gilles.talis@gmail.com a45b0194ef portaudio: needs threads
Fixes:
http://autobuild.buildroot.org/results/ba2/ba2d3832cb6838b2126e0f7db223305eab579d59

[Peter: move above so sub options gets properly indented]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:36:35 +02:00
gilles.talis@gmail.com f937306ead tvheadend: needs threads
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:34:14 +02:00
gilles.talis@gmail.com 2da9dcc270 dvb-apps utilities: needs threads
Fixes:
http://autobuild.buildroot.org/results/b62/b62289809221b6455fe3db501e869271a64ea454
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:33:12 +02:00
Peter Korsgaard 0f4d9ce54b mongrel2: works on ARM with uClibc
Source code has workaround for missing {get,make,swap}context on ARM,
so mongrel2 doesn't need glibc/uclibc snapshot when built for ARM.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:29:19 +02:00
Markos Chandras faefecd7f6 mongrel2: Needs a {e, }glibc or a uClibc-0.9.34-git based toolchain
mongrel2 needs the {get,make,swap}context functions which are
present in {e,}glibc and in the uClibc's master branch.

Fixes:
http://autobuild.buildroot.net/results/8e132a2b03a7b5ae94199db7db86883c05dca700/build-end.log

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 22:27:53 +02:00
gilles.talis@gmail.com 4344ffd282 portaudio: add license information
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-23 20:56:17 +02:00
gilles.talis@gmail.com ce774eba9c bellagio: add license information
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-17 12:02:02 +02:00
gilles.talis@gmail.com f4985ca55a bellagio: needs toolchain with threads support
Fixes:
http://autobuild.buildroot.org/results/a4b/a4b7e19f4eee1de8d8722c2ade673fcb816a811e

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-17 12:01:50 +02:00
Simon Dawson e5b1da1846 libxml2: depend on zlib and libiconv if appropriate
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-17 11:58:34 +02:00
Peter Korsgaard 0156825d11 flot: add plugins missed from 0.8.0 bump
A number of plugins were not added when the flot version was bumped.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-17 11:35:29 +02:00
Gustavo Zacarias 2a58963ab4 crda: needs threads
Because libnl needs threads, fixes:
http://autobuild.buildroot.net/results/8e32f222ddeba262ee2471d22e1c6a8afbf241c2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16 13:05:15 +02:00
Danomi Manchego bfca77e7f7 graph-depends: ignore the 'target-purgelocales' target
Otherwise, graph-depends tries to call 'make target-purgelocales-show-depends',
which does not exist, as 'target-purgelocales' is not an actual package.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16 13:05:04 +02:00
gilles.talis@gmail.com fb1ba5dff1 libeXosip2: disable multi-thread support for toolchains without threads
Also added license information

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16 10:21:25 +02:00
gilles.talis@gmail.com f96a135667 libosip2: disable multi-thread support for toolchains without threads
Also added license information

Fixes:
http://autobuild.buildroot.org/results/dcf/dcfbdc1a1ee032881ad5e2f7ca6622d90fc7cb19

[Peter: License is LGPLv2.1+
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16 10:21:05 +02:00
Peter Korsgaard 6cdb6cc976 aircrack-ng: don't drop TARGET_LDFLAGS
Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16 09:21:08 +02:00
Peter Korsgaard cfcbfa2c60 Update for 2013.05-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 21:05:00 +02:00
Peter Korsgaard a517092fa3 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 20:48:41 +02:00
Peter Korsgaard 867aa7f987 news.html: add 2013.05-rc1 annoucement link
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 20:45:05 +02:00
Gustavo Zacarias dc8b8c868a xapp_xinit: revert removal
Even though xinit isn't included in the X11R7.7 release it is very
useful for debugging and quick tests.
Reinstante it without xdm requiring it though.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 20:12:35 +02:00
Luca Ceresoli 13c367f827 graph-depends: fix program path in comment
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 16:04:48 +02:00
Luca Ceresoli b193c1264a graph-depends: ignore the 'target-generic-dont-remount-rw' target
The graph-depends script tries to call 'make target-generic-dont-remount-rw',
which doesn't exist since 'target-generic-dont-remount-rw' is not a package.

See also the comments for commit 72bd61e5b8c2094378.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 16:04:35 +02:00
Samuel Martin cf81029c01 libglib2: fix build when toolchain has no thread support
Fixes the build failure visible at
http://autobuild.buildroot.net/results/3d3/3d3f4f0044a4b58ce3d0a3449a5f012d953d59bb

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 15:38:35 +02:00
Samuel Martin bed1490d0f aircrack-ng: fix statically linked build
Fixe the build failure visible at
http://autobuild.buildroot.net/results/2441d8b62323a00f32f2edb7cb781dda71ff7f68

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 15:00:26 +02:00
Peter Korsgaard 90e7cdd28c CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15 14:54:27 +02:00
Samuel Martin 5fa49a6c0f cairo: fix build when toolchain has no thread support
Fixes the build failure visible at
http://autobuild.buildroot.net/results/d49/d491de5a774592929a59f3bfd0b1fd8cbc089ac0

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 22:03:52 +02:00
Fabio Porcedda 9b273ea860 linux: CONFIG_KERNEL_LZO option requires host-lzop
When the LZO compression mode is chosen the linux kernel requires
lzop host utility at build time.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 17:30:56 +02:00
Gustavo Zacarias 32a2f502c6 busybox 1.21.0: update mdev patch and add ntfs volume patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 17:20:10 +02:00
Peter Korsgaard f8a6a1b94a neon: fix license files
GPL license is under test/, not src/.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 17:18:18 +02:00
Luca Ceresoli 376c3aad61 legal-info: fail trying to copy a non-existent license file
If a package's _LICENSE_FILES contains the name of a non-existent file,
the make process would continue and return true, unless the
non-existent file is the last listed.

Fix this wrong beaviour by failing with an error when any of the listed
files is missing.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 17:17:09 +02:00
Simon Dawson 8d34e073c0 sconeserver: fix autobuild failures
Fix sconeserver autobuild failures such as the following.

  http://autobuild.buildroot.net/results/58e/58e4886a6ff41e49ac86cbf497bb509fd37f0d68/

The sconeserver version is bumped to a recent revision in which it is
possible to pass the paths to Magick++-config, mysql_config and xml2-config to
the configure script.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 12:37:26 +02:00
Peter Korsgaard 5691446961 fan-ctrl: needs MMU support
Fixes http://autobuild.buildroot.org/results/333/333b6caa6b8a9a04495d82d02b2c0fb7755667ed/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 12:34:20 +02:00
Gustavo Zacarias 9947ee9fbb sylpheed: disable gpgme support
Fixes a build failure when the build host has gpgme installed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 21:36:39 +02:00
Gustavo Zacarias b1c2bed547 curlftpfs: specify curl-config path
curlftpfs may pick up the distribution curl-config rather than the one
in the staging area thus failing to build.
Fix it by hardcoding the curl-config path.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 16:20:22 +02:00
Gustavo Zacarias 13d91f18a3 quota: fix dependencies
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 13:24:59 +02:00
Gustavo Zacarias 0651830447 linknx: fix dependencies
The mysql_client is set instead of added, thus eliminating libpthsem.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 13:24:48 +02:00
Arnout Vandecappelle (Essensium/Mind) 8e384dcb8f gst-plugins-bad: fix build of directfb plugin
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 13:23:50 +02:00
Arnout Vandecappelle (Essensium/Mind) 7c58258e21 libsigsegv: fix build on x86_64 (probably others too)
The configure script doesn't detect that the target is posix-compliant
and tries to use a custom version of segfault analysis that actually
doesn't build. Most likely, it's because the configure script doesn't
support linux-3.x. Anyway, we can just tell configure that we're
posix-compliant.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-13 08:38:17 +02:00
Thomas Petazzoni 7c6232658a toolchain/gcc: the ARC version of gcc needs host-flex/host-bison
For some reason (probably because the ARC changes modify some lex/yacc
files without updating their pre-generated variants, or because the
date/time of the pre-generated files is not correct), building the ARC
gcc requires host-flex and host-bison.

We have tested 4.2 for AVR, 4.3 and 4.4 for ARM, and none of those
need host-flex or host-bison to be installed, so only the 4.4 for ARC
seems to be affected.

Fixes the build failure visible at
http://autobuild.buildroot.org/results/673c6262e3dde8ee8dd28204d814097e6ba8f8e9/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:22:18 +02:00
Mischa Jonker 671bd04685 toolchain/gcc: make sure to pass $(HOST_DIR)/usr/bin in the PATH
Since gcc doesn't use the package infrastructure, it doesn't get all
the good generic environment variables, and forgets to get
$(HOST_DIR)/usr/bin in its PATH. This prevents gcc from finding and
using host tools built by Buildroot.

This patch therefore ensures that $(HOST_MAKE_ENV) or
$(TARGET_MAKE_ENV) are passed at the appropriate locations. It will be
useful for a later patch that makes gcc depend on host-flex/host-bison
in some situations.

Original patch by Thomas Petazzoni.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:22:00 +02:00
Thomas Petazzoni 61232f8060 pixman: add license informations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:17:46 +02:00
Thomas Petazzoni 48ac24985c libsha1: add license informations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:17:24 +02:00
Thomas Petazzoni d6ae18cccc libdrm: add license informations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:16:21 +02:00
Thomas Petazzoni a5d5b097a4 libatomic_ops: add license informations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:15:46 +02:00
Thomas Petazzoni 3dfbf65760 xserver_xorg-server: add license informations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:14:17 +02:00
Thomas Petazzoni 0cc701cf73 package/x11r7: add license informations to misc other packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:13:36 +02:00
Thomas Petazzoni aed08f8bd9 package/x11r7: add license informations to xfont_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:13:08 +02:00
Thomas Petazzoni 0a7ea9465c package/x11r7: add license informations to xutil_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:12:59 +02:00
Thomas Petazzoni a8d55430c4 package/x11r7: add license informations to xlib_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:12:50 +02:00
Thomas Petazzoni 83944af154 package/x11r7: add license informations to xdriver_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:12:35 +02:00
Thomas Petazzoni 07a2ec3e0e package/x11r7: add license informations to xproto_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:12:15 +02:00
Thomas Petazzoni 5b0c6f024c package/x11r7: add license informations to xapp_* packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:12:04 +02:00
Arnout Vandecappelle (Essensium/Mind) 1c0d1949c6 pulseaudio: fix build with orc
The configure script gets orcc from pkg-config, which sets it to /usr/bin/orcc
instead of $(HOST_DIR)/usr/bin/orcc. So set the path explicitly instead of
relying on pkg-config.

While we're at it, also add an explicit enable/disable to configure.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 22:10:28 +02:00
Gustavo Zacarias 40ccd2122e configs/qemu: bump relevant config versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:44:08 +02:00
Gustavo Zacarias cb97a23b5d linux: bump 3.9.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:43:53 +02:00
Gustavo Zacarias e7dce165ab kernel-headers: bump 3.{0, 4, 8, 9}.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:43:42 +02:00
Arnout Vandecappelle (Essensium/Mind) cf82c300e0 filemq: disable asciidoc documentation generation
filemq uses asciidoc for its documentation. asciidoc uses python and import
the unicodedata module, which is not in host-python. So disable asciidoc
entirely.

This doesn't get hit by the autobuilders because they don't have asciidoc
installed in their chroot.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:30:11 +02:00
Arnout Vandecappelle (Essensium/Mind) fd234bebae f2fs-tools: fix version
The commit e3eadd doesn't (no longer?) exists in the upstream git, so
replace it with the latest commit to date.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:28:30 +02:00
Arnout Vandecappelle (Essensium/Mind) 92cd8a5273 czmq: disable asciidoc documentation generation
czmq uses asciidoc for its documentation. asciidoc uses python and import
the unicodedata module, which is not in host-python. So disable asciidoc
entirely.

This doesn't get hit by the autobuilders because they don't have asciidoc
installed in their chroot.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:28:10 +02:00
Peter Korsgaard e5726eb498 lttng-tools: needs largefile support
Fixes http://autobuild.buildroot.net/results/ba2674c2f5bb33304dbbdf2f0ad0ca5ecfdc11aa/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:26:44 +02:00
Arnout Vandecappelle (Essensium/Mind) 6a77344162 openssl: fix host-openssl dependencies
Support for ocf-linux or cryptodev-linux added a dependency of host-openssl
on host-ocf-linux / host-cryptodev-linux, which we don't have and the
dependency is anyway not needed.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:10:25 +02:00
Arnout Vandecappelle (Essensium/Mind) 4624567df1 classpath: remove qt support
classpath doesn't work with Qt in buildroot. It assumes qt will run on X11,
but we don't have qt-x11 support on buildroot.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:03:40 +02:00
Arnout Vandecappelle (Essensium/Mind) d6fa07ffae linux-pam: fix missing includes
Two patches taken from upstream fix e.g.
http://autobuild.buildroot.org/results/fa31431066ce0f9c554bdb923e59aa0458508224

These patches are in linux-pam 1.1.6 already, but since I don't know
how to test it, I don't want to do a version bump.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:02:35 +02:00
Peter Korsgaard 401a3d98e1 wvstreams: add missing includes for getuid()
Fixes http://autobuild.buildroot.net/results/2ad80b1ae823fbe196f8a65220d5d4a0dd202c4e/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 20:58:40 +02:00
Peter Korsgaard c27b71bccb gutenprint: ensure staging version of cups-config is used
And not whatever is available on the host.

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 20:42:34 +02:00
Peter Korsgaard e8008c961c matchbox-lib: pango backend needs Xft support in pango
Fixes http://autobuild.buildroot.net/results/7f5e56790028b96626e6f0a69ddce08667b712eb/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 10:53:38 +02:00
Gustavo Zacarias 13cdffe529 libnss/libnspr: unavailable comment should be OR and not AND
Otherwise the comment would only show up when both conditions are true
instead of any of them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 09:23:25 +02:00
Olivier Schonken e5ef6f7f71 Unhide lttng-tools and lttng-modules
When using lttng-tools for userland tracing with lttng-libust lttng-modules
is not required, thus a dependency on building lttng-modules and a kernel is
overkill for lttng-tools.  It also hides it from a user not wanting to build
a kernel.  A comment has been added to lttng-modules to show a user that
lttng-modules is dependent on a kernel build.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 23:00:23 +02:00
Yann E. MORIN df8d52fb02 package-infra: limit the number of // jobs
The current code spawns as many jobs as up to twice the number of CPUs.

On small-class machines like laptops, with a limitted amount of memory,
but still a few CPUs (real or hyperthreads), the HDD becomes a bottleneck,
and it becomes almost impossible to do anythiong else while there is a
build in progress.

Limit the number of jobs to the number of CPUs plus one.

Even on fast machines with fast HDDs, this settings keeps the machine
fully busy (for those packages that can build in parallel, of course).

For example, building qemu or the linux kernel kept my hyperthreaded
hexa Core i7 with 18GiB of RAM, busy at 99% (I never ever managed to
get 100% even with more jobs, not even 200); while on my hyperthreaded
dual Core i5 with only 4GiB and a slow HDD, I still topped at 100% CPU,
while still able to do some work involving the HDD.

If the number of processors is not available, assume one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Nathan Lynch <ntl@pobox.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 22:49:59 +02:00
Fabio Porcedda 31002cb403 configs: add defconfig for Atmel AT91SAM9260-EK Nand Flash Boot
This is a configuration that provides a basic setup for generating
bootable nandflash images:
- at91bootstrap
- barebox
- kernel
- rootfs

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 22:34:32 +02:00
Fabio Porcedda 4fabcd28ca configs: add defconfig for Telit EVK-PRO3
For more info, please read board/telit/evk-pro3/readme.txt

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 22:34:22 +02:00
Gustavo Zacarias 603293f5ff toolchain-external: fix bug #5054
The external toolchain logic checks (and finds) the proper ARCH_LIB_DIR
and forcibly copies it to */lib even if it's in */lib64
This is all well until the check is done for create_lib64_symlinks which
only verifies if ARCH_SYSROOT_DIR/lib64 is a symlink, which in some
toolchain it's a real directory (like sourcery x86_64 2012.09) and thus
doesn't make the symlink in the target.

Fix this by also checking for a real directory.

Easily reproducible by running "make qemu_x86_64_defconfig", switching
to an external toolchain before build, building and then trying to run
the resulting image.

Closes bug #5054

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:52:22 +02:00
Peter Korsgaard d131f75019 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:48:57 +02:00
Gustavo Zacarias 12fafd0c31 configs/qemu: bump relevant configs to kernel version 3.9.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:44:43 +02:00
Gustavo Zacarias 0a442d05cf libcurl: add security patch for CVE-2013-1944
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:26:42 +02:00
Peter Korsgaard e2e8bb3580 gutenprint: disable (doxygen) documentation generation
Just wastes build time, so disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:18:49 +02:00
Olivier Schonken e074805b5c Disable building of cups driver in host-gutenprint
This should fix http://autobuild.buildroot.org/results/d2e386b50744aeda7257a0b78aafe90ba4da697c/
Because there is no host-cups package, host-gutenprint cant build the
host-cups drivers - missing includes and libs.  Host gutenprint only
built to get the xml. Thus not a loss.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 21:13:38 +02:00
Gustavo Zacarias 8c87152fe8 ltrace: unavailable for ARC architecture
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 14:52:32 +02:00
Gustavo Zacarias 2e040c6310 strace: unavailable for AArch64 and ARC
strace isn't available for the AArch64 and ARC architectures.
The patchset for AArch64 is somewhat big and complicated (needs updates
to other bits) so it'd probably be better to use a git version of strace
or wait for a new release.
http://autobuild.buildroot.net/results/506f4adec348f0b616ad09bddbcbc242e38253b8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 14:52:27 +02:00
Peter Korsgaard 88587d5b14 qt5imageformats: needs gui support in qt5base
Fixes http://autobuild.buildroot.net/results/8843619e91958766c66c0955f363bbfc733b31e6/build-end.log

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 12:39:57 +02:00
Simon Dawson 06e5c7a111 dbus: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 09:55:32 +02:00
Simon Dawson 9988d3f780 atk: add license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 09:52:55 +02:00
Thomas Petazzoni 9b34cc0bcd wvstreams: disable warnings
During the compilation of wvstreams, a number of strict aliasing
related warnings are shown, making the build quite noisy. Turn
warnings off using the --disable-warnings option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 09:36:46 +02:00
Thomas Petazzoni ff24e7f040 wvstreams: fix build failures
Add a patch to fix wvstreams build failures such as
http://autobuild.buildroot.org/results/8cb2904113a5e63d6170c085f77a8040d50a0138/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 09:36:43 +02:00
Thomas Petazzoni 2c1a1bb1cd pulseaudio: link against json-c
Add an upstream patch that makes Pulseaudio link against json-c
instead of json, so that it works with json-c 0.11, and doesn't cause
problems with libjson has been also installed in the system. Note that
this fix has been merged in Pulseaudio after the 3.0 release, so we
will have to keep this patch around when bumping to 3.0.

Fixes
http://autobuild.buildroot.org/results/91ffd3196092c48b88f59adb12741b3f93064dea/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-10 20:42:02 +02:00
Thomas Petazzoni ecd0f65af9 json-c: bump to version 0.11
Bumping this package is needed, because json-c 0.10 has a major
defect: it installs a library named libjson.so, which conflicts with
the library installed by the libjson package.

This has been changed in the upstream json-c 0.11 version, which now
installs libjson-c and json-c.pc.

It allows to solve the Pulseaudio link problem, which wants to link
against json-c but happens to link against libjson when libjson has
been compiled and installed after json-c.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-10 20:41:39 +02:00
gilles.talis@gmail.com ee377acd87 python-nfc: needs toolchain with threads support
python-nfc uses libusb that requires a toolchain with threads support

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-10 20:40:15 +02:00
Gustavo Zacarias f787cd2085 hplip: needs threads
Hplip needs threads because libusb needs them. Fixes:
http://autobuild.buildroot.net/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-10 20:37:40 +02:00
341 changed files with 2118 additions and 214 deletions
+69
View File
@@ -1,3 +1,72 @@
2013.05-rc3, Released May 25th, 2013:
Minor fixes.
Updated/fixed packages: aircrack-ng, bellagio, boost, crda,
dvb-apps, flot, libatomic_ops, libeXosip2, libosip2, libxml2,
mongrel2, poco, portaudio, pptp-linux, tvheadend, urg, weston,
wireshark
2013.05-rc2, Released May 15th, 2013:
Fixes all over the tree.
Default number of parallel jobs is now number of CPUs + 1.
Defconfigs: Add Telit EVK-PRO3, AT91SAM9260-EK Nand flash.
Updated/fixed packages: aircrack-ng, busybox, cairo,
classpath, curlftpfs, czmq, dbus, f2fs-tools, fan-ctrl,
filemq, gst-plugin-bad, gutenprint, hplip, json-c,
libatomic_ops, libcurl, libdrm, libglib2, libnspr, libnss,
libsha1, libsigsegv, libxcb, linknx, linux-pam, lttng-modules,
lttng-tools, matchbox-lib, mcookie, mesa3d, neon, pixman,
pulseaudio, python-nfc, qt5imageformats, quota, openssl,
sconeserver, strace, sylpheed, wvstreams,
xapp_{appres,bdftopcf,beforelight,bitmap,edires,fonttosfnt},
xapp_{fslsfonts,fstobdf,iceauth,ico,listres,luit,mkfontdir},
xapp_{mkfontscale,oclock,rgb,rstart,scripts,sessreg,setxkbmap},
xapp_{showfont,smproxy,twm,viewres,x11perf,xauth,xbacklight},
xapp_x{biff,calc,clipboard,clock,cmsdb,cursorgen,dbedizzy,ditview},
xapp_x{dm,dpyinfo,driinfo,edit,ev,eyes,f86dga,fd,fontsel,fs,fsinfo},
xapp_x{gamma,gc,host,input-calibrator,input,kbcomp,kbevd,kbprint},
xapp_x{kbutils,kill,load,logo,lsatoms,lsclients,lsfonts,mag,man},
xapp_x{message,mh,modmap,more,pr,prop,randr,rdb,refresh,set,setmode},
xapp_x{setpointer,setroot,sm,stdcmap,vidtune,vinfo,wd,wininfo,wud},
xcb-util, xcursor-transparent-theme, xdata_xbitmaps,
xdata_xcursor-themes,
xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synaptics},
xdriver_xf86-input-{tslib,vmmouse,void},
xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,fbdev,geode,glide},
xdriver_xf86-video-{glint,i128,intel,mach64,mga,neomagic,newport},
xdriver_xf86-video-{nv,openchrome,r128,savage,siliconmotion,sis},
xdriver_xf86-video-{tdfx,tga,trident,v4l,vesa,vmware,voodoo,wsfb},
xfont_encodings, xfont_font-adobe-{100,75}dpi,
xfont_font-utopia-{100dpi,75dpi,type1},
xfont_font-{alias,arabic-misc,bh-100dpi,bh-75dpi},
xfont_font-bh-lucidatypewriter-{100,75}dpi, xfont_font-bh-{ttf,type1},
xfont_font-bitstream-{100dpi,75dpi,type1}, xfont_font-cronyx-cyrillic,
xfont_font-{cursor,daewoo,dec,isas,jis,micro}-misc,
xfont_font-ibm-type1, xfont_font-misc-{cyrillic,ethiopic,meltho,misc},
xfont_font-{mutt,schumacher}-misc,
xfont_font-{screen-cyrillic,sony-misc,sun-misc,util},
xfont_font-winitzki-cyrillic, xfont_font-xfree86-type1,
xlib_lib{FS,ICE,SM,X11,XScrnSaver,Xau,Xaw,Xcomposite,Xcursor},
xlib_libX{damage,dmcp,ext,fixes,font,ft,i,inerama,mu,pm,randr},
xlib_libX{render,res,t,tst,v,vMC,xf86dga,xf86vm},
xlib_lib{dmx,fontenc,pciaccess,pthread-stubs,xkbfile}, xlib_xtrans,
xproto_{applewm,bigreqs,composite,damage,dmx,dri2,fixes}proto,
xproto_{fontcache,font,gl,input,kb,randr,record,render}proto,
xproto_{resource,scrnsaver,video,windowswm,xcmisc,xext}proto,
xproto_{xf86bigfont,xf86dga,xf86dri,xf86vidmode,xinerama,x}proto,
xserver_xorg-server, xutil_{makedepend,util-macros}
Readded Packages: xapp_xinit
Issues resolved (http://bugs.uclibc.org):
#5054: amd64: cannot find init - due to missing /lib64 folder
2013.05-rc1, Released May 8th, 2013:
Architectures: ARC support, Blackfin support, FLAT binary
+1 -1
View File
@@ -24,7 +24,7 @@
#--------------------------------------------------------------
# Set and export the version string
export BR2_VERSION:=2013.05-rc1
export BR2_VERSION:=2013.05-rc3
# Check for minimal make version (note: this check will break at make 10.x)
MIN_MAKE_VERSION=3.81
@@ -0,0 +1,98 @@
CONFIG_EXPERIMENTAL=y
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_KERNEL_LZO=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_BLK_DEV_INITRD=y
CONFIG_SLAB=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_ARCH_AT91=y
CONFIG_ARCH_AT91SAM9260=y
CONFIG_ARCH_AT91SAM9260_SAM9XE=y
CONFIG_MACH_AT91SAM9260EK=y
CONFIG_MACH_CAM60=y
CONFIG_MACH_SAM9_L9260=y
CONFIG_MACH_AFEB9260=y
CONFIG_MACH_USB_A9260=y
CONFIG_MACH_QIL_A9260=y
CONFIG_MACH_CPU9260=y
CONFIG_MACH_FLEXIBITY=y
CONFIG_MACH_SNAPPER_9260=y
CONFIG_MACH_AT91SAM_DT=y
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
# CONFIG_ARM_THUMB is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw"
CONFIG_FPE_NWFPE=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_BOOTP=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
# CONFIG_IPV6 is not set
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_ATMEL=y
CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_MACB=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_SERIO is not set
CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_ATMEL_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_GPIO=y
# CONFIG_HWMON is not set
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_NOWAYOUT=y
CONFIG_AT91SAM9X_WATCHDOG=y
# CONFIG_USB_HID is not set
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_MON=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_GADGET=y
CONFIG_USB_ZERO=m
CONFIG_USB_GADGETFS=m
CONFIG_USB_MASS_STORAGE=m
CONFIG_USB_G_SERIAL=m
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_AT91SAM9=y
CONFIG_EXT2_FS=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_UBIFS_FS=y
CONFIG_CRAMFS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_ISO8859_1=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_USER=y
CONFIG_DEBUG_LL=y
@@ -0,0 +1,88 @@
From b5e57a9f158a293b1151638336478af8a5aad0f0 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Date: Wed, 14 Nov 2012 19:16:35 +0800
Subject: [PATCH 1/5] watchdog: add keep alive support
this will allow to ping the watchdog via poller
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/watchdog/Kconfig | 1 +
drivers/watchdog/wd_core.c | 21 +++++++++++++++++++++
include/watchdog.h | 2 ++
3 files changed, 24 insertions(+)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 2e2900c..0b4dc84 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -4,6 +4,7 @@ config WATCHDOG_IMX_RESET_SOURCE
menuconfig WATCHDOG
bool "Watchdog support"
+ select GENERIC_POLLER
help
Many platforms support a watchdog to keep track of a working machine.
This framework provides routines to handle these watchdogs.
diff --git a/drivers/watchdog/wd_core.c b/drivers/watchdog/wd_core.c
index 3d0cfc6..a1b9e28 100644
--- a/drivers/watchdog/wd_core.c
+++ b/drivers/watchdog/wd_core.c
@@ -17,18 +17,39 @@
#include <errno.h>
#include <linux/ctype.h>
#include <watchdog.h>
+#include <poller.h>
/*
* Note: this simple framework supports one watchdog only.
*/
static struct watchdog *watchdog;
+static void watchdog_poller_func(struct poller_struct *poller)
+{
+ watchdog->keep_alive(watchdog);
+}
+
+static struct poller_struct watchdog_poller = {
+ .func = watchdog_poller_func,
+};
+
int watchdog_register(struct watchdog *wd)
{
if (watchdog != NULL)
return -EBUSY;
watchdog = wd;
+
+ if (watchdog->keep_alive) {
+ int ret;
+
+ ret = poller_register(&watchdog_poller);
+ if (ret) {
+ watchdog = NULL;
+ return ret;
+ }
+ }
+
return 0;
}
EXPORT_SYMBOL(watchdog_register);
diff --git a/include/watchdog.h b/include/watchdog.h
index 3e2d08e..d5ecf2f 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -13,8 +13,10 @@
#ifndef INCLUDE_WATCHDOG_H
# define INCLUDE_WATCHDOG_H
+
struct watchdog {
int (*set_timeout)(struct watchdog *, unsigned);
+ void (*keep_alive)(struct watchdog *);
};
int watchdog_register(struct watchdog *);
--
1.8.1.4
@@ -0,0 +1,228 @@
From e1d54ffb987c346c45c20968be34c50c62a91c07 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Date: Wed, 14 Nov 2012 19:17:47 +0800
Subject: [PATCH 2/5] watchdog: add at91sam9 watchdog support
with keep alive support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/watchdog/Kconfig | 7 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/at91sam9_wdt.c | 131 ++++++++++++++++++++++++++++++++++++++++
drivers/watchdog/at91sam9_wdt.h | 38 ++++++++++++
4 files changed, 177 insertions(+)
create mode 100644 drivers/watchdog/at91sam9_wdt.c
create mode 100644 drivers/watchdog/at91sam9_wdt.h
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 0b4dc84..98a21d7 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -11,6 +11,13 @@ menuconfig WATCHDOG
if WATCHDOG
+config WATCHDOG_AT91SAM9X
+ tristate "AT91SAM9X / AT91CAP9 watchdog"
+ depends on ARCH_AT91
+ help
+ Watchdog timer embedded into AT91SAM9X and AT91CAP9 chips. This will
+ reboot your system when the timeout is reached.
+
config WATCHDOG_MXS28
bool "i.MX28"
depends on ARCH_IMX28
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index f522b88..3d15d52 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -1,3 +1,4 @@
obj-$(CONFIG_WATCHDOG) += wd_core.o
+obj-$(CONFIG_WATCHDOG_AT91SAM9X) += at91sam9_wdt.o
obj-$(CONFIG_WATCHDOG_MXS28) += im28wd.o
obj-$(CONFIG_WATCHDOG_IMX_RESET_SOURCE) += imxwd.o
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
new file mode 100644
index 0000000..203d83a
--- /dev/null
+++ b/drivers/watchdog/at91sam9_wdt.c
@@ -0,0 +1,131 @@
+/*
+ * (c) 2012 Juergen Beisert <kernel@pengutronix.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Note: this driver works for the i.MX28 SoC. It might work for the
+ * i.MX23 Soc as well, but is not tested yet.
+ */
+
+#include <common.h>
+#include <init.h>
+#include <io.h>
+#include <errno.h>
+#include <malloc.h>
+#include <watchdog.h>
+
+#include "at91sam9_wdt.h"
+
+struct at91sam9_wdt {
+ struct watchdog wdt;
+ void __iomem *base;
+};
+
+#define to_at91sam9_wdt(h) container_of(h, struct at91sam9_wdt, wdt)
+
+#define wdt_read(at91wdt, field) \
+ __raw_readl(at91wdt->base + field)
+#define wdt_write(at91wdt, field, val) \
+ __raw_writel((val), at91wdt->base + field)
+
+static void at91sam9_wdt_keep_alive(struct watchdog *wdt)
+{
+ struct at91sam9_wdt *at91wdt = to_at91sam9_wdt(wdt);
+
+ wdt_write(at91wdt, AT91_WDT_CR, AT91_WDT_KEY | AT91_WDT_WDRSTT);
+}
+
+static int at91sam9_wdt_settimeout(struct watchdog *wdt, unsigned int timeout)
+{
+ struct at91sam9_wdt *at91wdt = to_at91sam9_wdt(wdt);
+ unsigned int reg;
+ unsigned int mr;
+
+ /* Check if disabled */
+ mr = wdt_read(at91wdt, AT91_WDT_MR);
+ if (mr & AT91_WDT_WDDIS) {
+ pr_err("sorry, watchdog is disabled\n");
+ return -EIO;
+ }
+
+ if (!timeout) {
+ wdt_write(at91wdt, AT91_WDT_MR, AT91_WDT_WDDIS);
+ return 0;
+ }
+
+ /*
+ * All counting occurs at SLOW_CLOCK / 128 = 256 Hz
+ *
+ * Since WDV is a 12-bit counter, the maximum period is
+ * 4096 / 256 = 16 seconds.
+ */
+ reg = AT91_WDT_WDRSTEN /* causes watchdog reset */
+ /* | AT91_WDT_WDRPROC causes processor reset only */
+ | AT91_WDT_WDDBGHLT /* disabled in debug mode */
+ | AT91_WDT_WDD /* restart at any time */
+ | (timeout & AT91_WDT_WDV); /* timer value */
+ wdt_write(at91wdt, AT91_WDT_MR, reg);
+
+ return 0;
+}
+
+static int at91sam9_wdt_probe(struct device_d *dev)
+{
+ struct at91sam9_wdt *priv;
+ struct watchdog *wdt;
+ int ret;
+ unsigned int mr;
+
+ priv = xzalloc(sizeof(struct at91sam9_wdt));
+ priv->base = dev_request_mem_region(dev, 0);
+ wdt = &priv->wdt;
+
+ wdt->set_timeout = at91sam9_wdt_settimeout;
+ wdt->keep_alive = at91sam9_wdt_keep_alive;
+
+ /* Check if disabled */
+ mr = wdt_read(priv, AT91_WDT_MR);
+ if (mr & AT91_WDT_WDDIS) {
+ dev_err(dev, "sorry, watchdog is disabled\n");
+ ret = -EIO;
+ goto err;
+ }
+
+ ret = watchdog_register(wdt);
+ if (ret != 0)
+ goto err;
+
+ dev->priv = priv;
+ return 0;
+
+err:
+ free(priv);
+ return ret;
+}
+
+static void at91sam9_wdt_remove(struct device_d *dev)
+{
+ struct at91sam9_wdt *priv= dev->priv;
+ watchdog_deregister(&priv->wdt);
+ free(priv);
+}
+
+static struct driver_d at91sam9_wdt_driver = {
+ .name = "at91sam9_wdt",
+ .probe = at91sam9_wdt_probe,
+ .remove = at91sam9_wdt_remove,
+};
+
+static int at91sam9_wdt_init(void)
+{
+ return platform_driver_register(&at91sam9_wdt_driver);
+}
+coredevice_initcall(at91sam9_wdt_init);
diff --git a/drivers/watchdog/at91sam9_wdt.h b/drivers/watchdog/at91sam9_wdt.h
new file mode 100644
index 0000000..2b68c1a
--- /dev/null
+++ b/drivers/watchdog/at91sam9_wdt.h
@@ -0,0 +1,38 @@
+/*
+ * drivers/watchdog/at91sam9_wdt.h
+ *
+ * Copyright (C) 2007 Andrew Victor
+ * Copyright (C) 2007 Atmel Corporation.
+ *
+ * Watchdog Timer (WDT) - System peripherals regsters.
+ * Based on AT91SAM9261 datasheet revision D.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef AT91_WDT_H
+#define AT91_WDT_H
+
+#define AT91_WDT_CR 0x00 /* Watchdog Control Register */
+#define AT91_WDT_WDRSTT (1 << 0) /* Restart */
+#define AT91_WDT_KEY (0xa5 << 24) /* KEY Password */
+
+#define AT91_WDT_MR 0x04 /* Watchdog Mode Register */
+#define AT91_WDT_WDV (0xfff << 0) /* Counter Value */
+#define AT91_WDT_WDFIEN (1 << 12) /* Fault Interrupt Enable */
+#define AT91_WDT_WDRSTEN (1 << 13) /* Reset Processor */
+#define AT91_WDT_WDRPROC (1 << 14) /* Timer Restart */
+#define AT91_WDT_WDDIS (1 << 15) /* Watchdog Disable */
+#define AT91_WDT_WDD (0xfff << 16) /* Delta Value */
+#define AT91_WDT_WDDBGHLT (1 << 28) /* Debug Halt */
+#define AT91_WDT_WDIDLEHLT (1 << 29) /* Idle Halt */
+
+#define AT91_WDT_SR 0x08 /* Watchdog Status Register */
+#define AT91_WDT_WDUNF (1 << 0) /* Watchdog Underflow */
+#define AT91_WDT_WDERR (1 << 1) /* Watchdog Error */
+
+
+#endif
--
1.8.1.4
@@ -0,0 +1,40 @@
From 3338bcb05479f1149420d4a0ea3904cb9e42eef5 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Date: Wed, 14 Nov 2012 19:18:22 +0800
Subject: [PATCH 3/5] at91sam9260/9g20: add wathdog support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
arch/arm/mach-at91/at91sam9260_devices.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index 1c375ee..5885f91 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -10,6 +10,7 @@
*
*/
#include <common.h>
+#include <init.h>
#include <sizes.h>
#include <asm/armlinux.h>
#include <asm/hardware.h>
@@ -397,3 +398,14 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
#else
void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
#endif
+
+#ifdef CONFIG_WATCHDOG_AT91SAM9X
+static int at91_add_device_watchdog(void)
+{
+ add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
+ AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
+
+ return 0;
+}
+coredevice_initcall(at91_add_device_watchdog);
+#endif
--
1.8.1.4
@@ -0,0 +1,26 @@
From e03bf0e3ad24898019b89eb9a6935d159c60268f Mon Sep 17 00:00:00 2001
From: Fabio Porcedda <fabio.porcedda@gmail.com>
Date: Thu, 17 Jan 2013 11:32:35 +0100
Subject: [PATCH 4/5] at91sam9260/9g20: fix wathdog support
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index 5885f91..df675d2 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -403,7 +403,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
static int at91_add_device_watchdog(void)
{
add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
- AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
+ AT91_BASE_WDT, 16, IORESOURCE_MEM, NULL);
return 0;
}
--
1.8.1.4
@@ -0,0 +1,26 @@
From 98c96ea36a4b3bb9b92dde849db5e8d6918b5168 Mon Sep 17 00:00:00 2001
From: Fabio Porcedda <fabio.porcedda@gmail.com>
Date: Thu, 17 Jan 2013 11:32:59 +0100
Subject: [PATCH 5/5] watchdog: enable for evk-pro3
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
arch/arm/configs/telit_evk_pro3_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/telit_evk_pro3_defconfig b/arch/arm/configs/telit_evk_pro3_defconfig
index 050d176..436cecf 100644
--- a/arch/arm/configs/telit_evk_pro3_defconfig
+++ b/arch/arm/configs/telit_evk_pro3_defconfig
@@ -68,6 +68,8 @@ CONFIG_MCI_ATMEL=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_LED_TRIGGERS=y
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_AT91SAM9X=y
CONFIG_FS_TFTP=y
CONFIG_FS_FAT=y
CONFIG_FS_FAT_LFN=y
--
1.8.1.4
+201
View File
@@ -0,0 +1,201 @@
CONFIG_EXPERIMENTAL=y
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_KERNEL_LZO=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_BLK_DEV_INITRD=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KALLSYMS_ALL=y
CONFIG_EMBEDDED=y
CONFIG_SLAB=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_ARCH_AT91=y
CONFIG_SOC_AT91SAM9260=y
CONFIG_SOC_AT91SAM9263=y
CONFIG_SOC_AT91SAM9G45=y
CONFIG_SOC_AT91SAM9X5=y
CONFIG_SOC_AT91SAM9N12=y
CONFIG_MACH_AT91SAM_DT=y
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
CONFIG_AT91_TIMER_HZ=128
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
CONFIG_LEDS=y
CONFIG_LEDS_CPU=y
CONFIG_UACCESS_WITH_MEMCPY=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
CONFIG_KEXEC=y
CONFIG_AUTO_ZRELADDR=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_PNP=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
CONFIG_IPV6=y
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
CONFIG_IPV6_SIT_6RD=y
# CONFIG_WIRELESS is not set
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_ATMEL=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_GLUEBI=y
CONFIG_PROC_DEVICETREE=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=4
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_ATMEL_PWM=y
CONFIG_ATMEL_TCLIB=y
CONFIG_EEPROM_93CX6=m
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_MACB=y
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_FARADAY is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
CONFIG_DAVICOM_PHY=y
CONFIG_MICREL_PHY=y
# CONFIG_WLAN is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=480
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=272
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_GPIO=y
# CONFIG_INPUT_MOUSE is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_SERIO is not set
CONFIG_LEGACY_PTY_COUNT=4
CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_ATMEL_CONSOLE=y
CONFIG_HW_RANDOM=y
CONFIG_I2C=y
CONFIG_I2C_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_ATMEL=y
CONFIG_PINCTRL_AT91=y
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_WATCHDOG=y
CONFIG_AT91SAM9X_WATCHDOG=y
CONFIG_SSB=m
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_ATMEL=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_ATMEL_LCDC=y
# CONFIG_BACKLIGHT_GENERIC is not set
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_ACORN_8x8=y
CONFIG_FONT_MINI_4x6=y
CONFIG_LOGO=y
# CONFIG_HID_SUPPORT is not set
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_ACM=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_GADGET=y
CONFIG_USB_AT91=m
CONFIG_USB_ATMEL_USBA=m
CONFIG_USB_ETH=m
CONFIG_USB_GADGETFS=m
CONFIG_USB_CDC_COMPOSITE=m
CONFIG_USB_G_ACM_MS=m
CONFIG_USB_G_MULTI=m
CONFIG_USB_G_MULTI_CDC=y
CONFIG_MMC=y
CONFIG_MMC_ATMELMCI=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_GPIO=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_AT91RM9200=y
CONFIG_RTC_DRV_AT91SAM9=y
CONFIG_DMADEVICES=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT2_FS=y
CONFIG_FANOTIFY=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_UBIFS_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_ROOT_NFS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_ISO8859_1=y
CONFIG_STRIP_ASM_SYMS=y
CONFIG_DEBUG_FS=y
# CONFIG_SCHED_DEBUG is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_FTRACE is not set
CONFIG_DEBUG_USER=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_USER_API_HASH=m
CONFIG_CRYPTO_USER_API_SKCIPHER=m
# CONFIG_CRYPTO_HW is not set
CONFIG_CRC_CCITT=m
CONFIG_CRC_ITU_T=m
CONFIG_CRC7=m
CONFIG_AVERAGE=y
+28
View File
@@ -0,0 +1,28 @@
Buildroot board support for Telit EVK-PRO3 with Telit GE863-PRO3
Official site:
http://www.telit.com/en/products.php?p_id=3&p_ac=show&p=10
Build images:
make telit_evk_pro3_defconfig
make
images built:
- output/images/barebox.bin
- output/images/zImage
- output/images/rootfs.ubi
Flash built images:
The first time you need to bootstrap from Telit Official Release 221.07.1007,
at the U-Boot prompt type:
U-Boot> loadb
send buildroot/output/images/barebox.bin
U-Boot> go 0x20200000
flash updated images using barebox through tftp:
barebox:/ erase dev/self0; cp /mnt/tftp/barebox.bin /dev/self0
barebox:/ erase /dev/nand0.kernel.bb; cp /mnt/tftp/zImage /dev/nand0.kernel.bb
barebox:/ erase /dev/nand0.rootfs.bb; cp /mnt/tftp/rootfs.ubi /dev/nand0.rootfs.bb
barebox:/ erase dev/env0
barebox:/ reset
+32
View File
@@ -0,0 +1,32 @@
# Architecture
BR2_arm=y
BR2_arm926t=y
# Toolchain
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.9.1"
# System
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
# Packages
BR2_PACKAGE_HOST_SAM_BA=y
# Filesystem
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBI=y
# Bootloaders
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y
BR2_TARGET_BAREBOX=y
BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/atmel/at91sam9260ek/linux-3.9.config"
BR2_LINUX_KERNEL_ZIMAGE=y
+1 -1
View File
@@ -20,6 +20,6 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_DEFCONFIG="exynos4"
BR2_LINUX_KERNEL_ZIMAGE=y
+1 -1
View File
@@ -16,7 +16,7 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.9.config"
BR2_LINUX_KERNEL_ZIMAGE=y
+1 -1
View File
@@ -20,6 +20,6 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
BR2_LINUX_KERNEL_ZIMAGE=y
+1 -1
View File
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux-3.9.config"
BR2_LINUX_KERNEL_LINUX_BIN=y
+1 -1
View File
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux-3.9.config"
BR2_LINUX_KERNEL_LINUX_BIN=y
+1 -1
View File
@@ -16,7 +16,7 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux-3.9.config"
BR2_LINUX_KERNEL_VMLINUX=y
+1 -1
View File
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-3.9.config"
BR2_LINUX_KERNEL_VMLINUX=y
+1 -1
View File
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.9.config"
BR2_LINUX_KERNEL_VMLINUX=y
+1 -1
View File
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_8=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.10"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.13"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.8.config"
BR2_LINUX_KERNEL_VMLINUX=y
+1 -1
View File
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx"
BR2_LINUX_KERNEL_VMLINUX=y
+1 -1
View File
@@ -15,7 +15,7 @@ BR2_SOFT_FLOAT=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5"
BR2_LINUX_KERNEL_VMLINUX=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
+1 -1
View File
@@ -15,6 +15,6 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.9.config"
+1 -1
View File
@@ -16,6 +16,6 @@ BR2_KERNEL_HEADERS_3_9=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.9.config"
+33
View File
@@ -0,0 +1,33 @@
# Architecture
BR2_arm=y
BR2_arm926t=y
# Toolchain
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.9.1"
# System
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
# Watchdog is armed by the first stage bootloader
BR2_PACKAGE_BUSYBOX_WATCHDOG=y
# Filesystem
BR2_TARGET_ROOTFS_UBIFS=y
BR2_TARGET_ROOTFS_UBI=y
# Bootloader
BR2_TARGET_BAREBOX=y
BR2_TARGET_BAREBOX_CUSTOM_VERSION=y
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2013.04.0"
BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR="board/telit/evk-pro3"
BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="telit_evk_pro3"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/telit/evk-pro3/linux-3.9.config"
BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="evk-pro3"
+3 -3
View File
@@ -14,12 +14,12 @@ or
<a href="/downloads/buildroot-2013.02.tar.bz2">buildroot-2013.02.tar.bz2</a>.
<p>
The latest release candidate is <b>2013.05-rc1</b>, which can be
The latest release candidate is <b>2013.05-rc3</b>, which can be
downloaded here:<p>
<a href="/downloads/buildroot-2013.05-rc1.tar.gz">buildroot-2013.05-rc1.tar.gz</a>
<a href="/downloads/buildroot-2013.05-rc3.tar.gz">buildroot-2013.05-rc3.tar.gz</a>
or
<a href="/downloads/buildroot-2013.05-rc1.tar.bz2">buildroot-2013.05-rc1.tar.bz2</a>.
<a href="/downloads/buildroot-2013.05-rc3.tar.bz2">buildroot-2013.05-rc3.tar.bz2</a>.
<p>
This and earlier releases can always be downloaded from
+28 -1
View File
@@ -5,12 +5,39 @@
<p>
<ul>
<li><b>25 May 2013 -- 2013.05-rc3 released</b>
<p>Another week, another release candidate with more cleanups and
build fixes. See the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.05_rc3">CHANGES</a>
file for details.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2013.05-rc3.tar.bz2">2013.05-rc3
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>15 May 2013 -- 2013.05-rc2 released</b>
<p>Another week, another release candidate with more cleanups and
build fixes. See the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.05_rc2">CHANGES</a>
file for details.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2013.05-rc2.tar.bz2">2013.05-rc2
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>8 May 2013 -- 2013.05-rc1 released</b>
<p>We have a new release candidate! Lots of changes all over the
tree, see the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.05_rc1">CHANGES</a>
file for details.</p>
file for details, and read the
<a href="http://lists.busybox.net/pipermail/buildroot/2013-May/071737.html">announcement</a>.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2013.05-rc1.tar.bz2">2013.05-rc1
+2 -2
View File
@@ -21,7 +21,7 @@ choice
prompt "Kernel version"
config BR2_LINUX_KERNEL_LATEST_VERSION
bool "3.9.1"
bool "3.9.2"
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
bool "Same as toolchain kernel headers"
@@ -76,7 +76,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
config BR2_LINUX_KERNEL_VERSION
string
default "3.9.1" if BR2_LINUX_KERNEL_LATEST_VERSION
default "3.9.2" if BR2_LINUX_KERNEL_LATEST_VERSION
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
+1 -1
View File
@@ -34,7 +34,7 @@ endif
LINUX_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
LINUX_INSTALL_IMAGES = YES
LINUX_DEPENDENCIES += host-module-init-tools
LINUX_DEPENDENCIES += host-module-init-tools host-lzop
ifeq ($(BR2_LINUX_KERNEL_UBOOT_IMAGE),y)
LINUX_DEPENDENCIES += host-uboot-tools
+3 -2
View File
@@ -7,11 +7,12 @@ endif
HOSTMAKE :=$(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make)
# If BR2_LEVEL is 0, scale the maximum concurrency with the number of
# CPUs. A coefficient of 2 is used in order to keep processors busy
# CPUs. An additional job is used in order to keep processors busy
# while waiting on I/O.
# If the number of processors is not available, assume one.
ifeq ($(BR2_JLEVEL),0)
PARALLEL_JOBS:=$(shell echo \
$$((2 * `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
$$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
else
PARALLEL_JOBS:=$(BR2_JLEVEL)
endif
+4 -1
View File
@@ -20,9 +20,12 @@ else
AIRCRACK_NG_MAKE_OPTS = sqlite=false
endif
AIRCRACK_NG_LDFLAGS = $(TARGET_LDFLAGS) -lz \
$(if $(BR2_PREFER_STATIC_LIB),-ldl -lpthread)
define AIRCRACK_NG_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
LDFLAGS="$(TARGET_LDFLAGS) -lz" \
LDFLAGS="$(AIRCRACK_NG_LDFLAGS)" \
-C $(@D) $(AIRCRACK_NG_MAKE_OPTS) all
endef
+3
View File
@@ -3,10 +3,13 @@
# atk
#
#############################################################
ATK_VERSION_MAJOR = 1.33
ATK_VERSION = $(ATK_VERSION_MAJOR).6
ATK_SOURCE = atk-$(ATK_VERSION).tar.bz2
ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR)/
ATK_LICENSE = LGPLv2+
ATK_LICENSE_FILES = COPYING
ATK_INSTALL_STAGING = YES
ATK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
+2
View File
@@ -23,6 +23,8 @@ config BR2_PACKAGE_BOOST_CHRONO
config BR2_PACKAGE_BOOST_CONTEXT
bool "boost-context"
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel \
|| BR2_powerpc || BR2_sparc || BR2_x86_64)
config BR2_PACKAGE_BOOST_DATE_TIME
bool "boost-date_time"
@@ -68,20 +68,24 @@
} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
#define INIT_G() do { \
@@ -270,13 +298,6 @@ struct globals {
/* We use additional 64+ bytes in make_device() */
#define SCRATCH_SIZE 80
@@ -267,15 +295,8 @@ struct globals {
/* Prevent infinite loops in /sys symlinks */
#define MAX_SYSFS_DEPTH 3
-/* We use additional 64+ bytes in make_device() */
-#define SCRATCH_SIZE 80
-
-#if 0
-# define dbg(...) bb_error_msg(__VA_ARGS__)
-#else
-# define dbg(...) ((void)0)
-#endif
-
-
+/* We use additional bytes in make_device() */
+#define SCRATCH_SIZE 128
#if ENABLE_FEATURE_MDEV_CONF
static void make_default_cur_rule(void)
@@ -288,14 +309,65 @@ static void make_default_cur_rule(void)
static void clean_up_cur_rule(void)
@@ -233,37 +237,91 @@
#else
# define next_rule() (&G.cur_rule)
@@ -479,9 +569,6 @@ static void make_device(char *device_nam
@@ -468,7 +558,7 @@ static char *build_alias(char *alias, co
/* mknod in /dev based on a path like "/sys/block/hda/hda1"
* NB1: path parameter needs to have SCRATCH_SIZE scratch bytes
- * after NUL, but we promise to not mangle (IOW: to restore if needed)
+ * after NUL, but we promise to not mangle (IOW: to restore NUL if needed)
* path string.
* NB2: "mdev -s" may call us many times, do not leak memory/fds!
*
@@ -478,9 +568,7 @@ static char *build_alias(char *alias, co
static void make_device(char *device_name, char *path, int operation)
{
int major, minor, type, len;
-
- if (G.verbose)
- bb_error_msg("device: %s, %s", device_name, path);
-
+ char *path_end = path + strlen(path);
/* Try to read major/minor string. Note that the kernel puts \n after
* the data, so we don't need to worry about null terminating the string
* because sscanf() will stop at the first nondigit, which \n is.
@@ -500,8 +587,7 @@ static void make_device(char *device_nam
@@ -489,29 +577,51 @@ static void make_device(char *device_nam
*/
major = -1;
if (operation == OP_add) {
- char *dev_maj_min = path + strlen(path);
-
- strcpy(dev_maj_min, "/dev");
- len = open_read_close(path, dev_maj_min + 1, 64);
- *dev_maj_min = '\0';
+ strcpy(path_end, "/dev");
+ len = open_read_close(path, path_end + 1, SCRATCH_SIZE - 1);
+ *path_end = '\0';
if (len < 1) {
if (!ENABLE_FEATURE_MDEV_EXEC)
return;
/* no "dev" file, but we can still run scripts
* based on device name */
} else if (sscanf(++dev_maj_min, "%u:%u", &major, &minor) == 2) {
- } else if (sscanf(++dev_maj_min, "%u:%u", &major, &minor) == 2) {
- if (G.verbose)
- bb_error_msg("maj,min: %u,%u", major, minor);
+ } else if (sscanf(path_end + 1, "%u:%u", &major, &minor) == 2) {
+ dbg1("dev %u,%u", major, minor);
} else {
major = -1;
}
@@ -511,7 +597,8 @@ static void make_device(char *device_nam
/* Determine device name, type, major and minor */
if (!device_name)
device_name = (char*) bb_basename(path);
}
/* else: for delete, -1 still deletes the node, but < -1 suppresses that */
- /* Determine device name, type, major and minor */
- if (!device_name)
- device_name = (char*) bb_basename(path);
- /* http://kernel.org/doc/pending/hotplug.txt says that only
+ /* Determine device name */
+ if (!device_name) {
+ /*
+ * There was no $DEVNAME envvar (for example, mdev -s never has).
+ * But it is very useful: it contains the *path*, not only basename,
+ * Thankfully, uevent file has it.
+ * Example of .../sound/card0/controlC0/uevent file on Linux-3.7.7:
+ * MAJOR=116
+ * MINOR=7
+ * DEVNAME=snd/controlC0
+ */
+ strcpy(path_end, "/uevent");
+ len = open_read_close(path, path_end + 1, SCRATCH_SIZE - 1);
+ if (len < 0)
+ len = 0;
+ *path_end = '\0';
+ path_end[1 + len] = '\0';
+ device_name = strstr(path_end + 1, "\nDEVNAME=");
+ if (device_name) {
+ device_name += sizeof("\nDEVNAME=")-1;
+ strchrnul(device_name, '\n')[0] = '\0';
+ } else {
+ /* Fall back to just basename */
+ device_name = (char*) bb_basename(path);
+ }
+ }
+ /* Determine device type */
+ /*
+ * http://kernel.org/doc/pending/hotplug.txt says that only
* "/sys/block/..." is for block devices. "/sys/bus" etc is not.
* But since 2.6.25 block devices are also in /sys/class/block.
* We use strstr("/block/") to forestall future surprises.
@@ -537,6 +624,8 @@ static void make_device(char *device_nam
@@ -537,6 +647,8 @@ static void make_device(char *device_nam
rule = next_rule();
#if ENABLE_FEATURE_MDEV_CONF
@@ -272,7 +330,7 @@
if (rule->maj >= 0) { /* @maj,min rule */
if (major != rule->maj)
continue;
@@ -547,7 +636,7 @@ static void make_device(char *device_nam
@@ -547,7 +659,7 @@ static void make_device(char *device_nam
}
if (rule->envvar) { /* $envvar=regex rule */
str_to_match = getenv(rule->envvar);
@@ -281,7 +339,7 @@
if (!str_to_match)
continue;
}
@@ -555,7 +644,7 @@ static void make_device(char *device_nam
@@ -555,7 +667,7 @@ static void make_device(char *device_nam
if (rule->regex_compiled) {
int regex_match = regexec(&rule->match, str_to_match, ARRAY_SIZE(off), off, 0);
@@ -290,7 +348,7 @@
//bb_error_msg("matches:");
//for (int i = 0; i < ARRAY_SIZE(off); i++) {
// if (off[i].rm_so < 0) continue;
@@ -574,9 +663,8 @@ static void make_device(char *device_nam
@@ -574,9 +686,8 @@ static void make_device(char *device_nam
}
/* else: it's final implicit "match-all" rule */
rule_matches:
@@ -301,7 +359,7 @@
/* Build alias name */
alias = NULL;
if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) {
@@ -619,34 +707,30 @@ static void make_device(char *device_nam
@@ -619,34 +730,30 @@ static void make_device(char *device_nam
}
}
}
@@ -344,7 +402,7 @@
}
if (operation == OP_add && major >= 0) {
@@ -656,8 +740,17 @@ static void make_device(char *device_nam
@@ -656,8 +763,17 @@ static void make_device(char *device_nam
mkdir_recursive(node_name);
*slash = '/';
}
@@ -364,7 +422,7 @@
if (mknod(node_name, rule->mode | type, makedev(major, minor)) && errno != EEXIST)
bb_perror_msg("can't create '%s'", node_name);
if (ENABLE_FEATURE_MDEV_CONF) {
@@ -671,8 +764,7 @@ static void make_device(char *device_nam
@@ -671,8 +787,7 @@ static void make_device(char *device_nam
//TODO: on devtmpfs, device_name already exists and symlink() fails.
//End result is that instead of symlink, we have two nodes.
//What should be done?
@@ -374,7 +432,7 @@
symlink(node_name, device_name);
}
}
@@ -681,27 +773,21 @@ static void make_device(char *device_nam
@@ -681,27 +796,21 @@ static void make_device(char *device_nam
if (ENABLE_FEATURE_MDEV_EXEC && command) {
/* setenv will leak memory, use putenv/unsetenv/free */
char *s = xasprintf("%s=%s", "MDEV", node_name);
@@ -405,7 +463,7 @@
unlink(node_name);
}
@@ -746,9 +832,16 @@ static int FAST_FUNC dirAction(const cha
@@ -746,9 +855,16 @@ static int FAST_FUNC dirAction(const cha
* under /sys/class/ */
if (1 == depth) {
free(G.subsystem);
@@ -423,7 +481,7 @@
}
return (depth >= MAX_SYSFS_DEPTH ? SKIP : TRUE);
@@ -813,12 +906,107 @@ static void load_firmware(const char *fi
@@ -813,12 +929,107 @@ static void load_firmware(const char *fi
full_write(loading_fd, "-1", 2);
out:
@@ -531,7 +589,7 @@
int mdev_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int mdev_main(int argc UNUSED_PARAM, char **argv)
{
@@ -840,8 +1028,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
@@ -840,8 +1051,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
xchdir("/dev");
if (argv[1] && strcmp(argv[1], "-s") == 0) {
@@ -542,7 +600,7 @@
*/
struct stat st;
@@ -853,6 +1041,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
@@ -853,6 +1064,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
G.root_major = major(st.st_dev);
G.root_minor = minor(st.st_dev);
@@ -551,7 +609,7 @@
/* ACTION_FOLLOWLINKS is needed since in newer kernels
* /sys/block/loop* (for example) are symlinks to dirs,
* not real directories.
@@ -878,11 +1068,13 @@ int mdev_main(int argc UNUSED_PARAM, cha
@@ -878,11 +1091,13 @@ int mdev_main(int argc UNUSED_PARAM, cha
char *action;
char *env_devname;
char *env_devpath;
@@ -566,7 +624,7 @@
* DEVPATH is like "/block/sda" or "/class/input/mice"
*/
action = getenv("ACTION");
@@ -893,39 +1085,20 @@ int mdev_main(int argc UNUSED_PARAM, cha
@@ -893,39 +1108,20 @@ int mdev_main(int argc UNUSED_PARAM, cha
if (!action || !env_devpath /*|| !G.subsystem*/)
bb_show_usage();
fw = getenv("FIRMWARE");
@@ -618,7 +676,7 @@
snprintf(temp, PATH_MAX, "/sys%s", env_devpath);
if (op == OP_remove) {
@@ -935,16 +1108,18 @@ int mdev_main(int argc UNUSED_PARAM, cha
@@ -935,16 +1131,18 @@ int mdev_main(int argc UNUSED_PARAM, cha
if (!fw)
make_device(env_devname, temp, op);
}
@@ -0,0 +1,11 @@
--- busybox-1.21.0/util-linux/volume_id/ntfs.c
+++ busybox-1.21.0-ntfs/util-linux/volume_id/ntfs.c
@@ -150,7 +150,7 @@ int FAST_FUNC volume_id_probe_ntfs(struc
attr = (struct file_attribute*) &buf[attr_off];
attr_type = le32_to_cpu(attr->type);
- attr_len = le16_to_cpu(attr->len);
+ attr_len = le32_to_cpu(attr->len);
val_off = le16_to_cpu(attr->value_offset);
val_len = le32_to_cpu(attr->value_len);
attr_off += attr_len;
+4
View File
@@ -36,6 +36,10 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no gl_cv_c_restrict=no
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
CAIRO_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DCAIRO_NO_MUTEX=1"
endif
CAIRO_CONF_OPT = \
--enable-trace=no \
--enable-interpreter=no
+4 -7
View File
@@ -8,6 +8,10 @@ CLASSPATH_CONF_OPT = \
--disable-gconf-peer \
--disable-tools
# classpath assumes qt runs on top of X11, but we
# don't support qt4 on X11
CLASSPATH_CONF_OPT += --disable-qt-peer
CLASSPATH_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
@@ -39,13 +43,6 @@ else
CLASSPATH_CONF_OPT += --disable-gtk-peer --disable-gstreamer-peer
endif
ifeq ($(BR2_PACKAGE_QT),y)
CLASSPATH_CONF_OPT += --enable-qt-peer
CLASSPATH_DEPENDENCIES += qt
else
CLASSPATH_CONF_OPT += --disable-qt-peer
endif
ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
CLASSPATH_CONF_OPT += --enable-xmlj
CLASSPATH_DEPENDENCIES += libxml2 libxslt
+4
View File
@@ -1,5 +1,6 @@
config BR2_PACKAGE_CRDA
bool "crda"
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBNL
# regdb is a runtime dependency
@@ -13,3 +14,6 @@ config BR2_PACKAGE_CRDA
may operate within for a given location.
http://linuxwireless.org/en/developers/Regulatory/CRDA
comment "crda requires a toolchain with thread support"
depends on !BR2_TOOLCHAIN_HAS_THREADS
+1
View File
@@ -6,6 +6,7 @@
CURLFTPFS_VERSION = 0.9.2
CURLFTPFS_SITE = http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/$(CURLFTPFS_VERSION)
CURLFTPFS_CONF_ENV = ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config
CURLFTPFS_DEPENDENCIES = \
libglib2 libfuse openssl libcurl \
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
+4
View File
@@ -14,6 +14,10 @@ CZMQ_DEPENDENCIES = zeromq
CZMQ_LICENSE = LGPLv3+ with exceptions
CZMQ_LICENSE_FILES = COPYING COPYING.LESSER
# asciidoc is a python script that imports unicodedata, which is not in
# host-python, so disable asciidoc entirely.
CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
define CZMQ_CREATE_CONFIG_DIR
mkdir -p $(@D)/config
endef
+3
View File
@@ -3,8 +3,11 @@
# dbus
#
#############################################################
DBUS_VERSION = 1.4.24
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
DBUS_LICENSE = AFLv2.1 GPLv2+
DBUS_LICENSE_FILES = COPYING
DBUS_INSTALL_STAGING = YES
DBUS_DEPENDENCIES = host-pkgconf
+3 -2
View File
@@ -8,12 +8,13 @@ config BR2_PACKAGE_DVB_APPS
if BR2_PACKAGE_DVB_APPS
comment "dvb-apps utils needs LARGEFILE support in the toolchain"
depends on !BR2_LARGEFILE
comment "dvb-apps utils needs a toolchain with LARGEFILE and THREADS support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_DVB_APPS_UTILS
bool "dvb-apps utilities"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
A small number of DVB test and utility programs,
+1 -1
View File
@@ -4,7 +4,7 @@
#
#############################################################
F2FS_TOOLS_VERSION = e3eadd686ed1da1828f32977a36b694bc0090f4e
F2FS_TOOLS_VERSION = fef98ebdf3a7728017cb3d0ae4ffedc5405e531d
F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
F2FS_TOOLS_SITE_METHOD = git
F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
+1
View File
@@ -1,5 +1,6 @@
config BR2_PACKAGE_FAN_CTRL
bool "fan-ctrl"
depends on BR2_USE_MMU # fork()
help
Fan-ctrl is a little daemon that controls the speed of one
or more system or CPU fans. It does so by monitoring
+1
View File
@@ -8,6 +8,7 @@ FILEMQ_VERSION = 8fac5140dd
FILEMQ_SITE = git://github.com/zeromq/filemq.git
FILEMQ_AUTORECONF = YES
FILEMQ_CONF_ENV = fmq_have_asciidoc=no
FILEMQ_INSTALL_STAGING = YES
FILEMQ_DEPENDENCIES = czmq openssl zeromq
FILEMQ_LICENSE = LGPLv3+ with exceptions
+26
View File
@@ -25,11 +25,32 @@ config BR2_PACKAGE_FLOT_CANVAS
help
Flot plugin to render axis tick labels directly to the canvas
config BR2_PACKAGE_FLOT_CATEGORIES
bool "categories"
help
Flot plugin for plotting textual data or categories
config BR2_PACKAGE_FLOT_CROSSHAIR
bool "crosshair"
help
Flot plugin for showing crosshairs when the mouse hovers
over the plot
config BR2_PACKAGE_FLOT_ERRORBARS
bool "errorbars"
help
Flot plugin for plotting error bars
config BR2_PACKAGE_FLOT_FILLBETWEEN
bool "fillbetween"
help
Flot plugin for computing bottoms for filled line and bar charts
config BR2_PACKAGE_FLOT_IMAGE
bool "image"
help
Flot plugin for plotting images
config BR2_PACKAGE_FLOT_NAVIGATE
bool "navigate"
help
@@ -66,4 +87,9 @@ config BR2_PACKAGE_FLOT_THRESHOLD
help
Flot plugin for thresholding data
config BR2_PACKAGE_FLOT_TIME
bool "time"
help
Flot plugin for handling time axes
endif
+5
View File
@@ -4,7 +4,11 @@ FLOT_LICENSE = MIT
FLOT_LICENSE_FILES = LICENSE.txt
FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
$(if $(BR2_PACKAGE_FLOT_CANVAS),canvas) \
$(if $(BR2_PACKAGE_FLOT_CATEGORIES),categories) \
$(if $(BR2_PACKAGE_FLOT_CROSSHAIR),crosshair) \
$(if $(BR2_PACKAGE_FLOT_ERRORBARS),errorbars) \
$(if $(BR2_PACKAGE_FLOT_FILLBETWEEN),fillbetween) \
$(if $(BR2_PACKAGE_FLOT_IMAGE),image) \
$(if $(BR2_PACKAGE_FLOT_NAVIGATE),navigate) \
$(if $(BR2_PACKAGE_FLOT_PIE),pie) \
$(if $(BR2_PACKAGE_FLOT_RESIZE),resize) \
@@ -12,6 +16,7 @@ FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
$(if $(BR2_PACKAGE_FLOT_STACK),stack) \
$(if $(BR2_PACKAGE_FLOT_SYMBOL),symbol) \
$(if $(BR2_PACKAGE_FLOT_THRESHOLD),threshold) \
$(if $(BR2_PACKAGE_FLOT_TIME),time) \
)
define FLOT_INSTALL_TARGET_CMDS
+12 -1
View File
@@ -21,8 +21,11 @@ GUTENPRINT_DEPENDENCIES = cups host-pkgconf \
# so we need to build both a host package and a target package
GUTENPRINT_DEPENDENCIES += host-gutenprint
GUTENPRINT_CONF_ENV = ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config
GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
--disable-samples \
--without-doc \
--without-gimp2 \
--without-foomatic \
--without-foomatic3 \
@@ -41,6 +44,13 @@ HOST_GUTENPRINT_DEPENDENCIES =
# The host-gutenprint shall create the required header
HOST_GUTENPRINT_MAKE_ENV =
# Even with --without-cups, gutenprint will still add the output of
# cups-config --cflags / --ldflags to it's compiler/linker flags if
# available on host.
# Notice: Because of the configure logic, it needs to be set to the
# empty string to to disable this, not just to /bin/false like elsewhere.
HOST_GUTENPRINT_CONF_ENV = ac_cv_path_CUPS_CONFIG=''
HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
--disable-samples \
--without-gimp2 \
@@ -51,7 +61,8 @@ HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
--without-foomatic3 \
--disable-escputil \
--disable-test \
--disable-testpattern
--disable-testpattern \
--without-cups
# Needed by autoreconf
define GUTENPRINT_CREATE_M4_DIR
+3 -2
View File
@@ -2,6 +2,7 @@ config BR2_PACKAGE_HPLIP
bool "hplip"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_CUPS
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_JPEG
help
@@ -14,5 +15,5 @@ config BR2_PACKAGE_HPLIP
http://hplipopensource.com/
comment "hplip requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP
comment "hplip requires a toolchain with C++ and thread support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
@@ -1,43 +0,0 @@
From 2ab6524ca0cfaab7feb42f7c328db8fca7b111fc Mon Sep 17 00:00:00 2001
From: Gilles Talis <gilles.talis@gmail.com>
Date: Tue, 5 Mar 2013 21:59:11 -0800
Subject: [PATCH] Add json_object_iterator.h to installed headers
Backported from: 4154c55edae6f6b34d6ef4fcc331055fdf8e1a23
In addition to original patch, applied the same change to Makefile.in
to avoid having the package to be autoreconfigured.
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
Makefile.am | 1 +
Makefile.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index d4a7bbb..8f09ca8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,7 @@ libjsoninclude_HEADERS = \
json_config.h \
json_inttypes.h \
json_object.h \
+ json_object_iterator.h \
json_object_private.h \
json_tokener.h \
json_util.h \
diff --git a/Makefile.in b/Makefile.in
index c06db3e..9d924cd 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -278,6 +278,7 @@ libjsoninclude_HEADERS = \
json_config.h \
json_inttypes.h \
json_object.h \
+ json_object_iterator.h \
json_object_private.h \
json_tokener.h \
json_util.h \
--
1.7.10.4
+19 -6
View File
@@ -13,19 +13,32 @@ Index: b/Makefile.am.inc
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -1,2 +1,2 @@
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
Index: b/Makefile.in
===================================================================
--- a/Makefile.in
+++ b/Makefile.in
@@ -263,7 +263,7 @@
@@ -274,7 +274,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
SUBDIRS = . tests
lib_LTLIBRARIES = libjson.la
lib_LTLIBRARIES = libjson-c.la $(am__append_1)
Index: b/tests/Makefile.in
===================================================================
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -228,7 +228,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
LIBJSON_LA = $(top_builddir)/libjson-c.la
test1_LDADD = $(LIBJSON_LA)
test1Formatted_LDADD = $(LIBJSON_LA)
+4 -2
View File
@@ -4,8 +4,10 @@
#
################################################################################
JSON_C_VERSION = 0.10
JSON_C_SITE = https://github.com/downloads/json-c/json-c
JSON_C_VERSION = 0.11
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases/
JSON_C_INSTALL_STAGING = YES
JSON_C_MAKE = $(MAKE1)
JSON_C_CONF_OPT = --disable-oldname-compat
$(eval $(autotools-package))
@@ -0,0 +1,41 @@
From 7e940ce34ff4de254d460344f1a1a486a14fb045 Mon Sep 17 00:00:00 2001
From: Gilles Talis <gilles.talis@gmail.com>
Date: Wed, 22 May 2013 16:21:26 -0700
Subject: [PATCH] Fix build failure seen when using toolchain without threads support
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
src/atomic_ops.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/atomic_ops.c b/src/atomic_ops.c
index b6731a2..5769643 100644
--- a/src/atomic_ops.c
+++ b/src/atomic_ops.c
@@ -48,7 +48,9 @@
#undef AO_REQUIRE_CAS
+#if defined(AO_USE_PTHREAD_DEFS)
#include <pthread.h>
+#endif
#ifndef AO_USE_NO_SIGNALS
# include <signal.h>
@@ -72,11 +74,13 @@
# include "atomic_ops/sysdeps/standard_ao_double_t.h"
#endif
+#if defined(AO_USE_PTHREAD_DEFS)
/*
* Lock for pthreads-based implementation.
*/
pthread_mutex_t AO_pt_lock = PTHREAD_MUTEX_INITIALIZER;
+#endif
/*
* Out of line compare-and-swap emulation based on test and set.
--
1.7.4.1
+10
View File
@@ -7,6 +7,16 @@
LIBATOMIC_OPS_VERSION = 7.2
LIBATOMIC_OPS_SOURCE = libatomic_ops-$(LIBATOMIC_OPS_VERSION).tar.gz
LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download
# From doc/LICENSING.txt: "Our intent is to make it easy to use
# libatomic_ops, in both free and proprietary software. Hence most
# code that we expect to be linked into a client application is
# covered by an MIT-style license. A few library routines are covered
# by the GNU General Public License. These are put into a separate
# library, libatomic_ops_gpl.a."
LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension)
LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt doc/COPYING
LIBATOMIC_OPS_INSTALL_STAGING = YES
$(eval $(autotools-package))
@@ -0,0 +1,57 @@
From 3604fde3d3c9b0d0e389e079aecf470d123ba180 Mon Sep 17 00:00:00 2001
From: YAMADA Yasuharu <yasuharu.yamada@access-company.com>
Date: Thu, 11 Apr 2013 00:17:15 +0200
Subject: [PATCH] cookie: fix tailmatching to prevent cross-domain leakage
Cookies set for 'example.com' could accidentaly also be sent by libcurl
to the 'bexample.com' (ie with a prefix to the first domain name).
This is a security vulnerabilty, CVE-2013-1944.
Bug: http://curl.haxx.se/docs/adv_20130412.html
---
lib/cookie.c | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/lib/cookie.c b/lib/cookie.c
index 4b9ec0b..a67204e 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -118,15 +118,29 @@ static void freecookie(struct Cookie *co)
free(co);
}
-static bool tailmatch(const char *little, const char *bigone)
+static bool tailmatch(const char *cooke_domain, const char *hostname)
{
- size_t littlelen = strlen(little);
- size_t biglen = strlen(bigone);
+ size_t cookie_domain_len = strlen(cooke_domain);
+ size_t hostname_len = strlen(hostname);
- if(littlelen > biglen)
+ if(hostname_len < cookie_domain_len)
return FALSE;
- return Curl_raw_equal(little, bigone+biglen-littlelen) ? TRUE : FALSE;
+ if(!Curl_raw_equal(cooke_domain, hostname+hostname_len-cookie_domain_len))
+ return FALSE;
+
+ /* A lead char of cookie_domain is not '.'.
+ RFC6265 4.1.2.3. The Domain Attribute says:
+ For example, if the value of the Domain attribute is
+ "example.com", the user agent will include the cookie in the Cookie
+ header when making HTTP requests to example.com, www.example.com, and
+ www.corp.example.com.
+ */
+ if(hostname_len == cookie_domain_len)
+ return TRUE;
+ if('.' == *(hostname + hostname_len - cookie_domain_len - 1))
+ return TRUE;
+ return FALSE;
}
/*
--
1.7.10.4
+3
View File
@@ -3,9 +3,12 @@
# libdrm
#
#############################################################
LIBDRM_VERSION = 2.4.38
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
LIBDRM_LICENSE = MIT
LIBDRM_INSTALL_STAGING = YES
LIBDRM_DEPENDENCIES = \
+5
View File
@@ -7,6 +7,8 @@
LIBEXOSIP2_VERSION = 3.6.0
LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip/
LIBEXOSIP2_INSTALL_STAGING = YES
LIBEXOSIP2_LICENSE = GPLv2+
LIBEXOSIP2_LICENSE_FILES = COPYING
LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
@@ -17,4 +19,7 @@ else
LIBEXOSIP2_CONF_OPT += --disable-openssl
endif
LIBEXOSIP2_CONF_OPT += \
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
$(eval $(autotools-package))
@@ -0,0 +1,28 @@
Fix gio/gcancellable.c build when thread support is disabled
Signed-off-by: "Samuel Martin" <s.martin49@gmail.com>
---
--- a/gio/gcancellable.c 2013-05-14 23:08:25.514461348 +0200
+++ b/gio/gcancellable.c 2013-05-14 23:10:23.347789625 +0200
@@ -270,8 +270,10 @@ g_cancellable_reset (GCancellable *cance
while (priv->cancelled_running)
{
priv->cancelled_running_waiting = TRUE;
+#if defined(G_THREADS_ENABLED)
g_cond_wait (cancellable_cond,
g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable)));
+#endif
}
if (priv->cancelled)
@@ -619,8 +621,10 @@ g_cancellable_disconnect (GCancellable
while (priv->cancelled_running)
{
priv->cancelled_running_waiting = TRUE;
+#if defined(G_THREADS_ENABLED)
g_cond_wait (cancellable_cond,
g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable)));
+#endif
}
g_signal_handler_disconnect (cancellable, handler_id);
+3
View File
@@ -67,6 +67,9 @@ HOST_LIBGLIB2_CONF_OPT = \
--disable-tests
LIBGLIB2_CONF_OPT += --disable-tests
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
LIBGLIB2_CONF_OPT += --with-threads=none --disable-threads
endif
LIBGLIB2_DEPENDENCIES = host-pkgconf host-libglib2 libffi zlib $(if $(BR2_NEEDS_GETTEXT),gettext) host-gettext
+1 -1
View File
@@ -11,4 +11,4 @@ config BR2_PACKAGE_LIBNSPR
http://www.mozilla.org/projects/nspr/
comment "libnspr requires a toolchain with LARGEFILE and threads support"
depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+1 -1
View File
@@ -15,5 +15,5 @@ config BR2_PACKAGE_LIBNSS
http://www.mozilla.org/projects/security/pki/nss/
comment "libnss requires a toolchain with LARGEFILE and thread support"
depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+5
View File
@@ -7,5 +7,10 @@
LIBOSIP2_VERSION = 3.6.0
LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip
LIBOSIP2_INSTALL_STAGING = YES
LIBOSIP2_LICENSE = LGPLv2.1+
LIBOSIP2_LICENSE_FILES = COPYING
LIBOSIP2_CONF_OPT = \
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
$(eval $(autotools-package))
+3
View File
@@ -6,6 +6,9 @@
LIBSHA1_VERSION = 0.3
LIBSHA1_SITE = http://github.com/dottedmag/libsha1/tarball/$(LIBSHA1_VERSION)
LIBSHA1_LICENSE = BSD-3c or GPL
LIBSHA1_LICENSE_FILES = COPYING
LIBSHA1_INSTALL_STAGING = YES
# We're getting the source code from Github, so there is no generated
+1
View File
@@ -7,6 +7,7 @@
LIBSIGSEGV_VERSION = 2.6
LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
LIBSIGSEGV_INSTALL_STAGING = YES
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
LIBSIGSEGV_LICENSE = GPLv2+
LIBSIGSEGV_LICENSE_FILES = COPYING
+15
View File
@@ -34,6 +34,21 @@ else
HOST_LIBXML2_CONF_OPT += --without-python
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
LIBXML2_DEPENDENCIES += zlib
LIBXML2_CONF_OPT += --with-zlib
else
LIBXML2_CONF_OPT += --without-zlib
endif
LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y)
LIBXML2_CONF_OPT += --with-iconv
else
LIBXML2_CONF_OPT += --without-iconv
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))
+1 -1
View File
@@ -15,7 +15,7 @@ LINKNX_DEPENDENCIES = libpthsem
ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
LINKNX_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
LINKNX_DEPENDENCIES = mysql_client
LINKNX_DEPENDENCIES += mysql_client
else
LINKNX_CONF_OPT += --without-mysql
endif
@@ -0,0 +1,28 @@
Date: Mon, 9 Jul 2012 09:43:11 +0200
Subject: [PATCH] RLIMIT_* variables are no longer defined unless you
explicitly include sys/resource.h.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
modules/pam_unix/pam_unix_acct.c: Include sys/resource.h.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[This patch is in linux-pam 1.1.6]
---
modules/pam_unix/pam_unix_acct.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c
index 8e90cc9..4a362f8 100644
--- a/modules/pam_unix/pam_unix_acct.c
+++ b/modules/pam_unix/pam_unix_acct.c
@@ -41,6 +41,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
+#include <sys/resource.h>
#include <syslog.h>
#include <pwd.h>
#include <shadow.h>
--
1.8.2.1
@@ -0,0 +1,37 @@
From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Wed, 10 Oct 2012 18:13:07 +0000
Subject: [PATCH] pam_unix: fix build in --enable-selinux mode
glibc's <sys/wait.h> starting with commit
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=glibc-2.15-231-gd94a467
does not include <sys/resource.h> for POSIX 2008 conformance reasons, so
when pam is being built with SELinux support enabled, pam_unix_passwd.c
uses getrlimit(2) and therefore should include <sys/resource.h> without
relying on other headers.
* modules/pam_unix/pam_unix_passwd.c: Include <sys/resource.h>.
Reported-by: Guido Trentalancia <guido@trentalancia.com>
Reported-by: "Jory A. Pratt" <anarchy@gentoo.org>
Reported-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[This patch is in linux-pam 1.1.6]
---
modules/pam_unix/pam_unix_passwd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index 9e1302d..94bc3ec 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -58,6 +58,7 @@
#include <signal.h>
#include <errno.h>
#include <sys/wait.h>
+#include <sys/resource.h>
#include <security/_pam_macros.h>
--
1.8.2.1
+1 -1
View File
@@ -1,6 +1,6 @@
config BR2_PACKAGE_LTRACE
bool "ltrace"
depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa || BR2_aarch64)
depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa || BR2_aarch64 || BR2_arc)
select BR2_PACKAGE_LIBELF
help
Debugging program which runs a specified command until it exits.
+3
View File
@@ -16,3 +16,6 @@ config BR2_PACKAGE_LTTNG_MODULES
http://lttng.org/files/bundles/20111214/README.compatible.kernels.txt
http://lttng.org
comment "lttng-modules requires a linux kernel to be built"
depends on !BR2_LINUX_KERNEL
+3 -3
View File
@@ -1,10 +1,10 @@
config BR2_PACKAGE_LTTNG_TOOLS
bool "lttng-tools"
depends on BR2_PACKAGE_LTTNG_MODULES
select BR2_PACKAGE_LIBURCU
select BR2_PACKAGE_POPT
# liburcu only works on some architectures and requires thread support
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Userspace utilities for the LTTng 2.0 tracing
@@ -24,6 +24,6 @@ config BR2_PACKAGE_LTTNG_TOOLS
http://lttng.org
comment "lttng-tools needs threads support"
depends on !BR2_TOOLCHAIN_HAS_THREADS
comment "lttng-tools needs LARGEFILE and threads support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
@@ -42,7 +42,7 @@ else
MATCHBOX_LIB_CONF_OPT+=--disable-png
endif
ifeq ($(BR2_PACKAGE_PANGO),y)
ifeq ($(BR2_PACKAGE_PANGO)$(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yyy)
MATCHBOX_LIB_CONF_OPT+=--enable-pango
MATCHBOX_LIB_DEPENDENCIES+=pango
else
+7
View File
@@ -6,6 +6,13 @@ config BR2_PACKAGE_MONGREL2
depends on BR2_INET_IPV6 # zeromq
depends on BR2_LARGEFILE # zeromq -> util-linux
depends on BR2_USE_WCHAR # zeromq -> util-linux
# {get,make,swap}context functions present in
# {e,}glibc and in uClibc's master branch. Source has arm workaround
depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
BR2_TOOLCHAIN_CTNG_eglibc || \
BR2_TOOLCHAIN_CTNG_glibc || \
BR2_arm
help
Mongrel2 is an application, language, and network architecture
agnostic web server that focuses on web applications using
+3 -2
View File
@@ -1,6 +1,7 @@
config BR2_PACKAGE_BELLAGIO
bool "bellagio"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Bellagio is an opensource implementation of the
OpenMAX IL API.
@@ -14,5 +15,5 @@ config BR2_PACKAGE_BELLAGIO
http://omxil.sourceforge.net/
comment "bellagio requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP
comment "bellagio requires a toolchain with C++ and threads support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+2
View File
@@ -8,5 +8,7 @@ BELLAGIO_SOURCE = libomxil-bellagio-$(BELLAGIO_VERSION).tar.gz
BELLAGIO_SITE = http://downloads.sourceforge.net/project/omxil/omxil/Bellagio%20$(BELLAGIO_VERSION)
BELLAGIO_AUTORECONF = YES
BELLAGIO_INSTALL_STAGING = YES
BELLAGIO_LICENSE = LGPLv2.1+
BELLAGIO_LICENSE_FILES = COPYING
$(eval $(autotools-package))
@@ -0,0 +1,22 @@
Fix dfb-example
Order of inclusion gives a strange effect on the definition of
gst_debug_log. Swapping the include statements solve it.
Not upstreamed since there will be no more updates to this version
of gst-plugins-bad.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
diff -rup gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c
--- gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c 2011-12-11 19:49:11.000000000 +0100
+++ gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c 2013-05-13 00:32:00.507469138 +0200
@@ -1,7 +1,7 @@
-#include <directfb.h>
#include <stdio.h>
#include <gst/gst.h>
+#include <directfb.h>
static IDirectFB *dfb = NULL;
static IDirectFBSurface *primary = NULL;
@@ -0,0 +1,26 @@
From 759c0bc6f990240287a14fa6dec029ecea581463 Mon Sep 17 00:00:00 2001
From: Arun Raghavan <arun.raghavan@collabora.co.uk>
Date: Sat, 27 Apr 2013 03:27:05 +0000
Subject: build-sys: json-c changed everything :(
json-c 0.11 ships a pkg-config file with a different name, and changes
the name of its library as well.
---
(limited to 'configure.ac')
diff --git a/configure.ac b/configure.ac
index c8161a4..b1bd21a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -624,7 +624,8 @@ AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_LIBCHECK" = x1])
#### json parsing ####
-PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])
+PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ], [],
+ [PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])])
AC_SUBST(LIBJSON_CFLAGS)
AC_SUBST(LIBJSON_LIBS)
--
cgit v0.9.0.2-2-gbebe
+14 -1
View File
@@ -28,10 +28,23 @@ PULSEAUDIO_DEPENDENCIES = \
$(if $(BR2_PACKAGE_UDEV),udev) \
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
$(if $(BR2_PACKAGE_FFTW),fftw) \
$(if $(BR2_PACKAGE_ORC),orc) \
$(if $(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),webrtc-audio-processing) \
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
# One patch touches configure.ac. We unconditionnally need libglib2
# because configure.ac uses AM_GLIB_GNU_GETTEXT. This unconditionnal
# dependency can be removed once the patch is removed.
PULSEAUDIO_AUTORECONF = YES
PULSEAUDIO_DEPENDENCIES += libglib2
ifeq ($(BR2_PACKAGE_ORC),y)
PULSEAUDIO_DEPENDENCIES += orc
PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/usr/bin/orcc
PULSEAUDIO_CONF_OPT += --enable-orc
else
PULSEAUDIO_CONF_OPT += --disable-orc
endif
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
# The optional webrtc echo canceller is written in C++, causing auto* to want
# to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
+1 -1
View File
@@ -6,7 +6,7 @@
NEON_VERSION = 0.29.6
NEON_SITE = http://www.webdav.org/neon/
NEON_LICENSE = LGPLv2+ (library), GPLv2+ (manual and tests)
NEON_LICENSE_FILES = src/COPYING.LIB src/COPYING README
NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
NEON_INSTALL_STAGING = YES
NEON_CONF_OPT = --without-gssapi --disable-rpath
NEON_CONFIG_SCRIPTS = neon-config
+1
View File
@@ -10,6 +10,7 @@ OPENSSL_LICENSE = OpenSSL or SSLeay
OPENSSL_LICENSE_FILES = LICENSE
OPENSSL_INSTALL_STAGING = YES
OPENSSL_DEPENDENCIES = zlib
HOST_OPENSSL_DEPENDENCIES = host-zlib
OPENSSL_TARGET_ARCH = generic32
OPENSSL_CFLAGS = $(TARGET_CFLAGS)
+3
View File
@@ -5,6 +5,9 @@
################################################################################
PIXMAN_VERSION = 0.28.2
PIXMAN_SITE = http://xorg.freedesktop.org/releases/individual/lib
PIXMAN_LICENSE = MIT
PIXMAN_LICENSE_FILES = COPYING
PIXMAN_INSTALL_STAGING = YES
PIXMAN_DEPENDENCIES = host-pkgconf
# don't build gtk based demos
+1 -3
View File
@@ -508,9 +508,7 @@ ifeq ($(call qstrip,$$($(2)_LICENSE_FILES)),)
@$(call legal-license-nofiles,$$($(2)_RAWNAME))
@$(call legal-warning-pkg,$$($(2)_RAWNAME),cannot save license ($(2)_LICENSE_FILES not defined))
else
@for F in $$($(2)_LICENSE_FILES); do \
$(call legal-license-file,$$($(2)_RAWNAME),$$$${F},$$($(2)_DIR)/$$$${F}); \
done
@$(foreach F,$($(2)_LICENSE_FILES),$(call legal-license-file,$$($(2)_RAWNAME),$(F),$$($(2)_DIR)/$(F))$$(sep))
endif
ifeq ($$($(2)_REDISTRIBUTE),YES)
# Copy the source tarball (just hardlink if possible)
+2
View File
@@ -3,6 +3,7 @@ config BR2_PACKAGE_POCO
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !(BR2_aarch64 || BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel || BR2_xtensa)
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_PCRE
help
@@ -61,3 +62,4 @@ endif # BR2_PACKAGE_POCO
comment "poco requires a toolchain with WCHAR, threads, and C++ support"
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS
depends on !(BR2_aarch64 || BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel || BR2_xtensa)
+4
View File
@@ -1,5 +1,9 @@
comment "portaudio needs a toolchain threads support"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_PORTAUDIO
bool "portaudio"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
PortAudio is a free, cross-platform, open-source,
audio I/O library.
+2
View File
@@ -9,6 +9,8 @@ PORTAUDIO_SITE = http://www.portaudio.com/archives
PORTAUDIO_SOURCE = pa_stable_$(PORTAUDIO_VERSION).tgz
PORTAUDIO_INSTALL_STAGING = YES
PORTAUDIO_MAKE = $(MAKE1)
PORTAUDIO_LICENSE = portaudio license (MIT-like plus special clause)
PORTAUDIO_LICENSE_FILES = LICENSE.txt
PORTAUDIO_DEPENDENCIES = \
$(if $(BR2_PACKAGE_PORTAUDIO_WITH_ALSA),alsa-lib)
+1
View File
@@ -1,5 +1,6 @@
config BR2_PACKAGE_PPTP_LINUX
bool "pptp-linux"
depends on BR2_USE_MMU # fork()
help
An implementation of the Point-to-point protocol client.
+2
View File
@@ -8,6 +8,8 @@ PPTP_LINUX_VERSION = 1.7.2
PPTP_LINUX_SITE = http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-$(PPTP_LINUX_VERSION)
PPTP_LINUX_SOURCE = pptp-$(PPTP_LINUX_VERSION).tar.gz
PPTP_LINUX_MAKE = $(MAKE1)
PPTP_LINUX_LICENSE = GPLv2+
PPTP_LINUX_LICENSE_FILES = COPYING
define PPTP_LINUX_BUILD_CMDS
$(MAKE) -C $(@D) OPTIMIZE= DEBUG= \
+4
View File
@@ -1,9 +1,13 @@
config BR2_PACKAGE_PYTHON_NFC
bool "python-nfc"
depends on BR2_PACKAGE_PYTHON
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
Python module for near field communication.
https://launchpad.net/nfcpy
comment "python-nfc requires a toolchain with threads support"
depends on !BR2_TOOLCHAIN_HAS_THREADS
+1
View File
@@ -1,6 +1,7 @@
config BR2_PACKAGE_QT5IMAGEFORMATS
bool "qt5imageformats"
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
help
Qt is a cross-platform application and UI framework for
developers using C++.
+1 -1
View File
@@ -14,7 +14,7 @@ QUOTA_CFLAGS = $(TARGET_CFLAGS)
QUOTA_LDFLAGS = $(TARGET_LDFLAGS)
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
QUOTA_DEPENDENCIES = gettext
QUOTA_DEPENDENCIES += gettext
QUOTA_LDFLAGS += -lintl
endif
+11 -12
View File
@@ -3,25 +3,23 @@
# sconeserver
#
#############################################################
# Release 0.6.0 doesn't build cleanly, so use a recent
# Subversion trunk snapshot.
SCONESERVER_VERSION = 183
SCONESERVER_SITE = \
https://sconeserver.svn.sourceforge.net/svnroot/sconeserver/trunk
SCONESERVER_VERSION = 211
SCONESERVER_SITE = svn://svn.code.sf.net/p/sconeserver/code/trunk
SCONESERVER_SITE_METHOD = svn
SCONESERVER_LICENSE = GPLv2+
SCONESERVER_LICENSE_FILES = COPYING
SCONESERVER_AUTORECONF = YES
SCONESERVER_DEPENDENCIES += pcre
SCONESERVER_CONF_OPT += --with-ip --with-local
SCONESERVER_CONF_OPT += CXXFLAGS="$(TARGET_CXXFLAGS) $(SCONESERVER_CXXFLAGS)"
SCONESERVER_CONF_OPT += LDFLAGS="$(TARGET_LDFLAGS) $(SCONESERVER_LDFLAGS)"
# Sconeserver configure script fails to find the libxml2 headers.
ifeq ($(BR2_PACKAGE_LIBXML2),y)
SCONESERVER_CXXFLAGS += -I$(STAGING_DIR)/usr/include/libxml2
SCONESERVER_CONF_OPT += \
--with-xml2-config="$(STAGING_DIR)/usr/bin/xml2-config"
endif
ifeq ($(BR2_INET_IPV6),y)
@@ -52,16 +50,17 @@ endif
ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE),y)
SCONESERVER_DEPENDENCIES += imagemagick host-pkgconf
SCONESERVER_CONF_OPT += --with-sconesite-image
SCONESERVER_CONF_OPT += \
--with-sconesite-image \
--with-Magick++-config="$(STAGING_DIR)/usr/bin/Magick++-config"
else
SCONESERVER_CONF_OPT += --without-sconesite-image
endif
ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
SCONESERVER_DEPENDENCIES += mysql_client
SCONESERVER_CONF_OPT += --with-mysql
SCONESERVER_CXXFLAGS += -I$(STAGING_DIR)/usr/include/mysql
SCONESERVER_LDFLAGS += -L$(STAGING_DIR)/usr/lib/mysql
SCONESERVER_CONF_OPT += --with-mysql \
--with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config"
else
SCONESERVER_CONF_OPT += --without-mysql
endif
+1 -1
View File
@@ -1,6 +1,6 @@
config BR2_PACKAGE_STRACE
bool "strace"
depends on !BR2_xtensa
depends on !(BR2_xtensa || BR2_aarch64 || BR2_arc)
help
A useful diagnostic, instructional, and debugging tool.
Allows you to track what system calls a program makes
+2 -3
View File
@@ -3,6 +3,7 @@
# sylpheed
#
#############################################################
SYLPHEED_VERSION_MAJOR = 3.2
SYLPHEED_VERSION_MINOR = 0
SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).$(SYLPHEED_VERSION_MINOR)
@@ -10,9 +11,7 @@ SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.bz2
SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
SYLPHEED_LICENSE = GPLv2+ (executables), LGPLv2.1+ (library, attachment plugin)
SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB
SYLPHEED_CONF_OPT = --disable-gtkspell
SYLPHEED_CONF_OPT = --disable-gtkspell --disable-gpgme
SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2
# Remove the -I$(includedir) from the Makefiles
+3 -2
View File
@@ -1,9 +1,10 @@
comment "tvheadend requires a toolchain with LARGEFILE and IPv6 support"
depends on !BR2_LARGEFILE || !BR2_INET_IPV6
comment "tvheadend needs a toolchain with LARGEFILE, IPv6 and THREADS support"
depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_TVHEADEND
bool "tvheadend"
depends on BR2_LARGEFILE && BR2_INET_IPV6
depends on BR2_TOOLCHAIN_HAS_THREADS
# tvheadend requires an atomic_add operation. Either you have
# a gcc >= 4.3 toolchain and it uses the gcc intrinsics, or it
# has special code for x86, x86-64, PPC and ARM. So in the
+11
View File
@@ -0,0 +1,11 @@
--- urg-0.8.18/src/c/connection/serial_ctrl_lin.c 2010-11-22 01:48:01.000000000 +0000
+++ urg-0.8.18.mod/src/c/connection/serial_ctrl_lin.c 2013-05-21 20:56:35.822025969 +0100
@@ -17,7 +17,7 @@
#include <fcntl.h>
#include <errno.h>
#include <string.h>
-
+#include <sys/select.h>
//#include <ctype.h>
enum {
+2 -1
View File
@@ -10,7 +10,8 @@ WESTON_SOURCE = weston-$(WAYLAND_VERSION).tar.xz
WESTON_LICENSE = MIT
WESTON_LICENSE_FILES = COPYING
WESTON_DEPENDENCIES = wayland libxkbcommon pixman libpng jpeg mtdev udev
WESTON_DEPENDENCIES = wayland libxkbcommon pixman libpng \
jpeg mtdev udev cairo
WESTON_CONF_OPT = \
--disable-egl \
--disable-xwayland \
+1
View File
@@ -3,6 +3,7 @@ config BR2_PACKAGE_WIRESHARK
select BR2_PACKAGE_LIBPCAP
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBGLIB2
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR # glib2
help
Network traffic sniffer and protocol decoder. Currently only tshark,
@@ -1,41 +0,0 @@
configure.in: don't add the build host's /usr/include and /usr/lib to the
search path of include files and libraries. This is not what you want when
cross compiling.
Sent upstream as https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7926.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
+++ wireshark-1.8.3/configure.in 2012-10-28 10:07:54.864388531 +0200
@@ -635,29 +635,6 @@
AC_SUBST(CORESERVICES_FRAMEWORKS)
AC_SUBST(LAUNCHSERVICES_FRAMEWORKS)
-#
-# If using $prefix we add "$prefix/include" to the include search path
-# and "$prefix/lib" to the library search path.
-#
-if test "x$prefix" != "x" ; then
- AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
- if test -d $prefix/include ; then
- AC_MSG_RESULT(yes)
- #
- # Arrange that we search for header files in "$prefix/include", as
- # various packages we use may have been installed under "$prefix/include".
- #
- CPPFLAGS="$CPPFLAGS -I$prefix/include"
-
- #
- # Arrange that we search for libraries in "$prefix/lib".
- #
- AC_WIRESHARK_ADD_DASH_L(LDFLAGS, $prefix/lib)
- else
- AC_MSG_RESULT(no)
- fi
-fi
-
dnl Look in /usr/local for header files and libraries ?
dnl XXX FIXME don't include /usr/local if it is already in the system
dnl search path as this causes gcc 3.2 on Linux to complain about a change
+1 -1
View File
@@ -4,7 +4,7 @@
#
#############################################################
WIRESHARK_VERSION = 1.8.6
WIRESHARK_VERSION = 1.8.7
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
WIRESHARK_LICENSE = wireshark license

Some files were not shown because too many files have changed in this diff Show More