summaryrefslogtreecommitdiff
path: root/lang/ruby27-base
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-04-11 12:32:03 +0000
committertaca <taca@pkgsrc.org>2021-04-11 12:32:03 +0000
commit1232a61ab39fe2499c6b108acd554252ec2c7c41 (patch)
tree68f4f568a97f4864d498debe6dfd72666eea94f2 /lang/ruby27-base
parentc9316bd76206053e1a2ab71415bd9ceb3298de3c (diff)
downloadpkgsrc-1232a61ab39fe2499c6b108acd554252ec2c7c41.tar.gz
lang/ruby27-base: update to 2.7.3
Ruby 2.7.3 Released (2021-04-05) This release includes security fixes. Please check the topics below for details. * CVE-2021-28965: XML round-trip vulnerability in REXML * CVE-2021-28966: Path traversal in Tempfile on Windows See the commit logs for details.
Diffstat (limited to 'lang/ruby27-base')
-rw-r--r--lang/ruby27-base/PLIST12
-rw-r--r--lang/ruby27-base/distinfo14
-rw-r--r--lang/ruby27-base/patches/patch-configure37
-rw-r--r--lang/ruby27-base/patches/patch-lib_rubygems.rb12
4 files changed, 35 insertions, 40 deletions
diff --git a/lang/ruby27-base/PLIST b/lang/ruby27-base/PLIST
index c351280a54d..1fe257a11de 100644
--- a/lang/ruby27-base/PLIST
+++ b/lang/ruby27-base/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/10/04 03:29:25 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/04/11 12:32:03 taca Exp $
bin/bundle${RUBY_SUFFIX}
bin/bundler${RUBY_SUFFIX}
bin/erb${RUBY_SUFFIX}
@@ -348,6 +348,14 @@ ${RUBY_LIB}/drb/timeridconv.rb
${RUBY_LIB}/drb/unix.rb
${RUBY_LIB}/drb/weakidconv.rb
${RUBY_LIB}/erb.rb
+${RUBY_LIB}/exe/bundle
+${RUBY_LIB}/exe/bundler
+${RUBY_LIB}/exe/irb
+${RUBY_LIB}/exe/racc
+${RUBY_LIB}/exe/racc2y
+${RUBY_LIB}/exe/rdoc
+${RUBY_LIB}/exe/ri
+${RUBY_LIB}/exe/y2racc
${RUBY_LIB}/expect.rb
${RUBY_LIB}/fileutils.rb
${RUBY_LIB}/find.rb
@@ -1002,6 +1010,8 @@ ${RUBY_LIB}/rubygems/specification_policy.rb
${RUBY_LIB}/rubygems/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem
${RUBY_LIB}/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem
${RUBY_LIB}/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
+${RUBY_LIB}/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
+${RUBY_LIB}/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
${RUBY_LIB}/rubygems/stub_specification.rb
${RUBY_LIB}/rubygems/syck_hack.rb
${RUBY_LIB}/rubygems/test_case.rb
diff --git a/lang/ruby27-base/distinfo b/lang/ruby27-base/distinfo
index 5cd643274f7..519d9322248 100644
--- a/lang/ruby27-base/distinfo
+++ b/lang/ruby27-base/distinfo
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.3 2020/10/04 03:29:25 taca Exp $
+$NetBSD: distinfo,v 1.4 2021/04/11 12:32:03 taca Exp $
-SHA1 (ruby-2.7.2.tar.xz) = 82a1fe683460caa8edb6199707f2905634e5ffcc
-RMD160 (ruby-2.7.2.tar.xz) = fa7fc107e0c2085bf997d7e4ec78ae5636c6bfe2
-SHA512 (ruby-2.7.2.tar.xz) = 7972278b096aa768c7adf2befd26003e18781a29ca317640317d30d93d6e963ded197724c8e2f1dfe1e838c5647176d414a74732a62e931fb50d6f2e0f777349
-Size (ruby-2.7.2.tar.xz) = 12037052 bytes
-SHA1 (patch-configure) = fd465910fe2cb6d6b1530e1071062591e84a9fd9
+SHA1 (ruby-2.7.3.tar.xz) = ce3d5203d5ab734df01e602c05f68f25249dc3e0
+RMD160 (ruby-2.7.3.tar.xz) = f02628d9137618e6d0833b450cd8e78a06579c31
+SHA512 (ruby-2.7.3.tar.xz) = b755d418b3bab2f9f6a8893afd13869269f17065643dde78b9e85ae3538a6d0617893db6e9c3908e00a40c7577a5c912a7c822d8f245cdcfb857be76dfb66c1e
+Size (ruby-2.7.3.tar.xz) = 12073568 bytes
+SHA1 (patch-configure) = 5ee800f6824b18efd06e56a659235ea784819f2e
SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b
SHA1 (patch-lib_mkmf.rb) = 4a3cd18548dbdf43a13695d4e76f817c0347e335
SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a
SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198
-SHA1 (patch-lib_rubygems.rb) = b38f58a852e920bed77a4be281d3703d26515ad0
+SHA1 (patch-lib_rubygems.rb) = 6f5ff6ca504c38ec3a521027dc4df8fa9d6683c3
SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 181bb7554d760182588b0e1b0aafb84c317f41ad
SHA1 (patch-lib_rubygems_defaults.rb) = 79cc5bb308d5ad4ee88f4fbcbb6f40663c05c05d
SHA1 (patch-lib_rubygems_dependency__installer.rb) = 1776508907f17547ffe93f637d6f18d335061d76
diff --git a/lang/ruby27-base/patches/patch-configure b/lang/ruby27-base/patches/patch-configure
index 4811164ccb0..7a79cc2e04a 100644
--- a/lang/ruby27-base/patches/patch-configure
+++ b/lang/ruby27-base/patches/patch-configure
@@ -1,13 +1,12 @@
-$NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
+$NetBSD: patch-configure,v 1.2 2021/04/11 12:32:03 taca Exp $
* Adding Interix support.
* Ignore doxygen.
* Ignore VCS.
* Handle SSP in pkgsrc.
* Put -std= in CFLAGS not CPPFLAGS.
-* Fix argument for pthread_self() on NetBSD.
---- configure.orig 2019-12-17 15:08:45.000000000 +0000
+--- configure.orig 2021-04-05 12:39:40.000000000 +0000
+++ configure
@@ -6469,7 +6469,7 @@ else
if test x"$target_alias" = x; then :
@@ -18,7 +17,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5
$as_echo_n "checking for real target cpu... " >&6; }
-@@ -8831,6 +8831,7 @@ fi
+@@ -8839,6 +8839,7 @@ fi
stack_protector=no
;; #(
*) :
@@ -26,7 +25,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
;;
esac
if test -z "${stack_protector+set}"; then :
-@@ -10695,6 +10696,10 @@ esac
+@@ -10703,6 +10704,10 @@ esac
ac_cv_func___builtin_setjmp=no
;; #(
@@ -37,7 +36,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
*) :
;;
esac
-@@ -22269,6 +22274,8 @@ else
+@@ -22277,6 +22282,8 @@ else
# ifdef _MSC_VER
# include <malloc.h>
# define alloca _alloca
@@ -46,21 +45,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
# else
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
-@@ -26817,11 +26824,11 @@ if ${rb_cv_func_pthread_setname_np_argum
- else
- rb_cv_func_pthread_setname_np_arguments=
- # Linux,AIX, (pthread_self(), name)
-- # NetBSD (pthread_self(), name, \"%s\")
-+ # NetBSD (pthread_self(), \"%s\", name)
- # Darwin (name)
- for mac in \
- "(pthread_self(), name)" \
-- "(pthread_self(), name, \"%s\")" \
-+ "(pthread_self(), \"%s\", name)" \
- "(name)" \
- ; do
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -27415,7 +27422,9 @@ fi
+@@ -27482,7 +27489,9 @@ fi
interix*) :
: ${LDSHARED='$(CC) -shared'}
XLDFLAGS="$XLDFLAGS -Wl,-E"
@@ -70,7 +55,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
rb_cv_dlopen=yes ;; #(
freebsd*|dragonfly*) :
-@@ -28676,7 +28685,7 @@ fi
+@@ -28743,7 +28752,7 @@ fi
;; #(
freebsd*|dragonfly*) :
@@ -79,7 +64,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
LIBRUBY_SONAME='$(LIBRUBY_SO)'
if test "$rb_cv_binary_elf" != "yes" ; then :
-@@ -28755,9 +28764,10 @@ esac
+@@ -28822,9 +28831,10 @@ esac
;; #(
darwin*) :
@@ -92,7 +77,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
if test "$load_relative" = yes; then :
libprefix="@executable_path/../${libdir_basename}"
-@@ -28778,7 +28788,12 @@ fi
+@@ -28845,7 +28855,12 @@ fi
;; #(
interix*) :
@@ -106,7 +91,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
;; #(
mingw*|cygwin*|mswin*) :
-@@ -28960,7 +28975,7 @@ if test "$enable_rpath" = yes; then :
+@@ -29027,7 +29042,7 @@ if test "$enable_rpath" = yes; then :
esac
rpathflag=`IFS="$PATH_SEPARATOR"
echo x "$rpathflag" |
@@ -115,7 +100,7 @@ $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $
`
LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${rpathflag}"
LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED"
-@@ -31684,19 +31699,7 @@ which seems to be undefined. Please mak
+@@ -31751,19 +31766,7 @@ which seems to be undefined. Please mak
"Makefile":F)
tmpmk=confmk$$.tmp
{
diff --git a/lang/ruby27-base/patches/patch-lib_rubygems.rb b/lang/ruby27-base/patches/patch-lib_rubygems.rb
index 50d68c9cd10..eb08fc42808 100644
--- a/lang/ruby27-base/patches/patch-lib_rubygems.rb
+++ b/lang/ruby27-base/patches/patch-lib_rubygems.rb
@@ -1,10 +1,10 @@
-$NetBSD: patch-lib_rubygems.rb,v 1.1 2020/03/15 15:26:22 taca Exp $
+$NetBSD: patch-lib_rubygems.rb,v 1.2 2021/04/11 12:32:03 taca Exp $
* Add install_root option for pkgsrc's rubygems support.
---- lib/rubygems.rb.orig 2018-12-23 00:20:49.000000000 +0000
+--- lib/rubygems.rb.orig 2021-04-05 12:39:38.000000000 +0000
+++ lib/rubygems.rb
-@@ -317,10 +317,16 @@ module Gem
+@@ -311,10 +311,16 @@ module Gem
##
# The path where gem executables are to be installed.
@@ -25,16 +25,16 @@ $NetBSD: patch-lib_rubygems.rb,v 1.1 2020/03/15 15:26:22 taca Exp $
end
##
-@@ -661,7 +667,7 @@ An Array (#{env.inspect}) was passed in
+@@ -657,7 +663,7 @@ An Array (#{env.inspect}) was passed in
return i if path.instance_variable_defined?(:@gem_prelude_index)
end
- index = $LOAD_PATH.index RbConfig::CONFIG['sitelibdir']
+ index = $LOAD_PATH.index RbConfig::CONFIG['vendordir']
- index
+ index || 0
end
-@@ -835,6 +841,7 @@ An Array (#{env.inspect}) was passed in
+@@ -849,6 +855,7 @@ An Array (#{env.inspect}) was passed in
prefix = File.dirname RUBYGEMS_DIR
if prefix != File.expand_path(RbConfig::CONFIG['sitelibdir']) and