aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby31
Commit message (Collapse)AuthorAgeFilesLines
* lang/ruby31: Remove expired portRene Ladan2025-03-3110-13395/+0
| | | | 2025-03-31 lang/ruby31: Please migrate to newer version. Ruby 3.1 is expected to reach its EoL on March 31, 2025
* lang/ruby3{1,2,3}: Pet portclippyKoichiro Iwao2025-03-111-10/+11
| | | | | Reported by: John Hein (in Bug 222872) Sponsored by: Cybertrust Japan
* lang/ruby3{1,2,3}: Fix build with POSIX-compliant `sh -c`Koichiro Iwao2025-03-111-1/+2
| | | | | | | | | | | This chanes nothing in the built package, so bumping PORTREVISION is not required. PR: 222872 Reported by: jilles Tested by: John Hein Approved by: meta (myself, with ruby hat) Sponsored by: Cybertrust Japan
* lang/ruby31: Fix CPE_STRPo-Chuan Hsieh2025-02-171-2/+1
| | | | | | | | | | | 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.1.6:p0::::freebsd14:x64
* lang/ruby31: Update to 3.1.6Yasuhiro Kimura2024-05-302-32/+3
| | | | ReleaseNotes: https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/
* lang/ruby3[1-3]: Update pkg-messageYasuhiro Kimura2024-05-191-6/+0
| | | | | | | * 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.
* lang/ruby3[1-3]: Refine portsDaniel Engberg2024-05-141-10/+12
| | | | | | | | | * 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
* lang/ruby31: Update to 3.1.5Yasuhiro Kimura2024-04-233-3/+7
| | | | | | | | | | | | After the release of 3.1.3 Ruby 3.1 series has entered security maintainance phase that only security fixes are provided. And it is expected to reach its EoL on March 31, 2025. So mark DEPRECATED to encourage user to migrate to newer version, and set EXPIRATION_DATE to its expected EoL day. ReleaseNotes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-1-5-released/ MFH: 2024Q1 Security: 2ce1a2f1-0177-11ef-a45e-08002784c58d
* lang/ruby*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after ↵Po-Chuan Hsieh2024-04-131-1/+0
| | | | 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
* lang/ruby31: Sort PLISTPo-Chuan Hsieh2024-02-211-5/+5
|
* lang/ruby31: Sanitize MANPREFIXMuhammad Moinur Rahman2024-01-222-3/+4
| | | | Approved by: portmgr (blanket)
* lang/ruby31: drop ELFv1 supportPiotr Kubaj2024-01-051-4/+0
|
* lang/ruby31: enable libunwind on powerpcPiotr Kubaj2023-04-261-1/+1
|
* lang/ruby31: Fix typoPo-Chuan Hsieh2023-04-181-2/+2
|
* lang/ruby31: Update to 3.1.4Yasuhiro Kimura2023-04-184-32/+16
| | | | | | | | Changes: https://www.ruby-lang.org/en/news/2023/03/30/ruby-3-1-4-released/ PR: 270557 Exp-run by: antoine Security: 9b60bba1-cf18-11ed-bd44-080027f5fec9 Security: 6bd2773c-cf1a-11ed-bd44-080027f5fec9
* lang/ruby31: Add upstream patch to fix bug of mkmf libraryYasuhiro Kimura2023-02-111-0/+25
| | | | | | | | | | | | There is bug in mkmf library of Ruby 3.1 that it fails to detect pkg-config command if it isn't installed in environment that Ruby is built, and it causes build error of some ports when default version of Ruby is 3.1. So add upstream patch to fix it. Reference: https://bugs.ruby-lang.org/issues/19189 PR: 269197 Approved by: maintainer timeout MFH: 2023Q1
* Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=rubyMuhammad Moinur Rahman2023-01-141-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* lang/ruby31: Fix orphaned .timestamp in 6021649ff0cee1ea88e34b5444c2fe31031ca29aPo-Chuan Hsieh2022-12-301-2/+2
| | | | | | | | | | | 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
* lang/ruby31: Update to 3.1.3Yasuhiro Kimura2022-12-093-65/+122
| | | | | | | | ReleaseNotes: https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/ PR: 267979 Approved by: meta (ruby@) MFH: 2022Q4 Security: 84ab03b6-6c20-11ed-b519-080027f5fec9
* lang/ruby31: Fix plist error when both CAPIDOCS and DOCS options are on.Yasuhiro Kimura2022-12-091-1/+1
| | | | | | | | | | | | | | | | | | 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: 6021649ff0ce lang/ruby31: Simplify CAPIDOCS handling
* lang/ruby31: Simplify CAPIDOCS handlingPo-Chuan Hsieh2022-10-092-2325/+4
|
* lang/ruby*: switch ruby ports to clang on powerpc with the same workaround ↵Piotr Kubaj2022-09-221-2/+2
| | | | that arm uses
* lang/ruby31: Update commentPo-Chuan Hsieh2022-09-101-2/+2
|
* lang/ruby{27,30,31,32}: Improve qsort_r() detection.Xin LI2022-09-101-0/+29
| | | | | | | | | | | | | | | 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
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | 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)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* lang/ruby*: add a patch to keep amd64-freebsd* as archBaptiste Daroussin2022-08-301-0/+8
| | | | | | 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
* lang/ruby3[0-2]: Fix build with certain CPUTYPEJung-uk Kim2022-04-231-3/+12
| | | | | | | | | 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)
* lang/ruby31: Update to 3.1.2Yasuhiro Kimura2022-04-162-4/+4
| | | | | | | | | ReleaseNotes: https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/ PR: 263253 Approved by: sunpoet (ruby@) MFH: 2022Q2 Security: f22144d7-bad1-11ec-9cfe-0800270512f4 Security: 06ed6a49-bad4-11ec-9cfe-0800270512f4
* lang/ruby31: Fix PLISTPo-Chuan Hsieh2022-04-161-1/+1
|
* lang/ruby31: Update to 3.1.1Yasuhiro Kimura2022-03-192-6/+10
| | | | | | Changes: https://github.com/ruby/ruby/compare/v3_1_0...v3_1_1 PR: 262051 Approved by: maintainer timeout
* lang/ruby{2,3}*: enable dtrace on powerpc64le and bump PORTREVISIONPiotr Kubaj2022-01-231-1/+1
| | | | Since dtrace is currently disabled on ruby3*, bump PORTREVISION only on ruby2*
* lang/ruby{2,3}*: enable dtrace on powerpc and powerpc64Piotr Kubaj2022-01-181-1/+1
|
* lang/ruby31: Update to 3.1.0Yasuhiro Kimura2021-12-264-37/+766
| | | | ReleaseNotes: https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
* lang/ruby31: Add new portYasuhiro Kimura2021-12-1910-0/+14907
Add preview1 of Ruby 3.3 series. To handle pre-release version, Mk/bsd.ruby.mk is changed as following. * New variable RUBY_DISTVERSION is introduced. It keeps DISTVERSION of each ruby port (lang/rubyXY). * The value of RUBY_VERSION, RUBY_PORTVERSION, RUBY_WRKSRC and RUBY_DISTNAME is set by using that of RUBY_DISTVERSION ReleaseNotes: https://www.ruby-lang.org/en/news/2021/11/09/ruby-3-1-0-preview1-released/ PR: 259746 Approved by: maintainer timeout (> 1 month)