Mon Aug 5 09:55:00 2019 UTC ()
textproc/ruby-yard: update to 0.9.20

Update ruby-yard to 0.9.20, fixing CVE-2019-14369.

# 0.9.20 - June 27th, 2019

[0.9.20]: https://github.com/lsegal/yard/compare/v0.9.19...v0.9.20

- Fix parsing of stringified Symbols in Ruby source (#1256).
- Fix path traversal vulnerability in `yard server`. This bug would allow
 unsanitized HTTP requests to access arbitrary files on the machine of a
 `yard server` host under certain conditions. Thanks to CuongMX from
 Viettel Cyber Security for discovering this vulnerability.

# 0.9.19 - April 2nd, 2019

[0.9.19]: https://github.com/lsegal/yard/compare/v0.9.16...v0.9.19

- Fixed bug in browser back button (#1071, #1228)
- Fixed handling of ArgumentError in ExtraFileObject (#1198)
- Fixed double return tag displaying on boolean methods (#1226)
- Removed unused `Module#namespace_name` function (#1229)
- Fixed parsing order of README files. YARD will now prefer README over
  README.md over README.x.md or README-x.md (and the like). READMEs will now
  also be ordered by filename; the first README is still chosen unless
  `--readme` is provided.
- Updated AsciiDoc markup support to use non-deprecated calls.


(taca)
diff -r1.10 -r1.11 pkgsrc/textproc/ruby-yard/Makefile
diff -r1.8 -r1.9 pkgsrc/textproc/ruby-yard/PLIST
diff -r1.8 -r1.9 pkgsrc/textproc/ruby-yard/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/textproc/ruby-yard/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-yard/Makefile 2018/09/23 16:44:15 1.10
+++ pkgsrc/textproc/ruby-yard/Makefile 2019/08/05 09:55:00 1.11
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1# $NetBSD: Makefile,v 1.10 2018/09/23 16:44:15 taca Exp $ 1# $NetBSD: Makefile,v 1.11 2019/08/05 09:55:00 taca Exp $
2 2
3DISTNAME= yard-0.9.16 3DISTNAME= yard-0.9.20
4CATEGORIES= ruby textproc 4CATEGORIES= ruby textproc
5 5
6MAINTAINER= pkgsrc-users@NetBSD.org 6MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= https://yardoc.org/ 7HOMEPAGE= https://yardoc.org/
8COMMENT= Documentation generation tool for the Ruby programming language 8COMMENT= Documentation generation tool for the Ruby programming language
9LICENSE= mit 9LICENSE= mit
10 10
11USE_LANGUAGES= # none 11USE_LANGUAGES= # none
12RUBYGEM_OPTIONS+= --format-executable 12RUBYGEM_OPTIONS+= --format-executable
13 13
14.include "../../lang/ruby/gem.mk" 14.include "../../lang/ruby/gem.mk"
15.include "../../mk/bsd.pkg.mk" 15.include "../../mk/bsd.pkg.mk"

cvs diff -r1.8 -r1.9 pkgsrc/textproc/ruby-yard/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-yard/PLIST 2018/09/23 16:44:15 1.8
+++ pkgsrc/textproc/ruby-yard/PLIST 2019/08/05 09:55:00 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.8 2018/09/23 16:44:15 taca Exp $ 1@comment $NetBSD: PLIST,v 1.9 2019/08/05 09:55:00 taca Exp $
2bin/yard${RUBY_SUFFIX} 2bin/yard${RUBY_SUFFIX}
3bin/yardoc${RUBY_SUFFIX} 3bin/yardoc${RUBY_SUFFIX}
4bin/yri${RUBY_SUFFIX} 4bin/yri${RUBY_SUFFIX}
5${GEM_HOME}/cache/${GEM_NAME}.gem 5${GEM_HOME}/cache/${GEM_NAME}.gem
6${GEM_LIBDIR}/.yardopts 6${GEM_LIBDIR}/.yardopts
7${GEM_LIBDIR}/CHANGELOG.md 7${GEM_LIBDIR}/CHANGELOG.md
8${GEM_LIBDIR}/LEGAL 8${GEM_LIBDIR}/LEGAL
9${GEM_LIBDIR}/LICENSE 9${GEM_LIBDIR}/LICENSE
10${GEM_LIBDIR}/README.md 10${GEM_LIBDIR}/README.md
11${GEM_LIBDIR}/Rakefile 11${GEM_LIBDIR}/Rakefile
12${GEM_LIBDIR}/benchmarks/builtins_vs_eval.rb 12${GEM_LIBDIR}/benchmarks/builtins_vs_eval.rb
13${GEM_LIBDIR}/benchmarks/concat_vs_join.rb 13${GEM_LIBDIR}/benchmarks/concat_vs_join.rb
14${GEM_LIBDIR}/benchmarks/erb_vs_erubis.rb 14${GEM_LIBDIR}/benchmarks/erb_vs_erubis.rb
@@ -99,26 +99,27 @@ ${GEM_LIBDIR}/lib/yard/handlers/c/alias_ @@ -99,26 +99,27 @@ ${GEM_LIBDIR}/lib/yard/handlers/c/alias_
99${GEM_LIBDIR}/lib/yard/handlers/c/attribute_handler.rb 99${GEM_LIBDIR}/lib/yard/handlers/c/attribute_handler.rb
100${GEM_LIBDIR}/lib/yard/handlers/c/base.rb 100${GEM_LIBDIR}/lib/yard/handlers/c/base.rb
101${GEM_LIBDIR}/lib/yard/handlers/c/class_handler.rb 101${GEM_LIBDIR}/lib/yard/handlers/c/class_handler.rb
102${GEM_LIBDIR}/lib/yard/handlers/c/constant_handler.rb 102${GEM_LIBDIR}/lib/yard/handlers/c/constant_handler.rb
103${GEM_LIBDIR}/lib/yard/handlers/c/handler_methods.rb 103${GEM_LIBDIR}/lib/yard/handlers/c/handler_methods.rb
104${GEM_LIBDIR}/lib/yard/handlers/c/init_handler.rb 104${GEM_LIBDIR}/lib/yard/handlers/c/init_handler.rb
105${GEM_LIBDIR}/lib/yard/handlers/c/method_handler.rb 105${GEM_LIBDIR}/lib/yard/handlers/c/method_handler.rb
106${GEM_LIBDIR}/lib/yard/handlers/c/mixin_handler.rb 106${GEM_LIBDIR}/lib/yard/handlers/c/mixin_handler.rb
107${GEM_LIBDIR}/lib/yard/handlers/c/module_handler.rb 107${GEM_LIBDIR}/lib/yard/handlers/c/module_handler.rb
108${GEM_LIBDIR}/lib/yard/handlers/c/override_comment_handler.rb 108${GEM_LIBDIR}/lib/yard/handlers/c/override_comment_handler.rb
109${GEM_LIBDIR}/lib/yard/handlers/c/path_handler.rb 109${GEM_LIBDIR}/lib/yard/handlers/c/path_handler.rb
110${GEM_LIBDIR}/lib/yard/handlers/c/struct_handler.rb 110${GEM_LIBDIR}/lib/yard/handlers/c/struct_handler.rb
111${GEM_LIBDIR}/lib/yard/handlers/c/symbol_handler.rb 111${GEM_LIBDIR}/lib/yard/handlers/c/symbol_handler.rb
 112${GEM_LIBDIR}/lib/yard/handlers/common/method_handler.rb
112${GEM_LIBDIR}/lib/yard/handlers/processor.rb 113${GEM_LIBDIR}/lib/yard/handlers/processor.rb
113${GEM_LIBDIR}/lib/yard/handlers/ruby/alias_handler.rb 114${GEM_LIBDIR}/lib/yard/handlers/ruby/alias_handler.rb
114${GEM_LIBDIR}/lib/yard/handlers/ruby/attribute_handler.rb 115${GEM_LIBDIR}/lib/yard/handlers/ruby/attribute_handler.rb
115${GEM_LIBDIR}/lib/yard/handlers/ruby/base.rb 116${GEM_LIBDIR}/lib/yard/handlers/ruby/base.rb
116${GEM_LIBDIR}/lib/yard/handlers/ruby/class_condition_handler.rb 117${GEM_LIBDIR}/lib/yard/handlers/ruby/class_condition_handler.rb
117${GEM_LIBDIR}/lib/yard/handlers/ruby/class_handler.rb 118${GEM_LIBDIR}/lib/yard/handlers/ruby/class_handler.rb
118${GEM_LIBDIR}/lib/yard/handlers/ruby/class_variable_handler.rb 119${GEM_LIBDIR}/lib/yard/handlers/ruby/class_variable_handler.rb
119${GEM_LIBDIR}/lib/yard/handlers/ruby/comment_handler.rb 120${GEM_LIBDIR}/lib/yard/handlers/ruby/comment_handler.rb
120${GEM_LIBDIR}/lib/yard/handlers/ruby/constant_handler.rb 121${GEM_LIBDIR}/lib/yard/handlers/ruby/constant_handler.rb
121${GEM_LIBDIR}/lib/yard/handlers/ruby/decorator_handler_methods.rb 122${GEM_LIBDIR}/lib/yard/handlers/ruby/decorator_handler_methods.rb
122${GEM_LIBDIR}/lib/yard/handlers/ruby/dsl_handler.rb 123${GEM_LIBDIR}/lib/yard/handlers/ruby/dsl_handler.rb
123${GEM_LIBDIR}/lib/yard/handlers/ruby/dsl_handler_methods.rb 124${GEM_LIBDIR}/lib/yard/handlers/ruby/dsl_handler_methods.rb
124${GEM_LIBDIR}/lib/yard/handlers/ruby/exception_handler.rb 125${GEM_LIBDIR}/lib/yard/handlers/ruby/exception_handler.rb
@@ -353,26 +354,27 @@ ${GEM_LIBDIR}/spec/handlers/visibility_h @@ -353,26 +354,27 @@ ${GEM_LIBDIR}/spec/handlers/visibility_h
353${GEM_LIBDIR}/spec/handlers/yield_handler_spec.rb 354${GEM_LIBDIR}/spec/handlers/yield_handler_spec.rb
354${GEM_LIBDIR}/spec/i18n/locale_spec.rb 355${GEM_LIBDIR}/spec/i18n/locale_spec.rb
355${GEM_LIBDIR}/spec/i18n/message_spec.rb 356${GEM_LIBDIR}/spec/i18n/message_spec.rb
356${GEM_LIBDIR}/spec/i18n/messages_spec.rb 357${GEM_LIBDIR}/spec/i18n/messages_spec.rb
357${GEM_LIBDIR}/spec/i18n/pot_generator_spec.rb 358${GEM_LIBDIR}/spec/i18n/pot_generator_spec.rb
358${GEM_LIBDIR}/spec/i18n/text_spec.rb 359${GEM_LIBDIR}/spec/i18n/text_spec.rb
359${GEM_LIBDIR}/spec/logging_spec.rb 360${GEM_LIBDIR}/spec/logging_spec.rb
360${GEM_LIBDIR}/spec/options_spec.rb 361${GEM_LIBDIR}/spec/options_spec.rb
361${GEM_LIBDIR}/spec/parser/base_spec.rb 362${GEM_LIBDIR}/spec/parser/base_spec.rb
362${GEM_LIBDIR}/spec/parser/c_parser_spec.rb 363${GEM_LIBDIR}/spec/parser/c_parser_spec.rb
363${GEM_LIBDIR}/spec/parser/examples/array.c.txt 364${GEM_LIBDIR}/spec/parser/examples/array.c.txt
364${GEM_LIBDIR}/spec/parser/examples/example1.rb.txt 365${GEM_LIBDIR}/spec/parser/examples/example1.rb.txt
365${GEM_LIBDIR}/spec/parser/examples/extrafile.c.txt 366${GEM_LIBDIR}/spec/parser/examples/extrafile.c.txt
 367${GEM_LIBDIR}/spec/parser/examples/file.c.txt
366${GEM_LIBDIR}/spec/parser/examples/multifile.c.txt 368${GEM_LIBDIR}/spec/parser/examples/multifile.c.txt
367${GEM_LIBDIR}/spec/parser/examples/namespace.cpp.txt 369${GEM_LIBDIR}/spec/parser/examples/namespace.cpp.txt
368${GEM_LIBDIR}/spec/parser/examples/override.c.txt 370${GEM_LIBDIR}/spec/parser/examples/override.c.txt
369${GEM_LIBDIR}/spec/parser/examples/parse_in_order_001.rb.txt 371${GEM_LIBDIR}/spec/parser/examples/parse_in_order_001.rb.txt
370${GEM_LIBDIR}/spec/parser/examples/parse_in_order_002.rb.txt 372${GEM_LIBDIR}/spec/parser/examples/parse_in_order_002.rb.txt
371${GEM_LIBDIR}/spec/parser/examples/tag_handler_001.rb.txt 373${GEM_LIBDIR}/spec/parser/examples/tag_handler_001.rb.txt
372${GEM_LIBDIR}/spec/parser/ruby/ast_node_spec.rb 374${GEM_LIBDIR}/spec/parser/ruby/ast_node_spec.rb
373${GEM_LIBDIR}/spec/parser/ruby/legacy/statement_list_spec.rb 375${GEM_LIBDIR}/spec/parser/ruby/legacy/statement_list_spec.rb
374${GEM_LIBDIR}/spec/parser/ruby/legacy/token_list_spec.rb 376${GEM_LIBDIR}/spec/parser/ruby/legacy/token_list_spec.rb
375${GEM_LIBDIR}/spec/parser/ruby/ruby_parser_spec.rb 377${GEM_LIBDIR}/spec/parser/ruby/ruby_parser_spec.rb
376${GEM_LIBDIR}/spec/parser/ruby/token_resolver_spec.rb 378${GEM_LIBDIR}/spec/parser/ruby/token_resolver_spec.rb
377${GEM_LIBDIR}/spec/parser/source_parser_spec.rb 379${GEM_LIBDIR}/spec/parser/source_parser_spec.rb
378${GEM_LIBDIR}/spec/parser/tag_parsing_spec.rb 380${GEM_LIBDIR}/spec/parser/tag_parsing_spec.rb

cvs diff -r1.8 -r1.9 pkgsrc/textproc/ruby-yard/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/ruby-yard/distinfo 2018/09/23 16:44:15 1.8
+++ pkgsrc/textproc/ruby-yard/distinfo 2019/08/05 09:55:00 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2018/09/23 16:44:15 taca Exp $ 1$NetBSD: distinfo,v 1.9 2019/08/05 09:55:00 taca Exp $
2 2
3SHA1 (yard-0.9.16.gem) = 99492fa46d1ff80a0be7208a5be46d02c25dcafb 3SHA1 (yard-0.9.20.gem) = 86ff7f1064a21b21957b92efc700b705f970f49b
4RMD160 (yard-0.9.16.gem) = d9172d9df9d57f249b63ffbe8811494368561fc8 4RMD160 (yard-0.9.20.gem) = fa7f80200c7aa66a642de137b26c227f836297c1
5SHA512 (yard-0.9.16.gem) = 73166f6d17bf2b44147640d136a109a32cc7bded2f0ceaa0a4458e85b86387ba4c241c897a2db6dffda8b9b73c3d0044ed5b4fedba2eb4e668d55b45a221c30c 5SHA512 (yard-0.9.20.gem) = 4269037ba61185c999df9f1195825ec92a76b32ccb18fc2b86b54e34ff2e5efd22a536c3e207304ef47a52905215103a2094634d1bb8d8ab722b11488cf04e13
6Size (yard-0.9.16.gem) = 634880 bytes 6Size (yard-0.9.20.gem) = 640512 bytes