40 Commits

Author SHA1 Message Date
kimura wataru 3f4caec5e4 sysutils/ruby_select, lang/ruby*: update select files, ruby-3.1 introduced bin/rdbg 2021-12-27 08:27:48 +09:00
kimura wataru 1878708c6b lang/ruby*: fix port -v lint warnings
- add checksum "size"
- expand tabs to whitespaces
2021-11-12 08:41:13 +09:00
Christopher Nielsen 57f6c037c0 lang/ruby19 .. ruby25: enable parallel build (#12912)
Closes: https://trac.macports.org/ticket/63895
2021-11-12 08:21:03 +09:00
kimura wataru 03cd43aa21 lang/ruby19 .. 23: fix build error or missing openssl.bundle at ext/openssl
closes https://trac.macports.org/ticket/63845

keep PKG_CONFIG_PATH in Makefile and use it at running `miniruby extconf.rb`.

ruby(1.8) does not use pkg-config in ext/openssl when headers and libraries
are found from "--with-openssl-include" and "--with-openssl-lib".
2021-11-09 23:18:39 +09:00
kimura wataru 0874dc4fca lang/ruby, ruby19, ruby20 .. 23: fix deprecated note was lost
- notes -> notes-append:
  note from portgroup deprecated was overrided by "port select" note.
2021-11-06 11:37:44 +09:00
kimura wataru cabc46e29d lang/ruby30, ruby27, .. ruby19, ruby: introduce notes about 'port select'
closes: https://trac.macports.org/ticket/63602

{{{
$ sudo port install ruby30
--->  Computing dependencies for ruby30
   :
--->  Some of the ports you installed have notes:
  ruby30 has the following notes:
    To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' or 'bundle' commands),
    run:
        sudo port select --set ruby ruby30
$

$ port notes ruby30
--->  ruby30 has the following notes:
  To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' or 'bundle' commands),
  run:
      sudo port select --set ruby ruby30
$
}}}
2021-10-13 21:37:50 +09:00
Joshua Root 949b3480c3 Rev bump libffi dependents
Version 3.4 broke binary compatibility.
2021-09-01 06:34:10 +10:00
Joshua Root 8ad0fe6ce3 ruby23: update config.{guess,sub}
Allow arm64 to be accepted.
2021-02-12 16:25:52 +11:00
kimura wataru c8d2262437 lang/ruby25 .. ruby20, ruby19: fix build error of ruby extentions on macOS 11
- rewrite sdkroot in rbconfig.rb and ruby-*.pc to MacOSX.sdk from MacOS11.x.sdk
  see https://trac.macports.org/ticket/61899
- fix ruby19 build error of ext/openssl
2020-12-31 09:40:52 +09:00
kimura wataru 1b360ced19 lang/ruby27 .. ruby19, ruby: update select file and revbump 2020-12-30 20:20:45 +09:00
kimura wataru b5cdf65240 lang/ruby26 .. ruby19: fix "invalid suffix on literal" with C++11
insert spaces between literal and identifier in config.h.

    // before
    #define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
    #define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS

    // after
    #define RUBY_ARCH "universal-" RUBY_PLATFORM_OS
    #define RUBY_PLATFORM "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS

note: ruby-2.5 or earlier, `configure` does not accept "--with-arch=arm64"

Closes: https://trac.macports.org/ticket/58255
2020-12-30 20:20:45 +09:00
Fred Wright 8f164f90e9 ruby23-25: Fix build on 10.4, 10.5 (#8550)
* ruby23: Fix build on 10.4 i386.

The build was failing on 10.4 i386 due to attempts to access undefined
context fields in the signal handler context struct.  This isn't
supported on PPC, so the build succeeded.  The relevant fields weren't
defined until 10.5, so the fix is to add an OS version check to the
__APPLE__ case.

This happened in two places - one in check_stack_overflow(), and one
in rb_dump_machine_register().

Using __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ avoids the need to
include AvailabilityMacros.h.

The OS version conditional in dln.c is comparing an undefined macro to
a sometimes undefined (and essentially useless) macro.  However, the
relevant code doesn't seem to be built for any OS version, making the
bug irrelevant.  This is left alone.

Also corrects a small typo in the description.

Since this only fixes broken builds, there is no need for a revbump.

TESTED:
Built on 10.4-10.5 ppc, 10.4-10.6 i386, and 10.6-10.15 x86_64.

* ruby24: Fix builds on 10.4, 10.5.

The build was failing on 10.4 i386 due to attempts to access undefined
context fields in the signal handler context struct.  This isn't
supported on PPC, so the build succeeded.  The relevant fields weren't
defined until 10.5, so the fix is to add an OS version check to the
__APPLE__ case.

This happened in two places - one in check_stack_overflow(), and one
in rb_dump_machine_register().

Using __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ avoids the need to
include AvailabilityMacros.h.

The OS version conditional in dln.c is comparing an undefined macro to
a sometimes undefined (and essentially useless) macro.  However, the
relevant code doesn't seem to be built for any OS version, making the
bug irrelevant.  Nevertheless, it's now fixed, since another, similar
fix was needed, anyway, and it might become relevant if something else
changes.

The OS version conditionals in error.c were using another useless
macro for the comparison, this time with a real effect, though only in
a couple of messages related to crash reports on < 10.6.  This is now
fixed.

Also corrects a small typo in the description.

Since this affects the installed code for < 10.6, it includes a
revbump.

TESTED:
Built on 10.4-10.5 ppc,	10.4-10.6 i386,	and 10.6-10.15 x86_64.

* ruby25: Fix builds on 10.4, 10.5.

The build was failing on 10.4 i386 due to attempts to access undefined
context fields in the signal handler context struct.  This isn't
supported on PPC, so the build succeeded.  The relevant fields weren't
defined until 10.5, so the fix is to add an OS version check to the
__APPLE__ case.

This happened in two places - one in check_stack_overflow(), and one
in rb_dump_machine_register().

Using __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ avoids the need to
include AvailabilityMacros.h.

The OS version conditional in dln.c is comparing an undefined macro to
a sometimes undefined (and essentially useless) macro.  However, the
relevant code doesn't seem to be built for any OS version, making the
bug irrelevant.  Nevertheless, it's now fixed, since another, similar
fix was needed, anyway, and it might become relevant if something else
changes.

The OS version conditionals in error.c were using another useless
macro for the comparison, this time with a real effect, though only in
a couple of messages related to crash reports on < 10.6.  This is now
fixed.

Also corrects a small typo in the description.

Since this affects the installed code for < 10.6, it includes a
revbump.

TESTED:
Built on 10.4-10.5 ppc, 10.4-10.6 i386, and 10.6-10.15 x86_64.
2020-09-28 21:46:18 +09:00
David B. Evans bd5d680082 ports that link with libffi: rebuild with libffi 3.3
* excludes known broken ports
* includes only ports that actually link with libffi 3.3
2020-09-05 20:00:58 -07:00
Ryan Schmidt a9e15268c0 ruby2*: Escape periods in livecheck.regex 2019-12-27 17:40:15 -06:00
Christopher Chavez 2b31fbc90c ruby ports: mark EOL versions as unsupported 2019-08-10 09:47:58 +01:00
kimura wataru d0dacbc9b9 lang/ruby, ruby19..23: switch to openss10
ruby-2.3 or below is not compatible with openssl-1.1.x.

see https://github.com/macports/macports-ports/pull/3822
2019-03-15 01:07:37 +09:00
kimura wataru 8b631fa62a lang/ruby, ruby21, ruby22, ruby23: fix build error with liressl-devel
see https://trac.macports.org/ticket/58123

<openssl/asn1_mac.h> is obsoleted in latest libressl and openssl.
this error occurs at ext/openssl on ruby-2.3 or earlier versions.

(build error on ruby19 and ruby20 is not solved.)
2019-03-02 10:28:38 +09:00
Marcus Calhoun-Lopez 719053401b readline: update version 7.0.005->8.0.000
Update dependencies due to library name change.

See https://trac.macports.org/ticket/57871
2019-01-23 05:53:22 -07:00
kimura wataru 77d1d1ef29 sysutils/ruby_select, lang/ruby: add bundler to "port select ruby", ready for ruby26
ruby 2.6 indroduces bundler.
the following files are added to "select" target.

- bin/bundle
- bin/bundler
- share/man/man1/bundle.1.gz
2018-12-24 12:25:40 +09:00
kimura wataru 93397b978f lang/ruby23: update to 2.3.8, includes security fix of CVE-2018-16396 and CVE-2018-16395
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
2018-10-18 22:41:24 +09:00
Zero King 27d5d282a6 gdbm: update to 1.15
bump revision of dependents
2018-06-19 13:25:55 +00:00
Ryan Schmidt c708285fd3 Add GitHub handle kimuraw to maintainers
See: https://trac.macports.org/ticket/56050
2018-04-15 13:19:41 -04:00
kimura wataru d233553270 lang/ruby23: update to 2.3.7, includes security fixes
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
2018-04-04 22:13:39 +09:00
Marius Schamschula 8b0fe47070 gdbm 1.14.1: rev bump dependents 2018-01-04 09:13:00 -06:00
kimura wataru 0b08b44899 lang/ruby23: update to 2.3.6, includes fixes for CVE-2017-17405
CVE-2017-17405: Command injection vulnerability in Net::FTP
https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/
2017-12-15 07:57:26 +09:00