Port details |
- ruby32 Object-oriented interpreted scripting language
- 3.2.7,1 lang
=10 3.2.6,1Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2022-04-13 03:06:07
- Last Update: 2025-02-17 08:21:20
- Commit Hash: b0b8678
- People watching this port, also watch:: git, curl, libxml2, subversion, pkg
- 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:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/ruby32/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/ruby32
- pkg install ruby
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ruby
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1738730169
SHA256 (ruby/ruby-3.2.7.tar.xz) = fc159b0d4a8ce412948fb69e61493839a0b3e1d5c919180f27036f1c948cfbe2
SIZE (ruby/ruby-3.2.7.tar.xz) = 15128228
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.72 : devel/autoconf
- automake>=1.17 : 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
-
- accessibility/rubygem-atk
- archivers/rubygem-bzip2-ruby
- archivers/rubygem-fpm
- archivers/rubygem-minitar
- archivers/rubygem-minitar-cli
- archivers/rubygem-minitar0
- audio/ruby-taglib
-
Deleted ports which required this port:
- for Extract
-
- for Libraries
-
- irc/iroffer-dinoex
- for Patch
-
- accessibility/rubygem-atk
- archivers/rubygem-bzip2-ruby
- archivers/rubygem-fpm
- archivers/rubygem-minitar
- archivers/rubygem-minitar-cli
- archivers/rubygem-minitar0
- audio/ruby-taglib
-
Deleted ports which required this port:
- for Run
-
- accessibility/rubygem-atk
- archivers/rubygem-bzip2-ruby
- archivers/rubygem-fpm
- archivers/rubygem-minitar
- archivers/rubygem-minitar-cli
- archivers/rubygem-minitar0
- audio/ruby-taglib
-
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 ruby-3.2.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
YJIT=off: Enable YJIT (Yet Another Ruby JIT)
====> 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_ruby32
- USES:
- autoreconf cpe localbase ruby:none ssl tar:xz libedit
- pkg-message:
- For install:
- Some of the standard commands and libraries are provided as separate
ports for ease of upgrading:
devel/ruby-gems: gem - RubyGems package manager
devel/rubygem-debug: debug - Debugging functionality for Ruby
devel/rubygem-erb: erb - Templating system for Ruby
devel/rubygem-irb: irb - Interactive Ruby
devel/rubygem-minitest: minitest - Complete suite of testing facilities
devel/rubygem-power_assert: power_assert - Power Assert for Ruby
devel/rubygem-rake: rake - Ruby Make
devel/rubygem-rbs: rbs - Language for type signatures for Ruby and standard library definitions
devel/rubygem-rdoc: rdoc - Ruby Documentation System
devel/rubygem-test-unit: test-unit - Unit testing framework for Ruby
devel/rubygem-typeprof: typeprof - Type analysis tool for Ruby code
ftp/rubygem-net-ftp: net-ftp - Support for the File Transfer Protocol
mail/rubygem-net-imap: net-imap - Ruby client api for Internet Message Access Protocol
mail/rubygem-net-pop: net-pop - Ruby client library for POP3
mail/rubygem-net-smtp: net-smtp - Simple Mail Transfer Protocol client library for Ruby
math/rubygem-matrix: matrix - Implementation of Matrix and Vector classes
math/rubygem-prime: prime - Prime numbers and factorization library
sysutils/rubygem-bundler: bundler - Tool that manages gem dependencies for ruby applications
textproc/rubygem-rexml: rexml - XML toolkit for Ruby
www/rubygem-rss: rss - Family of libraries that support various formats of XML "feeds"
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 |
3.2.7,1 17 Feb 2025 08:21:20
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Fix CPE_STR
RUBY_RELVERSION and RUBY_PATCHLEVEL have been removed in
a1a91e4c937a8664ae4b4bedca114e40c46e3d14.
This commit fixes the CPE_STR.
For example:
- Before:
cpe:2.3:a:ruby-lang:ruby::p::::freebsd14:x64
- After:
cpe:2.3:a:ruby-lang:ruby:3.2.7:p0::::freebsd14:x64 |
3.2.7,1 09 Feb 2025 03:00:46
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.7
ReleaseNotes: https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/
PR: 284582
Exp-run by: antoine |
3.2.6,1 02 Nov 2024 23:26:21
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.6
ReleaseNotes: https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/
PR: 282421
Exp-run by: antoine |
3.2.5,1 08 Sep 2024 18:40:28
    |
Po-Chuan Hsieh (sunpoet)  Author: Yasuhiro Kimura |
lang/ruby32: Update to 3.2.5
Changes: https://github.com/ruby/ruby/releases
https://www.ruby-lang.org/en/news/2024/07/26/ruby-3-2-5-released/
PR: 280845
Exp-run by: antoine |
3.2.4,1 19 May 2024 00:30:36
    |
Yasuhiro Kimura (yasu)  |
lang/ruby3[1-3]: Update pkg-message
* Remove description about DBM and GDBM libraries. Ruby 3.1 and later
don't distribute them any more.
* Update list of standard commands and libraries that are included in
distribution source archive but provided as separate ports. |
3.2.4,1 14 May 2024 04:26:43
    |
Yasuhiro Kimura (yasu)  Author: Daniel Engberg |
lang/ruby3[1-3]: Refine ports
* Skip extracting unnecessary files by setting EXTRACT_AFTER_ARGS
instead of removing them with post-patch target after they are
extracted.
* Use 'USES=localbase' to set path of header and library files.
PR: 278764 |
3.2.4,1 25 Apr 2024 09:10:14
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.4
ReleaseNotes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/
PR: 278553
Exp-run by: antoine
MFH: 2024Q1
Security: 2ce1a2f1-0177-11ef-a45e-08002784c58d |
3.2.3,1 13 Apr 2024 16:07:33
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after
9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9 |
3.2.3,1 28 Feb 2024 00:51:44
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.3
ReleaseNotes: https://www.ruby-lang.org/en/news/2024/01/18/ruby-3-2-3-released/
PR: 276883
Approved by: maintainer timeout |
3.2.2,1 21 Feb 2024 15:11:12
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Sort PLIST |
3.2.2_1,1 22 Jan 2024 20:26:39
    |
Muhammad Moinur Rahman (bofh)  |
lang/ruby32: Sanitize MANPREFIX
Approved by: portmgr (blanket) |
3.2.2_1,1 05 Jan 2024 21:04:04
    |
Piotr Kubaj (pkubaj)  |
lang/ruby32: drop ELFv1 support |
3.2.2_1,1 26 Apr 2023 12:53:35
    |
Piotr Kubaj (pkubaj)  |
lang/ruby32: enable libunwind on powerpc |
3.2.2,1 18 Apr 2023 18:05:10
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Fix typo |
3.2.2,1 18 Apr 2023 12:31:08
    |
Po-Chuan Hsieh (sunpoet)  Author: Yasuhiro Kimura |
lang/ruby32: Update to 3.2.2
Changes: https://www.ruby-lang.org/en/news/2023/03/30/ruby-3-2-2-released/
PR: 270558
Security: 9b60bba1-cf18-11ed-bd44-080027f5fec9
Security: 6bd2773c-cf1a-11ed-bd44-080027f5fec9 |
3.2.1,1 15 Feb 2023 02:15:07
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.1
ReleaseNotes: https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/
PR: 269431
Approved by: meta (ruby@) |
3.2.0,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 |
3.2.0,1 30 Dec 2022 09:06:33
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Fix orphaned .timestamp in b49bdb1fe4680488411546540e6f737770a6003b
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 |
3.2.0,1 26 Dec 2022 07:57:24
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.0
Add YJIT option, that enables YJIT (Yet Another Ruby JIT).
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
PR: 268557
Approved by: meta (ruby, maintainer) |
3.2.0.r1,1 12 Dec 2022 11:01:49
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Update to 3.2.0-rc1
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/12/06/ruby-3-2-0-rc1-released/
PR: 267776
Approved by: meta (ruby, maintainer)
MFH: 2022Q4
Security: 84ab03b6-6c20-11ed-b519-080027f5fec9 |
3.2.0.p2_1,1 09 Dec 2022 04:35:01
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: 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: b49bdb1fe468 lang/ruby32: Simplify CAPIDOCS handling |
3.2.0.p2_1,1 09 Oct 2022 15:38:09
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Simplify CAPIDOCS handling |
3.2.0.p2_1,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 |
3.2.0.p2,1 10 Sep 2022 16:07:01
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Update to 3.2.0-preview2
Changes: https://www.ruby-lang.org/en/news/2022/09/09/ruby-3-2-0-preview2-released/
https://github.com/ruby/ruby/releases/tag/v3_2_0_preview2 |
3.2.0.p1_2,1 10 Sep 2022 13:03:00
    |
Po-Chuan Hsieh (sunpoet)  |
lang/ruby32: Update comment |
3.2.0.p1_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) |
3.2.0.p1_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 ) |
3.2.0.p1_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 |
3.2.0.p1_1,1 23 Apr 2022 03:04:46
    |
Jung-uk Kim (jkim)  |
lang/ruby3[0-2]: Fix build with certain CPUTYPE
When CPUTYPE is set and the CPU supports lzcnt instruction, it fails to
build because x86intrin.h is not included. Fix the test to make it work
on FreeBSD.
PR: 260791
Approved by: ruby (maintainer timeout) |
3.2.0.p1_1,1 17 Apr 2022 04:07:45
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Add upstream patches to fix recent vulnerabilities
PR: 263357
Approved by: sunpoet (ruby@)
Security: f22144d7-bad1-11ec-9cfe-0800270512f4
Security: 06ed6a49-bad4-11ec-9cfe-0800270512f4 |
3.2.0.p1,1 13 Apr 2022 03:04:02
    |
Yasuhiro Kimura (yasu)  |
lang/ruby32: Add new port
Add preview1 of Ruby 3.2 series.
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/04/03/ruby-3-2-0-preview1-released/
PR: 263030
Approved by: sunpoet (ruby) |