Bug 139862 - lang/ruby19: ruby19-p243 contains a bug in a library which causes widespread issues
lang/ruby19: ruby19-p243 contains a bug in a library which causes widespread ...
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Stanislav Sedov
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-23 11:50 UTC by ari
Modified: 2009-10-24 12:00 UTC (History)
0 users

See Also:


Attachments
file.shar (776 bytes, text/plain)
2009-10-23 11:50 UTC, ari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ari 2009-10-23 11:50:00 UTC
This problem: http://groups.google.com/group/rack-devel/browse_thread/thread/a2aab3a4720f34c4 causes grief for most people using passenger with the ruby 1.9 version which was just pushed out to the FreeBSD ports.

See also: http://code.google.com/p/phusion-passenger/issues/detail?id=340

The underlying problem is here: http://redmine.ruby-lang.org/issues/show/1494#note-10

The solution as applied in that thread to the Ruby svn is here: http://redmine.ruby-lang.org/repositories/diff/ruby-19?rev=24662

All I've done is wrap that change up in a patch for the FreeBSD port. It should be removed when we get the next official Ruby update but until then this will probably help a lot of people.

Fix: Add the following patch file to the lang/ruby19 port.
Comment 1 Mark Linimon freebsd_committer 2009-10-23 17:48:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Fix synopsis and assign.
Comment 2 dfilter freebsd_committer 2009-10-24 11:52:16 UTC
stas        2009-10-24 10:52:07 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.ruby.mk 
  Added files:
    lang/ruby19/files    patch-tempfile.rb 
  Log:
  - 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
  
  Revision  Changes    Path
  1.190     +2 -2      ports/Mk/bsd.ruby.mk
  1.1       +10 -0     ports/lang/ruby19/files/patch-tempfile.rb (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer 2009-10-24 11:52:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!