FreeBSD Bugzilla – Attachment 240451 Details for
Bug 268586
[exp-run] Mk/bsd.default-versions.mk: Change default version of Ruby
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch file
Mk_bsd.default-versions.mk.ruby.patch (text/plain), 2.61 KB, created by
Yasuhiro Kimura
on 2023-02-27 15:42:21 UTC
(
hide
)
Description:
Updated patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2023-02-27 15:42:21 UTC
Size:
2.61 KB
patch
obsolete
>From 96e4106463bb7f3613adc78c8ec65d235e5b051a Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@FreeBSD.org> >Date: Tue, 27 Dec 2022 08:24:41 +0900 >Subject: [PATCH] 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. >--- > Mk/Uses/ruby.mk | 4 ++-- > Mk/bsd.default-versions.mk | 2 +- > 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 4de4d3b37663..352b240a2ab0 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 >diff --git a/UPDATING b/UPDATING >index 3f599f6b93bf..674a35975abb 100644 >--- a/UPDATING >+++ b/UPDATING >@@ -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. > >+20230227: >+ 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. >+ > 20230227: > AFFECTS: users of mail/py-spf-engine > AUTHOR: yasu@FreeBSD.org >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268586
:
239051
|
239069
|
240073
|
240075
| 240451