Commit graph

236 commits

Author SHA1 Message Date
Steve Wills
06ea1d1b82 - Update to 1.9.3-p448
- Remove patch for issue fixed upstream
2013-07-11 20:07:33 +00:00
Baptiste Daroussin
71aec7fcbd Fix MAKE_FORCE_JOBS 2013-07-06 12:53:57 +00:00
TAKATSU Tomonari
03bdec2090 - Fix the value of RUBY_PROVIDED to be able to compare with
RUBY_REQUIRE correctly
- Define RUBY_RELVERSION_CODE
- Add descriptions about RUBY_RELVERSION and RUBY_RELVERSION_CODE

PR:		ports/179830
Submitted by:	tota (myself)
2013-06-23 06:57:46 +00:00
Steve Wills
9408d33b1b - Update Ruby 2.0.0 to p195
- Disable dtrace support on powerpc [1]

PR:		ports/177485 [1]
Reported by:	Justin Hibbits <jrh29@alumni.cwru.edu> [1]
2013-05-28 00:46:32 +00:00
Steve Wills
0f62f20598 - Switch default version of Ruby to 1.9 2013-05-27 13:11:30 +00:00
Steve Wills
9525314673 - Update to p429
- Cleanup a bit while here, headers use spaces not tabs
- Add patch for Ruby bug 8406, already fixed upstream
2013-05-26 19:22:51 +00:00
Steve Wills
d77d47f8f2 - Add LC_TYPE to avoid encoding issues with many gems 2013-02-25 02:13:41 +00:00
Steve Wills
f293be94df - Fix plist for ruby 2.0 2013-02-25 00:07:56 +00:00
Steve Wills
9f9a1a0e4d - Update to 1.9.3p392
Security:	forthcoming
2013-02-24 17:09:12 +00:00
Steve Wills
b665858e89 - Add Ruby 2.0 2013-02-24 15:37:23 +00:00
Steve Wills
05e464023e - Add ability to patch rubygem- ports 2013-02-24 06:02:06 +00:00
Steve Wills
561a5a1691 - Update Ruby 1.9 to 1.9.3p385. This fixes a security issue in rdoc (CVE-2013-0256)
- Also add the patch for the security issue in the bundled json (CVE-2013-0269)
- Fix an issue with the .pc file by patching configure [1]

Reported by:	avg [1]
Security:	forthcoming
2013-02-12 15:23:04 +00:00
Jason Helfman
f0bbc55498 - update remaining ruby@ maintained ports to new options framework
- trim historical header where applicable

Reviewed by:	swills@ (ruby@)
2013-01-11 22:05:13 +00:00
Steve Wills
dd14410e21 - Update lang/ruby19 to 1.9.3p327
- Document security issue in earlier versions

Security:	5e647ca3-2aea-11e2-b745-001fd0af1a4c
Feature safe:	yes
2012-11-10 04:00:41 +00:00
Steve Wills
3b83023999 - Update to 1.8.7 p371
Security:	2a093853-2495-11e2-b0c7-000d601460a4
Feature safe:	yes
2012-11-02 14:24:53 +00:00
Steve Wills
be4019c82b - Update lang/ruby19 to 1.9.3.286
- Don't try to cleanup dir created by ruby-gems
- Trim headers while here

Feature safe:	yes
2012-10-31 17:01:03 +00:00
Steve Wills
ffbafcde48 - Fix memory leak
PR:		ports/171807
Submitted by:	stas
2012-09-22 14:27:51 +00:00
Steve Wills
21ac3b59a5 - Update to 1.8.7p370
PR:		ports/169668
Submitted by:	stas
Approved by:	portmgr (linimon)
2012-07-16 19:11:35 +00:00
Steve Wills
35259f736a - Update lang/ruby19 to 1.9.3-p194
PR:		ports/167656
Submitted by:	Stanislav Sedov <stas@deglitch.com>
2012-05-16 17:43:28 +00:00
Steve Wills
b056987a7e - Update lang/ruby18 to p385
- Update lang/ruby19 to p125

Changes:

http://www.ruby-forum.com/topic/3663807#1047121
http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/

PR:		ports/165223
Submitted by:	swills (myself)
Reviewed by:	pgollucci
Approved by:	portmgr
2012-02-25 15:25:49 +00:00
Steve Wills
922347982c - Update to 1.8.7p357
Reviewed by:	pgollucci
Security:	91be81e7-3fea-11e1-afc7-2c4138874f7d
2012-01-21 15:40:26 +00:00
Thomas Abthorpe
1dd979d450 - Assign bsd.ruby.mk to ruby@ [1]
- Assign bsd.efl.mk and bsd.ocaml.mk to ports@

With hat:	portmgr
Discussed with:	swills@ [1]
2011-12-15 19:47:53 +00:00
Steve Wills
10c8b3516a - Update lang/ruby19 to 1.9.3
Submitted by:	stas@
With hat:	ruby@
Feature safe:	yes
Approved by:	portmgr (pav)
2011-11-21 20:59:09 +00:00
Steve Wills
d6f963ea5b - Move RAKE_VER out of bsd.ruby.mk since it is no longer needed 2011-10-25 21:06:55 +00:00
Stanislav Sedov
d14a2f6d79 - Do not install the 'gem' executable as part of ruby 1.9 install. The
version supplied is too old for some applications, so we're switching
  to using the version from ports.
- Allow ruby-gems installation for ruby 1.9.

Submitted by:	swills@ (based on).
2011-09-13 08:03:32 +00:00
Steve Wills
7468302ec9 - Remove USE_RUBY_AMSTD support, since it is no longer used
Discussed with:		stas
2011-09-13 01:43:10 +00:00
Steve Wills
370c5cdc08 - Revert change of default Ruby version from 1.9 back to 1.8 due to
unforseen issues.

Discussed with:		stas
2011-08-24 00:52:12 +00:00
Steve Wills
894c447bb7 - Undo some of the changes related to making Ruby 1.9 default.
Specifically, don't try to use devel/ruby-gems instead of the bundled
  gem.
2011-08-23 03:47:28 +00:00
Stanislav Sedov
8394090d03 - Bump the revision of ruby18 port to force the package rebuild:
the new package doesn't include default ruby, irb, ri links because
  the default version has changed.
2011-08-22 23:11:15 +00:00
Steve Wills
f7c36f227d - Update Ruby 1.9 to p290
- Make Ruby 1.9 the default Ruby
2011-08-21 04:03:37 +00:00
Stanislav Sedov
a37d53f5bb - Update ruby 1.8 to 1.8.7 patchlevel 352. 2011-07-16 01:51:49 +00:00
Stanislav Sedov
f734ac8f71 - Update ruby 1.9 to 1.9.2p136.
This is a bugfix release.
2011-05-11 05:41:15 +00:00
Stanislav Sedov
df030013c6 - As ports ruby 1.9 now includes a recent version of rake,
revert a part of 1.197 by pgollucci which breaks rake with
  ruby 1.9 and switch back to using the ruby 1.9 bundled one.

PR:		ports/155539, ports/156217
Submitted by:	Ralf Gebhart <gebhart@secnetix.de>, Anonymous <swell.k@gmail.com>
2011-04-06 19:36:50 +00:00
Stanislav Sedov
99f91988ea - Update ruby 1.8 to p302.
PR:		ports/151712
Reported by:	Pavel Argentov <argentoff@gmail.com>
2010-11-22 05:47:08 +00:00
Stanislav Sedov
fd4e416769 - Do not link ruby18 agains librt.
- Bump portrevision.

PR:		ports/149003
Submitted by:	Anonymous <swell.k@gmail.com>
2010-10-11 06:36:41 +00:00
Stanislav Sedov
54b52675de - Update ruby19 to 1.9.2.
- Do not link agains librt. [1]

PR:		ports/149003 [1]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
2010-10-11 03:09:54 +00:00
Stanislav Sedov
c7dfe5824e - Provide the correct value for TOPDIR in ruby 1.9.
- Bump portrevision.

Reported by:	Jase Thew (irc)
2010-09-20 01:28:36 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Philip M. Gollucci
085779a1f9 - Support NOPORTDOCS (--no-rdoc) for RUBYGEM_AUTOPLIST=yes ports
PR:                 ports/147547
Submitted by:       myself (pgollucci)
No objection from:  stas
With Hat:           ruby
Sponsored by:       RideCharge Inc. / Taximagic
2010-09-01 23:39:33 +00:00
Philip M. Gollucci
d2e84b418d - Fix www/rubygem-passenger under lang/ruby19 [1]
- Fix www/rubygem-rake under lang/ruby19 [2]

PR:             ports/147137 [3], ports/143661 [1], ports/144606 [2]
Submitted by:   myself (pgollucci),
                Jyun-Yan You <jyyou@cs.nctu.edu.tw> [1]
                "Aaron D. Gifford" <Aaron.D.Gifford@FreeBSD.org> [2]
Approved by:    maintainer timeout (stas) [3] / myself
With Hat:       ruby
2010-08-31 03:28:05 +00:00
Stanislav Sedov
60808d3d09 - Update ruby 1.9.1 to p430. This release fixes CVE-2010-0541.
- Fix CVE-2010-0541 in ruby18.  Bump portrevision.
- Fix ruby19 build with openssl 1.1.
2010-08-18 03:46:00 +00:00
Stanislav Sedov
8649bd09e5 - Fix incorrect errno returned by IO::write.
Reported by:	John-Paul Bader <contact@smyck.org>
Obtained from:	ruby svn (revision r26253)
2010-04-28 23:59:55 +00:00
Stanislav Sedov
561017fe76 - Do not try to stop the timer thread in child after fork: at this moment
there's already nothing to stop.  Only mark the timer thread as stopped.
  That fixes spontaneous lockups in ruby popen call.

Reported by:	renchap @ FreeNode
2010-04-27 22:14:06 +00:00
Stanislav Sedov
27705ea5ca - Fix rubygems location for ruby 1.9, which got broken after the last
update.
- Bump portrevision.

Submitted by:	Aaron Gifford <astounding@gmail.com> (based on)
2010-01-29 18:25:32 +00:00
Stanislav Sedov
b9a75be4bd - Update to patchlevel 248. 2010-01-06 06:31:21 +00:00
Stanislav Sedov
253f1b71cb - Update ruby 1.9 to 1.9.1 patchlevel 376. This fixes CVE-2009-4124.
Security:	eab8c3bd-e50c-11de-9cd0-001a926c7637
2009-12-09 23:45:30 +00:00
Stanislav Sedov
d4693481b1 - Fix issue when the handle of tempfile become closed when the file
was unlinked (see http://redmine.ruby-lang.org/issues/show/1494#note-10).
- Bump PORTREVISION.

PR:		ports/139862
Submitted by:	Ari Maniatis <ari@ish.com.au>
Obtained from:	Ruby SVN
2009-10-24 10:52:07 +00:00
Stanislav Sedov
484e14b422 - Fix SIGINT signal handling.
PR:             ports/136804
Submitted by:   Emiel van de Laar <gemiel@gmail.com>
Obtained from:  ruby-lang SVN
2009-10-12 15:28:22 +00:00
Stanislav Sedov
afca0c68d3 - Update ruby 1.9.1 to patchlevel 243. 2009-10-12 15:05:01 +00:00
Stanislav Sedov
ef38fc3bb8 - Don't build ruby with threads support on FreeBSD versions before 7.2
- On FreeBSD >= 7.2 allocate the new thread with adequate amount of stack
  space to run the main ruby code in.  This allows to mitigate problem
  when too low stack space available for ruby when running with pthreads
  enabled.
- Bump portrevision.

The long version.  Before this change we used to link ruby against pthreads
uncoditionally on all versions of FreeBSD.  This is indispensable in order
to load the threaded shared objects withing ruby.  However, this causes a
dramatic decrease in the stack space available as pthreads only allows
up to several megabytes of stack space for the main application threads.
The only solution to this is to create the new thread immediately after
the program start with rigth stack size attributes set.  Nonetheless this
scheme won't work for us on FreeBSD version before 7.2 as malloc implementation
in these versions was not threaded fork safe (i.e. this is impossible to
fork from the threaded program and expect malloc/free functions to work).
Thus the only solution for now can be to disable pthreads entirely on
FreeBSD <= 7.2.  This won't cause any performance/usability problems for
users as Ruby 1.8 uses green threads, however it may prevent <= 7.2
users to load shared libraries linked agains pthreads.

Reported by:	"François Montel" <seanmullen@gmail.com>
Tested by:	Sean Mullen <seanmullen@gmail.com>
2009-10-12 13:15:50 +00:00