summaryrefslogtreecommitdiffstats
path: root/package/ruby
Commit message (Collapse)AuthorAgeFilesLines
* ruby: fix build for nommuGustavo Zacarias2016-05-231-0/+34
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/a8b/a8b5fe95bbc1b3cc23db828fbc80d815c88f18c2/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: bump to version 2.3.1Gustavo Zacarias2016-04-272-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: bump to version 2.3.0Gustavo Zacarias2016-01-082-5/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: security bump to version 2.2.4Gustavo Zacarias2015-12-172-3/+3
| | | | | | | | Fixes: CVE-2015-7551 - Unsafe tainted string usage in Fiddle and DL Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: explicitly disable SSP supportThomas Petazzoni2015-11-101-0/+4
| | | | | | | | | | | | | | | | | | The SSP support checks of the Ruby configure script do not do a full link, and therefore don't properly detect if SSP support is fully functional or not, which causes some build failures if the compiler supports -fstack-protector but the C library does not provide the SSP implementation. To avoid this, we explicitly tell ruby if SSP support is available or not. Fixes: http://autobuild.buildroot.net/results/001/00154b0142f51c197d5d53ae36f7adc4f8250d9d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: do not overwrite RUBY_CONF_ENVThomas Petazzoni2015-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | In commit 53bf889cdca77979814bc6b74170e2f104fc3b70 ("ruby: should not use dl_iterate_phdr() on Blackfin") we added ac_cv_func_dl_iterate_phdr=no to RUBY_CONF_ENV when building on the Blackfin architecture. However, while doing so, we overwrote the previous value of RUBY_CONF_ENV, which was defined to have custom CFLAGS: RUBY_CONF_ENV = CFLAGS="$(RUBY_CFLAGS)" This has no visible effect because the custom CFLAGS are only used on SuperH/SuperH 64, while the overwrite of RUBY_CONF_ENV takes place on Blackfin. However, it doesn't look very pretty, and future additions to RUBY_CONF_ENV may break this subtle behavior. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: bump to version 2.2.3Gustavo Zacarias2015-09-012-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: enable parallel buildGustavo Zacarias2015-07-101-1/+0
| | | | | | | | Re-enable parallel builds, it doesn't seem to be affected by the issue worked around in 9332a1ad4 any more. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: security bump to version 2.2.2Gustavo Zacarias2015-04-142-3/+3
| | | | | | | | Fixes: CVE-2015-1855 - OpenSSL extension’s hostname verification vulnerability. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-11/+12
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: bump to version 2.2.1Gustavo Zacarias2015-03-032-5/+6
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: fix verconf.h related build failurePeter Seiderer2015-01-101-0/+7
| | | | | | | | | | | | | See [1] for failure analysis. Fixes: http://autobuild.buildroot.net/results/c94fef5d2cfb00a336905ae3c110d7680f6d5416/ http://autobuild.buildroot.net/results/4375cb1e325a336dbf59f22f975be9165ad0648a/ [1] http://lists.busybox.net/pipermail/buildroot/2014-December/114273.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* ruby: security bump to version 2.1.5Gustavo Zacarias2014-11-132-3/+3
| | | | | | | | Fixes: CVE-2014-8090 - Another Denial Of Service XML Expansion. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: security bump to version 2.1.4Gustavo Zacarias2014-10-272-3/+3
| | | | | | | | | | Fixes: CVE-2014-8080 - Denial of service XML expansion And change default ext/openssl settings WRT CVE-2014-3566. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: disable fiddle support for bfinPeter Seiderer2014-10-251-0/+3
| | | | | | | | | | | | | Disable fiddle support because of compile failure (no ffi_closure support for bfin). Fixes: http://autobuild.buildroot.net/results/0a8/0a854274b520d4daca3911a64777a447b5756a52/ [Thomas: slightly adjust the comment wording.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-4/+4
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: bump to version 2.1.3Gustavo Zacarias2014-10-022-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: use --disable-rubygemsGustavo Zacarias2014-10-021-1/+1
| | | | | | | | At least for ruby 2.x we need to --disable-rubygems besides removing the gems files to avoid the requires. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: add support for gmp as an optional dependencyThomas Petazzoni2014-09-061-0/+6
| | | | | | | | | Ruby can now use gmp optionally, so make sure that if the gmp package for the target is enabled, it gets built before the ruby package, and the appropriate configure options are passed to Ruby. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: don't try to use gmp on the hostThomas Petazzoni2014-09-061-1/+2
| | | | | | | | | | | | | | | | | | When building host-ruby, if gmp seems to be available (for example when host-gmp is built as a dependency of building the toolchain), Ruby tries to use it. Unfortunately, it fails to use it because there is no static version of host-gmp that is built and installed. Since we anyway don't care much about gmp support in host-ruby, simply disable it. This issue was introduced since the bump to Ruby 2.1.0, and this commit fixes: http://autobuild.buildroot.org/results/e19/e197f20bd5ec4aae6d8692d67df4f539a9df33e2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-09-011-5/+4
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * ruby: bump to version 2.1.2Thomas Petazzoni2014-08-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | This commit bumps Ruby to version 2.1.2. It was quickly runtime tested on ARM EBIhf. In addition to this it changes the site to an http:// location, which is the official one advertised on the Ruby web site. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | ruby: should not use dl_iterate_phdr() on BlackfinThomas Petazzoni2014-08-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dl_iterate_phdr() C library function on Blackfin returns a non-conventional structure format compared to other architectures, which makes Ruby unable to use it. Since it's just an optional feature of Ruby apparently used to generate more fancy backtraces, this commit simply disables the usage of dl_iterate_phdr() on this architecture. Fixes: http://autobuild.buildroot.org/results/1b0/1b0e2f5f95889eb26846927da45d128247d0ed89/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | ruby: requires shared libraryThomas Petazzoni2014-08-291-2/+4
|/ | | | | | | | | No matter what you do, the Ruby build system wants to use shared libraries for the encoding modules. Therefore, this commit disallows the selection of Ruby in BR2_PREFER_STATIC_LIB situations. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: remove rubygemsGustavo Zacarias2014-06-091-0/+13
| | | | | | | | | | | | | It's currently in a non-working state since it requires a couple of extensions that don't build at the moment (they try to execute tests in configure) and also requires a target compiler. So remove it to avoid false expectations and reclaim target space back of about 1.5 MiB. [Thomas: slightly reword comments.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: add gdbm supportGustavo Zacarias2014-06-091-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: add psych/libyaml supportGustavo Zacarias2014-06-091-0/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: disable openssl for host variantGustavo Zacarias2014-05-221-1/+2
| | | | | | | | | | | As reported by Fatih Aşıcı on the mailing list it sometimes fails with the host openssl depending on versions when development files are installed. And as suggested by Thomas Petazzoni it's really not required for anything so just disable it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: bump to 1.9.3-p545Gustavo Zacarias2014-04-141-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add <pkg>_VERSION_MAJOR variableJerzy Grzegorek2013-12-191-2/+3
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: security bump to 1.9.3-p484Gustavo Zacarias2013-11-271-1/+1
| | | | | | | Fixes CVE-2013-4164. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: needs thread supportThomas Petazzoni2013-11-201-2/+3
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/7c6/7c6cc07e360aa998957a48e834b8cc086282d716/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: fix 'pcrel too far' build problem on SuperH architecturesThomas De Schampheleire2013-10-141-0/+9
| | | | | | | | | | | | The 'pcrel too far' problem detected in the autobuild on SuperH architectures, seems to be caused by the -Os optimization flag. Using standard optimization fixes the problem. Fixes http://autobuild.buildroot.net/results/bc36e051e06f596c2fafdd3cc3745bb34b73ace3/ Investigated-by: Lionel Orry <lionel.orry@gmail.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: fix license infoArnout Vandecappelle2013-10-081-2/+2
| | | | | | | Based on the contents of LEGAL, without checking the code. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ruby: security bump to version 1.9.3-p448Gustavo Zacarias2013-09-171-1/+1
| | | | | | | Fixes CVE-2013-4073. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: security bump to version 1.9.3-p429Gustavo Zacarias2013-06-111-1/+1
| | | | | | | Fixes CVE-2013-2065. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: disable parallel buildPeter Korsgaard2013-02-231-0/+1
| | | | | | Fixes http://autobuild.buildroot.net/results/c71100ee21a12db47047563c6e70afdc552595d4/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: security bump to version 1.9.3-p392Gustavo Zacarias2013-02-231-1/+1
| | | | | | | Fixes JSON DoS (CVE-2013-0269) and REXML DoS (no assigned CVE yet). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: bump to version 1.9.3-p362Gustavo Zacarias2012-12-292-35/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: security bump to 1.9.2-p320Gustavo Zacarias2012-05-031-1/+1
| | | | | | | | Security Fix for RubyGems: SSL server verification failure for remote repository. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: unbreak host build after auto-host-deps changePeter Korsgaard2012-01-181-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: bump to version 1.9.2-p290Gustavo Zacarias2011-12-053-80/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: really disable ncurses/readline for hostPeter Korsgaard2011-11-271-1/+1
| | | | | | | | | | | Commit 150124b (ruby: fix host build breakage) tried to fix host-ruby build failures by disabling ncurses/readline extensions, but the ruby configure script doesn't understand --without-ncurses / --without-readline arguments, so the commit didn't do anything. Fix it by really disabling them using the --with-out-ext argument. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: fix host build breakageGustavo Zacarias2011-11-261-2/+1
| | | | | | | | | | | When building host-ruby with ncurses enabled on an x86_64 host we get a "relocation R_X86_64_32 against `_nc_globals' can not be used when making a shared object; recompile with -fPIC" error when building. Just disable ncurses and readline support for the host version - we don't need it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: fix build breakageGustavo Zacarias2011-11-261-1/+1
| | | | | | | | | | | Fix build breakage regarding invalid file format of /usr/lib/libpthread.so This is because ruby has rpath enabled by default and was throwing in the runtime paths and pulling in host libraries into the mix. So disable rpath. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud