Commit Graph

7 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca 16ae59c1b3 ruby: update to 3.1.2
Ruby 3.1.0 major changes:
- YJIT: New experimental in-process JIT compiler
- debug gem: A new debugger
- error_highlight: Fine-grained error location in backtrace
- IRB Autocomplete and Documentation Display
- Many more. See:
  https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/

Ruby 3.1.1 changes:
- Many non-security bug fixes. See:
  https://www.ruby-lang.org/en/news/2022/02/18/ruby-3-1-1-released/

Ruby 3.1.2 changes:
- CVE-2022-28738: Double free in Regexp compilation
- CVE-2022-28739: Buffer overrun in String-to-Float conversion

Packaging changes:
- Dropped 100-musl.patch (upstream fix)
- Added: ruby-error_highlight, ruby-random_formatter,
  ruby-ruby2_keywords
- Removed: ruby-dbm, ruby-gdbm, ruby-fiber, ruby-gdbm, ruby-tracer
- ruby_find_pkgsdeps script:
  * cleaned some ignored and weak dependencies
- ruby_missingfiles script:
  * fix the example cmdline
  * let diff use all terminal columns

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-04-25 12:13:08 -07:00
Luiz Angelo Daros de Luca 366828f0e7 ruby: update to 2.7.1
New subpackages (reflect of ongoing ruby gemification)
- ruby-benchmark (from ruby-debuglib)
- ruby-delegate (from ruby-misc)
- ruby-getoptlong (from ruby-misc)
- ruby-net-pop (from ruby-net)
- ruby-net-imap (from ruby-net)
- ruby-observer (from ruby-patterns, now gone)
- ruby-open3 (from ruby-misc)
- ruby-readline-ext (was ruby-readline, while ruby-readline now selects either
    ruby-readline-ext or ruby-reline)
- ruby-reline (alternative to ruby-readline-ext as pure ruby)
- ruby-singleton (from ruby-patterns, now gone)
- ruby-timeout (from ruby-multithread)

Dropped subpackages:
- ruby-cmath (gone in 2.7.0)
- ruby-e2mmap (gone in 2.7.0)
- ruby-patterns (splitted into ruby-observer, ruby-singleton)
- ruby-scanf (gone in 2.7.0)
- ruby-shell (gone in 2.7.0)
- ruby-sync (gone in 2.7.0)
- ruby-thwait (gone in 2.7.0)

Ruby 2.7.0 also dropped profile.rb and profiler.rb (they were in ruby-debuglib)

Patches changes:
- Dropped patch 001_fix_isnan_isinf_finite_with_uclibc.patch (now in release)
- Added 100-musl.patch, fixing mainly coroutine implementation selection

Helper scripts changes:
- ruby_missingfiles: do not ignore ruby-dev files
- ruby_find_pkgsdeps: better detect circular dependencies

Ruby 2.7.1 fixes these security issues:

* CVE-2020-10663: Unsafe Object Creation Vulnerability in JSON (Additional fix)
* CVE-2020-10933: Heap exposure vulnerability in the socket library

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-04-14 18:57:36 -03:00
Luiz Angelo Daros de Luca 0265390c92 ruby: bump to 2.6.1
See: https://www.ruby-lang.org/en/news/2019/01/30/ruby-2-6-1-released/
See: https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/

New packages mirroring upstream gemification of ruby:
* ruby-bundler (new)
* ruby-e2mmap and ruby-ostruct (from ruby-misc)
* ruby-forwardable (from ruby-patterns)
* ruby-matrix and ruby-prime (from removed ruby-math)
* ruby-mutex_m, ruby-sync and ruby-thwait (from ruby-multithread)
* ruby-tracer (from ruby-debuglib)

Added ruby-dev for building extension inside openwrt (requires cc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-02-20 02:09:55 -03:00
Luiz Angelo Daros de Luca e22dc61d3f ruby: bump to 2.5.0
2.5.0 introduces many new features and performance improvements.
See: https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/

Packaging changes:
* As date was promoted into a gem, ruby-datetime
  was splitted into ruby-date and ruby-time
* New packages for gemified stdlib files:
  - ruby-cmath (from ruby-math)
  - ruby-date (from ruby-datetime)
  - ruby-etc (from ruby-misc)
  - ruby-fcntl (from ruby-misc)
  - ruby-fileutils (from ruby-filelib)
  - ruby-ipaddr (from ruby-socket)
  - ruby-scanf (from ruby-misc)
  - ruby-stringio (from ruby-misc)
  - ruby-strscan (from ruby-misc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-01-05 22:09:47 -02:00
Luiz Angelo Daros de Luca 9682a1d164 ruby: bump to 2.4.0
This is a stable feature release.

Notable changes:

- Introduce hash table improvement (by Vladimir Makarov)
- Binding#irb: Start a REPL session similar to binding.pry
- Unify Fixnum and Bignum into Integer
- String supports Unicode case mappings
- Performance improvements
- Thread#report_on_exception and Thread.report_on_exception changes
- Thread deadlock detection now shows threads with their backtrace and dependency
- Support OpenSSL 1.1.0 (drop support for 0.9.7 or prior)
- ext/tk is now removed from stdlib Feature #8539
- XMLRPC is now removed from stdlib Feature #12160

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-12-31 01:54:33 -02:00
Luiz Angelo Daros de Luca e8bfef392f ruby: refactor package to use more macros
ruby subpackages now are generated by a macro. This reduces the
Makefile size by half and the chance of errors.

No change in packages contents, install-size or dependencies, except
for some removed doc files.

Improved ruby_missingfiles and ruby_find_pkgsdeps script

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-02-14 01:00:09 -02:00
Luiz Angelo Daros de Luca e707020e18 ruby: add auxiliar scripts in order to help tests
ruby_find_pkgsdeps: look for file dependencies (checks
require and Encoding references) and extrapolate it to pkgs
deps. Also checks whether a dep is redundant or missing in pkgs.
Must run inside an OpenWRT with all ruby* pkgs installed.

ruby_missingfiles: list files in staging/target and from files
comparing side by side its contents. It helps to easly visualize
which file is not packaged in an ipk.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-10-07 14:14:53 -03:00