1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

261 Commits

Author SHA1 Message Date
Steve Wills
07e2d47f53 - Force use of libreadline from ports rather than base, in order to avoid
unexpectedly getting readline from ports if it's already installed.
- Add patch to work with newer libreadline
- Provide an option to use libedit from ports, avoiding the libedit in base.
- Note 1: The patch to work with newer libreadline is only applied in the
  libreadline case since it actually breaks building with libedit.
- Note 2: libreadline is not BSD licensed and while libedit would be
  preferable, it seems to have issues with UTF8 still, see ruby bug 9204. Once
  that's resolved, we can make libedit the default.

PR:		ports/187928 [1] (based on)
PR:		ports/188077 [2] (based on)
Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [2]
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?r1=43458&r2=45225 (ruby upstream)
MFH:		2014Q2
2014-05-30 18:34:29 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Steve Wills
d370b8a9bf - Fix issues with specifying ${RUBY} variable
PR:		ports/170916
Reported by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
2014-04-13 02:44:45 +00:00
Baptiste Daroussin
3ba7dc60bd Remove support for not staged ports
Approved by:	ruby@ (swills)
2014-04-09 09:25:29 +00:00
Steve Wills
eedf7913ee - Fix patch broken in r292221
PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
2014-03-23 15:31:43 +00:00
Steve Wills
cf48be67f0 - Update Ruby 2.1 to 2.1.1 2014-02-25 04:23:14 +00:00
John Marino
1a169331b0 Mk/bsd.(ruby,efl).mk: Replace "freebsd" with OPSYS:L
This change is no-op for FreeBSD but is needed for DragonFly support.
It has been run in dports for a year.  Also unneeded trailing slashes were
removed from bsd.efl.mk (also tested for a year).

Approved by: 	portmgr (bapt)
2014-02-21 18:53:16 +00:00
Steve Wills
20c88bccc7 - Add Ruby 2.1 2014-02-18 15:35:42 +00:00
Sunpoet Po-Chuan Hsieh
7c6ecde898 - Group common variable declarations together
Reviewed by:	swills
2014-02-15 07:23:56 +00:00
Sunpoet Po-Chuan Hsieh
eac5501ee7 - Remove unnecessary trailing backslash 2014-02-11 16:43:35 +00:00
Bryan Drewery
731e46f350 Fix trailing newline breaking INDEX
Submitted by:	cperciva
2014-02-09 03:05:21 +00:00
Bryan Drewery
447562319e Allow staging USE_RUBY_SETUP ports.
They must be built with the proper prefix, but at install
phase they should be passed --prefix=STAGEDIR. It will
already install to the previously used PREFIX so this
will end up installing into ${STAGEDIR}${PREFIX}

With hat:	ruby
2014-02-09 01:54:56 +00:00
Ryan Steinmetz
fa6095be88 - Honor user-defined LANG/LC_ALL/LC_CTYPE before defaulting (improves upon fix committed in r342091)
- Ensure LANG/LC_ALL/LC_CTYPE are defined in GEM_ENV for all versions of ruby

PR:		ports/186313
Reviewed by:	swills@
With hat:	ruby@
2014-02-01 16:29:36 +00:00
Ryan Steinmetz
7c7a3ee4b8 - Resolve RDoc generation problems
PR:		ports/186313
Submitted by:	zi@
Approved by:	bdrewery@ (portmgr)
With hat:	ruby@
2014-01-31 23:02:59 +00:00
Steve Wills
a3094148c6 - Add patch to increase stack size to avoid crash on ppc64
- Bump PORTREVISION due to binary and package change

Submitted by:	jhibbits (via private email)
2014-01-25 22:10:56 +00:00
Antoine Brodin
f65a743cc7 Make it possible to stage ruby gems using mkmf as a regular user
Reviewed by:	bapt
With hat:	portmgr
2014-01-22 20:47:04 +00:00
Steve Wills
03fdbd5ccf - Fix mkmf DESTDIR issue with patch from upstream
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mkmf.rb?r1=41756&r2=41755&pathrev=41756
2014-01-02 20:46:29 +00:00
Steve Wills
9de02523dd - Add patch to bundled rdoc to fix issue which causes some ports to fail to
build

Obtained from:	f4f5b94285
2014-01-02 02:35:40 +00:00
Steve Wills
e1609e7d27 - Fix patch to uri module that I broke in r334630
- Bump PORTREVISION

PR:		ports/184315
Submitted by:	Andris Raugulis <andris@govs.lv>
2013-11-27 13:21:30 +00:00
Steve Wills
f38a81fc62 - Fix and report heap overflow in floating point parsing issue in ruby
Security:	cc9043cf-7f7a-426e-b2cc-8d1980618113
2013-11-23 03:10:04 +00:00
Thomas Abthorpe
1d55dd3d43 - Remove final vestiges of ruby18
Exp-run by:	bdrewery
2013-10-31 12:15:50 +00:00
Antoine Brodin
60e079a05c Fix staging to rubygems
Approved by:	portmgr (bapt)
2013-10-17 16:45:07 +00:00
Baptiste Daroussin
eb6d37560f Allow staging rubygems (which here, enforce the bindir for staged rubygem ports) 2013-10-17 13:28:50 +00:00
Sunpoet Po-Chuan Hsieh
a709c2b1fc - Fix typo [1]
- Reword warning message

PR:		ports/182429 [1]
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2013-09-27 06:18:40 +00:00
Baptiste Daroussin
377fc0342d Introduce the one-true-way to handle multi version ports
This defines a new macros for end users!
DEFAULT_VERSIONS.
This macros is used to end-users to define what version they want to be
the default version for the whole ports tree (for ports allowing that)

Syntax is the following:
DEFAULT_VERSIONS=	perl5=5.18 ruby=2.0

Swith bsd.ruby.mk to use it[1], switch Uses/perl5.mk to use it[2]

If you are maintaining settable multi version port, please change it so
it uses DEFAULT_VERSIONS.

Reviewed by:	ruby (swills) [1], perl (az) [2]
Approved by:	ruby (swills) [1], perl (az) [2]
2013-09-19 08:16:43 +00:00
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