pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby18-base Update Ruby 1.8.7 patchlevel 22.
details: https://anonhg.NetBSD.org/pkgsrc/rev/90932794c896
branches: trunk
changeset: 543586:90932794c896
user: taca <taca%pkgsrc.org@localhost>
date: Fri Jun 20 15:39:29 2008 +0000
description:
Update Ruby 1.8.7 patchlevel 22.
This is security fix:
http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities
Fri Jun 20 18:25:18 2008 Nobuyoshi Nakada <nobu%ruby-lang.org@localhost>
* string.c (rb_str_buf_append): should infect.
Fri Jun 20 16:33:09 2008 Nobuyoshi Nakada <nobu%ruby-lang.org@localhost>
* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
behavior at integer overflow.
* string.c (str_buf_cat): ditto.
Wed Jun 18 22:24:46 2008 URABE Shyouhei <shyouhei%ruby-lang.org@localhost>
* array.c (ary_new, rb_ary_initialize, rb_ary_store,
rb_ary_aplice, rb_ary_times): integer overflows should be
checked. based on patches from Drew Yao <ayao at apple.com>
fixed CVE-2008-2726
* string.c (rb_str_buf_append): fixed unsafe use of alloca,
which led memory corruption. based on a patch from Drew Yao
<ayao at apple.com> fixed CVE-2008-2726
* sprintf.c (rb_str_format): backported from trunk.
* intern.h: ditto.
Tue Jun 17 15:09:46 2008 Nobuyoshi Nakada <nobu%ruby-lang.org@localhost>
* file.c (file_expand_path): no need to expand root path which has no
short file name. [ruby-dev:35095]
Sun Jun 15 19:27:40 2008 Akinori MUSHA <knu%iDaemons.org@localhost>
* configure.in: Fix $LOAD_PATH. Properly expand vendor_ruby
directories; submitted by Takahiro Kambe <taca at
back-street.net> in [ruby-dev:35099].
diffstat:
lang/ruby18-base/distinfo | 11 ++++-------
lang/ruby18-base/patches/patch-aa | 21 +--------------------
lang/ruby18-base/patches/patch-ab | 25 +------------------------
3 files changed, 6 insertions(+), 51 deletions(-)
diffs (84 lines):
diff -r c7524cf4eafc -r 90932794c896 lang/ruby18-base/distinfo
--- a/lang/ruby18-base/distinfo Fri Jun 20 15:38:45 2008 +0000
+++ b/lang/ruby18-base/distinfo Fri Jun 20 15:39:29 2008 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.28 2008/06/19 14:35:37 taca Exp $
+$NetBSD: distinfo,v 1.29 2008/06/20 15:39:29 taca Exp $
-SHA1 (ruby-1.8.7-p17.tar.bz2) = 0119f0af48eafe4d7b8cfc95f23588556d25cc21
-RMD160 (ruby-1.8.7-p17.tar.bz2) = d220bd233dddba6c7ceeba84a7da5d2e6a78988b
-Size (ruby-1.8.7-p17.tar.bz2) = 4114057 bytes
-SHA1 (patch-aa) = c1b07842dc872d9c5f522b7ba48c9e4419ffed64
-SHA1 (patch-ab) = 26260b203644839837b456f5e1ec0a7a3de49503
-SHA1 (patch-ac) = eb4dd068729ba2a2c7d4d659f6bcdb1410227f3b
+SHA1 (ruby-1.8.7-p22.tar.bz2) = a54e59393f0ca8fcc39f9e23e63a04b1cd4e3b7a
+RMD160 (ruby-1.8.7-p22.tar.bz2) = 249253406204151d9448ec43ddc61712556ae023
+Size (ruby-1.8.7-p22.tar.bz2) = 4121532 bytes
diff -r c7524cf4eafc -r 90932794c896 lang/ruby18-base/patches/patch-aa
--- a/lang/ruby18-base/patches/patch-aa Fri Jun 20 15:38:45 2008 +0000
+++ b/lang/ruby18-base/patches/patch-aa Fri Jun 20 15:39:29 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.11 2008/06/19 14:35:37 taca Exp $
+$NetBSD: patch-aa,v 1.12 2008/06/20 15:39:29 taca Exp $
--- configure.in.orig 2008-06-09 03:23:46.000000000 +0900
+++ configure.in
@@ -49,22 +49,3 @@
fi
LDFLAGS="-L. $LDFLAGS"
-@@ -1717,14 +1736,14 @@ AC_ARG_WITH(vendordir,
- VENDOR_DIR=`eval echo \\"${vendordir}\\"`
- case "$target_os" in
- cygwin*|mingw*|*djgpp*|os2-emx*)
-- RUBY_VENDOR_LIB_PATH="`expr "$VENDOR_DIR" : "$prefix\(/.*\)"`" ||
-- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";;
-+ RUBY_VENDOR_LIB_PATH="`eval echo "$VENDOR_DIR" | sed 's|^NONE/|/|;s|^'"$prefix"'/|/|'`"
-+ ;;
- *)
-- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";;
-+ RUBY_VENDOR_LIB_PATH="`eval echo \\"$VENDOR_DIR\\" | sed 's|^NONE/|'"$prefix"'/|'`"
-+ ;;
- esac
- RUBY_VENDOR_LIB_PATH2="${RUBY_VENDOR_LIB_PATH}/${MAJOR}.${MINOR}"
-
--AC_DEFINE_UNQUOTED(RUBY_LIB, "${RUBY_LIB_PATH}")
- AC_DEFINE_UNQUOTED(RUBY_VENDOR_LIB, "${RUBY_VENDOR_LIB_PATH}")
- AC_DEFINE_UNQUOTED(RUBY_VENDOR_LIB2, "${RUBY_VENDOR_LIB_PATH2}")
-
diff -r c7524cf4eafc -r 90932794c896 lang/ruby18-base/patches/patch-ab
--- a/lang/ruby18-base/patches/patch-ab Fri Jun 20 15:38:45 2008 +0000
+++ b/lang/ruby18-base/patches/patch-ab Fri Jun 20 15:39:29 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.11 2008/06/19 14:35:37 taca Exp $
+$NetBSD: patch-ab,v 1.12 2008/06/20 15:39:29 taca Exp $
--- configure.orig 2008-06-09 18:38:04.000000000 +0900
+++ configure
@@ -49,26 +49,3 @@
fi
LDFLAGS="-L. $LDFLAGS"
-@@ -17563,18 +17582,15 @@ fi
- VENDOR_DIR=`eval echo \\"${vendordir}\\"`
- case "$target_os" in
- cygwin*|mingw*|*djgpp*|os2-emx*)
-- RUBY_VENDOR_LIB_PATH="`expr "$VENDOR_DIR" : "$prefix\(/.*\)"`" ||
-- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";;
-+ RUBY_VENDOR_LIB_PATH="`eval echo "$VENDOR_DIR" | sed 's|^NONE/|/|;s|^'"$prefix"'/|/|'`"
-+ ;;
- *)
-- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";;
-+ RUBY_VENDOR_LIB_PATH="`eval echo \\"$VENDOR_DIR\\" | sed 's|^NONE/|'"$prefix"'/|'`"
-+ ;;
- esac
- RUBY_VENDOR_LIB_PATH2="${RUBY_VENDOR_LIB_PATH}/${MAJOR}.${MINOR}"
-
- cat >>confdefs.h <<_ACEOF
--#define RUBY_LIB "${RUBY_LIB_PATH}"
--_ACEOF
--
--cat >>confdefs.h <<_ACEOF
- #define RUBY_VENDOR_LIB "${RUBY_VENDOR_LIB_PATH}"
- _ACEOF
-
Home |
Main Index |
Thread Index |
Old Index