forked from mirrors/nixpkgs
547fba5140
For multiple CVE's: - CVE-2017-0898 - CVE-2017-10784 - CVE-2017-14033 - CVE-2017-14064 See https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
43 lines
2.3 KiB
Nix
43 lines
2.3 KiB
Nix
{ patchSet, useRailsExpress, ops, patchLevel }:
|
|
|
|
rec {
|
|
"2.0.0" = [
|
|
./ssl_v3.patch
|
|
./rand-egd.patch
|
|
] ++ ops useRailsExpress [
|
|
"${patchSet}/patches/ruby/2.0.0/p${patchLevel}/railsexpress/01-zero-broken-tests.patch"
|
|
"${patchSet}/patches/ruby/2.0.0/p${patchLevel}/railsexpress/02-railsexpress-gc.patch"
|
|
"${patchSet}/patches/ruby/2.0.0/p${patchLevel}/railsexpress/03-display-more-detailed-stack-trace.patch"
|
|
"${patchSet}/patches/ruby/2.0.0/p${patchLevel}/railsexpress/04-show-full-backtrace-on-stack-overflow.patch"
|
|
];
|
|
"2.1.10" = [
|
|
./rand-egd.patch
|
|
] ++ ops useRailsExpress [
|
|
# 2.1.10 patchsets are not available, but 2.1.8 patchsets apply
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/01-zero-broken-tests.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/02-improve-gc-stats.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/03-display-more-detailed-stack-trace.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/04-show-full-backtrace-on-stack-overflow.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/05-funny-falcon-stc-density.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/06-funny-falcon-stc-pool-allocation.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/07-aman-opt-aset-aref-str.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/08-funny-falcon-method-cache.patch"
|
|
"${patchSet}/patches/ruby/2.1.8/railsexpress/09-heap-dump-support.patch"
|
|
];
|
|
"2.2.8" = ops useRailsExpress [
|
|
"${patchSet}/patches/ruby/2.2/head/railsexpress/01-zero-broken-tests.patch"
|
|
"${patchSet}/patches/ruby/2.2/head/railsexpress/02-improve-gc-stats.patch"
|
|
"${patchSet}/patches/ruby/2.2/head/railsexpress/03-display-more-detailed-stack-trace.patch"
|
|
];
|
|
"2.3.5" = ops useRailsExpress [
|
|
"${patchSet}/patches/ruby/2.3/head/railsexpress/01-skip-broken-tests.patch"
|
|
"${patchSet}/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch"
|
|
"${patchSet}/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch"
|
|
];
|
|
"2.4.2" = ops useRailsExpress [
|
|
"${patchSet}/patches/ruby/2.4/head/railsexpress/01-skip-broken-tests.patch"
|
|
"${patchSet}/patches/ruby/2.4/head/railsexpress/02-improve-gc-stats.patch"
|
|
"${patchSet}/patches/ruby/2.4/head/railsexpress/03-display-more-detailed-stack-trace.patch"
|
|
];
|
|
}
|