Index | Thread | Search

From:
Jeremy Evans <jeremy@openbsd.org>
Subject:
Update: ruby-nokogiri 1.16.5
To:
OpenBSD ports <ports@openbsd.org>
Date:
Fri, 31 May 2024 16:50:30 +0000

Download raw body.

Thread
  • Jeremy Evans:

    Update: ruby-nokogiri 1.16.5

Simple update to the latest release of nokogiri.  Changelog available at
https://nokogiri.org/CHANGELOG.html

Ports-wise, the only change besides the version bump is silencing
the warning when the libxml/libxslt version changes.  This happens
quite often in -stable because libxml is patched for security
patches.

Tested on amd64.  I'll be committing in a few days unless I hear
objections.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/ruby-nokogiri/Makefile,v
diff -u -p -u -p -r1.43 Makefile
--- Makefile	1 Sep 2023 21:05:28 -0000	1.43
+++ Makefile	31 May 2024 16:29:52 -0000
@@ -1,6 +1,6 @@
 COMMENT=		HTML, XML, SAX and Reader parser
 
-DISTNAME=		nokogiri-1.15.4
+DISTNAME=		nokogiri-1.16.5
 CATEGORIES=		textproc
 
 HOMEPAGE=		http://nokogiri.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/ruby-nokogiri/distinfo,v
diff -u -p -u -p -r1.20 distinfo
--- distinfo	1 Sep 2023 21:05:28 -0000	1.20
+++ distinfo	31 May 2024 16:29:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (nokogiri-1.15.4.gem) = 5KgB5e9kPMADbwp+k0M9GIGLMdSMnCh1lraOksAXPE0=
-SIZE (nokogiri-1.15.4.gem) = 4610560
+SHA256 (nokogiri-1.16.5.gem) = 7DYWLGiYT6CpClxK56t3WUYGOecWzBznXzTDy1QVitI=
+SIZE (nokogiri-1.16.5.gem) = 4625408
Index: patches/patch-lib_nokogiri_version_info_rb
===================================================================
RCS file: patches/patch-lib_nokogiri_version_info_rb
diff -N patches/patch-lib_nokogiri_version_info_rb
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_nokogiri_version_info_rb	31 May 2024 16:36:05 -0000
@@ -0,0 +1,24 @@
+Do not print a warning when libxml/libxslt version differs from
+the one nokogiri was compiled with.  This is a common occurence
+when there are security patches to libxml, especially in
+-stable.
+
+Index: lib/nokogiri/version/info.rb
+--- lib/nokogiri/version/info.rb.orig
++++ lib/nokogiri/version/info.rb
+@@ -72,6 +72,7 @@ module Nokogiri
+     def warnings
+       warnings = []
+ 
++=begin
+       if libxml2?
+         if compiled_libxml_version != loaded_libxml_version
+           warnings << "Nokogiri was built against libxml version #{compiled_libxml_version}, but has dynamically loaded #{loaded_libxml_version}"
+@@ -81,6 +82,7 @@ module Nokogiri
+           warnings << "Nokogiri was built against libxslt version #{compiled_libxslt_version}, but has dynamically loaded #{loaded_libxslt_version}"
+         end
+       end
++=end
+ 
+       warnings
+     end