buildroot.git
11 years agoluaposix: bump to version 31
Gustavo Zacarias [Mon, 16 Sep 2013 16:52:55 +0000 (13:52 -0300)]
luaposix: bump to version 31

Releases are no longer named 5.1.X, just the X portion remains now.

Fixes autoreconf issues with the automake bump, however since the patch
is no longer required that's not an issue now.

[Peter: now needs IPv6]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoneardal: add fix for automake bump breakage
Gustavo Zacarias [Mon, 16 Sep 2013 16:52:54 +0000 (13:52 -0300)]
neardal: add fix for automake bump breakage

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomutt: fix automake breakage
Gustavo Zacarias [Mon, 16 Sep 2013 16:52:53 +0000 (13:52 -0300)]
mutt: fix automake breakage

Fix breakage due to automake 1.12.6 bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux-pam: bump to version 1.1.7
Gustavo Zacarias [Mon, 16 Sep 2013 16:52:52 +0000 (13:52 -0300)]
linux-pam: bump to version 1.1.7

And fix build breakage with newer automake versions (mkdir_p
deprecation).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibcdaudio: disable autoreconf
Gustavo Zacarias [Mon, 16 Sep 2013 16:52:51 +0000 (13:52 -0300)]
libcdaudio: disable autoreconf

There's no stated purpose and it breaks with automake 1.12+
If it breaks in some scenario ping me, i've got a patch to fix the
autoreconf issue and re-enable it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobc: new package
Matt Weber [Wed, 18 Sep 2013 04:26:41 +0000 (23:26 -0500)]
bc: new package

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiputils: new package
Matt Weber [Thu, 19 Sep 2013 15:17:52 +0000 (10:17 -0500)]
iputils: new package

[Peter: fix _LICENSE_FILES]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotslib: fix help text (white space / order)
Peter Korsgaard [Thu, 19 Sep 2013 18:39:56 +0000 (20:39 +0200)]
tslib: fix help text (white space / order)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotslib: bump version to 1.1
Yegor Yefremov [Thu, 19 Sep 2013 07:12:57 +0000 (09:12 +0200)]
tslib: bump version to 1.1

[Peter: use 1.1 tag]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodirectfb: Add upstream patch to fix qt5base build
Fatih Aşıcı [Mon, 16 Sep 2013 07:32:14 +0000 (10:32 +0300)]
directfb: Add upstream patch to fix qt5base build

Fixes http://autobuild.buildroot.net/results/8c7eaf99e365ecff28c097475b235dbe8d614294/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouclibc: Add UCLIBC_MMU_CONFIG to UCLIBC_SETUP_DOT_CONFIG
Axel Lin [Thu, 5 Sep 2013 02:24:19 +0000 (10:24 +0800)]
uclibc: Add UCLIBC_MMU_CONFIG to UCLIBC_SETUP_DOT_CONFIG

commit c798bec25 "uclibc: set MMU usage accordingly" defines UCLIBC_MMU_CONFIG,
but forgot adding it to UCLIBC_SETUP_DOT_CONFIG. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoboard: add cubieboard2 support
Carlos Quijano [Wed, 18 Sep 2013 07:40:58 +0000 (09:40 +0200)]
board: add cubieboard2 support

Signed-off-by: Carlos Quijano <carlos@crqgestion.es>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogpu-viv-bin-mx6q: select libXdamage and libXext when xorg enabled
Fatih Aşıcı [Wed, 18 Sep 2013 12:27:51 +0000 (15:27 +0300)]
gpu-viv-bin-mx6q: select libXdamage and libXext when xorg enabled

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogpu-viv-bin-mx6q: add pkgconfig files for EGL, OpenGLESv2 and OpenVG
Fatih Aşıcı [Wed, 18 Sep 2013 11:41:33 +0000 (14:41 +0300)]
gpu-viv-bin-mx6q: add pkgconfig files for EGL, OpenGLESv2 and OpenVG

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowebrtc-audio-processing: needs threads
Gustavo Zacarias [Wed, 18 Sep 2013 10:46:04 +0000 (07:46 -0300)]
webrtc-audio-processing: needs threads

Fixes:
http://autobuild.buildroot.net/results/543/5435304b12fa1344411821b749cb028485431a82/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: set eglfs platform hook for imx6
Fatih Aşıcı [Wed, 18 Sep 2013 05:17:09 +0000 (08:17 +0300)]
qt5base: set eglfs platform hook for imx6

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopython-crc16: new package
Michael Rommel [Wed, 18 Sep 2013 11:48:16 +0000 (13:48 +0200)]
python-crc16: new package

A python library that calculates CRC checksums of the CCITT/XModem
variant.

Signed-off-by: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopciutils: fixup library permissions
Gustavo Zacarias [Wed, 18 Sep 2013 13:38:03 +0000 (10:38 -0300)]
pciutils: fixup library permissions

libpci.so* is installed without +x permissions thus preventing
stripping. Fix it up in the post install target hooks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibiconv: fixup library permissions
Gustavo Zacarias [Wed, 18 Sep 2013 13:38:02 +0000 (10:38 -0300)]
libiconv: fixup library permissions

libiconv.so* and libcharset.so* are installed without +x permissions
thus preventing stripping. Fix it up in the post install target hooks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogettext: fixup library permissions
Gustavo Zacarias [Wed, 18 Sep 2013 13:38:01 +0000 (10:38 -0300)]
gettext: fixup library permissions

libintl.so* is installed without +x permissions thus preventing
stripping. Fix it up in the post install target hooks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomplayer: security bump to version 1.1.1
Gustavo Zacarias [Wed, 18 Sep 2013 11:33:30 +0000 (08:33 -0300)]
mplayer: security bump to version 1.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoola: needs host-bison and host-flex
Gustavo Zacarias [Wed, 18 Sep 2013 11:31:39 +0000 (08:31 -0300)]
ola: needs host-bison and host-flex

Fixes:
http://autobuild.buildroot.net/results/385/385f05b5e1b023b6c4ca220aab897e400b5aeccb/
and a future failure (host-bison).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoknock: needs mmu
Michael Rommel [Wed, 18 Sep 2013 11:19:43 +0000 (13:19 +0200)]
knock: needs mmu

Signed-off-by: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotrivial: manual: multimedia is no longer a subdirectory
Thomas De Schampheleire [Wed, 18 Sep 2013 09:01:35 +0000 (11:01 +0200)]
trivial: manual: multimedia is no longer a subdirectory

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotrivial: manual: fix grammar of 'to express'
Thomas De Schampheleire [Wed, 18 Sep 2013 09:01:34 +0000 (11:01 +0200)]
trivial: manual: fix grammar of 'to express'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoaiccu: needs mmu
Gustavo Zacarias [Wed, 18 Sep 2013 10:18:10 +0000 (07:18 -0300)]
aiccu: needs mmu

Fixes:
http://autobuild.buildroot.net/results/549/549bc89aeaa0ebf9162fc5853cb637f4f70d0b51/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5webkit: install qml's only if declarative module is selected
Fatih Aşıcı [Wed, 18 Sep 2013 08:01:03 +0000 (11:01 +0300)]
qt5webkit: install qml's only if declarative module is selected

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

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5webkit: select libXrender if xcb is enabled
Fatih Aşıcı [Wed, 18 Sep 2013 07:23:32 +0000 (10:23 +0300)]
qt5webkit: select libXrender if xcb is enabled

[Peter: also add libXext]
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopython-pyzmq: new package
Michael Rommel [Sat, 14 Sep 2013 14:44:00 +0000 (16:44 +0200)]
python-pyzmq: new package

The python language bindings for ZeroMQ.

[Peter: moved version note to .mk, single toolchain deps line]
Signed-off-by: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: Update Sourcery CodeBench MIPS toolchain
Markos Chandras [Tue, 17 Sep 2013 09:04:17 +0000 (10:04 +0100)]
toolchain-external: Update Sourcery CodeBench MIPS toolchain

Update to the latest update for the 2013.05 toolchain
released on 11 September 2013.

https://sourcery.mentor.com/GNUToolchain/release2554

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>
11 years agoluacrypto: refactor with autotools
Francois Perrad [Sun, 15 Sep 2013 15:40:37 +0000 (17:40 +0200)]
luacrypto: refactor with autotools

some CMake stuff comes from LuaDist, but CMake is not the primary build infrastructure of LuaCrypto.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoapply-patches.sh: avoid reversed/already applied patches
Gustavo Zacarias [Tue, 17 Sep 2013 18:45:53 +0000 (15:45 -0300)]
apply-patches.sh: avoid reversed/already applied patches

Disable reversed/already applied patches fallout from commit
5871b791995ebe295db7dca608afe3f293ce8953
Reverse patches are bad, they may unfix things with version bumps and
just sneak under the radar with pure batch mode.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoltrace: bump to version 0.7.3
Gustavo Zacarias [Tue, 17 Sep 2013 17:39:34 +0000 (14:39 -0300)]
ltrace: bump to version 0.7.3

Now with proper mips support!

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoaiccu: needs threads
Gustavo Zacarias [Tue, 17 Sep 2013 17:19:13 +0000 (14:19 -0300)]
aiccu: needs threads

Fixes:
http://autobuild.buildroot.net/results/f6e/f6e1da89b3a0418a50cbfa39fc9373dad3fc968c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoolsr: bump to version 0.6.6
Gustavo Zacarias [Tue, 17 Sep 2013 16:31:38 +0000 (13:31 -0300)]
olsr: bump to version 0.6.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiproute2: bump to version 3.11.0
Gustavo Zacarias [Tue, 17 Sep 2013 16:31:37 +0000 (13:31 -0300)]
iproute2: bump to version 3.11.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoethtool: bump to version 3.11
Gustavo Zacarias [Tue, 17 Sep 2013 16:31:36 +0000 (13:31 -0300)]
ethtool: bump to version 3.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoruby: security bump to version 1.9.3-p448
Gustavo Zacarias [Tue, 17 Sep 2013 14:29:58 +0000 (11:29 -0300)]
ruby: security bump to version 1.9.3-p448

Fixes CVE-2013-4073.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoquagga: security bump to version 0.99.22.3
Gustavo Zacarias [Tue, 17 Sep 2013 14:29:57 +0000 (11:29 -0300)]
quagga: security bump to version 0.99.22.3

Fixes CVE-2013-2236.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodash: bump to version 0.5.7-3
Gustavo Zacarias [Tue, 17 Sep 2013 13:30:04 +0000 (10:30 -0300)]
dash: bump to version 0.5.7-3

Bump to patchlevel 3 since 2 is gone upstream, fixes when
sources.buildroot.net isn't available:
http://autobuild.buildroot.net/results/5ee/5ee6544a9d08025060cb5806870ae1c3f252cd93/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoscreen: needs mmu
Gustavo Zacarias [Tue, 17 Sep 2013 13:18:59 +0000 (10:18 -0300)]
screen: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotime: needs mmu
Gustavo Zacarias [Tue, 17 Sep 2013 12:12:30 +0000 (09:12 -0300)]
time: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs: website: update for 2013.08.1
Peter Korsgaard [Tue, 17 Sep 2013 12:24:39 +0000 (14:24 +0200)]
docs: website: update for 2013.08.1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocan-utils: bump version
Yegor Yefremov [Tue, 17 Sep 2013 07:10:52 +0000 (09:10 +0200)]
can-utils: bump version

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibroxml: bump version to 2.2.3
Tristan Lelong [Mon, 16 Sep 2013 21:47:49 +0000 (14:47 -0700)]
libroxml: bump version to 2.2.3

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: release: create tarball from current branch, not master
Peter Korsgaard [Tue, 17 Sep 2013 11:42:07 +0000 (13:42 +0200)]
Makefile: release: create tarball from current branch, not master

To support stable bugfix releases.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoapply-patches.sh: Go back to only warn about unsupported file types
Peter Korsgaard [Mon, 16 Sep 2013 20:42:47 +0000 (22:42 +0200)]
apply-patches.sh: Go back to only warn about unsupported file types

Fixes http://autobuild.buildroot.net/results/868/8687be8ec029486d9c5e2224cde542134f72884b/

The recent (d245fbb41dc: apply-patches.sh: detect missing patches)
change to apply-patches.sh causes a number of regressions with packages
using downloadable tarballs of patches (typically from Debian), as
those contain additional files besides just the patches (ChangeLog's,
debian/rules, ..).

This use case is arguably abusing the _PATCH handling, but it used to
work so people might rely on it so go back to only warn about this
instead of erroring out.

At the same time reword the warning message.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/news.html: Announce next Buildroot developer days meeting
Peter Korsgaard [Mon, 16 Sep 2013 20:39:04 +0000 (22:39 +0200)]
docs/news.html: Announce next Buildroot developer days meeting

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/news.html: add 2013.08 announcement mail link
Peter Korsgaard [Mon, 16 Sep 2013 20:32:07 +0000 (22:32 +0200)]
docs/news.html: add 2013.08 announcement mail link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobellagio: needs dynamic library support
Gustavo Zacarias [Mon, 16 Sep 2013 10:41:07 +0000 (07:41 -0300)]
bellagio: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/76e/76ebe0b9e963367427e23ba963f1bce6fd2725c4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoTrivial documentation fix for Signed-off-by
Ralph Siemsen [Mon, 16 Sep 2013 13:07:28 +0000 (09:07 -0400)]
Trivial documentation fix for Signed-off-by

Make consistent the capitalization and punctuation of Signed-of-by examples.

Signed-off-by: Ralph Siemsen <ralphs@netwinder.org>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/patch-policy.txt: fix missing word
Peter Korsgaard [Mon, 16 Sep 2013 07:00:15 +0000 (09:00 +0200)]
docs/patch-policy.txt: fix missing word

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain: update Linaro AArch64 external toolchains
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:40 +0000 (18:06 +0200)]
toolchain: update Linaro AArch64 external toolchains

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain: update Linaro ARM external toolchains
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:39 +0000 (18:06 +0200)]
toolchain: update Linaro ARM external toolchains

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: provide option to enable mudflap support
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:38 +0000 (18:06 +0200)]
gcc: provide option to enable mudflap support

The mudflap library is only useful if one uses the -fmudflap gcc
option to do more checks on pointers/arrays. This commit adds an
option to enable/disable mudflap support at the gcc level. By default,
it is disabled, which saves a little bit of build time compared to the
default of gcc which consists in enabling mudflap support.

Since mudflap is now disabled by default, and ensured to never be enabled
on platforms where it is not available, some gcc.mk code that was used to
disable mudflap in problematic configurations can be removed.

Whether -fmudflap is used when building is left to the user.

[Peter: tweak commit text, fix white space]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain: move elf2flt option inclusion to toolchain-buildroot/Config.in
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:37 +0000 (18:06 +0200)]
toolchain: move elf2flt option inclusion to toolchain-buildroot/Config.in

The only remaining thing in toolchain-buildroot/Config.in.2 is the
inclusion of the elf2flt option. It doesn't really make sense to have
a separate Config.in file for that, so let's move this to
toolchain-buildroot/Config.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain: refactor Stack Smashing Protection support
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:36 +0000 (18:06 +0200)]
toolchain: refactor Stack Smashing Protection support

This commit refactors how Stack Smashing Protection support is handled
in Buildroot:

 *) It turns the BR2_TOOLCHAIN_BUILDROOT_USE_SSP option into an option
    that only enables the SSP support in uClibc, when using the internal
    toolchain backend.

 *) It adds an hidden BR2_TOOLCHAIN_HAS_SSP option that gets enabled
    when the toolchain has SSP support. Here we have the usual dance:
    glibc/eglibc in internal/external backend always select this
    option, in the case of uClibc/internal, it gets selected when
    BR2_TOOLCHAIN_BUILDROOT_USE_SSP is enabled, in the case of
    uClibc/external, there is a new configuration option that the user
    must select (or not) depending on whether the toolchain has SSP
    support.

 *) It adds a new options BR2_ENABLE_SSP in the "Build options" menu,
    to enable the usage of SSP support, by adding
    -fstack-protector-all to the CFLAGS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: force symlink creation
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:35 +0000 (18:06 +0200)]
gcc: force symlink creation

The HOST_GCC_CONFIGURE_SYMLINK creates a symbolic link
$(@D)/build/configure -> $(@D)/configure for each build step of
gcc. However, it was only using 'ln -s' and not 'ln -sf', which was
causing problems when doing 'make host-gcc-final-reconfigure' for
example, because the configure commands (including this macro) are
being re-executed, but the symbolic link already exists.

Changing this symbolic link creation to 'ln -sf' fixes this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc/gcc-final: use the common HOST_GCC_CONFIGURE_SYMLINK macro
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:34 +0000 (18:06 +0200)]
gcc/gcc-final: use the common HOST_GCC_CONFIGURE_SYMLINK macro

Each stage of the gcc build needs to make a small dance before the
configuration step to create a build sub-directory and a symbolic link
to the configure script. The common gcc.mk had a
HOST_GCC_CONFIGURE_SYMLINK already used by the gcc-initial and
gcc-intermediate steps, but the gcc-final step wasn't using it.

This commit fixes this inconsistency, and therefore removes the
HOST_GCC_FINAL_CONFIGURE_SYMLINK macro.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain: add support for glibc
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:33 +0000 (18:06 +0200)]
toolchain: add support for glibc

The support for eglibc 2.17 was added to the internal toolchain
backend for 2013.08. This commit now adds glibc 2.18 support to the
internal toolchain backend.

Since the building procedure is very similar to the one of eglibc, we
have renamed the 'eglibc' package to 'glibc', and made it capable of
handling either glibc or eglibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: move C++ support option next to Fortran/Objective-C
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:32 +0000 (18:06 +0200)]
gcc: move C++ support option next to Fortran/Objective-C

The option to enable C++ support was still located in
toolchain/toolchain-buildroot/Config.in.2, with misc other toolchain
options. It seems more logical to have this option with the other
options to select the languages supported by the cross-compiler, so we
move it next to the Fortran/Objective-C options in
package/gcc/Config.in.host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: fix Objective-C support
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:31 +0000 (18:06 +0200)]
gcc: fix Objective-C support

This commit fixes the Objective-C support in the gcc package by making
sure that the runtime Objective-C library is properly installed to the
target.

It also takes this opportunity to slightly reword the Config.in option
help text to have a more meaningful explanation.

Finally, it fixes the gcc-final.mk code to use the correct
BR2_INSTALL_OBJC option rather than the non-existing
BR2_GCC_CROSS_OBJC option, to decide whether Objective-C support
should be enabled or not in the cross-compiler.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogcc: fix Fortran support
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:30 +0000 (18:06 +0200)]
gcc: fix Fortran support

This commit fixes the Fortran support in the gcc package by making
sure that the runtime Fortran library is properly installed to the
target.

It also takes this opportunity to slightly reword the Config.in option
help text, to no longer mention gcc < 4.2 since they are no longer
supported in Buildroot, and to have a more meaningful explanation.

Finally, it fixes the gcc-final.mk code to use the correct
BR2_INSTALL_FORTRAN option rather than the non-existing
BR2_GCC_CROSS_FORTRAN option, to decide whether Fortran support should
be enabled or not in the cross-compiler.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-internal: skip gcc-intermediate when possible
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:29 +0000 (18:06 +0200)]
toolchain-internal: skip gcc-intermediate when possible

When NPTL support was introduced, gcc required a three stages build
process. Since gcc 4.7, this is no longer necessary, and it is
possible to get back to a two stages build process. This patch takes
advantage of this, by doing a two stages build process when possible.

We introduce a few hidden kconfig options:

 * BR2_GCC_VERSION_NEEDS_THREE_STAGE_BUILD, which is set by the gcc
   Config.in logic to indicate that the compiler might need a three
   stages build. Currently, all versions prior to 4.7.x are selecting
   this kconfig option.

 * BR2_TOOLCHAIN_LIBC_NEEDS_THREE_STAGE_BUILD, which indicates whether
   the C library might need a three stages build. This is the case for
   eglibc, and uClibc when NPTL is enabled.

 * BR2_TOOLCHAIN_NEEDS_THREE_STAGE_BUILD finally is enabled when both
   of the previous options are enabled. It indicates that a three
   stages build is actually needed.

In addition to those options, the uClibc/gcc build logic is changed to
use only a two stages build process when possible.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoeglibc: libstdc++ is not part of the C library
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:28 +0000 (18:06 +0200)]
eglibc: libstdc++ is not part of the C library

For some reason, the eglibc.mk file was trying to install libstdc++.so
from eglibc to the target. But the C++ standard library is provided by
GCC, not by the C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/Makefile.in: fix incorrect comment
Thomas Petazzoni [Mon, 2 Sep 2013 16:06:27 +0000 (18:06 +0200)]
package/Makefile.in: fix incorrect comment

The TARGET_{CC,CXX,LD,...} variables no longer contain any --sysroot
option, since we're now using a toolchain wrapper for external
toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosystem: default to devtmpfs for /dev
Peter Korsgaard [Sun, 15 Sep 2013 20:43:39 +0000 (22:43 +0200)]
system: default to devtmpfs for /dev

As discussed on the list, devtmpfs is quite a bit nicer default than
the old static /dev, so change it.

Notice that you NEED to enable CONFIG_DEVTMPFS / CONFIG_DEVTMPFS_MOUNT
in the kernel configuration if you manually build a kernel outside
buildroot, otherwise the rootfs won't work.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogetty: add the ability to pass options to getty
Assaf Inbal [Sun, 15 Sep 2013 06:20:49 +0000 (09:20 +0300)]
getty: add the ability to pass options to getty

Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogetty: Create specific getty config + cleanups
Assaf Inbal [Sun, 15 Sep 2013 06:20:48 +0000 (09:20 +0300)]
getty: Create specific getty config + cleanups

This commit introduces a specific BR2_TARGET_GENERIC_GETTY configuration flag.
This eliminates the need for checking if BR2_TARGET_GENERIC_GETTY_PORT is an
empty string or not. It also allows hiding various getty options when getty
isn't enabled.

Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoapply-patches.sh: detect missing patches
Ralph Siemsen [Sun, 15 Sep 2013 14:13:14 +0000 (10:13 -0400)]
apply-patches.sh: detect missing patches

The "patch" command returns an error code only if patches fail
to apply. Therefore the pipleline "cat <patchfile> | patch ..."
does not fail, even if <patchfile> is missing. Fix this by
adding an explicit check for patch file existence.

Based on feedback from buildroot mailing list, also change the
existing check for unsupported patch format into a fatal error.

Signed-off-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: make $(BUILD_DIR)/.root rule idempotent
Thomas Petazzoni [Sun, 15 Sep 2013 19:28:45 +0000 (21:28 +0200)]
Makefile: make $(BUILD_DIR)/.root rule idempotent

The $(BUILD_DIR)/.root rule is executed as part of the 'dirs'
target. The 'dirs' target is re-executed at every execution of 'make
external-deps', and make external-deps explicitly tells make to ignore
targets that have already been made (through the -B option). This
means that the $(BUILD_DIR)/.root rule has to be idempotant, which was
not the case this the introduction of the lib32/lib64 symbolic link.

Running 'make external-deps' three times in a row was sufficient to
trigger an error due to symbolic links being incorrectly created. This
patch fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoaiccu: new package
Michael Rommel [Fri, 13 Sep 2013 20:57:04 +0000 (22:57 +0200)]
aiccu: new package

Automatic IPv6 Connectivity Configuration Utility for users of a
IPv6 tunnel broker, developed by sixxs.net

[Peter: drop strip patch, pass TARGET_CONFIGURE_OPTS]
Signed-off-by: Michael Rommel <rommel@layer-7.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosquid: fix build failure after bump
Gustavo Zacarias [Fri, 13 Sep 2013 16:42:38 +0000 (13:42 -0300)]
squid: fix build failure after bump

Add missing patch, fixes:
http://autobuild.buildroot.net/results/f6a/f6a6dd1f3138406d1daa31e5e4ff5d5026b3c069/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoomniorb: new package
Matt Weber [Fri, 13 Sep 2013 16:28:43 +0000 (11:28 -0500)]
omniorb: new package

[Peter: fix C++ dependency and trailing spaces, drop ';' from fixup hook]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.11.x stable version
Gustavo Zacarias [Sun, 15 Sep 2013 14:52:20 +0000 (11:52 -0300)]
linux: bump 3.11.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux-headers: bump 3.{0, 4, 10, 11}.x stable versions
Gustavo Zacarias [Sun, 15 Sep 2013 14:52:19 +0000 (11:52 -0300)]
linux-headers: bump 3.{0, 4, 10, 11}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotcping: new package
Arnaud Rébillout [Fri, 13 Sep 2013 07:33:58 +0000 (09:33 +0200)]
tcping: new package

tcping does a TCP connect to the given ip/port combination. The user can
specify a timeout in seconds. This is useful in shell scripts running in
firewalled environments. Often SYNs are just being dropped by firewalls,
thus connection establishment will be retried several times (for minutes)
until a TCP timeout is reached. With tcping it is possible to check first
if the desired port is reachable and then start connection establishment.

http://www.linuxco.de/tcping/tcping.html

[Peter: wrap help text, pass TARGET_LDFLAGS]
Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: remove the empty trailing lines
Jerzy Grzegorek [Fri, 13 Sep 2013 08:30:20 +0000 (10:30 +0200)]
package: remove the empty trailing lines

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonfs-utils: fix build failure caused by missing include
Peter Korsgaard [Fri, 13 Sep 2013 09:06:43 +0000 (11:06 +0200)]
nfs-utils: fix build failure caused by missing include

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelf2flt: upgrade to latest version
Gustavo Zacarias [Wed, 4 Sep 2013 15:53:43 +0000 (12:53 -0300)]
elf2flt: upgrade to latest version

Upgrade to the latest uclinux CVS snapshot, gives us blackfin support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonfacct: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:20 +0000 (16:26 -0300)]
nfacct: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_queue: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:19 +0000 (16:26 -0300)]
libnetfilter_queue: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_cttimeout: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:18 +0000 (16:26 -0300)]
libnetfilter_cttimeout: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_cthelper: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:17 +0000 (16:26 -0300)]
libnetfilter_cthelper: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoulogd: needs mmu and shared objects
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:16 +0000 (16:26 -0300)]
ulogd: needs mmu and shared objects

The plugin infrastructure is based on shared objects so it won't build
for static-only scenarios.
And the daemon uses fork() so MMU is required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_log: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:15 +0000 (16:26 -0300)]
libnetfilter_log: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_conntrack: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:14 +0000 (16:26 -0300)]
libnetfilter_conntrack: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnfnetlink: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:13 +0000 (16:26 -0300)]
libnfnetlink: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnetfilter_acct: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:12 +0000 (16:26 -0300)]
libnetfilter_acct: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoipset: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:11 +0000 (16:26 -0300)]
ipset: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibmnl: add patch for uclinux tuple
Gustavo Zacarias [Tue, 10 Sep 2013 19:26:10 +0000 (16:26 -0300)]
libmnl: add patch for uclinux tuple

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonommu/flat: build packages with the correct FLAGS
Gustavo Zacarias [Wed, 11 Sep 2013 12:53:44 +0000 (09:53 -0300)]
nommu/flat: build packages with the correct FLAGS

When building for nommu flat targets the CFLAGS/CXXFLAGS/LDFLAGS must be
adjusted accordingly.
For gcc this means passing along -Wl,-elf2flt to signal the linker.
For ld this means -elf2flt.

Also correct the error in STACKSIZE settings from commit 9edf482d which
is setting gcc flags as ld flags and will surely fail (no package uses
it at the moment so it was never seen).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/gcc: add elf2flt to dependencies
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:06 +0000 (09:12 -0300)]
toolchain/gcc: add elf2flt to dependencies

Add host-elf2flt to the gcc common dependencies so we get it built after
binutils but before gcc/uclibc since it's required for all packages and
in some uClibc configuration scenarios.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: add CVS support documentation
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:05 +0000 (09:12 -0300)]
docs/manual: add CVS support documentation

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodownloads: add basic CVS support
Gustavo Zacarias [Wed, 11 Sep 2013 12:12:04 +0000 (09:12 -0300)]
downloads: add basic CVS support

The support is for pserver mode anonymous CVS.
source-check is based on login since many servers don't support or have
ls/rls disabled.

Usage is pretty straightforward.
PKG_SITE defines the site hostname and remote directory.
The module is defined by the bare package name.
Version is date based.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoigmpproxy: new package
Matt Weber [Thu, 12 Sep 2013 20:45:57 +0000 (15:45 -0500)]
igmpproxy: new package

[Peter: minor white space fixes]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoola: new package
Dave Skok [Wed, 28 Aug 2013 11:50:04 +0000 (07:50 -0400)]
ola: new package

[Peter: fixup help text]
Signed-off-by: Dave Skok <blanco.ether@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibsoc: strip trailing newline
Peter Korsgaard [Thu, 12 Sep 2013 20:32:23 +0000 (22:32 +0200)]
libsoc: strip trailing newline

Missing from previous commit.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibsoc: add new package
Yegor Yefremov [Thu, 12 Sep 2013 07:05:36 +0000 (09:05 +0200)]
libsoc: add new package

[Peter: fix help text, doesn't need fork, file header, license tags]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoubifs filesystem image: line up and improve Config.in options
Thomas De Schampheleire [Sun, 8 Sep 2013 09:33:18 +0000 (11:33 +0200)]
ubifs filesystem image: line up and improve Config.in options

Triggered by the 'some comment required here', this patch updates the Config.in
comments for the ubifs filesystem image options. This includes:
- 'erase block' --> 'eraseblock' (following mtd online documentation)
- remove 'UBI' prefix to make options uniform. Sometimes the option is not a
  property of UBI but rather of the flash. Also, line up the name of the option
  with the help of mkfs.ubifs.
- add help text on all options, referring to the mkfs.ubifs/ubinize options

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>