Port details |
- ruby27 Object-oriented interpreted scripting language
- 2.7.7,1 lang
=4 2.7.7,1Version 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
This port expired on: 2023-04-12
- Maintainer: ruby@FreeBSD.org
- Port Added: 2020-01-25 18:21:42
- Last Update: 2023-04-13 20:35:40
- Commit Hash: 6edd7f2
- People watching this port, also watch:: icu, indexinfo, p11-kit, libssh2, python38
- Also Listed In: ruby
- License: BSD2CLAUSE RUBY
- WWW:
- https://www.ruby-lang.org/en/
- 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.)
- ¦ ¦ ¦ ¦
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- No installation instructions:
- This port has been deleted.
- 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
- NOTE: dependencies for deleted ports are notoriously suspect
- 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.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7.7,1 13 Apr 2023 20:35:40 |
Rene Ladan (rene) |
lang: unregister and remove expired lang/ruby27
Bump example version from 2.7 to 3.1 which is the default version. |
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 |
Po-Chuan Hsieh (sunpoet) |
lang/ruby27: Simplify CAPIDOCS handling |
2.7.6_3,1 22 Sep 2022 10:13:51 |
Piotr Kubaj (pkubaj) |
lang/ruby*: switch ruby ports to clang on powerpc with the same workaround that
arm uses |
2.7.6_2,1 10 Sep 2022 06:31:51 |
Xin LI (delphij) |
lang/ruby{27,30,31,32}: Improve qsort_r() detection.
This change merges the following upstream pull request into the Ruby
interpreter:
https://github.com/ruby/ruby/pull/6332
Adding this patch is no-op right now because we are not using POSIX (GNU)
qsort_r(3) interface yet. It will fix build when the change is applied.
Reviewed by: bapt (portmgr@), sunpoet (ruby@)
PR: ports/266227
MFH: 2022Q3
Differential Revision: https://reviews.freebsd.org/D36492 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.7.6_2,1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.7.6_2,1 30 Aug 2022 12:46:40 |
Baptiste Daroussin (bapt) |
lang/ruby*: add a patch to keep amd64-freebsd* as arch
In preparation for the update of config.guess/config.sub, where
amd64-portbld-freebsd14.0 is reported as x86_64-portbld-freebsd14.0,
Add a patch to keep the arch specific directory on amd64 being named amd64 |
2.7.6_2,1 20 Jul 2022 14:22:15 |
Tobias C. Berner (tcberner) |
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org> (Only the first 15 lines of the commit message are shown above ) |
2.7.6_2,1 03 Jun 2022 23:36:58 |
Po-Chuan Hsieh (sunpoet) Author: Bernard Spil |
lang/ruby27: Fix build with LibreSSL 3.5
PR: 264003 |
2.7.6_2,1 23 May 2022 11:12:43 |
Yasuhiro Kimura (yasu) |
lang/ruby27: Mark DEPRECATED and set EXPIRATION_DATE
After 2.7.6 is released on April 12, 2022, Ruby 2.7 entered the
security only maintainance phase. It continues for a year and after
that Ruby 2.7 reaches its EoL. On the other hand default version of
Ruby has switched to 3.0. So mark this port as DEPRECATED and set
EXPIRATION_DATE to the date of EoL in order to encourage user to
migrate to newer version.
PR: 263451
Approved by: maintainer timeout |
2.7.6,1 16 Apr 2022 13:32:59 |
Yasuhiro Kimura (yasu) |
lang/ruby27: Update to 2.7.6
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/
PR: 263250
Exp-run by: antoine
Approved by: sunpoet (ruby@)
MFH: 2022Q2
Security: 06ed6a49-bad4-11ec-9cfe-0800270512f4 |
2.7.5_1,1 23 Jan 2022 01:25:12 |
Piotr Kubaj (pkubaj) |
lang/ruby{2,3}*: enable dtrace on powerpc64le and bump PORTREVISION
Since dtrace is currently disabled on ruby3*, bump PORTREVISION only on ruby2* |
2.7.5,1 18 Jan 2022 00:24:30 |
Piotr Kubaj (pkubaj) |
lang/ruby{2,3}*: enable dtrace on powerpc and powerpc64 |
2.7.5,1 08 Dec 2021 23:21:51 |
Yasuhiro Kimura (yasu) |
lang/ruby27: Update to 2.7.5
ReleaseNotes: https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-7-5-released/
PR: 260030
Exp-run by: antoine
Approved by: maintainer timeout (> 2 weeks)
Security: CVE-2021-41816
Security: CVE-2021-41817
Security: CVE-2021-41819
MFH: 2021Q4 |
2.7.4,1 01 Nov 2021 21:28:58 |
Po-Chuan Hsieh (sunpoet) |
Mk/bsd.ruby.mk: Remove RUBY_NAME
Use ruby${RUBY_SUFFIX} or libruby${RUBY_SHLIBVER} directly.
It also fixes the inconsistency in lang/ruby{26,27,30}/{Makefile,pkg-plist}. |
2.7.4,1 01 Nov 2021 13:42:21 |
Po-Chuan Hsieh (sunpoet) |
lang/ruby27: Use proper variables, RUBY_SHLIBVER and RUBY_SUFFIX |
2.7.4,1 14 Jul 2021 16:10:39 |
Po-Chuan Hsieh (sunpoet) |
lang/ruby27: Update to 2.7.4
Changes: https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/ |
2.7.3_1,1 28 Jun 2021 20:27:25 |
Piotr Kubaj (pkubaj) |
lang/ruby27: enable libunwind on all supported architectures |
2.7.3_1,1 29 May 2021 14:08:19 |
Dimitry Andric (dim) |
lang/ruby{26,27}: work around clang 12 -Wcompound-token-split-by-macro warning
During an exp-run for llvm 12 (see bug 255570), it turned out that
several ruby gem extensions do not build with clang 12.0.0, for example
devel/rubygem-thrift:
compiling binary_protocol_accelerated.c
binary_protocol_accelerated.c:404:68: error: '(' and '{' tokens introducing
statement expression appear in different macro expansion contexts
[-Werror,-Wcompound-token-split-by-macro]
VALUE thrift_binary_protocol_class = rb_const_get(thrift_module,
rb_intern("BinaryProtocol"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-2.7/ruby/ruby.h:1847:23: note: expanded from macro
'rb_intern'
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
^
binary_protocol_accelerated.c:404:68: note: '{' token is here
VALUE thrift_binary_protocol_class = rb_const_get(thrift_module,
rb_intern("BinaryProtocol")); (Only the first 15 lines of the commit message are shown above ) |
2.7.3_1,1 15 May 2021 07:14:04 |
Tobias Kortkamp (tobik) Author: Yasuhiro Kimura |
*: Remove unnecessary 'port' argument from USES=readline
PR: 248459
Exp-run by: antoine |
2.7.3_1,1 25 Apr 2021 20:36:30 |
Po-Chuan Hsieh (sunpoet) |
lang/ruby27: Fix improper substitution in PLIST
Doxygen 1.9.1 update (b8ac15afd00127044d75894e357f697d825ed385) brings improper
substitution in PLIST. %%RUBY_SUFFIX%% should not be used in the path/filename
of C API documentations. |
2.7.3_1,1 18 Apr 2021 10:02:20 |
Dima Panov (fluffy) |
devel/doxygen: update to 1.9.1 release
Also regen 'pkg-plist' for affected consumers, with PORTREVISION bump
Touch Mk/bsd.ruby.mk due to all ruby* is affected
MFH: 2021Q2 |
2.7.3,1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.7.3,1 06 Apr 2021 13:21:42 |
Koichiro Iwao (meta) |
lang/ruby27: Update to 2.7.3
PR: 254802
Reported by: Yasuhiro Kimura <yasu@utahime.org>
Reviewed by: meta (myself)
Relnotes: https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-7-3-released/
Security: CVE-2021-28965
Security: CVE-2021-28966 |
2.7.2_1,1 08 Jan 2021 07:47:03 |
fluffy |
devel/doxygen: Update to 1.9.0
- regen patches by 'make makepatch'
- adjust consumers which affected by new doxygen styles
- take maintainersip
Changelog: https://www.doxygen.nl/manual/changelog.html#log_1_9_0
PR: 242347
Submitted by: fluffy
Reported by: Naram Qashat (ex-maintainer)
Exp-run by: antoine |
2.7.2_1,1 12 Oct 2020 18:25:13 |
pkubaj |
Add libunwind for aarch64, powerpc64 and powerpc64le. |
2.7.2,1 09 Oct 2020 06:37:59 |
meta |
lang/ruby27: Update to 2.7.2
PR: 250050
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Reviewed by: meta (myself)
Relnotes: https://www.ruby-lang.org/en/news/2020/10/02/ruby-2-7-2-released/ |
2.7.1,1 02 Apr 2020 12:18:43 |
sunpoet |
Fix unintentional change in r530358 and r530359 |
2.7.1,1 02 Apr 2020 12:14:00 |
sunpoet |
Update to 2.7.1
Changes: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/ |
2.7.0_2,1 13 Mar 2020 09:27:15 |
meta |
lang/ruby27: throw out irb, ri, rdoc from lang/ruby27
because they're provided as "default gem" since Ruby 2.6.
We provide "default gem"s as gem ports rather than a part of lang/ruby*
port. files/patch-tool_rbinstall.rb makes not to install such default gems
however hollow wrapper scripts bin/{irb,ri,rdoc} and their manpages were
still left.
This commit intend to move out such wrapper scripts and manpages to gem
ports completely.
PR: 243888
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (initial revision)
meta (myself)
Differential Revision: https://reviews.freebsd.org/D23514 |
2.7.0_1,1 29 Jan 2020 02:25:23 |
meta |
lang/ruby27: throw out racc from lang/ruby27
because racc is provied as "default gem" since Ruby 2.7 [1].
We provide default gems as gem ports rather than a part of lang/ruby* port.
files/patch-tool_rbinstall.rb does that. bin/*racc* are leftover wrapper
script that the patch didn't remove default gem racc completely.
racc is provided by devel/rubygem-racc. To avoid conflict racc gem port vs
ruby port, throw it out completely from ruby port.
[1] https://ruby-trunk-changes.hatenablog.com/entry/ruby_trunk_changes_20190620
PR: 242359 237833
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (based on) |
2.7.0,1 25 Jan 2020 18:18:41 |
sunpoet |
Add ruby27 2.7.0 |