Port details |
- ruby27 Object-oriented interpreted scripting language
- 2.7.7,1 lang
=4 Version of this port present on the latest quarterly branch. DEPRECATED: Please migrate to newer versions. Ruby 2.7 will reach its EoL on April 12, 2023
EXPIRATION DATE: 2023-04-12
- Maintainer: ruby@FreeBSD.org
 - Port Added: 2020-01-25 18:21:42
- Last Update: 2023-01-14 23:08:33
- Commit Hash: 18c6e18
- People watching this port, also watch:: glib, libunistring, libunwind, pcre, pkg
- Also Listed In: ruby
- License: BSD2CLAUSE RUBY
- Description:
- 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.)
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/ruby27/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/ruby27
- pkg install ruby27
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ruby27
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1669313585
SHA256 (ruby/ruby-2.7.7.tar.xz) = b38dff2e1f8ce6e5b7d433f8758752987a6b2adfd9bc7571dbc42ea5d04e3e4c
SIZE (ruby/ruby-2.7.7.tar.xz) = 12101804
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libffi>=0 : devel/libffi
- autoconf>=2.71 : devel/autoconf
- automake>=1.16.5 : devel/automake
- Runtime dependencies:
-
- libffi>=0 : devel/libffi
- Library dependencies:
-
- libyaml.so : textproc/libyaml
- libedit.so.0 : devel/libedit
- libunwind.so : devel/libunwind
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Extract
- for Libraries
-
Deleted ports which required this port:
- for Patch
-
Deleted ports which required this port:
- for Run
-
Deleted ports which required this port:
- * - 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 ruby27-2.7.7,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
- Options name:
- lang_ruby27
- USES:
- autoreconf cpe ruby:none ssl tar:xz libedit
- pkg-message:
- For install:
- Some of the standard commands are provided as separate ports for ease
of upgrading:
devel/ruby-gems: gem - RubyGems package manager
devel/rubygem-irb: irb - Interactive Ruby
devel/rubygem-rake: rake - Ruby Make
devel/rubygem-rdoc: rdoc - Ruby Documentation System
sysutils/rubygem-bundler: bundler - Tool that manages gem dependencies for ruby applications
And some of the standard libraries are provided as separate ports
since they require extra dependencies:
databases/rubygem-dbm: DBM module
databases/rubygem-gdbm: GDBM module
Install them as occasion demands.
- WWW: https://www.ruby-lang.org/en/
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2022-04-21
Affects: users of lang/ruby27 Author: yasu@FreeBSD.org Reason:
The default ruby version has been updated from 2.7 to 3.0.
If you compile your own ports you may keep 2.7 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep ruby 2.7 as default version
#
DEFAULT_VERSIONS+=ruby=2.7
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 pkg, simply upgrade:
# pkg upgrade
If you do not use pkg, please check entry 20190420.
The description there should also work for this version.
|
Port Moves |
- port moved here from lang/ruby25 on 2021-04-06
REASON: Has expired: Use newer version, e.g. lang/ruby27 or above. Ruby 2.5 is in security maintenance phase and planned for EOL on March 31, 2021
|
Number of commits found: 35
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7.7,1 14 Jan 2023 23:08:33
    |
Muhammad Moinur Rahman (bofh)  |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
2.7.7,1 30 Dec 2022 09:06:32
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby27: Fix orphaned .timestamp in bdbe2a2f4098f4d21495f314cf4d571efdb4f08f
When both CAPIDOCS and DOCS options are enabled, the following commands are
executed:
1. post-install-CAPIDOCS-on: removed the installed .timestamp (in STAGEDIR).
2. post-install-DOCS-on: copied the generated .timestamp (in capi directory) to
the STAGEDIR again.
Therefore, the installed .timestamp is orphaned.
To fix this, we remove both the generated and installed .timestamp in
post-install-CAPIDOCS-on:.
PR: 267775
Reported by: yasu |
2.7.7,1 09 Dec 2022 04:35:40
    |
Yasuhiro Kimura (yasu)  |
lang/ruby27: Update to 2.7.7
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/11/24/ruby-2-7-7-released/
PR: 267977
Approved by: maintainer timeout
MFH: 2022Q4
Security: 84ab03b6-6c20-11ed-b519-080027f5fec9 |
2.7.6_3,1 09 Dec 2022 04:34:56
    |
Yasuhiro Kimura (yasu)  |
lang/ruby27: Fix plist error when both CAPIDOCS and DOCS options are on.
When the both options are on, post-install-DOCS-on target is called
after post-install-CAPIDOCS-on has completed. And in the former files
under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This
means files under ${WRKSRC}/doc/capi are copied to
${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course
${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even
though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in
post-install-CAPIDOCS-on target, it is detected as orphaned file at
check-plist phase. So fix it by adding 3rd argument to
${COPYTREE_SHARE} command so .timestamp is excluded from files to be
copied.
PR: 267775
Approved by: meta (ruby@)
Fixes: bdbe2a2f4098 lang/ruby27: Simplify CAPIDOCS handling |
2.7.6_3,1 09 Oct 2022 15:38:08
   | |