pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-nokogiri



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Fri Feb 16 14:32:28 UTC 2024

Modified Files:
        pkgsrc/textproc/ruby-nokogiri: Makefile distinfo

Log Message:
ruby-nokogiri: update to 1.16.2.

Upstream changes:
 https://github.com/sparklemotion/nokogiri/releases

v1.16.2 / 2024-02-04

Security

  * [CRuby] Vendored libxml2 is updated to address CVE-2024-25062. See
    GHSA-xc9x-jj77-9p9j for more information.

Dependencies

  * [CRuby] Vendored libxml2 is updated to v2.12.5 from v2.12.4. (@flavorjones)

v1.16.1 / 2024-02-03

Dependencies

  * [CRuby] Vendored libxml2 is updated to v2.12.4 from v2.12.3. (@flavorjones)

Fixed

  * [CRuby] XML::Reader defaults the encoding to UTF-8 if it's not specified in
    either the document or as a method parameter. Previously non-ASCII
    characters were serialized as NCRs in this case. [#2891] (@flavorjones)
  * [CRuby] Restored support for compilation by GCC versions earlier than 4.6,
    which was broken in v1.15.0 (540e9ae). [#3090] (@adfoster-r7)
  * [CRuby] Patched upstream libxml2 to allow parsing HTML5 in the context of a
    namespaced node (e.g., foreign content like MathML). [#3112, #3116] (
    @flavorjones)
  * [CRuby] Fixed a small memory leak in libgumbo (HTML5 parser) when the
    maximum tree depth limit is hit. [#3098, #3100] (@stevecheckoway)

v1.16.0 / 2023-12-27

Notable Changes

Ruby

This release introduces native gem support for Ruby 3.3.

This release ends support for Ruby 2.7, for which upstream support ended
2023-03-31.

Pattern matching

This version marks official support for the pattern matching API in XML::Attr,
XML::Document, XML::DocumentFragment, XML::Namespace, XML::Node, and
XML::NodeSet (and their subclasses), originally introduced as an experimental
feature in v1.14.0. (@flavorjones)

Documentation on what can be matched:

  * XML::Attr#deconstruct_keys
  * XML::Document#deconstruct_keys
  * XML::Namespace#deconstruct_keys
  * XML::Node#deconstruct_keys
  * XML::DocumentFragment#deconstruct
  * XML::NodeSet#deconstruct

Dependencies

  * [CRuby] Vendored libxml2 is updated to v2.12.3 from v2.11.6. (@flavorjones)
      + https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0
      + https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.1
      + https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.2
      + https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.3

Fixed

  * CSS nth pseudo-classes now handle spaces, e.g. "2n + 1". [#3018]
    (@fusion2004)
  * [CRuby] libgumbo no longer leaks memory when an incomplete tag is abandoned
    by the HTML5 parser. [#3036] (@flavorjones)

Removed

  * Removed Nokogiri::HTML5.get which was deprecated in v1.12.0. [#2278]
    (@flavorjones)
  * Removed the CSS-to-XPath utility modules XPathVisitorAlwaysUseBuiltins and
    XPathVisitorOptimallyUseBuiltins, which were deprecated in v1.13.0 in favor
    of XPathVisitor constructor args. [#2403] (@flavorjones)
  * Removed XML::Reader#attribute_nodes which was deprecated in v1.13.8 in
    favor of #attribute_hash. [#2598, #2599] (@flavorjones)
  * [CRuby] Removed the libxml/libxml2_path key from VersionInfo, used in the
    past for third-party library integration, in favor of the nokogiri/cppflags
    and nokogiri/ldflags keys. Please note that third-party library integration
    is not fully supported and may be deprecated soon, see #2746 for more
    context. [#2143] (@flavorjones)


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/textproc/ruby-nokogiri/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/textproc/ruby-nokogiri/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-nokogiri/Makefile
diff -u pkgsrc/textproc/ruby-nokogiri/Makefile:1.86 pkgsrc/textproc/ruby-nokogiri/Makefile:1.87
--- pkgsrc/textproc/ruby-nokogiri/Makefile:1.86 Tue Dec 26 18:56:09 2023
+++ pkgsrc/textproc/ruby-nokogiri/Makefile      Fri Feb 16 14:32:28 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.86 2023/12/26 18:56:09 wiz Exp $
+# $NetBSD: Makefile,v 1.87 2024/02/16 14:32:28 tsutsui Exp $
 
-DISTNAME=      nokogiri-1.15.5
+DISTNAME=      nokogiri-1.16.2
 CATEGORIES=    textproc
 
 MAINTAINER=    tsutsui%NetBSD.org@localhost
@@ -15,7 +15,7 @@ USE_TOOLS+=           pkg-config
 CPPFLAGS+=             -I${PREFIX}/include/libxml2
 MAKE_ENV+=             NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
 RUBYGEM_OPTIONS+=      --format-executable
-OVERRIDE_GEMSPEC+=     :files ports/archives/libxml2-2.11.6.tar.gz= \
+OVERRIDE_GEMSPEC+=     :files ports/archives/libxml2-2.12.5.tar.gz= \
                        ports/archives/libxslt-1.1.39.tar.gz=
 
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--no-as-needed

Index: pkgsrc/textproc/ruby-nokogiri/distinfo
diff -u pkgsrc/textproc/ruby-nokogiri/distinfo:1.60 pkgsrc/textproc/ruby-nokogiri/distinfo:1.61
--- pkgsrc/textproc/ruby-nokogiri/distinfo:1.60 Sat Nov 18 15:39:16 2023
+++ pkgsrc/textproc/ruby-nokogiri/distinfo      Fri Feb 16 14:32:28 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.60 2023/11/18 15:39:16 tsutsui Exp $
+$NetBSD: distinfo,v 1.61 2024/02/16 14:32:28 tsutsui Exp $
 
-BLAKE2s (nokogiri-1.15.5.gem) = 7aa46bcd6dbc3d5e635858b8d4ff30cc5a3555a550e849f057bb15e28b8a80e2
-SHA512 (nokogiri-1.15.5.gem) = 3f6c2febbdef2cc7e34b5555479b614165a4b3aaa8b46340812e2a736b3efd12c0d0e79c64ad2313a3d99326fd802eaab74eeda08c4ccd9a949974df69e0fe0f
-Size (nokogiri-1.15.5.gem) = 4612608 bytes
+BLAKE2s (nokogiri-1.16.2.gem) = fe26d039b6925c158bebd369ede1c6c316a304802bccd0cc738922d5a0187510
+SHA512 (nokogiri-1.16.2.gem) = 4a973610855ef9ac5cced69cd43cf723273f23dbf14586021ffaa8787b0c54fb3d63f94239636166bdeb8668d6e67d269899ebc1ad0a232d95389aeee8dad642
+Size (nokogiri-1.16.2.gem) = 4626944 bytes



Home | Main Index | Thread Index | Old Index