17 Commits

Author SHA1 Message Date
jeremy
690fdc2a78 Avoid the use of builtin_setjmp
Use _setjmp by default to use the setjmp xor cookie.

This was already done for powerpc and powerpc64 to work around a
segfault, but it seems to be a good practice on all arches.

ok gkoehler@
2021-08-13 18:45:45 +00:00
gkoehler
c8e8ff9438 Don't use __builtin_setjmp on powerpc, powerpc64
clang-11's __builtin_setjmp is broken, has chance of SIGSEGV during
"make build" on powerpc with ld.lld, or when passing a wrong option
(like "ruby -e" with no -e code) on powerpc64.

ok jeremy@ (maintainer)
2021-08-09 20:13:02 +00:00
jeremy
9e3c83c688 Update to Ruby 2.6.8 2021-07-09 17:05:46 +00:00
jeremy
7e2b8dcb08 Update to Ruby 2.6.7 2021-04-07 14:58:10 +00:00
jcs
ed4c6e9925 mention ruby-shims in ruby MESSAGE files as an alternative to adding
symlinks

ok kn
2021-01-03 15:44:41 +00:00
visa
48e85e0a2a Disable the peephole optimizer on mips64 to fix intermittent crashes.
OK jeremy@
2020-07-22 10:22:34 +00:00
jeremy
d9fd50f09f Update to Ruby 2.6.6 2020-04-03 01:47:05 +00:00
jeremy
239f38cbff Use more automated debug package creation 2019-11-19 17:20:12 +00:00
jeremy
555f88c968 Build debug packages for ruby 2019-11-10 13:50:00 +00:00
jeremy
f6c2326c22 Update to Ruby 2.6.5, fixing the following vulnerabilities:
* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of WEBrick.s Digest access authentication
2019-10-03 18:38:54 +00:00
jeremy
10a6a2a44f Update to Ruby 2.6.4
Drop PATCHFILES as the patch is now included.

Backport use of realpath(3) for File.realpath to allow unveil(2) to work.
2019-08-30 15:58:26 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
jeremy
a7ec63804c Fix waking up on received signals
Changes in thread internals between ruby 2.5 and 2.6 resulted in
ruby processes not waking up when receiving some signals.  Fix
this by backporting an upstream patch.  Remove three patches to
the tests that skipped tests. Two of these issues were fixed by
this upstream patch, and the other was fixed by the pthread fifo
fdlock fix.
2019-05-27 21:42:01 +00:00
jeremy
6bb2a9dd70 Update to ruby 2.6.3 2019-04-26 15:46:28 +00:00
jeremy
5245052a1f Update to ruby 2.6.2
Fixes the following vulnerabilities in rubygems:

CVE-2019-8320: Delete directory using symlink when decompressing tar
CVE-2019-8321: Escape sequence injection vulnerability in verbose
CVE-2019-8322: Escape sequence injection vulnerability in gem owner
CVE-2019-8323: Escape sequence injection vulnerability in API response handling
CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
CVE-2019-8325: Escape sequence injection vulnerability in errors
2019-03-15 16:44:49 +00:00
jeremy
16da32da5f Update to ruby 2.6.1 2019-02-01 16:24:59 +00:00
jeremy
0d9f363af6 Import ruby 2.6.0
Help and testing from jca@ and George Koehler
OK jca@
2019-01-14 16:13:05 +00:00