summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-05-04 02:48:21 +0000
committertaca <taca@pkgsrc.org>2010-05-04 02:48:21 +0000
commitbd446eb47871d63c8b48f595b37281daa877bff7 (patch)
tree3fdaa58b3165f67675f4b98ccd6304e11dd1ce75 /textproc
parent1711260faed46caa78cbf34f5ea9c7b1d8230635 (diff)
downloadpkgsrc-bd446eb47871d63c8b48f595b37281daa877bff7.tar.gz
Update ruby-json-pure from 1.2.0 to 1.4.2.
2010-04-26 (1.4.2) * Applied patch from naruse Yui NARUSE <naruse@airemix.com> to make building with Microsoft Visual C possible again. * Applied patch from devrandom <c1.github@niftybox.net> in order to allow building of json_pure if extensiontask is not present. * Thanks to Dustin Schneider <dustin@stocktwits.com>, who reported a memory leak, which is fixed in this release. * Applied 993f261ccb8f911d2ae57e9db48ec7acd0187283 patch from josh@github. 2010-04-25 (1.4.1) * Fix for a bug reported by Dan DeLeo <dan@kallistec.com>, caused by T_FIXNUM being different on 32bit/64bit architectures. 2010-04-23 (1.4.0) * Major speed improvements and building with simplified directory/file-structure. * Extension should at least be comapatible with MRI, YARV and Rubinius. 2010-04-07 (1.2.4) * Triger const_missing callback to make Rails' dynamic class loading work. 2010-03-11 (1.2.3) * Added a State#[] method which returns an attribute's value in order to increase duck type compatibility to Hash. 2010-02-27 (1.2.2) * Made some changes to make the building of the parser/generator compatible to Rubinius. 2009-11-25 (1.2.1) * Added :symbolize_names option to Parser, which returns symbols instead of strings in object names/keys.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-json-pure/Makefile5
-rw-r--r--textproc/ruby-json-pure/PLIST12
-rw-r--r--textproc/ruby-json-pure/distinfo9
-rw-r--r--textproc/ruby-json-pure/patches/patch-aa10
4 files changed, 25 insertions, 11 deletions
diff --git a/textproc/ruby-json-pure/Makefile b/textproc/ruby-json-pure/Makefile
index fe7c386fece..4450548d995 100644
--- a/textproc/ruby-json-pure/Makefile
+++ b/textproc/ruby-json-pure/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2009/11/23 13:35:59 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2010/05/04 02:48:21 taca Exp $
-DISTNAME= json_pure-1.2.0
+DISTNAME= json_pure-1.4.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES= textproc
@@ -10,6 +10,7 @@ COMMENT= Pure Ruby implementation of JSON
LICENSE= ruby-license
GEM_BUILD= gemspec
+REPLACE_RUBY= tools/fuzz.rb tools/server.rb
post-extract:
cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
diff --git a/textproc/ruby-json-pure/PLIST b/textproc/ruby-json-pure/PLIST
index 3788783d1cd..94ff70628cd 100644
--- a/textproc/ruby-json-pure/PLIST
+++ b/textproc/ruby-json-pure/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/11/23 13:35:59 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/05/04 02:48:21 taca Exp $
bin/edit_json.rb
bin/prettify_json.rb
${GEM_HOME}/cache/json_pure-${PKGVERSION}.gem
@@ -40,7 +40,11 @@ ${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
+${GEM_LIBDIR}/benchmarks/generator2_benchmark.rb
${GEM_LIBDIR}/benchmarks/generator_benchmark.rb
+${GEM_LIBDIR}/benchmarks/ohai.json
+${GEM_LIBDIR}/benchmarks/ohai.ruby
+${GEM_LIBDIR}/benchmarks/parser2_benchmark.rb
${GEM_LIBDIR}/benchmarks/parser_benchmark.rb
${GEM_LIBDIR}/bin/edit_json.rb
${GEM_LIBDIR}/bin/prettify_json.rb
@@ -49,13 +53,11 @@ ${GEM_LIBDIR}/data/index.html
${GEM_LIBDIR}/data/prototype.js
${GEM_LIBDIR}/ext/json/ext/generator/extconf.rb
${GEM_LIBDIR}/ext/json/ext/generator/generator.c
-${GEM_LIBDIR}/ext/json/ext/generator/unicode.c
-${GEM_LIBDIR}/ext/json/ext/generator/unicode.h
+${GEM_LIBDIR}/ext/json/ext/generator/generator.h
${GEM_LIBDIR}/ext/json/ext/parser/extconf.rb
${GEM_LIBDIR}/ext/json/ext/parser/parser.c
+${GEM_LIBDIR}/ext/json/ext/parser/parser.h
${GEM_LIBDIR}/ext/json/ext/parser/parser.rl
-${GEM_LIBDIR}/ext/json/ext/parser/unicode.c
-${GEM_LIBDIR}/ext/json/ext/parser/unicode.h
${GEM_LIBDIR}/install.rb
${GEM_LIBDIR}/lib/json.rb
${GEM_LIBDIR}/lib/json/Array.xpm
diff --git a/textproc/ruby-json-pure/distinfo b/textproc/ruby-json-pure/distinfo
index 19620bb2d5c..7e41a730f3e 100644
--- a/textproc/ruby-json-pure/distinfo
+++ b/textproc/ruby-json-pure/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2009/11/23 13:35:59 fhajny Exp $
+$NetBSD: distinfo,v 1.4 2010/05/04 02:48:21 taca Exp $
-SHA1 (json_pure-1.2.0.gem) = 156eeefb5cc8674f124176805109acafbadd19c9
-RMD160 (json_pure-1.2.0.gem) = 9352c3726d5de352e4ca0201507c8a6f175ca4e4
-Size (json_pure-1.2.0.gem) = 385536 bytes
+SHA1 (json_pure-1.4.2.gem) = bb6c4237c0c00f21bb82199b04efa8674b87b492
+RMD160 (json_pure-1.4.2.gem) = 4f4a61c11272f42a9c781a682c89e154abb8693a
+Size (json_pure-1.4.2.gem) = 397824 bytes
+SHA1 (patch-aa) = c80a2a7a1ae78e98dd7d6982a2e5da8963a214d6
diff --git a/textproc/ruby-json-pure/patches/patch-aa b/textproc/ruby-json-pure/patches/patch-aa
new file mode 100644
index 00000000000..ad566009279
--- /dev/null
+++ b/textproc/ruby-json-pure/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1 2010/05/04 02:48:22 taca Exp $
+
+--- tools/fuzz.rb.orig 2010-04-30 09:05:37.000000000 +0000
++++ tools/fuzz.rb
+@@ -1,3 +1,5 @@
++#!ruby
++
+ require 'json'
+
+ require 'iconv'