28 Commits

Author SHA1 Message Date
jeremy
ee71667ee4 Remove patches added to work around fifo fdlock bug, tests no longer hang
No bumps as these files are not part of the packages.
2018-07-04 01:38:05 +00:00
jeremy
f374615e17 Update to the latest versions of ruby: 2.5.1, 2.4.4, and 2.3.7.
This fixes the following CVEs: 2017-17742, 2018-6914, 2018-8777,
2018-8778, 2018-8779, and 2018-8780.

While here, switch HOMEPAGE and MASTER_SITES from http to https,
requested by tj@.
2018-03-31 21:12:45 +00:00
jeremy
7b3eb6690d Restore missing $OpenBSD$ entry in ri_docs PLIST
Pointed out by juanfra@
2018-03-08 15:00:27 +00:00
sthen
23f03b0df4 Better fix. It was actually X509_STORE_get_ex_new_index that we don't
have, but Ruby was guarding this by a single function check for
X509_STORE_set_ex_data. In most cases they are doing nice checks in
extconf.rb for the exact function so convert to doing the same here.
2018-02-23 09:54:25 +00:00
sthen
87b689426d quick fix for X509_STORE_set_ex_data to let this package/run; config checking
sets HAVE_X509_STORE_SET_EX_DATA though we don't actually have it yet, causing
undefined symbol when running ruby as part of "make fake" to generate docs.
2018-02-22 21:35:11 +00:00
jeremy
903b134fc9 Apply upstream patches to fix rubygems security vulnerabilities in
ruby 2.3, 2.4, and 2.5.
2018-02-19 02:18:13 +00:00
jeremy
0a67ff4532 Update to ruby 2.3.6, fixing CVE-2017-17405 and CVE-2017-0903 2017-12-15 16:46:52 +00:00
jeremy
bf6889217a Move most shared logic from ruby version-specific Makefiles to Makefile.inc
Drop the use of RUBYLIBREV, since it is the same as REV since ruby 2.0 and
causes issues with update-plist.

OK tb@
2017-11-02 10:16:38 +00:00
jeremy
88ca83476b Update DISTNAME in ruby Makefile.inc for newer ruby dist file naming 2017-11-01 10:52:06 +00:00
jeremy
2e16c3b2ca Update to ruby 2.3.5. Fixes CVE-2017-14033, CVE-2017-14064,
CVE-2017-0898, and CVE-2017-10784. Shared lib major bump due to
removed/modified functions.  Regen patches while here.
2017-09-16 22:43:38 +00:00
jeremy
c5d902d473 Apply security patches provided by ruby-core to fix security issues
in rubygems for versions still supported upstream (2.2, 2.3, and 2.4).

No CVE numbers, but this fixes the following vulnerabilities:

* Fix a DNS request hijacking vulnerability.
* Fix an ANSI escape sequence vulnerability.
* Fix a DOS vulernerability in the query command.
* Fix a vulnerability in the gem installer that allowed a malicious
  gem to overwrite arbitrary files.
2017-09-02 21:29:47 +00:00
jeremy
799e944524 Update to ruby 2.3.4 2017-04-07 21:14:17 +00:00
jca
b40bb7b3ca Workaround for ram-constrained archs: build ext/ripper/ripper.c with -O1
ok phessler@ jeremy@ (maintainer)
2017-02-21 16:45:36 +00:00
phessler
d4ff38167f arm: OOM when building ext/ripper/ripper.c 2016-12-21 07:22:20 +00:00
jeremy
3991a161d8 Update to ruby 2.3.3 2016-11-23 15:59:32 +00:00
jeremy
d76bcdfea3 Update to ruby 2.3.2
Bump minor due to new exported function.
2016-11-19 04:56:00 +00:00
jeremy
6bf61276f8 Add a couple directories to the PLIST
These directories are needed to that installing a ruby gem ext port and
then remove the ruby package doesn't leave directories around. This is
only a partial fix, the ruby gem ext ports all need a similar fix.

Problem pointed out by and feedback from pirofti@
2016-11-04 17:03:29 +00:00
jasper
003e889c0a retire sparc 2016-09-01 10:53:26 +00:00
jeremy
5a038f445f Add USE_WXNEEDED to ruby, to get devel/ruby-therubyracer working
Original diff from awolk@, OK sthen@

Change to use USE_WXNEEDED by me
2016-08-19 19:09:34 +00:00
jeremy
c322ffdfb9 Fix REVISION-main bumps 2016-07-15 15:53:05 +00:00
jeremy
7465a481c5 Use shadow versions of password functions 2016-07-15 15:39:03 +00:00
espie
1d55a231e7 add is-branch to all trivial ports that exist as multiple branches. 2016-06-29 16:14:38 +00:00
jeremy
a283c0a52c Update to ruby 2.3.1 2016-04-30 14:19:00 +00:00
visa
29d7ebfad2 Re-enable on mips64.
OK jasper@
2016-03-30 16:47:34 +00:00
landry
23f5a06560 BROKEN-powerpc = OOM when building ext/ripper/ripper.c (like hppa) 2016-03-05 10:42:13 +00:00
jeremy
99dd75e03e Make dpb not try to build -ri_docs subpackages on slow arches
The previous way was bogus.  Use bsd.port.arch.mk to remove
MULTI_PACKAGES instead of having the lack of no_* FLAVOR add them.

Change the no_x11 PSUEDO_FLAVOR to no_tk, since what it does is turn
off the -tk subpackage.

Remove post-install target from Makefile.inc, and use a manually
post-install in every version.  This is necessary due to
bsd.port.arch.mk usage.

Noticed by tobiasu@
Guidance from espie@
2016-02-29 20:46:53 +00:00
tobiasu
8f2c35a41d mark broken on sparc, needs more memory to compile than we currently allow 2016-02-15 12:09:03 +00:00
jeremy
467dc84bf8 Import ruby 2.3.0
OK sthen@
2016-01-07 00:52:46 +00:00