Commit graph

290 commits

Author SHA1 Message Date
Steve Wills
5d4ff11096 Update Ruby to latest versions to address CVE-2015-1855.
Security:	https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
2015-04-14 00:35:59 +00:00
Bryan Drewery
e710b8dad9 - Fix runtime with OpenSSL after the removal of SSLv2 in head.
- Make the main LOCALBASE/bin files into symlinks to the actual version to
  make it simpler to tell which version is default.
2015-04-01 23:26:10 +00:00
Steve Wills
dd2e090988 Improve invalid version detection
Reported by:	dvl, zi
Submitted by:	bdrewery
Tested by:	zi
2015-03-30 19:17:33 +00:00
Steve Wills
70eb32067e lang/ruby21: fix bug in bundled rdoc
Obtained from:	55fbd8947f
2015-03-30 15:30:30 +00:00
Steve Wills
fed7471248 Update ruby-gems to 2.4.5
Note this is a big upgrade and the way gemspecs are generated changed. As a
result, all patched gemspecs had to have new patches.
2015-03-30 02:47:07 +00:00
Sunpoet Po-Chuan Hsieh
47e904ae1e - Cleanup Mk/bsd.ruby.mk and remove no-op knobs in ruby ports
Reviewed by:	bapt
Reviews:	https://reviews.freebsd.org/D2030
2015-03-14 14:36:13 +00:00
Steve Wills
83c1767ceb lang/ruby22: update to 2.2.1
PR:		198338
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-03-09 13:30:51 +00:00
Steve Wills
f61e451a34 lang/ruby20: update to 2.0.0 p643
While here, bring in an rdoc fix

Obtained from:	55fbd8947f
2015-03-07 17:53:51 +00:00
Rene Ladan
22f0609652 Remove lang/ruby19 which reached its end-of-life on 2015-02-23
Add a note to UPDATING for ruby19 users.

Differential Revision:	https://reviews.freebsd.org/D1954
Submitted by:	myself
Reviewed by:	ruby (swills, sunpoet)
Approved by:	ruby (swills)
2015-02-24 20:10:42 +00:00
Steve Wills
4c3ec538d7 Bump PORTEPOCH on lang/ruby22 to avoid false positive vulnerability report
PR:		197875
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-02-21 16:10:43 +00:00
Steve Wills
665d9f2530 Add Ruby 2.2.0
Differential Revision:	D1457
Submitted by:	sunpoet
Reviewed by:	swills (myself)
2015-02-20 23:51:55 +00:00
Baptiste Daroussin
167f82f839 Change the EDIT option of ruby to use libedit by default now that libedit
from ports is able to handle unicode. Make sure that ruby does not provides its
own function to read the input but let libedit do it itself.

This allows the binary package to by default not be "tainted" by the readline
license.

Differential Revision:	https://reviews.freebsd.org/D1547
Reviewed by:	swills
Approved by:	ruby (swills)
2015-02-01 23:19:51 +00:00
Antoine Brodin
38e8f93368 Update devel/doxygen to 1.8.9
PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
2014-12-31 06:45:10 +00:00
Steve Wills
89dc7fe566 Update to latest version
While here, fix a few plist issues
2014-11-15 13:50:11 +00:00
Steve Wills
41bdbdb22b lang/ruby21: Update to 2.1.4
PR:		194677
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2014-11-11 21:56:53 +00:00
Steve Wills
96bf534838 lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413
While here, fix plist issues
2014-11-11 17:47:06 +00:00
Steve Wills
a67f5ea10b Fix plist for CAPIDOCS option after update to doxygen.
PR:		194712
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
2014-11-08 15:05:40 +00:00
Steve Wills
c553ae6488 lang/ruby2*: fix dtrace support
DTrace support in ruby needs the -xnolibs flag added to the dtrace command
called during build to ensure that dtrace support is enabled even if the dtrace
kernel modules are not loaded at build time.

However, with this dtrace will be enabled on some OS versions where it will not
work, so add logic to disable it where appropriate.
2014-10-01 15:45:27 +00:00
Steve Wills
f1093059ba lang/ruby21: update to 2.1.3 2014-09-24 03:11:52 +00:00
Steve Wills
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00
Steve Wills
ac2099d806 lang/ruby*: bump portrevision for libexecinfo change
I had thought the package wouldn't change, but it does
2014-09-14 16:06:06 +00:00
Steve Wills
aafb928748 lang/ruby*: remove obsolete patches
Remove no longer needed patches for ftp.
While here, fix the test target for ruby21

PR:		192998
Submitted by:	Robert Grimm <rfgrimm@gmail.com>
2014-09-02 01:13:47 +00:00
Steve Wills
b8ce65474e lang/ruby*: fix docs handling
- Fix handling of RDOC option and make it ON by default
- Add DOCS option to OPTIONS_DEFINE
- Add EXAMPLES option
- Add CAPIDOCS option which installs C API documents generated by doxygen
- Other cleanups while here

PR:		189646
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (based on)
2014-08-30 21:09:09 +00:00
Antoine Brodin
bd79265f7a Allow ports using ruby extconf to be built as non root
PR:		ports/191313
2014-08-25 18:49:34 +00:00
Steve Wills
604392ff79 lang/ruby21: Update to Ruby 2.1.2 2014-07-27 00:51:11 +00:00
Steve Wills
6cbff030cb lang/ruby20: Update to Ruby 2.0.0-p481 2014-07-26 23:24:45 +00:00
Steve Wills
8af92cd6d1 lang/ruby19: update to Ruby 1.9.3-p547 2014-07-26 19:08:08 +00:00
Baptiste Daroussin
99923618c7 Really modernize LIB_DEPENDS 2014-07-15 14:02:01 +00:00
Baptiste Daroussin
57f9cf54ef Modernize LIB_DEPENDS 2014-07-14 18:54:55 +00:00
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