Commit graph

506 commits

Author SHA1 Message Date
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
taca
741a73f5b6 * Add description for RAKE.
* Remove RUBY_VERSION_FULL.
* Remove patchlevel information.
2017-05-30 15:58:16 +00:00
taca
c16de20812 * Replace RUBY_VERSION_FULL with RUBY_VERSION since there is no
RUBY_VERSION_FULL contains Ruby's patchlevel.
* Remove ruby18 specific code.
2017-05-30 15:47:51 +00:00