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-2010Q2:1.3.0.8 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; 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 2009.08.11.14.26.58; author taca; state Exp; branches; next 1.2; 1.2 date 2006.01.03.14.37.24; author taca; state dead; branches; next 1.1; 1.1 date 2005.11.02.08.56.40; author taca; state Exp; branches; next ; desc @@ 1.5 log @Remove ruby18 which is EOL almost 4 years ago. @ text @$NetBSD: patch-bd,v 1.4 2010/09/10 03:29:00 taca Exp $ Suppress warnings. --- ext/openssl/ossl.c.orig 2010-06-21 09:18:59.000000000 +0000 +++ ext/openssl/ossl.c @@@@ -15,7 +15,7 @@@@ * String to HEXString conversion */ int -string2hex(char *buf, int buf_len, char **hexbuf, int *hexbuf_len) +string2hex(const unsigned char *buf, int buf_len, char **hexbuf, int *hexbuf_len) { static const char hex[]="0123456789abcdef"; int i, len = 2 * buf_len; @@@@ -464,7 +464,7 @@@@ Init_openssl() /* * Verify callback Proc index for ext-data */ - if ((ossl_verify_cb_idx = X509_STORE_CTX_get_ex_new_index(0, "ossl_verify_cb_idx", 0, 0, 0)) < 0) + if ((ossl_verify_cb_idx = X509_STORE_CTX_get_ex_new_index(0, (void *)"ossl_verify_cb_idx", 0, 0, 0)) < 0) ossl_raise(eOSSLError, "X509_STORE_CTX_get_ex_new_index"); /* @@@@ -506,7 +506,7 @@@@ Init_openssl() * Check if all symbols are OK with 'make LDSHARED=gcc all' */ int -main(int argc, char *argv[], char *env[]) +main(int argc, char *argv[]) { return 0; } @ 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: patch-bd,v 1.3 2009/08/11 14:26:58 taca Exp $ @ 1.3 log @ * Make Ruby's OpenSSL library compatible with OpenSSL 1.0.0 and later, focusing to PR pkg/41829. * Add comments to patches. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 * Use modern OpenSSL API to catch up OpenSSL 1.0.0 and later. d5 1 a5 1 --- ext/openssl/ossl.c.orig 2007-06-09 00:02:04.000000000 +0900 d7 16 a22 1 @@@@ -92,7 +92,7 @@@@ ossl_x509_ary2sk(VALUE ary) d24 10 a33 25 #define OSSL_IMPL_SK2ARY(name, type) \ VALUE \ -ossl_##name##_sk2ary(STACK *sk) \ +ossl_##name##_sk2ary(STACK_OF(type) *sk) \ { \ type *t; \ int i, num; \ @@@@ -102,7 +102,7 @@@@ ossl_##name##_sk2ary(STACK *sk) \ OSSL_Debug("empty sk!"); \ return Qnil; \ } \ - num = sk_num(sk); \ + num = sk_##type##_num(sk); \ if (num < 0) { \ OSSL_Debug("items in sk < -1???"); \ return rb_ary_new(); \ @@@@ -110,7 +110,7 @@@@ ossl_##name##_sk2ary(STACK *sk) \ ary = rb_ary_new2(num); \ \ for (i=0; i * 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-bd,v 1.1 2005/11/02 08:56:40 taca Exp $ d3 3 a5 1 --- ext/openssl/ossl.c.orig 2005-09-10 09:54:29.000000000 +0900 d7 1 a7 7 @@@@ -278,9 +278,14 @@@@ ossl_raise(VALUE exc, const char *fmt, . va_list args; char buf[BUFSIZ]; const char *msg; - long e = ERR_peek_last_error(); + long e; int len = 0; d9 25 a33 16 +#ifdef HAVE_ERR_PEEK_LAST_ERROR + e = ERR_peek_last_error(); +#else + e = ERR_peek_error(); +#endif if (fmt) { va_start(args, fmt); len = vsnprintf(buf, BUFSIZ, fmt, args); @@@@ -382,6 +387,7 @@@@ Init_openssl() */ /* CRYPTO_malloc_init(); */ /* ENGINE_load_builtin_engines(); */ + OpenSSL_add_ssl_algorithms(); OpenSSL_add_all_algorithms(); ERR_load_crypto_strings(); SSL_load_error_strings(); @ 1.1 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$ @