Commit graph

608 commits

Author SHA1 Message Date
taca
fa83e68271 lang/ruby: update version for Ruby 2.7.2
Update versions for Ruby 2.7.2, it should be commited along with update
to Ruby 2.7.2.  Noted by Ryo ONODERA.
2020-10-04 04:28:35 +00:00
taca
95af39485b lang/ruby: drop support for Ruby on Rails 5.1
* Drop support for Ruby on Rails 5.1.
* Remove useless conditional (i.e. always true after remove of Rails 4.2).
2020-09-10 16:53:03 +00:00
taca
1c2bcba9e4 www/ruby-rails60: update to 6.0.3.3
Update Ruby on Rails 60 to 6.0.3.3.

Security fix in ruby-actionview60.


## Rails 6.0.3.3 (September 09, 2020) ##

*   [CVE-2020-8185] Fix potential XSS vulnerability in the `translate`/`t` helper.

    *Jonathan Hefner*
2020-09-10 14:30:02 +00:00
taca
b4e73241a4 www/ruby-rails52: update to 5.2.4.4
Update Ruby on Rails 52 to 5.2.4.4.

Security fix in ruby-actionview52.


## Rails 5.2.4.4 (September 09, 2020) ##

*   [CVE-2020-15169] Fix potential XSS vulnerability in the `translate`/`t` helper

    *Jonathan Hefner*
2020-09-10 14:13:11 +00:00
taca
6e31dc6e10 lang/rails60: update to 6.0.3.2
Update Ruby on Rails to 6.0.3.2.

www/ruby-actionpack60 is the really updated package and other packages
have no change except version.

CHANGELOG of www/ruby-actionpack60 is here:

## Rails 6.0.3.2 (June 17, 2020) ##

* [CVE-2020-8185] Only allow ActionableErrors if
  show_detailed_exceptions is enabled
2020-06-18 13:38:45 +00:00
taca
987b9d724e lang/ruby: drop support of Ruby 2.4
Drop support of ruby24 (Ruby 2.4).
2020-05-21 15:57:59 +00:00
taca
b2c16424a0 lang/ruby: start updating of rails60 to 6.0.3.1
Start updating of Ruby on Rails 6.0 packages to 6.0.3.1.
2020-05-19 17:09:49 +00:00
taca
29d39c7b07 lang/ruby: start updating of rails52 to 5.2.4.3
Start updating of Ruby on Rails 5.2 packages to 5.2.4.3.
2020-05-19 15:33:05 +00:00
taca
043bfae9d3 lang/ruby: start update of Ruby on Rails to 6.0.3
Start update of Ruby on Rails to 6.0.3.
2020-05-16 14:14:45 +00:00
rillig
af581301b3 lang/ruby: make patching config_file.rb optional
ruby26-base and beyond don't need this patch anymore.  They get the
configuration directory from Gem::ConfigFile::SYSTEM_CONFIG_PATH, which
is set to RbConfig::CONFIG["sysconfdir"], which in turn is set to
PKGSYSCONFDIR.
2020-05-04 04:53:53 +00:00
taca
80a5e388cc lang/ruby/gem.mk: introduce GEM_KEEPBUILD
Introduce GEM_KEEPBUILD which specifies file should not be removed by
GEM_CLEANBUILD.
2020-05-02 17:03:11 +00:00
rillig
b88eeb7aeb lang/ruby: disable check for unknown configure options 2020-05-02 10:07:53 +00:00
taca
942023f5f8 lang/ruby24-base: update to 2.4.10
Update ruby24-base (and ruby24) to 2.4.10.

This release includes a security fix. Please check the topics below for
details.

* CVE-2020-16255: Unsafe Object Creation Vulnerability in JSON (Additional
  fix)

Ruby 2.4 is now under the state of the security maintenance phase, until the
end of March of 2020.  After that date, maintenance of Ruby 2.4 will be
ended.  Thus, this release would be the last of Ruby 2.4 series.  We
recommend you immediately upgrade Ruby to newer versions, such as 2.7 or 2.6
or 2.5.
2020-04-01 15:27:40 +00:00
taca
23e8935466 lang/ruby25-base: update to 2.5.8
Update ruby25-base (and ruby25) to 2.5.8.


2.5.8 (2020-03-31)

This release includes security fixes. Please check the topics below for
details.

* CVE-2020-16255: Unsafe Object Creation Vulnerability in JSON (Additional
  fix)
* CVE-2020-10933: Heap exposure vulnerability in the socket library
2020-04-01 15:25:26 +00:00
taca
1745003c67 lang/ruby27-base: update to 2.7.1
Update ruby27-base (and ruby27) to 2.7.1.


2.7.1 (2020-03-31)

This release includes security fixes. Please check the topics below for
details.

* CVE-2020-16255: Unsafe Object Creation Vulnerability in JSON (Additional
  fix)
* CVE-2020-10933: Heap exposure vulnerability in the socket library
2020-04-01 15:23:14 +00:00
taca
da3521767f lang/ruby26-base: update to 2.6.6
Update ruby26-base (and ruby26 related packages) to 2.6.6.


2.6.6 (2020-03-31)

This release includes security fixes. Please check the topics below for
details.

* CVE-2020-16255: Unsafe Object Creation Vulnerability in JSON (Additional
  fix)
* CVE-2020-10933: Heap exposure vulnerability in the socket library
2020-04-01 15:21:57 +00:00
taca
af3d43d830 lang/ruby/Makefile.common: add "used by" lines
Add "used by" lines in comment for lang/ruby27/Makefile and
ruby27-base/Makefile.
2020-03-29 05:26:54 +00:00
taca
814d32dc37 lang/ruby: drop support for Ruby on Rails 4.2
Drop support for Ruby on Rails 4.2 packages.
2020-03-21 15:59:01 +00:00
taca
7c0f1cac54 lang/ruby/rails.mk: add support for Ruby on Rails 6.0
Add add support for Ruby on Rails 6.0.
2020-03-20 16:42:43 +00:00
taca
34f93e336b lang/ruby/rails.mk: start update of rails52 to 5.2.4.2
Start update of rails51 to 5.2.4.2.
2020-03-20 15:36:25 +00:00
taca
a29e0f36be lang/ruby/rails.mk: start update of rails51 to 5.1.7
Start update of rails51 to 5.1.7.
2020-03-20 15:21:12 +00:00
taca
ee87c30304 lang/ruby/rails.mk: Change RUBY_RAILS_DEFAULT to 52
Change RUBY_RAILS_DEFAULT to 52; Ruby on Rails 5.2 to default since
Rails 4.2 is EOL.
2020-03-20 15:06:33 +00:00
taca
2861f1ea64 lang/ruby: drop support for Ruby 2.2
* Drop support for Ruby 2.2.
* Update document in comment for Ruby 2.7.
2020-03-15 16:48:54 +00:00
taca
5098b3bec3 lang/ruby: add support for Ruby 2.7
Add support for Ruby 2.7.
2020-03-15 15:19:55 +00:00
taca
5f5e43fc3c lang/ruby: document RUBY_VERSIONS_INCOMPATIBLE
Add RUBY_VERSIONS_INCOMPATIBLE document in comment.
2020-03-08 06:35:28 +00:00
nia
a271343f67 ruby: Disable dtrace support on NetBSD aarch64 as well as arm
Seems to cause the exact same problem building miniruby.
2020-03-04 10:30:46 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
taca
6d781bf6dd lang/ruby: change default Ruby to 2.6.x
Change default vesion of Ruby from 2.4.x to 2.6.x.

* Ruby 2.7 will be released within this year.
* Ruby 2.6.x is stable enough and actively maintained.
* Ryby 2.5.x will be in security maintenance phase after
  release of Ruby 2.7.
* Ruby 2.4.x will be EOL after 31th March 2020.
2019-12-15 15:37:26 +00:00
rillig
8c6aee8563 lang: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:03:56 +00:00
taca
66d821fff7 lang/ruby: change for --no-document option
Replace RUBY_BUILD_RDOC and RUBY_BUILD_RI with RUBY_BUILD_DOCUMENT since
rdoc's --no-rdoc and --no-ri options are deprecated almost 8 years ago
and these options are replaced with -no-document option.

No package should be changed.
2019-10-24 14:39:37 +00:00
taca
3d8d2529f2 lang/ruby26: update to 2.6.5
Update ruby26-base and ruby26 packges to 2.6.5

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.6.5 (2019-10-01)

This release includes security fixes. Please check the topics below for
details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick's Digest access authentication
2019-10-02 13:44:34 +00:00
taca
56ca8e2a32 lang/ruby25: update to 2.5.7
Update ruby25-base, ruby25 and ruby25-mode packges to 2.5.7.

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.5.7 (2019-10-01)

This release includes security fixes as listed below. Please check the
topics below for details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick's Digest access authentication
2019-10-02 13:39:52 +00:00
taca
93cce3641f lang/ruby24: update to 2.4.9
Update ruby24-base and related packges to 2.4.9.

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.4.8 (2019-10-01)

This release includes security fixes. Please check the topics below for
details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick¡Çs Digest access authentication


Ruby 2.4.9 (2019-10-02)

This release is a re-package of 2.4.8 because the previous Ruby 2.4.8
release tarball does not install. (See [Bug #16197] in detail.) There are no
essential change except their version numbers between 2.4.8 and 2.4.9.

Ruby 2.4 is now under the state of the security maintenance phase, until the
end of March of 2020. After that date, maintenance of Ruby 2.4 will be
ended. We recommend you start planning the migration to newer versions of
Ruby, such as 2.6 or 2.5.
2019-10-02 13:31:47 +00:00
taca
ff711a54aa lang/ruby: fix a warning of pkglint
Fix a warning of pkglint.
2019-10-02 13:25:54 +00:00
rillig
93fee86e15 lang/ruby: remove deprecated _PKG_SILENT and _PKG_DEBUG 2019-09-12 21:01:07 +00:00
taca
c79867cd74 lang/ruby26: update to 2.6.4
Update lang/ruby26-base and lang/ruby26 to 2.6.4.

Ruby 2.6.4 (2019-08-28)

Ruby 2.6.4 has been released.

This release includes a security fix of rdoc. Please check the topics below
for details.

	* Multiple jQuery vulnerabilities in RDoc

See the commit logs for changes in detail.
2019-08-28 14:23:21 +00:00
taca
08d9a1f40e lang/ruby25: update to 2.5.6
Update ruby25-base/ruby25 to 2.5.6.

Ruby 2.5.6 (2019-08-28)

Ruby 2.5.6 has been released.

This release includes about 40 bug fixes after the previous release, and also includes a security fix. Please check the topics below for details.

	* Multiple jQuery vulnerabilities in RDoc

See the commit log for details.
2019-08-28 14:12:21 +00:00
taca
8d8f11c09d lang/ruby24-base: update to 2.4.7
2.4.7 (2019-08-28)

Ruby 2.4.7 has been released.

This release includes a security fix. Please check the topics below for
details.

* Multiple jQuery vulnerabilities in RDoc

Ruby 2.4 is now under the state of the security maintenance phase, until
the end of March of 2020. After that date, maintenance of Ruby 2.4 will be
ended. We recommend you start planning the migration to newer versions of
Ruby, such as 2.6 or 2.5.
2019-08-28 14:03:54 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
taca
c7d9765f11 lang/ruby26-base: update to 2.6.3
Update ruby26{,-base} to 2.6.3.  Here is release announce:

Ruby 2.6.3 Released
Posted by naruse on 17 Apr 2019

Ruby 2.6.3 has been released.

This release adds support for New Japanese Era “令和” (Reiwa). It updates
the Unicode version to 12.1 beta (#15195), and updates date library (#15742).

This release also includes some bug fixes. See details commit logs.
2019-04-17 16:33:10 +00:00
taca
67aea9c82c lang/ruby: remove support for ruby23
Remove support for ruby23.
2019-04-14 15:40:22 +00:00
taca
0eace997de lang/ruby: start update rails52 to 5.2.3
Start update of ruby-rails52.
2019-04-14 10:29:39 +00:00
taca
d9437b55ca lang/ruby: start update rails51 to 5.1.6.2
Start update of ruby-rails51.
2019-04-14 10:19:43 +00:00
taca
3226c54e54 lang/ruby: start update rails42 to 4.2.11
Start update of ruby-rails42.
2019-04-14 10:10:49 +00:00
taca
dffa6eee2b lang/ruby24-base: update to 2.4.6
* vulnerabilities of rubygems are already fixed in 2.4.5nb1.

Ruby 2.4.6 Released					1 Apr 2019

Ruby 2.4.6 has been released.

This release includes about 20 bug fixes after the previous release, and also
includes several security fixes. Please check the topics below for details.

	* Multiple vulnerabilities in RubyGems

See the commit log for details.

After this release, we will end the normal maintenance phase of Ruby 2.4, and
start the security maintenance phase of it.  This means that after the release
of 2.4.6 we will never backport any bug fixes to 2.4 except security fixes.
The term of the security maintenance phase is scheduled for 1 year.  By the
end of this term, official support of Ruby 2.4 will be over.  Therefore, we
recommend that you start planning to upgrade to Ruby 2.6 or 2.5.
2019-04-07 16:17:39 +00:00
taca
edddbd7e05 lang/ruby/rails.mk: not yet, revert
Revert previous, not yet.
2019-03-16 14:48:00 +00:00
taca
a558dc9105 lang/ruby/rails.mk: make ruby-on-rails42 to 4.2.11.1
Start update of Ruby on Rails42 to 4.2.11.1.
2019-03-16 14:45:41 +00:00
taca
bbe228288b lang/ruby26-base: update to 2.6.2
Update ruby26{,-base} to 2.6.2.

Quote from release announce.

Ruby 2.6.2 (2019-03-13)

This release includes bug fixes and a security update of the bundled
RubyGems.

See details in Multiple vulnerabilities in RubyGems and the commit logs.
2019-03-16 14:39:35 +00:00
taca
3a73764b6e lang/ruby25-base: updateo to 2.5.5
Update ruby25{,-base} to 2.5.5.

Quote from release announce:

Ruby 2.5.4 (2019-03-13)

This release includes bug fixes and a security update of the bundled
RubyGems. See details in Multiple vulnerabilities in RubyGems and the commit
logs.

Ruby 2.5.5 (2019-03-15)

This release includes a bug fix for the deadlock in the
multi-thread+multi-process (using Process.fork) applications (ex: puma).
2019-03-16 14:34:56 +00:00
taca
e957cad131 lang/ruby: remove support for Ruby on Rails 3.2
Remove support for Ruby on Rails 3.2 packages.
2019-03-03 16:19:16 +00:00
taca
7caa35efeb lang/ruby/rails.mk: switch default rails to 4.2
Switch default Ruby on Rails version to 4.2.
2019-03-03 15:26:29 +00:00
taca
cd579e3aba lang/ruby/rails.mk: add support for Ruby on Rails 5.2
Add support for Ruby on Rails 5.2.
2019-03-03 14:41:21 +00:00
taca
67c7118dad lang/ruby/gem.mk: improve message
OVERRIDE_GEMSPEC would not only update rubygem's dependency but also
its meta data.
2019-02-09 15:22:46 +00:00
taca
d9e42b481c lang/ruby/Makefile.common: use bsdtar instead of gtar
* Use "bsdtar" instead of "gtar" as advised by leot@.
* Add "used by" lines for ruby26 and ruby26-base.
2019-02-03 14:03:54 +00:00
taca
22bcef0b25 lang/ruby: add support for Ruby 2.6
* Add support for Ruby 2.6 with release 2.6.1.
2019-02-03 13:36:47 +00:00
taca
703887f217 ruby/Makefile.common: Use gtar to extract
Use gtar to extract Ruby distfiles.
2019-02-03 13:34:23 +00:00
taca
e8d11c6e60 lang/ruby: reduce support for ruby22
Remove "22" from RUBY_VERSIONS_ACCEPTED.  Now Ruby 2.2 based package would
be lang/ruby22, devel/ruby-redmine and related packages.
2019-01-13 02:39:04 +00:00
taca
1cfef013e8 lang/ruby: switch to use distfiles in '.xz' format
Switch to use distfiles in '.xz' format.
2019-01-03 05:19:03 +00:00
taca
93cf862681 lang/ruby/files/update-gemspec.rb: Allow modifying multiple records
Allow modifying multiple records, e.g. ":files foo=bar baz=bang".
There was a bug to allow only one record to change.
2018-12-31 14:36:15 +00:00
taca
c49d915102 lang/ruby: remove "used by" line
Remove "used by" line for a removed package about 6 years ago.
2018-12-28 12:33:32 +00:00
taca
d43ed11098 lang/ruby/rails.mk: start update of ruby-rails51 to 5.1.6.1
Start update of Ruby on Rails to 5.1.6.1.
2018-11-29 14:12:40 +00:00
taca
5cdc1b1e28 lang/ruby: start ruby on rails42 to 4.2.11
Start update of Ruby on Rails to 4.2.11.
2018-11-29 13:47:23 +00:00
taca
14de024045 lang/ruby23-base: update o 2.3.8
Ruby 2.3.8 Released

Ruby 2.3.8 has been released. This release includes several security
fixes. Please check the topics below for details.

* CVE-2018-16396: Tainted flags are not propagated in Array#pack and
  String#unpack with some directives

* CVE-2018-16395: OpenSSL::X509::Name equality check does not work
  correctly This release also includes a non-security fix to support
  Visual Studio 2014 with Windows 10 October 2018 Update for
  maintenance reasons.

Ruby 2.3 is now under the state of the security maintenance phase,
until the end of the March of 2019. After the date, maintenance of
Ruby 2.3 will be ended. We recommend you start planning migration to
newer versions of Ruby, such as 2.5 or 2.4.
2018-10-18 14:24:07 +00:00
taca
77065d7d4a lang/ruby25-base: update to 2.5.3
Ruby 2.5.2 Released

Ruby 2.5.2 has been released.

This release includes some bug fixes and some security fixes.

* CVE-2018-16396: Tainted flags are not propagated in Array#pack and
  String#unpack with some directives

* CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly
  There are also some bug fixes. See commit logs for more details.


Ruby 2.5.3 Released

Ruby 2.5.3 has been released.

There were some missing files in the release packages of 2.5.2 which are
necessary for building. See details in [Bug #15232].

This release is just for fixing the packaging issue. This release doesn’t
contain any additional bug fixes from 2.5.2.
2018-10-18 14:21:36 +00:00
taca
d2411f1f15 lang/ruby24-base: update to 2.4.5
Ruby 2.4.5 Released

Ruby 2.4.5 has been released.

This release includes about 40 bug fixes after the previous release, and also
includes several security fixes. Please check the topics below for details.

* CVE-2018-16396: Tainted flags are not propagated in Array#pack and
  String#unpack with some directives

* CVE-2018-16395: OpenSSL::X509::Name equality check does not work correctly
  See the commit logs for details.
2018-10-18 14:15:12 +00:00
taca
0c1848a16b lang/ruby: update rails to 5.1.6
Start update of Ruby on Rails to 5.1.6.
2018-09-23 18:30:36 +00:00
taca
131b6a5698 lang/ruby/files: improve update-gemspec.rb
Improve update-gemspec.rb script which handles OVERRIDE_GEMSPEC.

When overriding depending versions, clear completely old dependencies.
Previously, it replace first dependency only and it cause incomplete
ruby gem's dependency in a few case.
2018-07-06 15:37:09 +00:00
taca
8ec69e9d5d lang/ruby22-base: update to 2.2.10, security release
Ruby 2.2.10 Released				Posted by usa on 28 Mar 2018

Ruby 2.2.10 has been released.  This release includes several security
fixes. Please check the topics below for details.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory
  traversal in tempfile and tmpdir
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in
  UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

Ruby 2.2 is under the state of the security maintenance phase, until the end
of the March of 2018.  After the date, maintenance of Ruby 2.2 will be ended.
So, this release is expected to be the last release of Ruby 2.2.  We will
never make a new release of Ruby 2.2 unless Ruby 2.2.10 has a serious
regression bug.  We recommend you migrating to newer versions of Ruby, such as
2.5.
2018-03-29 03:11:58 +00:00
taca
526bcdc2f7 lang/ruby23-base: update to 2.3.7, security release
Ruby 2.3.7 Released				Posted by usa on 28 Mar 2018

Ruby 2.3.7 has been released.

This release includes about 70 bug fixes after the previous release, and also
includes several security fixes.  Please check the topics below for details.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory
  traversal in tempfile and tmpdir
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in
  UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

See the ChangeLog for details.

After this release, we will end the normal maintenance phase of Ruby 2.3, and
start the security maintenance phase of it.  This means that after the release
of 2.3.7 we will never backport any bug fixes to 2.3 except security fixes.
The term of the security maintenance phase is scheduled for 1 year.  By the
end of this term, official support of Ruby 2.3 will be over.  Therefore, we
recommend that you start planning to upgrade to Ruby 2.5 or 2.4.
2018-03-29 03:09:35 +00:00
taca
cf36d7a25a lang/ruby25-base: update to 2.5.1, security release
Ruby 2.5.1 Released				Posted by naruse on 28 Mar 2018

Ruby 2.5.1 has been released.

This release includes some bug fixes and some security fixes.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory
  traversal in tempfile and tmpdir
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in
  UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

There are also some bug fixes. See commit logs for more details.
2018-03-29 03:06:57 +00:00
taca
181acf8de6 lang/ruby24-base: update to 2.4.4, security release
Ruby 2.4.4 Released			Posted by nagachika on 28 Mar 2018

Ruby 2.4.4 has been released.

This release includes some bug fixes and some security fixes.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory
  traversal in tempfile and tmpdir
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in
  UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

There are also some bug fixes. See commit logs for more details.
2018-03-29 03:04:47 +00:00
taca
daa7d02598 lang/ruby: add Ruby on Rails 5.1.5 support 2018-03-21 09:32:48 +00:00
taca
079f519b73 lang/ruby: Honor RUBY_RAILS_DEFAULT
Honor RUBY_RAILS_DEFAULT and set RUBY_RAILS_REQD in environment.
2018-03-21 09:15:04 +00:00
taca
3127fd723a lang/ruby: improve RUBY_RAILS_ACCEPTED handling
Now RUBY_RAILS_ACCEPTED supports multiple rails version.

Also add RUBY_RAILS_REQD although no ruby package use it now.
2018-03-21 03:40:21 +00:00
taca
66c9583833 lang/ruby: replace RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED
Change RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED for better wording.
2018-03-18 14:21:19 +00:00
taca
b780ab3854 lang/ruby: start update of Ruby on Rails 4.2.10
Note current RUBY_RAILS_SUPPORTED's embarrassing limitation.
2018-03-13 16:28:48 +00:00
taca
1abd43cdb2 lang/ruby: add "used by" lines for Ruby 2.5
Add "used by" lines for lang/ruby25 amd lang/ruby25-base.
2018-03-13 15:53:23 +00:00
taca
dd2a5a635e lang/ruby: switch default version of Ruby to 2.4
Switch default version of Ruby to 2.4 from 2.3.
Ruby 2.4 supports OpenSSL 1.1.0 and most stable release currently.
2018-02-25 12:24:15 +00:00
taca
f5b3ce1a39 lang/ruby: GC unused variable related to version of Rubygems
Remove RUBY_GEMS_VERSION which is referenced by _RUBYGEMS_MAJOR and
_RUBYGEMS_MINOR, unused variables.
2018-02-19 13:48:11 +00:00
taca
2847f349e9 Add RUBY_NAME to PLIST_SUBST to fix ruby-xapian. 2018-02-19 13:31:23 +00:00
taca
dc33f988ea lang/ruby: Add support for Ruby 2.5 2018-01-08 14:17:04 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
taca
5765f6c327 lang/ruby22-base: update to 2.2.9
Ruby 2.2.9 Released
Posted by usa on 14 Dec 2017

Ruby 2.2.9 has been released. This release includes several security
fixes. Please check the topics below for details.

* CVE-2017-17405: Command injection vulnerability in Net::FTP
* Unsafe Object Deserialization Vulnerability in RubyGems

Ruby 2.2 is now under the state of the security maintenance phase, until the
end of the March of 2018. After the date, maintenance of Ruby 2.2 will be
ended. We recommend you start planning migration to newer versions of Ruby,
such as 2.4 or 2.3.
2017-12-15 03:26:03 +00:00
taca
95149acf0a lang/ruby24-base: update to 2.4.3
Update ruby24-base/ruby24 to 2.4.3.

Ruby 2.4.3 Released
Posted by nagachika on 14 Dec 2017

Ruby 2.4.3 has been released.

This release includes some bug fixes and a security fix.

* CVE-2017-17405: Command injection vulnerability in Net::FTP

There are also som bug fixes. See commit logs for more details.
2017-12-15 03:23:29 +00:00
taca
2654910bab lang/ruby23-base: Update to 2.3.6
Update ruby23-base/ruby23 to 2.3.6.

Ruby 2.3.6 has been released.

This release includes  about 10 bug fixes after  the previous release,
and  also includes  several security  fixes. Please  check the  topics
below for details.

* CVE-2017-17405: Command injection vulnerability in Net::FTP
* Unsafe Object Deserialization Vulnerability in RubyGems

See the ChangeLog for details.
2017-12-15 03:19:29 +00:00
taca
43e37f667d ruby24-base: Update ruby24-base and ruby24 to 2.4.2.
Ruby 2.4.2 Released			Posted by nagachika on 14 Sep 2017

We are pleased to announce the release of Ruby 2.4.2. This release contains
some security fixes.

* CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf

* CVE-2017-10784: Escape sequence injection vulnerability in the Basic
  authentication of WEBrick

* CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 docod

* CVE-2017-14064: Heap exposure in generating JSON

* Multiple vulnerabilities in RubyGems

* Update bundled libyaml to version 0.1.7.

There are also many bug-fixes. See commit logs for more details.
2017-09-15 00:39:46 +00:00
taca
3ccc31b6e5 Update ruby23-base, ruby-gdbm, ruby-fiddle, ruby-readline, ruby-tk and
ruby23 packages to 2.3.5.

pkgsrc change: clean up PLIST.


Ruby 2.3.5 Released				Posted by usa on 14 Sep 2017

Ruby 2.3.5 has been released.

This release includes about 70 bug fixes after the previous release, and also
includes several security fixes. Please check the topics below for details.

* CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf

* CVE-2017-10784: Escape sequence injection vulnerability in the Basic
  authentication of WEBrick

* CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 docode

* CVE-2017-14064: Heap exposure vulnerability in generating JSON

* Multiple vulnerabilities in RubyGems

* Updated bundled libyaml to version 0.1.7

See the ChangeLog for details.
2017-09-15 00:36:17 +00:00
taca
7aa2cea01b Update ruby22-base and ruby22 packages to 2.2.8.
pkgsrc change: clean up PILST.


Ruby 2.2.8 Released			Posted by usa on 14 Sep 2017

Ruby 2.2.8 has been released. This release includes several security
fixes. Please check the topics below for details.

* CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf

* CVE-2017-10784: Escape sequence injection vulnerability in the Basic
  authentication of WEBrick

* CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 docode

* CVE-2017-14064: Heap exposure vulnerability in generating JSON

* Multiple vulnerabilities in RubyGems

* Updated bundled libyaml to version 0.1.7

Ruby 2.2 is now under the state of the security maintenance phase, until the
endo of the March of 2018. After the date, maintenance of Ruby 2.2 will be
ended. We recommend you start planning migration to newer versions of Ruby,
such as 2.4 or 2.3.
2017-09-15 00:33:58 +00:00
jmcneill
aac3b474e2 Disable dtrace on NetBSD arm. Works around an issue observed on earmv7hf
and NetBSD 8.0_BETA with miniruby getting stuck in an infinite loop while
initializing. Joerg is pretty sure this is the correct fix for now.
2017-08-29 14:47:35 +00:00
taca
1478015bb2 Start update of Ruby on Rails 3.2 to 3.2.22.5. 2017-07-18 13:59:04 +00:00
jperkin
5ee06afa32 Fix static library name on Darwin, from minskim@. 2017-06-30 11:44:15 +00:00
taca
65986e408e Update "used by" lines. 2017-06-25 02:27:07 +00:00
taca
839e866ba1 Overhaul framework of Ruby on Rails to support coexistence of rails32
and rails42.

* Rename RUBY_RAILS_VERSION to RAILS_VERSION.
* Remove detection of installed Ruby on Rails.
* Add ${RUBY_RAILS} to PKGBASE of each Ruby on Rails' pacakge.
2017-06-21 13:11:19 +00:00
taca
56658644e2 Remove Ruby 2.1 support. 2017-06-20 13:41:45 +00:00
taca
a1c715c307 Add support for Ruby 2.4 with several clean up. 2017-06-18 13:44:38 +00:00
taca
e2f7d7ee8e Good by, json.mk. No package use it now. 2017-06-03 03:16:14 +00:00
jlam
000f312c98 Use public SHLIB_TYPE instead of private _OPSYS_SHLIB_TYPE. 2017-06-01 13:30:24 +00:00
taca
255acacda4 Do not always execute ${RUBYGEM}.
Thanks for wiz@ who noted via private e-mail.
2017-05-31 10:27:37 +00:00
taca
1a1f132c5f Remove use of USE_RAKE. 2017-05-30 16:02:25 +00:00
taca
6b581ad2d7 * Move descriptive comments to one place.
* Remove USE_RAKE support since RAKE is always defined and pass to MAKE_ENV.
2017-05-30 16:02:00 +00:00