diff options
author | Yasuhiro Kimura <yasu@FreeBSD.org> | 2022-12-26 23:24:41 +0000 |
---|---|---|
committer | Yasuhiro Kimura <yasu@FreeBSD.org> | 2023-03-15 07:07:12 +0000 |
commit | 097770c474d4bb7b24cec37dc87439c1ed4344c7 (patch) | |
tree | 65446b21c13816050178e0450cfd19300c5a13ae | |
parent | 42b92f2955a3175b8f7f6ad22b7f63112619db4c (diff) | |
download | ports-097770c474d4bb7b24cec37dc87439c1ed4344c7.tar.gz ports-097770c474d4bb7b24cec37dc87439c1ed4344c7.zip |
Mk/bsd.default-versions.mk: Change default version of Ruby
* Change default version of Ruby from 3.0 to 3.1.
* Bump PORTREVISION of lang/ruby3[01]. They need to be rebuilt as only
default ruby package includes ${PREFIX}/bin/ruby and
${PREFIX}/man/man1/ruby.1.gz symlinks.
* Add entry about change of default Ruby version to UPDATING.
PR: 268586
Exp-run by: antoine
Approved by: meta (ruby, maintainer)
-rw-r--r-- | Mk/Uses/ruby.mk | 4 | ||||
-rw-r--r-- | Mk/bsd.default-versions.mk | 2 | ||||
-rw-r--r-- | UPDATING | 24 |
3 files changed, 27 insertions, 3 deletions
diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk index 22a8255ff0bf..5a86dc836a7c 100644 --- a/Mk/Uses/ruby.mk +++ b/Mk/Uses/ruby.mk @@ -156,13 +156,13 @@ RUBY_PORTREVISION= 0 # Ruby 3.0 # RUBY_DISTVERSION= 3.0.5 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 . elif ${RUBY_VER} == 3.1 # # Ruby 3.1 # RUBY_DISTVERSION= 3.1.3 -RUBY_PORTREVISION= 1 +RUBY_PORTREVISION= 2 . elif ${RUBY_VER} == 3.2 # diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 0b0d0d37d296..6211f51bf5bb 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -123,7 +123,7 @@ PYTHON2_DEFAULT?= 2.7 # Possible values: 3.7, 3.8, 3.9, 3.10, 3.11 PYTHON3_DEFAULT?= 3.9 # Possible values: 2.7, 3.0, 3.1, 3.2 -RUBY_DEFAULT?= 3.0 +RUBY_DEFAULT?= 3.1 # Possible values: rust, rust-nightly RUST_DEFAULT?= rust # Possible values: 4.13, 4.16 @@ -5,6 +5,30 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20230315: + AFFECTS: users of lang/ruby30 + AUTHOR: yasu@FreeBSD.org + + The default ruby version has been updated from 3.0 to 3.1. + + If you compile your own ports you may keep 3.0 as the default version by + adding the following lines to your /etc/make.conf file: + + # + # Keep ruby 3.0 as default version + # + DEFAULT_VERSIONS+=ruby=3.0 + + 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. + 20230314: AFFECTS: users of security/openssl-devel AUTHOR: brnrd@FreeBSD.org |