Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-rexml
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
textproc/ruby-rexml: remove package Now, all Ruby (base) package contains rexml gem as a bundled gem. So, good by now.
textproc/ruby-rexml: not for ruby34 Ruby 3.3.10 and Ruby 3.4.8 contains rexml 3.4.4 as bundled gem.
textproc/ruby-rexml: not for ruby33 Since ruby33 bundles the same version of rexml gem, avoid build with ruby33. Thanks to wiz@ reported the problem.
textproc/ruby-rexml: update to 3.4.4
3.4.4 (2025-09-10)
Improvement
* Accept REXML::Document.new("") for backward compatibility
- GH-296
- GH-295
- Patch by NAITOH Jun
- Reported by Joe Rafaniello
Thanks
* NAITOH Jun
* Joe Rafaniello
textproc/ruby-rexml: update to 3.4.2 3.4.2 (2025-08-26) Improvement * Improved performance. - GH-244 - GH-245 - GH-246 - GH-249 - GH-256 - Patch by NAITOH Jun * Raise appropriate exception when failing to match start tag in DOCTYPE - GH-247 - Patch by NAITOH Jun * Deprecate accepting array as an element in XPath.match, first and each - GH-252 - Patch by tomoya ishida * Don't call needless encoding_updated - GH-259 - Patch by Sutou Kouhei * Reuse XPath::match - GH-263 - Patch by pboling * Cache redundant calls for doctype - GH-264 - Patch by pboling * Use Safe Navigation (&.) from Ruby 2.3 - GH-265 - Patch by pboling * Remove redundant return statements - GH-266 - Patch by pboling * Added XML declaration check & Source#skip_spaces method - GH-282 - Patch by NAITOH Jun - Reported by Sofi Aberegg Fixes * Fix docs typo - GH-248 - Patch by James Coleman * Fix reverse sort in xpath_parser - GH-251 - Patch by tomoya ishida * Fix duplicate responses in XPath following, following-sibling, preceding, preceding-sibling - GH-255 - Patch by NAITOH Jun * Fix wrong Encoding resolution - GH-258 - Patch by Sutou Kouhei * Handle nil when parsing fragment - GH-267 - GH-268 - Patch by pboling * [Documentation] Use # to reference instance methods - GH-269 - GH-270 - Patch by pboling * Fix & Deprecate REXML::Text#text_indent - GH-273 - GH-275 - Patch by pboling * remove bundler from dev deps - GH-276 - GH-277 - Patch by pboling * remove ostruct from dev deps - GH-280 - GH-281 - Patch by pboling Thanks * NAITOH Jun * tomoya ishida * James Coleman * pboling * Sutou Kouhei * Sofi Aberegg
textproc/ruby-rexml: update to 3.4.1 pkgsrc change: allow build on ruby34. 3.4.1 (2025-02-16) Improvement * Improved performance. - GH-226 - GH-227 - GH-237 - Patch by NAITOH Jun Fixes * Fix serialization of ATTLIST is incorrect - GH-233 - GH-234 - Patch by OlofKalufs - Reported by OlofKalufs Thanks * NAITOH Jun * OlofKalufs
Fix build error with Ruby 3.4 Since these packages are bundled with Ruby 3.4.1 as bundled gem, so no need to build these pacakges.
textproc/ruby-rexml: update to 3.4.0
pkgsrc change: remove restriction to Ruby's version.
3.4.0 (2024-12-15)
Improvement
* Improved performance.
- GH-216
- Patch by NAITOH Jun
* JRuby: Improved parse performance.
- GH-219
- Patch by João Duarte
* Added support for reusing pull parser.
- GH-214
- GH-220
- Patch by Dmitry Pogrebnoy
* Improved error handling when source is IO.
- GH-221
- Patch by NAITOH Jun
Thanks
- NAITOH Jun
- João Duarte
- Dmitry Pogrebnoy
textproc/ruby-rexml: drop Ruby 3.3 Ruby 3.3.6 has the same version of rexml as bundled gem and conflict with it.
textproc/ruby-rexml: drop Ruby 3.2 Ruby 3.2.6 has the same version of rexml as bundled gem and conflict with it.
textproc/ruby-rexml: update to 3.3.9 3.3.9 (2024-10-24) Improvements * Improved performance. [GH-210] Patch by NAITOH Jun. Fixes * Fixed a parse bug for text only invalid XML. [GH-215] Patch by NAITOH Jun. * Fixed a parse bug that �x...; is accepted as a character reference.
textproc/ruby-rexml: update to 3.3.8 3.3.8 (2024-09-29) Improvements * SAX2: Improve parse performance. - GH-207 - Patch by NAITOH Jun. Fixes * Fixed a bug that unexpected attribute namespace conflict error for the predefined "xml" namespace is reported. - GH-208 - Patch by KITAITI Makoto Thanks * NAITOH Jun * KITAITI Makoto
textproc/ruby-rexml: update to 3.3.7 3.3.7 (2024-09-04) Improvements * Added local entity expansion limit methods - GH-192 - GH-202 - Reported by takuya kodama. - Patch by NAITOH Jun. * Removed explicit strscan dependency - GH-204 - Patch by Bo Anderson. Thanks * takuya kodama * NAITOH Jun * Bo Anderson
ruby32-rexml: update to 3.3.6.
3.3.6
Improvements
Removed duplicated entity expansions for performance.
GH-194
Patch by Viktor Ivarsson.
Improved namespace conflicted attribute check performance. It was
too slow for deep elements.
Reported by l33thaxor.
Fixes
Fixed a bug that default entity expansions are counted for
security check. Default entity expansions should not be counted
because they don't have a security risk.
GH-198
GH-199
Patch Viktor Ivarsson
Fixed a parser bug that parameter entity references in internal
subsets are expanded. It's not allowed in the XML specification.
GH-191
Patch by NAITOH Jun.
Fixed a stream parser bug that user-defined entity references in
text aren't expanded.
GH-200
Patch by NAITOH Jun.
REXML 3.3.5 - 2024-08-12
Fixes
Fixed a bug that REXML::Security.entity_expansion_text_limit
check has wrong text size calculation in SAX and pull parsers.
GH-193
GH-195
Reported by Viktor Ivarsson.
Patch by NAITOH Jun.
REXML 3.3.4 - 2024-08-01
Fixes
Fixed a bug that REXML::Security isn't defined when
REXML::Parsers::StreamParser is used and
rexml/parsers/streamparser is only required.
GH-189
Patch by takuya kodama.
REXML 3.3.3 - 2024-08-01
Improvements
Added support for detecting invalid XML that has unsupported
content before root element
GH-184
Patch by NAITOH Jun.
Added support for REXML::Security.entity_expansion_limit= and
REXML::Security.entity_expansion_text_limit= in SAX2 and pull
parsers
GH-187
Patch by NAITOH Jun.
Added more tests for invalid XMLs.
GH-183
Patch by Watson.
Added more performance tests.
Patch by Watson.
Improved parse performance.
GH-186
Patch by tomoya ishida.
textproc/ruby-rexml: add package version 3.3.2 ruby-rexml package had once removed from pkgsrc since all Ruby language release contains it as a bundled gem. But recently, there are two security problem in rexml and there is no Ruby language release which fixes these problems. CVE-2024-35176: DoS in REXML CVE-2024-39908 : DoS in REXML Instead, new rexml release are provided and installing ruby-rexml package solves there security problems. REXML REXML was inspired by the Electric XML library for Java, which features an easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same philosophy, has these same features. I've tried to keep the API as intuitive as possible, and have followed the Ruby methodology for method naming and code flow, rather than mirroring the Java API. REXML supports both tree and stream document parsing. Stream parsing is faster (about 1.5 times as fast). However, with stream parsing, you don't get access to features such as XPath.
textproc/ruby-rexml: remove package This package was kept for ruby27 and ruby30 and later have rexml as default gem.
Drop ruby26 support.
textproc/ruby-rexml: improve comment text Ruby 3.1 contains the same version of ruby-rexml in it as Ruby 3.0.
textproc/ruby-rexml: update to 3.2.5 3.2.5 (2021-04-05) Improvements * Add more validations to XPath parser. * require "rexml/document" by default. [GitHub#36][Patch by Koichi ITO] * Don't add #dclone method to core classes globally. [GitHub#37][Patch by Akira Matsuda] * Add more documentations. [Patch by Burdette Lamar] * Added REXML::Elements#parent. [GitHub#52][Patch by Burdette Lamar] Fixes * Fixed a bug that REXML::DocType#clone doesn't copy external ID information. * Fixed round-trip vulnerability bugs. See also: https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/ [HackerOne#1104077][CVE-2021-28965][Reported by Juho Nurminen] Thanks * Koichi ITO * Akira Matsuda * Burdette Lamar * Juho Nurminen
Pullup ticket #6440 - requested by taca textproc/ruby-rexml: build fix Revisions pulled up: - textproc/ruby-rexml/Makefile 1.13 --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 11 00:08:40 UTC 2021 Modified Files: pkgsrc/textproc/ruby-rexml: Makefile Log Message: textproc/ruby-rexml: do not build on Ruby 3.0 Do not build on Ruby 3.0 since it contains the same version of rexml gem and conflicts with this package. Noted by private e-mail from wiz@, thank you!
textproc/ruby-rexml: do not build on Ruby 3.0 Do not build on Ruby 3.0 since it contains the same version of rexml gem and conflicts with this package. Noted by private e-mail from wiz@, thank you!
textproc/ruby-rexml: re-add package version 3.2.4 ruby-rexml was bundled to ruby base package and removed past. Ruby 3.0 dose not bundle rexml library any more, so re-add its latest version now. REXML REXML was inspired by the Electric XML library for Java, which features an easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same philosophy, has these same features. I've tried to keep the API as intuitive as possible, and have followed the Ruby methodology for method naming and code flow, rather than mirroring the Java API. REXML supports both tree and stream document parsing. Stream parsing is faster (about 1.5 times as fast). However, with stream parsing, you don't get access to features such as XPath.
Remove packages which supported by ruby16-base (Ruby 1.6.8) pacakge only and now bundled in ruby18-base pacakges.
Reset maintainer to tech-pkg:
host idoru.mine.nu[82.31.78.41] said: 550 sorry,
never heard of you (in reply to RCPT TO command)
Specify USE_RUBY_DIST_SUBDIR appropriately after previous lang/ruby/rubyversion.mk changes.
Bump PKGREVISION with introduce of ruby16-base/ruby18-base pacakge.
Simplify depends to ruby-iconv package. No functional change.
Fix broken DEPENDS line noted by PR pkg/29156, Thanks to OBATA Akio who submit the PR.
Apply patch from PR pkg/28535. - Fix Iconv::iconv error with "Shift_JIS" processing. - Fix method name mistake. - Since encoding modulde would be loaded as needs, it should be load by "load" instead of "require". Add dependency to ruby-iconv or ruby-uconv package. Bump package revision.
Update ruby-rexml package to 3.1.2 migrating to use new framework for Ruby packages. Changes are unknown but it would be huge. NOTE: ruby18 (Ruby 1.8.1) package bundled rexml 2.7.3.
Add ruby to CATEGORIES.
Move WRKSRC definition away from the first paragraph in a Makefile.
Initial import of ruby-rexml 2.4.8 package, pure Ruby XML parser based on Java Electric XML. This package is based on PR pkg/21282 by <rasputin at idoru dot mine dot nu> and discussion between he and me.
Initial revision