Commit graph

383 commits

Author SHA1 Message Date
Koichiro Iwao
036eb6b6fa 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
2020-03-13 09:27:15 +00:00
Koichiro Iwao
16e8746978 Add forgotten PLIST_SUB helper for lang/ruby27 at r524061
Fortunately, PLIST_SUB helper RUBY27 is not used anywhere right now.
No PORTREVISION bumps required.

Reported by:	Yasuhiro KIMURA <yasu@utahime.org>
2020-02-05 02:40:12 +00:00
Koichiro Iwao
8e949f4d2e 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)
2020-01-29 02:25:23 +00:00
Sunpoet Po-Chuan Hsieh
cab5f872bc Add ruby27 2.7.0 2020-01-25 18:18:41 +00:00
Koichiro Iwao
a1a91e4c93 Mk/bsd.ruby.mk: Remove RUBY_{PATCHLEVEL,RELVERSION,RELVERSION_CODE,RUBY_DISTVERSION}
1. RUBY_PATCHLEVEL has been 0 since Ruby 2.1
2. After RUBY_PATCHLEVEL is removed , RUBY_RELVERSION and RUBY_VERSION are always
   same value and it also applies to RUBY_RELEVERSION_CODE and RUBY_VERSION_CODE
3. RUBY_PATCHLEVEL is only used to set value of CPE_UPDATE in lang/ruby2[456] and
   setting CPE_UPDATE is optional
4. RUBY_RELEVERSION is only used to set value of CPE_VERSION in lang/ruby2[456]
   but as is describled in 2, it can be replased with RUBY_VERSION
5. RUBY_RELVERSION_CODE is not used anywhere

PR:		241473
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Reviewed by:	sunpoet
2019-11-06 05:20:59 +00:00
Sunpoet Po-Chuan Hsieh
1528cb4988 Update to 2.6.5
Changes:	https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-6-5-released/
PR:		240985
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	f7fcb75c-e537-11e9-863e-b9b7af01ba9e
MFH:		2019Q4
2019-10-02 19:25:38 +00:00
Sunpoet Po-Chuan Hsieh
c3bda2527b Update to 2.5.7
Changes:	https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-5-7-released/
PR:		240984
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	f7fcb75c-e537-11e9-863e-b9b7af01ba9e
MFH:		2019Q4
2019-10-02 19:25:10 +00:00
Sunpoet Po-Chuan Hsieh
a3bd5ddae3 Update to 2.4.9
Changes:	https://www.ruby-lang.org/en/news/2019/10/02/ruby-2-4-9-released/
		https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-4-8-released/
PR:		240983
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	f7fcb75c-e537-11e9-863e-b9b7af01ba9e
MFH:		2019Q4
2019-10-02 19:24:55 +00:00
Sunpoet Po-Chuan Hsieh
ec1fd7d617 Update to 2.5.6
Changes:	https://www.ruby-lang.org/en/news/2019/08/28/ruby-2-5-6-released/
PR:		240202
Exp-run by:	antoine
Security:	ed8d5535-ca78-11e9-980b-999ff59c22ea
2019-09-02 20:39:52 +00:00
Sunpoet Po-Chuan Hsieh
c71155ba97 Update to 2.6.4
Changes:	https://www.ruby-lang.org/en/news/2019/08/28/ruby-2-6-4-released/
Security:	ed8d5535-ca78-11e9-980b-999ff59c22ea
2019-08-30 00:14:07 +00:00
Sunpoet Po-Chuan Hsieh
cab5c0456d Update to 2.4.7
Changes:	https://www.ruby-lang.org/en/news/2019/08/28/ruby-2-4-7-released/
Security:	ed8d5535-ca78-11e9-980b-999ff59c22ea
2019-08-30 00:11:37 +00:00
Sunpoet Po-Chuan Hsieh
f18dbb7112 Fix PLIST
- Bump PORTREVISION for package change

PR:		239933
Submitted by:	Syouichi TAKAMIYA <takazeki@gmail.com>
2019-08-21 19:27:34 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Koichiro Iwao
d9b69510b9 lang/ruby26: Fix plist when CAPIDOCS=on
PR:		238747
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2019-06-25 04:38:58 +00:00
Koichiro Iwao
c0fd879a7f lang/ruby26: Fix pkg-plist when EXAMPLES=off
Reported by:	adamw
2019-05-09 06:42:08 +00:00
Koichiro Iwao
96e32bdc19 Add ruby26 2.6.3 (copied from ruby25)
PR:		234509 235826
Submitted by:	pete@nomadlogic.org (initial revision)
		Yasuhiro KIMURA <yasu@utahime.org> (initial revision)
		meta (myself, minor modifications)
Relnotes::	https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/
		https://www.ruby-lang.org/en/news/2019/01/30/ruby-2-6-1-released/
		https://www.ruby-lang.org/en/news/2019/03/13/ruby-2-6-2-released/
		https://www.ruby-lang.org/en/news/2019/04/17/ruby-2-6-3-released/
Differential Revision:	https://reviews.freebsd.org/D19961
2019-05-09 01:28:38 +00:00
Koichiro Iwao
fcf98f7079 lang/ruby2[45]: Remove dbm library and replace it with databases/rubygem-dbm
PR:		230289
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (initial revision)
		meta (myself)
Reviewed by:	sunpoet, ruby
Approved by:	sunpoet
Differential Revision:	https://reviews.freebsd.org/D20000
2019-04-30 11:22:58 +00:00
Sunpoet Po-Chuan Hsieh
3d22052cd1 Update to 2.4.6
Changes:	https://www.ruby-lang.org/en/news/2019/04/01/ruby-2-4-6-released/
PR:		237229
Exp-run by:	antoine
2019-04-15 20:26:03 +00:00
Sunpoet Po-Chuan Hsieh
40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00
Sunpoet Po-Chuan Hsieh
037d81d118 Remove ruby 2.3 support 2019-03-31 13:48:32 +00:00
Sunpoet Po-Chuan Hsieh
7562a6479b Update to 2.5.5
Changes:	https://www.ruby-lang.org/en/news/2019/03/15/ruby-2-5-5-released/
		https://www.ruby-lang.org/en/news/2019/03/13/ruby-2-5-4-released/
2019-03-15 21:41:56 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Sunpoet Po-Chuan Hsieh
83e5b9323b Update to 2.3.8
- Move BROKEN_* upward
- Move USES upward
- Remove no-op MLINKS and create symlinks for manpages
- Sort INSTALLED_SCRIPTS
- Regenerate patch files with makepatch:

Changes:	https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
PR:		232438
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:58:37 +00:00
Sunpoet Po-Chuan Hsieh
d5173a883f Update to 2.4.5
- Move USES upward
- Remove no-op MLINKS and create symlinks for manpages
- Sort INSTALLED_SCRIPTS
- Regenerate patch files with makepatch:

Changes:	https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/
PR:		232435
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:58:01 +00:00
Sunpoet Po-Chuan Hsieh
97a290bd3f Update to 2.5.3
- Move USES upward
- Remove no-op MLINKS and create symlinks for manpages
- Sort INSTALLED_SCRIPTS
- Regenerate patch files with makepatch:

Changes:	https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/
		https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/
PR:		232431
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:57:33 +00:00
Romain Tartière
54c14279dc Address more linker issues
This resolves a ninja-related issues, corrects passing private args to linker
while building libruby itself (without external LDFLAGS), exports the full
symbols table, and pet 'pkg check -d'. Issues with weechat, vim, facter,
rubygem-hpricot and rubygem-rdiscount should be fixed.  See [1] for long story
of hunting and fixing these issues.

Bump PORTREVISIONS accordingly.

PR:		230238 [1], 231361
Submitted by:	fuffy
Approved by:	fuffy
2018-09-25 13:11:14 +00:00
Romain Tartière
8826fd8b3f Revert the "DLD_FLAGS" pollution part of r475483.
It was initially got from ruby23, but recent ruby releases have some
differences in runtime linking, which was not hit by exp-run, and caused
trouble with some ports (e.g. devel/leatherman, sysutils/facter).

PR:		230238
Submitted by:	fluffy
Reported by:	freebsd@ptty.com
Approved by:	fluffy
2018-09-20 09:12:06 +00:00
Steve Wills
ec80bf2d01 Bump PORTREVISION of lang/ruby25
Due to runtime fix in r477249
2018-08-16 00:30:53 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Dima Panov
d3d495da3a lang/ruby2[4|5]: Use internal RUBY_DLDFLAGS right way, get rid of unescaped macro '$@' in the pkg-config template
lang/ruby23 is already fixed same way, port it to newer releases

By the way, this unbreak ninja builds with any port relied on libruby.so

PR:		229898
Submitted by:	fluffy
Reviewed by:	ruby (miwi)
Approved by:	ruby (miwi)
Exp-run by:	antoine
MFH:		2018Q3
Differential Revision:	D16341
2018-07-28 02:53:05 +00:00
Sunpoet Po-Chuan Hsieh
7580f88f56 Update to 2.4.4
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
PR:		227091
Exp-run by:	antoine
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-04-03 09:46:20 +00:00
Sunpoet Po-Chuan Hsieh
72e5ec510e Update to 2.5.1
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 20:01:41 +00:00
Sunpoet Po-Chuan Hsieh
8b1d25b2a7 Update to 2.3.7
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 19:59:47 +00:00
Steve Wills
aa5e3913d2 lang/ruby25: apply upstream patch to fix segfault
PR:		225470
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
Obtained from:	https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61523
Differential Revision:	https://reviews.freebsd.org/D14073
2018-02-16 03:11:46 +00:00
Sunpoet Po-Chuan Hsieh
783d9dc1c5 Remove lang/ruby22 2018-01-31 16:41:57 +00:00
Sunpoet Po-Chuan Hsieh
5d8d3b7c8d Add ruby25 2.5.0 (copied from ruby24) 2017-12-27 19:51:11 +00:00
Steve Wills
71ea9482d3 Update lang/ruby2[2,3,4] to latest versions.
Fixes a security issue.

PR:		224356
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
MFH:		2017Q4
Security:	dd644964-e10e-11e7-8097-0800271d4b9c
2017-12-19 02:17:58 +00:00
Steve Wills
ff1498f6af lang/ruby2?: make rubygem-* ports reproducible
PR:		223781
exp-run by:	antoine
2017-11-22 13:27:37 +00:00
Sunpoet Po-Chuan Hsieh
3865588db3 Update to 2.3.5
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
PR:		222457
Exp-run by:	antoine
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-24 12:41:44 +00:00
Sunpoet Po-Chuan Hsieh
fc7efe3a6f Update to 2.4.1
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 17:01:15 +00:00
Sunpoet Po-Chuan Hsieh
d3cf41dbb1 Update to 2.2.8
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 16:59:22 +00:00
Steve Wills
1b9be56d92 lang/ruby2{2,3,4}: require libunwind
Since ruby detects this if it's installed, and it's more often installed now
due to other deps, and ruby provides no way to not depend on it if it's found,
pull it in as a dependency unconditionally. While here, fix plist for ruby 2.4
with the CAPIDOCS option on, and restore the MAKE_JOBS_UNSAFE flag when using
that build option since it's not fixed like I thought it was.

PR:		219796
Reported by:	Grzegorz Junka <list1@gjunka.com>
2017-07-11 21:03:09 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Bryan Drewery
4745d5c87d Don't pass the default version in DEPENDS_ARGS.
This greatly simplifies handling for Poudriere.

With hat:	portmgr
2017-06-06 00:28:56 +00:00
Bryan Drewery
a88bcd8d74 No quoting needed here.
With hat:       portmgr
2017-06-06 00:15:20 +00:00
Sunpoet Po-Chuan Hsieh
09fe08d940 Remove lang/ruby21: upstream support ended 2017-05-02 21:51:52 +00:00
Sunpoet Po-Chuan Hsieh
e6f2632907 Add RUBY24 to PLIST_SUB 2017-05-01 12:47:25 +00:00
Martin Wilke
d8a0fd4d38 - Update ruby
lang/ruby22 -> 2.2.7
lang/ruby23 -> 2.3.4

PR:		218864
Reviewed by:	swills
Exp-Run:        antoine
Approved by:	portmgr (swills,antoine)
Differential Revision:	https://reviews.freebsd.org/D10506
2017-04-28 02:31:58 +00:00
Sunpoet Po-Chuan Hsieh
54c4ecdd61 Update to 2.4.1
Changes:	http://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/
2017-03-27 19:12:25 +00:00
Antoine Brodin
d727ceffde - Update devel/doxygen to 1.8.13
- Adjust ports depending on it

PR:		217801
2017-03-19 17:19:55 +00:00