Update ruby18-base pacakge to 1.8.7.352 (1.8.7-p352).

This is maintenance release.  For more detail chagge, plrease refer:

http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
This commit is contained in:
taca 2011-08-12 15:33:12 +00:00
parent e05af0c463
commit cc7edba3c1
4 changed files with 5 additions and 44 deletions

View file

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.63 2011/07/21 03:32:08 taca Exp $
# $NetBSD: Makefile,v 1.64 2011/08/12 15:33:12 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
PKGREVISION= 5
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.49 2011/05/30 04:21:37 taca Exp $
$NetBSD: distinfo,v 1.50 2011/08/12 15:33:12 taca Exp $
SHA1 (ruby-1.8.7-p334.tar.bz2) = 4311ce257f2e54f247bfe07b48e799d293d041f2
RMD160 (ruby-1.8.7-p334.tar.bz2) = f3d078d526f1b19d3255dc236f5a46062883e7c9
Size (ruby-1.8.7-p334.tar.bz2) = 4190857 bytes
SHA1 (ruby-1.8.7-p352.tar.bz2) = 9f3d039e9bfeda54ea2c2175bbeace375a1ea1ae
RMD160 (ruby-1.8.7-p352.tar.bz2) = 9a0ea7e7eb83c809d2890b08db2e78eeb93dee0d
Size (ruby-1.8.7-p352.tar.bz2) = 4207576 bytes
SHA1 (patch-aa) = 4c1572b5a1eb65e89a98c60540433a69cb96dd23
SHA1 (patch-ab) = b56b6c2ba182414492c803d36433730602e0a591
SHA1 (patch-ac) = 0119134d778bb85c58ef5bfe30d337dc76ed47e0
@ -23,7 +23,6 @@ SHA1 (patch-ds) = e60434cb299d070289a3c80765187e4058a65f99
SHA1 (patch-dt) = 59c09f6ea19cc02a1d8ca92a99eed7f8c30a5f10
SHA1 (patch-du) = e3703b678f3b09f2878389a0a0ecbd453bae59d0
SHA1 (patch-dv) = c3eeeaf6e52e27ce945d29494d42ee4d7b11a14b
SHA1 (patch-dw) = 4c6610b9bfa879b5009fbdb231d13d33900e8664
SHA1 (patch-dy) = 4daf6f49dbcc4f07dc43df811aec03639d636d8a
SHA1 (patch-eb) = e5105edd12906a5599668e96a424132abe523871
SHA1 (patch-ec) = 0fcd05fea21d480a6536e2f711021ac4c1448771
@ -46,7 +45,6 @@ SHA1 (patch-et) = eba90415e5279c9eb8bea67635f5f8cab5d1e7ac
SHA1 (patch-eu) = dbf65258dcdc619d220ab39864389c4ec4c5c625
SHA1 (patch-ev) = 6178be681ca1cf2647cab9a61c8ef989ff5b23cb
SHA1 (patch-ew) = ddb8066a3e63b049e43c569e8d95b872eea0c247
SHA1 (patch-ext_bigdecimal_bigdecimal.c) = d67011dd6026c2f66bc2558b3aafa0b6d7e0bc29
SHA1 (patch-ga) = 73f50504baf74ee77d00dcfb5a9446bbaf122726
SHA1 (patch-gb) = 345ad3e5df6fd9febe7b398f091662fd7c300dc4
SHA1 (patch-lib_rdoc_options.rb) = 0f14417733ad6fc6fbc93af1c8463ecd59abce7c

View file

@ -1,17 +0,0 @@
$NetBSD: patch-dw,v 1.3 2010/09/10 03:29:00 taca Exp $
Additional fix after webrick security fix.
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection/
--- lib/webrick/accesslog.rb.orig 2010-01-10 10:30:06.000000000 +0000
+++ lib/webrick/accesslog.rb
@@ -53,7 +53,7 @@ module WEBrick
when ?e, ?i, ?n, ?o
raise AccessLogError,
"parameter is required for \"#{spec}\"" unless param
- param = params[spec][param] ? escape(param) : "-"
+ (param = params[spec][param]) ? escape(param) : "-"
when ?t
params[spec].strftime(param || CLF_TIME_FORMAT)
when ?%

View file

@ -1,19 +0,0 @@
$NetBSD: patch-ext_bigdecimal_bigdecimal.c,v 1.1 2011/05/29 01:36:24 taca Exp $
* Fix for CVE-2011-0188 from repository, r30993.
--- ext/bigdecimal/bigdecimal.c.orig 2010-06-08 07:49:18.000000000 +0000
+++ ext/bigdecimal/bigdecimal.c
@@ -2032,9 +2032,9 @@ static int gnAlloc=0; /* Memory allocati
VP_EXPORT void *
VpMemAlloc(U_LONG mb)
{
- void *p = xmalloc((unsigned int)mb);
- if(!p) {
- VpException(VP_EXCEPTION_MEMORY,"failed to allocate memory",1);
+ void *p = xmalloc(mb);
+ if (!p) {
+ VpException(VP_EXCEPTION_MEMORY, "failed to allocate memory", 1);
}
memset(p,0,mb);
#ifdef _DEBUG