FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
ruby21 Object-oriented interpreted scripting language
2.1.9,1 lang on this many watch lists=11 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port
Maintainer: ruby@FreeBSD.org search for ports maintained by this maintainer
Port Added: 18 Feb 2014 15:35:53
Also Listed In: ruby ipv6
License: BSD2CLAUSE RUBY
Ruby is the interpreted scripting language for quick and
easy object-oriented programming.  It has many features to
process text files and to do system management tasks (as in
Perl).  It is simple, straight-forward, and extensible.

Features of Ruby are shown below.

  + Simple Syntax
  + *Normal* Object-Oriented features(ex. class, method calls)
  + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files(on some architecture)
  + Highly Portable(works on many UNIX machines, and on DOS,
    Windows, Mac, BeOS etc.)

WWW: http://www.ruby-lang.org/en/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/lang/ruby21/ && make install clean
To add the package: pkg install ruby21

PKGNAME: ruby21

distinfo:

SHA256 (ruby/ruby-2.1.9.tar.xz) = 39f203f7498aed2456fb500147fada5adcbf102d89d4f6aca773ebcadd8ea82a
SIZE (ruby/ruby-2.1.9.tar.xz) = 9395648


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. libffi>=0 : devel/libffi
  2. autoconf-2.69 : devel/autoconf
  3. autoheader-2.69 : devel/autoconf
  4. autoreconf-2.69 : devel/autoconf
  5. aclocal-1.15 : devel/automake
  6. automake-1.15 : devel/automake
Runtime dependencies:
  1. libffi>=0 : devel/libffi
Library dependencies:
  1. libyaml.so : textproc/libyaml
  2. libedit.so.0 : devel/libedit

This port is required by:

for Build for Extract for Fetch for Patch for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for ruby21-2.1.9,1:
     CAPIDOCS=off: Build and install C API documents
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GMP=off: Use GMP to accelerate Bignum operations
     RDOC=on: Build and install Rdoc indexes
====> Which line editing lib to use: you have to select exactly one of them
     LIBEDIT=on: Use libedit
     READLINE=off: Use libreadline
===> Use 'make config' to modify these settings

USES:
autoreconf cpe execinfo tar:xz libedit ssl

pkg-mesage:
====
Some of the standard commands are provided as separate ports for ease
of upgrading:

	devel/ruby-gems:	gem - RubyGems package manager
	devel/rubygem-rake:	rake - Ruby Make

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

	databases/ruby-gdbm:	GDBM module

Install them as occasion demands.
====

Master Sites:
  1. ftp://ftp.fu-berlin.de/unix/languages/ruby/2.1/
  2. ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/2.1/
  3. ftp://ftp.kr.FreeBSD.org/pub/ruby/2.1/
  4. ftp://ftp.ruby-lang.org/pub/ruby/2.1/
  5. http://cache.ruby-lang.org/pub/ruby/2.1/
  6. http://ftp.ruby-lang.org/pub/ruby/2.1/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2016-04-04
    Affects: users of lang/ruby21
    Author: swills@FreeBSD.org
    Reason: 
      The default ruby version has been updated from 2.1 to 2.2.
    
      If you compile your own ports you may keep 2.1 as the default version by
      adding the following lines to your /etc/make.conf file:
    
      #
      # Keep ruby 2.1 as default version
      #
      DEFAULT_VERSIONS+=ruby=2.1
    
      If you wish to update to the new default version, you need to first stop any
      software that uses ruby. Then, you will need to follow these steps, depending
      upon how you manage your system.
    
      If you use pkgng, simply upgrade:
      # pkg upgrade
    
      If you use portmaster, install new ruby, then rebuild all ports that depend
      on ruby:
      # portmaster -o lang/ruby22 lang/ruby21
      # portmaster -R -r ruby-2.2
    
      If you use portupgrade, install new ruby, then rebuild all ports that depend
      on ruby:
    
      # pkg delete -f ruby portupgrade
      # make -C /usr/ports/ports-mgmt/portupgrade install clean
      # pkg set -o lang/ruby21:lang/ruby22
      # portupgrade -x ruby-2.2.\* -fr lang/ruby22
    
    

Number of commits found: 48

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
27 Jun 2016 14:50:04
Original commit files touched by this commit  2.1.9,1
Revision:417666
swills search for other commits by this committer
lang/ruby2?: Actually unmark broken
27 Jun 2016 14:37:08
Original commit files touched by this commit  2.1.9,1
Revision:417665
swills search for other commits by this committer
lang/ruby2?: Fix build on powerpc64
04 May 2016 01:50:54
Original commit files touched by this commit  2.1.9,1
Revision:414570
swills search for other commits by this committer
lang/ruby21: Update to 2.1.9
21 Apr 2016 16:43:15
Original commit files touched by this commit  2.1.8,1
Revision:413746
swills search for other commits by this committer
many ports: mark broken on powerpc64
17 Apr 2016 18:40:32
Original commit files touched by this commit  2.1.8,1
Revision:413528
sunpoet search for other commits by this committer
- Pet portlint
01 Apr 2016 14:08:38
Original commit files touched by this commit  2.1.8,1
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
23 Dec 2015 19:10:47
Original commit files touched by this commit  2.1.8,1
Revision:404313
sunpoet search for other commits by this committer
- Update to 2.1.8
- Add LICENSE_FILE
- Use USES=autoreconf instead of USE_AUTOTOOLS=autoconf
- Use USES=libedit
- Silence patch and build messages

Changes:	https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-1-8-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_1_8/ChangeLog
Security:	3b50881d-1860-4721-aab1-503290e23f6c
Differential Revision:	https://reviews.freebsd.org/D4668
PR:		205487
Exp-run by:	antoine
MFH:		2015Q4
20 Nov 2015 22:53:58
Original commit files touched by this commit  2.1.7,1
Revision:402110 This port version is marked as vulnerable.
mmoll search for other commits by this committer
lang/ruby2*: fix configure on armv6 with LLVM 3.7

Submitted by:	dim
16 Nov 2015 19:11:46
Original commit files touched by this commit  2.1.7,1
Revision:401783 This port version is marked as vulnerable.
mmoll search for other commits by this committer
lang/ruby2*: mark BROKEN on ia64

PR:		194572
05 Nov 2015 10:14:49
Original commit files touched by this commit  2.1.7,1
Revision:400831 This port version is marked as vulnerable.
mmoll search for other commits by this committer
lang/ruby2*: correct configure options

Fix readline & libedit configure options after a slight error slipped in
with the patches done in r400142.

PR:		203988
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
25 Oct 2015 00:21:23
Original commit files touched by this commit  2.1.7,1
Revision:400142 This port version is marked as vulnerable.
mmoll search for other commits by this committer
lang/ruby2*: fix readline & libedit configure options

The fixed error(s) were only visible with LOCALBASE not set to /usr/local.

PR:		203988
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
20 Sep 2015 21:30:40
Original commit files touched by this commit  2.1.7,1
Revision:397464 This port version is marked as vulnerable.
mmoll search for other commits by this committer
fix Ruby 2.0 and 2.1 header for clang 3.7

2.2 already had this change in upstream

PR:		202660
Submitted by:	dim (different version)
Obtained from:	Ruby SVN repository (r47996)
08 Sep 2015 19:44:01
Original commit files touched by this commit  2.1.7,1
Revision:396435 This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 2.1.7
- Fix and sort PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_1_7/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
07 Sep 2015 17:46:53
Original commit files touched by this commit  2.1.6_1,1
Revision:396293 This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
17 Aug 2015 14:20:41
Original commit files touched by this commit  2.1.6,1
Revision:394508 This port version is marked as vulnerable.
mat search for other commits by this committer
Remove UNIQUENAME and LATEST_LINK.

UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
14 May 2015 10:15:09
Original commit files touched by this commit  2.1.6,1
Revision:386312 This port version is marked as vulnerable.
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
04 May 2015 13:21:17
Original commit files touched by this commit  2.1.6,1
Revision:385403 This port version is marked as vulnerable.
antoine search for other commits by this committer
Remove _*OWNGRP, with staging it's not useful anymore

With hat:	portmgr
Original submission:	bapt
Exp-run:	self
22 Apr 2015 01:23:16
Original commit files touched by this commit  2.1.6,1
Revision:384475 This port version is marked as vulnerable.
swills search for other commits by this committer
Fix plist with CAPIDOCS option after recent update

PR:		199457
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
19 Apr 2015 19:51:26
Original commit files touched by this commit  2.1.6,1
Revision:384323 This port version is marked as vulnerable.
swills search for other commits by this committer
Fix build on arm
14 Apr 2015 00:38:43
Original commit files touched by this commit  2.1.6,1
Revision:383967 This port version is marked as vulnerable.
swills search for other commits by this committer
Don't enable dtrace on non-x86 platforms since it causes build issues.
14 Apr 2015 00:36:00
Original commit files touched by this commit  2.1.6,1
Revision:383966 This port version is marked as vulnerable.
swills search for other commits by this committer
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)
01 Apr 2015 23:26:11
Original commit files touched by this commit  2.1.5_4,1
Revision:382973 This port version is marked as vulnerable.
bdrewery search for other commits by this committer
- 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.
31 Mar 2015 23:40:35
Original commit files touched by this commit  2.1.5_3,1
Revision:382883 This port version is marked as vulnerable.
bdrewery search for other commits by this committer
Remove references to removed tk ports.
30 Mar 2015 15:30:31
Original commit files touched by this commit  2.1.5_3,1
Revision:382676 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby21: fix bug in bundled rdoc

Obtained
from:	https://github.com/rdoc/rdoc/commit/55fbd8947faf33b41289976b9296e6279f83eaa1
25 Mar 2015 12:58:34
Original commit files touched by this commit  2.1.5_2,1
Revision:382211 This port version is marked as vulnerable.
marino search for other commits by this committer
lang category: Remove $PTHREAD_LIBS

Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.

approved by:	PTHREAD blanket
01 Feb 2015 23:19:51
Original commit files touched by this commit  2.1.5_2,1
Revision:378283 This port version is marked as vulnerable.
bapt search for other commits by this committer
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)
31 Dec 2014 06:45:11
Original commit files touched by this commit  2.1.5_1,1
Revision:375872 This port version is marked as vulnerable.
antoine search for other commits by this committer
Update devel/doxygen to 1.8.9

PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
15 Nov 2014 13:50:11
Original commit files touched by this commit  2.1.5,1
Revision:372602 This port version is marked as vulnerable.
swills search for other commits by this committer
Update to latest version

While here, fix a few plist issues
12 Nov 2014 02:40:51
Original commit files touched by this commit  2.1.4,1
Revision:372477 This port version is marked as vulnerable.
swills search for other commits by this committer
Fix plist with rdoc option off

Reported by:		Warren Block <wblock@wonkity.com>
Reported by:		Herbert J. Skuhra <herbert@oslo.ath.cx>
11 Nov 2014 21:56:53
Original commit files touched by this commit  2.1.4,1
Revision:372467 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby21: Update to 2.1.4

PR:		194677
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
11 Nov 2014 17:47:06
Original commit files touched by this commit  2.1.3_3,1
Revision:372456 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413

While here, fix plist issues
08 Nov 2014 15:05:40
Original commit files touched by this commit  2.1.3_2,1
Revision:372322 This port version is marked as vulnerable.
swills search for other commits by this committer
Fix plist for CAPIDOCS option after update to doxygen.

PR:		194712
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
27 Oct 2014 15:23:31
Original commit files touched by this commit  2.1.3_1,1
Revision:371587 This port version is marked as vulnerable.
bapt search for other commits by this committer
Cleanup plist
01 Oct 2014 15:45:28
Original commit files touched by this commit  2.1.3_1,1
Revision:369732 This port version is marked as vulnerable.
swills search for other commits by this committer
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.
24 Sep 2014 03:11:53
Original commit files touched by this commit  2.1.3,1
Revision:369154 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby21: update to 2.1.3
14 Sep 2014 15:55:20
Original commit files touched by this commit  2.1.2_2,1
Revision:368197 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby21: switch to USES=execinfo

While here, move MAKE_JOBS_UNSAFE to CAPIDOCS option since thats the only place
it seems necessary

PR:		193413
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
02 Sep 2014 01:13:48
Original commit files touched by this commit  2.1.2_2,1
Revision:366970 This port version is marked as vulnerable.
swills search for other commits by this committer
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>
30 Aug 2014 21:09:10
Original commit files touched by this commit  2.1.2_1,1
Revision:366678 This port version is marked as vulnerable.
swills search for other commits by this committer
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)
27 Jul 2014 00:51:11
Original commit files touched by this commit  2.1.2,1
Revision:363003 This port version is marked as vulnerable.
swills search for other commits by this committer
lang/ruby21: Update to Ruby 2.1.2
02 Jul 2014 12:50:00
Original commit files touched by this commit  2.1.1_2,1
Revision:360173 This port version is marked as vulnerable.
des search for other commits by this committer
Add CPE information.
11 Jun 2014 14:50:00
Original commit files touched by this commit  2.1.1_2,1
Revision:357486 This port version is marked as vulnerable.
tijl search for other commits by this committer
Support LIBS like LDFLAGS.

- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above View all of this commit message)
30 May 2014 19:20:25
Original commit files touched by this commit  2.1.1_2,1
Revision:355900 This port version is marked as vulnerable.
swills search for other commits by this committer
- Remove uneeded include of bsd.port.options.mk

Reported by:	antoine
Pointyhat to:	swills
30 May 2014 18:34:30
Original commit files touched by this commit  2.1.1_2,1
Revision:355890 This port version is marked as vulnerable.
swills search for other commits by this committer
- 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
25 Mar 2014 02:19:11
Original commit files touched by this commit  2.1.1_1,1
Revision:349102 This port version is marked as vulnerable.
swills search for other commits by this committer
- Remove reference to lang/ruby-mode.el since it is gone

PR:		ports/187895
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
23 Mar 2014 15:31:43
Original commit files touched by this commit  2.1.1_1,1
Revision:348863 This port version is marked as vulnerable.
swills search for other commits by this committer
- Fix patch broken in r292221

PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
25 Feb 2014 04:23:14
Original commit files touched by this commit  2.1.1,1
Revision:345918 This port version is marked as vulnerable.
swills search for other commits by this committer
- Update Ruby 2.1 to 2.1.1
25 Feb 2014 04:18:08
Original commit files touched by this commit  2.1.0,1
Revision:345917 This port version is marked as vulnerable.
swills search for other commits by this committer
- Add patch to fix build on 11-CURRENT after Clang 3.4 import. No need to
  conditionalize this on OSVER because the patch is safe everywhere. No bump
  because package doesn't change.

Submitted by:	antoine (1.9, 2.0 and 2.1 based on)
18 Feb 2014 15:35:42
Original commit files touched by this commit  2.1.0,1
Revision:344909 This port version is marked as vulnerable.
swills search for other commits by this committer
- Add Ruby 2.1

Number of commits found: 48

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
mailmanAug 29
libxml2Aug 28
kdelibs4Aug 27
eogAug 22
p5-PathTools*Aug 22
p5-XSLoader*Aug 22
perl5-devel*Aug 22
perl5-devel*Aug 22
perl5-devel*Aug 22
perl5.18*Aug 22
perl5.18*Aug 22
perl5.18*Aug 22
perl5.20*Aug 22
perl5.20*Aug 22
perl5.20*Aug 22

12 vulnerabilities affecting 48 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26188
Broken 93
Deprecated 144
Ignore 362
Forbidden 0
Restricted 199
No CDROM 83
Vulnerable 65
Expired 16
Set to expire 130
Interactive 0
new 24 hours 6
new 48 hours10
new 7 days35
new fortnight50
new month117

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.