diff options
-rw-r--r-- | textproc/ruby-json-pure/Makefile | 5 | ||||
-rw-r--r-- | textproc/ruby-json-pure/PLIST | 12 | ||||
-rw-r--r-- | textproc/ruby-json-pure/distinfo | 9 | ||||
-rw-r--r-- | textproc/ruby-json-pure/patches/patch-aa | 10 |
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' |