head 1.5; access; symbols pkgsrc-2017Q1:1.4.0.54 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.52 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.50 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.48 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.46 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.44 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.42 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.40 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.38 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.36 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.34 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.32 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.30 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.28 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.26 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.24 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.22 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.20 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.18 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.16 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.14 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.12 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.10 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.8 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.6 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.4 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2009Q4:1.3.0.28 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.26 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.24 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.22 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.20 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2; locks; strict; comment @# @; 1.5 date 2017.04.22.18.23.55; author taca; state dead; branches; next 1.4; commitid tDoWtAVFTjPkJyOz; 1.4 date 2010.09.10.03.29.00; author taca; state Exp; branches; next 1.3; 1.3 date 2006.01.03.14.37.24; author taca; state dead; branches; next 1.2; 1.2 date 2005.11.02.08.56.40; author taca; state Exp; branches; next 1.1; 1.1 date 2005.09.18.13.38.50; author taca; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.09.18.13.38.50; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.09.22.16.45.00; author salo; state Exp; branches; next ; desc @@ 1.5 log @Remove ruby18 which is EOL almost 4 years ago. @ text @$NetBSD: patch-az,v 1.4 2010/09/10 03:29:00 taca Exp $ Fix IO#readpartial test failure. --- io.c.orig 2010-06-08 09:02:21.000000000 +0000 +++ io.c @@@@ -120,9 +120,6 @@@@ extern void Init_File _((void)); # endif #endif -#define preserving_errno(stmts) \ - do {int saved_errno = errno; stmts; errno = saved_errno;} while (0) - VALUE rb_cIO; VALUE rb_eEOFError; VALUE rb_eIOError; @@@@ -491,7 +488,16 @@@@ io_fwrite(str, fptr) r = write(fileno(f), RSTRING(str)->ptr+offset, l); TRAP_END; #if BSD_STDIO - preserving_errno(fseeko(f, lseek(fileno(f), (off_t)0, SEEK_CUR), SEEK_SET)); + { + int saved_errno; + off_t pos; + + saved_errno = errno; + pos = lseek(fileno(f), (off_t)0, SEEK_CUR); + if (pos != -1) + fseeko(f, pos, SEEK_SET); + errno = saved_errno; + } #endif if (r == n) return len; if (0 <= r) { @@@@ -1300,8 +1306,13 @@@@ io_getpartial(int argc, VALUE *argv, VAL goto again; rb_sys_fail(fptr->path); } - if (fptr->f) /* update pos in FILE structure [ruby-core:21561] */ + if (fptr->f) { /* update pos in FILE structure [ruby-core:21561] */ fflush(fptr->f); +#if defined(__SOFF) && defined(__NetBSD__) + fptr->f->_flags &= ~__SOFF; + (void)io_tell(fptr); +#endif + } } rb_str_resize(str, n); @ 1.4 log @Update ruby18-base to 1.8.7.302 (Ruby 1.8.7 patchlevel 302). Since many changes from previous release, please refer http://www.ruby-lang.org/en/news/2010/08/16/ruby-1-8-7-p302-is-released/. Note: Since all security updates are already in previous package, This update dosen't include any securify fix. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update ruby18-base package to Ruby 1.8.4. Ruby 1.8.4 are maintainous release of Ruby programming language. Changes are too huge to list here, please see http://www.ruby-lang.org/. And this package contains some bug fixes after release of 1.8.4. Tue Dec 27 08:29:18 2005 GOTOU Yuuzou * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech): treat wildcard character in commonName. [ruby-dev:28121] Mon Dec 26 22:32:47 2005 Nobuyoshi Nakada * eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS, NEW_VALIAS), parse.y (fitem): allow dynamic symbols to NODE_UNDEF and NODE_ALIAS. backported from trunk. fixed: [ruby-dev:28105] Mon Dec 26 08:50:36 2005 Yukihiro Matsumoto * eval.c (ev_const_get): fixed a bug in constant reference during instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf . [ruby-talk:165285] [ruby-core:6995] @ text @d1 1 a1 1 $NetBSD: patch-az,v 1.2 2005/11/02 08:56:40 taca Exp $ d3 3 a5 1 --- io.c.orig 2005-09-20 17:11:35.000000000 +0900 d7 18 a24 7 @@@@ -1020,8 +1020,10 @@@@ read_buffered_data(ptr, len, f) if (n > len) n = len; return fread(ptr, 1, n, f); #else - for (n = 0; n < len && READ_DATA_PENDING(f); ++n) { - *ptr++ = getc(f); + int c; d26 21 a46 2 + for (n = 0; n < len && READ_DATA_PENDING(f) && (c = getc(f)) != EOF; ++n) { + *ptr++ = c; d48 1 a48 5 return n; #endif @@@@ -3516,6 +3518,7 @@@@ rb_io_reopen(argc, argv, file) return file; } a49 22 +/* :nodoc: */ static VALUE rb_io_init_copy(dest, io) VALUE dest, io; @@@@ -3632,7 +3635,7 @@@@ rb_f_printf(argc, argv) * ios.print(obj, ...) => nil * * Writes the given object(s) to ios. The stream must be - * opened for writing. If the output record separator ($\) + * opened for writing. If the output record separator ($\\) * is not nil, it will be appended to the output. If no * arguments are given, prints $_. Objects that aren't * strings will be converted by calling their to_s method. @@@@ -3688,7 +3691,7 @@@@ rb_io_print(argc, argv, out) * Prints each object in turn to $stdout. If the output * field separator ($,) is not +nil+, its * contents will appear between each field. If the output record - * separator ($\) is not +nil+, it will be + * separator ($\\) is not +nil+, it will be * appended to the output. If no arguments are given, prints * $_. Objects that aren't strings will be converted by * calling their to_s method. @ 1.2 log @- Update to Ruby 1.8.3 with several fixes after its release (see CHANGES.pkgsrc file). - Merge databases/ruby-dbm, devel/ruby-zlib, security/ruby-digest and ruby-openssl, conflicting with these packages. - Better handling for RI directories. - Use pkgsrc's TOOLS framework. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Adding DrafonFly BSD support based on patch provided by Joerg Sonnenberger. Bump PKGREVISION. @ text @d3 1 a3 1 --- io.c.orig 2004-12-25 19:56:39.000000000 +0900 d5 12 a16 7 @@@@ -32,7 +32,7 @@@@ # define NO_LONG_FNAME #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(sun) || defined(_nec_ews) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(sun) || defined(_nec_ews) # define USE_SETVBUF d18 3 d22 22 @ 1.1.2.1 log @file patch-az was added on branch pkgsrc-2005Q2 on 2005-09-18 13:38:50 +0000 @ text @d1 13 @ 1.1.2.2 log @Pullup ticket #769 - requested by Takahiro Kambe security and portability fixes for ruby18-base Revisions pulled up: - pkgsrc/lang/ruby18-base/Makefile 1.7, 1.8 - pkgsrc/lang/ruby18-base/distinfo 1.3, 1.4, 1.5 - pkgsrc/lang/ruby18-base/patches/patch-aa 1.2 - pkgsrc/lang/ruby18-base/patches/patch-ab 1.2 - pkgsrc/lang/ruby18-base/patches/patch-ad 1.1 - pkgsrc/lang/ruby18-base/patches/patch-au 1.1 - pkgsrc/lang/ruby18-base/patches/patch-av 1.1 - pkgsrc/lang/ruby18-base/patches/patch-aw 1.1 - pkgsrc/lang/ruby18-base/patches/patch-ax 1.1 - pkgsrc/lang/ruby18-base/patches/patch-ay 1.1 - pkgsrc/lang/ruby18-base/patches/patch-az 1.1 Module Name: pkgsrc Committed By: taca Date: Sun Sep 18 13:38:50 UTC 2005 Modified Files: pkgsrc/lang/ruby18-base: Makefile distinfo Added Files: pkgsrc/lang/ruby18-base/patches: patch-au patch-av patch-aw patch-ax patch-ay patch-az Log Message: Adding DrafonFly BSD support based on patch provided by Joerg Sonnenberger. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Mon Sep 19 15:19:13 UTC 2005 Modified Files: pkgsrc/lang/ruby18-base: distinfo pkgsrc/lang/ruby18-base/patches: patch-aa patch-ab Log Message: Rearrange configure script a little: - Correct case statement moving "interix3*)" to before "interrix*)" since "interix3*)" wouldn't match and always match to "interix*)". - Remove "interix3*" in the case condition which always "interix*" pattern. This dosen't fix anything bulding on Interix3 (SFU 3.5) and on other platforms, but fix obvious mistake in configure script. --- Module Name: pkgsrc Committed By: taca Date: Wed Sep 21 14:03:22 UTC 2005 Modified Files: pkgsrc/lang/ruby18-base: Makefile distinfo Added Files: pkgsrc/lang/ruby18-base/patches: patch-ad Log Message: Add a patch for fix the security problem which allows an arbitrary code to run bypassing the safe level check. The patch was provided by Yukihiro Matsumoto on ruby-dev mailing list. Bump PKGREVISION. @ text @a0 13 $NetBSD: patch-az,v 1.1.2.1 2005/09/22 16:45:00 salo Exp $ --- io.c.orig 2004-12-25 19:56:39.000000000 +0900 +++ io.c @@@@ -32,7 +32,7 @@@@ # define NO_LONG_FNAME #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(sun) || defined(_nec_ews) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(sun) || defined(_nec_ews) # define USE_SETVBUF #endif @