diff options
| author | Maxin B. John <maxin.john@intel.com> | 2018-04-09 14:55:07 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 13:28:04 +0100 |
| commit | 1d9c7f3c09e726e902d74d092a438189ff28b026 (patch) | |
| tree | e9497dfd385484bc7871cea36e0ff4bf64825267 /meta/recipes-devtools/ruby/ruby_2.5.1.bb | |
| parent | 9416cde4bc6e08c3b1e65b34be2bfb77b548ec25 (diff) | |
| download | poky-1d9c7f3c09e726e902d74d092a438189ff28b026.tar.gz | |
ruby: upgrade to version 2.5.1
License-Update: Checksum of LEGAL file updated for changes to
upstream URL and addition of Wayback Machine url
(From OE-Core rev: 98f889ca4a07c54165d3d983582639951b8ef32e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_2.5.1.bb')
| -rw-r--r-- | meta/recipes-devtools/ruby/ruby_2.5.1.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.1.bb b/meta/recipes-devtools/ruby/ruby_2.5.1.bb new file mode 100644 index 0000000000..91048284c1 --- /dev/null +++ b/meta/recipes-devtools/ruby/ruby_2.5.1.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | require ruby.inc | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://ruby-CVE-2017-9226.patch \ | ||
| 5 | file://ruby-CVE-2017-9228.patch \ | ||
| 6 | " | ||
| 7 | |||
| 8 | SRC_URI[md5sum] = "23867bc8c16c55e43b14dfe0614bcfa8" | ||
| 9 | SRC_URI[sha256sum] = "dac81822325b79c3ba9532b048c2123357d3310b2b40024202f360251d9829b1" | ||
| 10 | |||
| 11 | # it's unknown to configure script, but then passed to extconf.rb | ||
| 12 | # maybe it's not really needed as we're hardcoding the result with | ||
| 13 | # 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch | ||
| 14 | UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo" | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "" | ||
| 17 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
| 18 | |||
| 19 | PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind" | ||
| 20 | PACKAGECONFIG[gmp] = "--with-gmp=yes, --with-gmp=no, gmp" | ||
| 21 | PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo," | ||
| 22 | |||
| 23 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
| 24 | |||
| 25 | EXTRA_OECONF = "\ | ||
| 26 | --disable-versioned-paths \ | ||
| 27 | --disable-rpath \ | ||
| 28 | --disable-dtrace \ | ||
| 29 | --enable-shared \ | ||
| 30 | --enable-load-relative \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_install() { | ||
| 34 | oe_runmake 'DESTDIR=${D}' install | ||
| 35 | } | ||
| 36 | |||
| 37 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" | ||
| 38 | |||
| 39 | SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" | ||
| 40 | RDEPENDS_${PN}-ri-docs = "${PN}" | ||
| 41 | FILES_${PN}-ri-docs += "${datadir}/ri" | ||
| 42 | |||
| 43 | SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source" | ||
| 44 | RDEPENDS_${PN}-rdoc = "${PN}" | ||
| 45 | FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" | ||
| 46 | |||
| 47 | FILES_${PN} += "${datadir}/rubygems" | ||
| 48 | |||
| 49 | BBCLASSEXTEND = "native" | ||
