Bug 146656 - [PATCH] update bsd.sites.mk to include ruby gems hosted at RubyGems.org
Summary: [PATCH] update bsd.sites.mk to include ruby gems hosted at RubyGems.org
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 09:50 UTC by Eric Freeman
Modified: 2010-05-24 23:10 UTC (History)
0 users

See Also:


Attachments
file.diff (932 bytes, patch)
2010-05-17 09:50 UTC, Eric Freeman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Freeman 2010-05-17 09:50:01 UTC
In general the Ruby community has moved towards rubygems.org (RG) and away from rubyforge.org (RF) to host the 'master' set of gems.  Whilst RF is still very much active for development many new versions of gems can only be found at RG.  I've noticed the occasional post on the lists regarding this, but other than the odd hard-coded port MASTER_SITES entry I've not seen any thing planned for general inclusion in the bsd.sites.mk file.

I've attached my suggested patch to update bsd.sites.mk to include a new RUBYGEMS
master site pointing to the redirected hosting (links on rubygems.org redirect to the amazon and cloudfiles hosting).

I think this should provide a nice simple way to keep writing gem ports for FreeBSD.  I've tested the patch with half a dozen rubygem- ports (tweaking the existing MASTER_SITES to be 'RG' and they all appeared to work without issue.

I've also taken the opportunity in the patch to update the MASTER_SITES for RF since one of the hosts currently listed (http://files.rubyforge.mmmultiworks.com) has been dead for ages.  I have selected another from those listed on the RF site. 


Regards

Eric


For reference the two list posts (which have a little more detail in) I made regarding rubygems update:

http://lists.freebsd.org/pipermail/freebsd-ports/2010-May/061021.html
http://lists.freebsd.org/pipermail/freebsd-ruby/2010-April/000290.html

How-To-Repeat: n/a
Comment 1 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-18 06:09:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-ruby

Over to maintainer.
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-24 23:08:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-05-24 23:08:13 UTC
pgollucci    2010-05-24 22:07:59 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.sites.mk 
  Log:
  - Add new macro RG for RubyGems site
  - Remove a dead RUBYFORGE mirror, select a new one to replace it
  
  PR:             ports/146656
  Submitted by:   Eric Freeman <freebsdports@chillibear.com>
  
  Revision  Changes    Path
  1.497     +11 -3     ports/Mk/bsd.sites.mk
_______________________________________________
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"