diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-05-22 11:47:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-07 15:57:44 +0100 |
commit | 5c9e4bbba7c5f604b366815ad5f776c2d6c17b06 (patch) | |
tree | 4056a89b5652d4c17fcf528f5a1d90cdb5a908b5 /meta/recipes-devtools/ruby/ruby_2.4.1.bb | |
parent | 8689313447c9aa60856805701800fef8efa5c8fc (diff) | |
download | poky-5c9e4bbba7c5f604b366815ad5f776c2d6c17b06.tar.gz |
ruby: upgrade to 2.4.1
(From OE-Core rev: 3ff2d0bc7a8e7a7e8c8e953dc0ccf84d891688ef)
(From OE-Core rev: b102521a146197749dc1493307f222cbf0292921)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for pyro context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_2.4.1.bb')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby_2.4.1.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.4.1.bb b/meta/recipes-devtools/ruby/ruby_2.4.1.bb new file mode 100644 index 0000000000..f814da9d95 --- /dev/null +++ b/meta/recipes-devtools/ruby/ruby_2.4.1.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | require ruby.inc | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://ruby-CVE-2017-9224.patch \ | ||
5 | file://ruby-CVE-2017-9226.patch \ | ||
6 | file://ruby-CVE-2017-9227.patch \ | ||
7 | file://ruby-CVE-2017-9228.patch \ | ||
8 | file://ruby-CVE-2017-9229.patch \ | ||
9 | file://CVE-2017-14064.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "782bca562e474dd25956dd0017d92677" | ||
13 | SRC_URI[sha256sum] = "a330e10d5cb5e53b3a0078326c5731888bb55e32c4abfeb27d9e7f8e5d000250" | ||
14 | |||
15 | # it's unknown to configure script, but then passed to extconf.rb | ||
16 | # maybe it's not really needed as we're hardcoding the result with | ||
17 | # 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch | ||
18 | UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo" | ||
19 | |||
20 | PACKAGECONFIG ??= "" | ||
21 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
22 | |||
23 | PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind" | ||
24 | PACKAGECONFIG[gpm] = "--with-gmp=yes, --with-gmp=no, gmp" | ||
25 | PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo," | ||
26 | |||
27 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
28 | |||
29 | EXTRA_OECONF = "\ | ||
30 | --disable-versioned-paths \ | ||
31 | --disable-rpath \ | ||
32 | --disable-dtrace \ | ||
33 | --enable-shared \ | ||
34 | --enable-load-relative \ | ||
35 | " | ||
36 | |||
37 | do_install() { | ||
38 | oe_runmake 'DESTDIR=${D}' install | ||
39 | } | ||
40 | |||
41 | PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc" | ||
42 | |||
43 | SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library" | ||
44 | RDEPENDS_${PN}-ri-docs = "${PN}" | ||
45 | FILES_${PN}-ri-docs += "${datadir}/ri" | ||
46 | |||
47 | SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source" | ||
48 | RDEPENDS_${PN}-rdoc = "${PN}" | ||
49 | FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc" | ||
50 | |||
51 | FILES_${PN} += "${datadir}/rubygems" | ||
52 | |||
53 | BBCLASSEXTEND = "native" | ||