From 8777e193747f26dc18ea4d1a01485726de099998 Mon Sep 17 00:00:00 2001 From: taca Date: Mon, 5 Jun 2017 15:22:56 +0000 Subject: Update ruby-nokogiri to 1.8.0. # 1.8.0 / 2017-06-04 ## Backwards incompatibilities This release ends support for Ruby 2.1 on Windows in the `x86-mingw32` and `x64-mingw32` platform gems (containing pre-compiled DLLs). Official support ended for Ruby 2.1 on 2017-04-01. Please note that this deprecation note only applies to the precompiled Windows gems. Ruby 2.1 continues to be supported (for now) in the default gem when compiled on installation. ## Dependencies * [Windows] Upgrade iconv from 1.14 to 1.15 (unless --use-system-libraries) * [Windows] Upgrade zlib from 1.2.8 to 1.2.11 (unless --use-system-libraries) * [MRI] Upgrade rake-compiler dependency from 0.9.2 to 1.0.3 * [MRI] Upgrade mini-portile2 dependency from `~> 2.1.0` to `~> 2.2.0` ## Compatibility notes * [JRuby] Removed support for `jruby --1.8` code paths. [#1607] (Thanks, @kares!) * [MRI Windows] Retrieve zlib source from http://zlib.net/fossils to avoid deprecation issues going forward. See #1632 for details around this problem. ## Features * NodeSet#clone is not an alias for NodeSet#dup [#1503] (Thanks, @stephankaag!) * Allow Processing Instructions and Comments as children of a document root. [#1033] (Thanks, @windwiny!) * [MRI] PushParser#replace_entities and #replace_entities= will control whether entities are replaced or not. [#1017] (Thanks, @spraints!) * [MRI] SyntaxError#to_s now includes line number, column number, and log level if made available by the parser. [#1304, #1637] (Thanks, @spk and @ccarruitero!) * [MRI] Cross-built Windows gems now support Ruby 2.4 * [MRI] Support for frozen string literals. [#1413] * [MRI] Support for installing Nokogiri on a machine in FIPS-enabled mode [#1544] * [MRI] Vendored libraries are verified with SHA-256 hashes (formerly some MD5 hashes were used) [#1544] * [JRuby] (performance) remove unnecessary synchronization of class-cache [#1563] (Thanks, @kares!) * [JRuby] (performance) remove unnecessary cloning of objects in XPath searches [#1563] (Thanks, @kares!) * [JRuby] (performance) more performance improvements, particularly in XPath, Reader, XmlNode, and XmlNodeSet [#1597] (Thanks, @kares!) ## Bugs * HTML::SAX::Parser#parse_io now correctly parses HTML and not XML [#1577] (Thanks for the test case, @gregors!) * Support installation on systems with a `lib64` site config. [#1562] * [MRI] on OpenBSD, do not require gcc if using system libraries [#1515] (Thanks, @jeremyevans!) * [MRI] XML::Attr.new checks type of Document arg to prevent segfaults. [#1477] * [MRI] Prefer xmlCharStrdup (and friends) to strdup (and friends), which can cause problems on some platforms. [#1517] (Thanks, @jeremy!) * [JRuby] correctly append a text node before another text node [#1318] (Thanks, @jkraemer!) * [JRuby] custom xpath functions returning an integer now work correctly [#1595] (Thanks, @kares!) * [JRuby] serializing (`#to_html`, `#to_s`, et al) a document with explicit encoding now works correctly. [#1281, #1440] (Thanks, @kares!) * [JRuby] XML::Reader now returns parse errors [#1586] (Thanks, @kares!) * [JRuby] Empty NodeSets are now decorated properly. [#1319] (Thanks, @kares!) * [JRuby] Merged nodes no longer results in Java exceptions during XPath queries. [#1320] (Thanks, @kares!) # 1.7.2 / 2017-05-09 ## Security Notes [MRI] Upstream libxslt patches are applied to the vendored libxslt 1.1.29 which address CVE-2017-5029 and CVE-2016-4738. For more information: * https://github.com/sparklemotion/nokogiri/issues/1634 * http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5029.html * http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-4738.html --- textproc/ruby-nokogiri/Makefile | 6 +++--- textproc/ruby-nokogiri/PLIST | 13 ++++++------- textproc/ruby-nokogiri/distinfo | 10 +++++----- 3 files changed, 14 insertions(+), 15 deletions(-) (limited to 'textproc/ruby-nokogiri') diff --git a/textproc/ruby-nokogiri/Makefile b/textproc/ruby-nokogiri/Makefile index ef9701d2935..617bc521889 100644 --- a/textproc/ruby-nokogiri/Makefile +++ b/textproc/ruby-nokogiri/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.35 2017/03/20 15:36:43 taca Exp $ +# $NetBSD: Makefile,v 1.36 2017/06/05 15:22:56 taca Exp $ -DISTNAME= nokogiri-1.7.1 +DISTNAME= nokogiri-1.8.0 CATEGORIES= textproc MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,7 +8,7 @@ HOMEPAGE= http://nokogiri.org/ COMMENT= HTML, XML, SAX, and Reader parser with XPath and CSS selector support LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-mini_portile2>=2.1.0:../../misc/ruby-mini_portile2 +DEPENDS+= ${RUBY_PKGPREFIX}-mini_portile2>=2.2.0:../../misc/ruby-mini_portile2 USE_GCC_RUNTIME= yes USE_TOOLS+= pkg-config diff --git a/textproc/ruby-nokogiri/PLIST b/textproc/ruby-nokogiri/PLIST index 200ac2a1c3a..7368b5b5b71 100644 --- a/textproc/ruby-nokogiri/PLIST +++ b/textproc/ruby-nokogiri/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.22 2017/03/20 15:36:43 taca Exp $ +@comment $NetBSD: PLIST,v 1.23 2017/06/05 15:22:56 taca Exp $ bin/nokogiri${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_EXTSDIR}/gem.build_complete @@ -12,7 +12,9 @@ ${GEM_LIBDIR}/CHANGELOG.md ${GEM_LIBDIR}/CONTRIBUTING.md ${GEM_LIBDIR}/C_CODING_STYLE.rdoc ${GEM_LIBDIR}/Gemfile -${GEM_LIBDIR}/LICENSE.txt +${GEM_LIBDIR}/Gemfile-libxml-ruby +${GEM_LIBDIR}/LICENSE-DEPENDENCIES.md +${GEM_LIBDIR}/LICENSE.md ${GEM_LIBDIR}/Manifest.txt ${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/ROADMAP.md @@ -159,12 +161,10 @@ ${GEM_LIBDIR}/lib/xsd/xmlparser/nokogiri.rb ${GEM_LIBDIR}/patches/libxml2/0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch ${GEM_LIBDIR}/patches/libxml2/0002-Fix-XPointer-paths-beginning-with-range-to.patch ${GEM_LIBDIR}/patches/libxml2/0003-Disallow-namespace-nodes-in-XPointer-ranges.patch +${GEM_LIBDIR}/patches/libxslt/0001-Fix-heap-overread-in-xsltFormatNumberConversion.patch +${GEM_LIBDIR}/patches/libxslt/0002-Check-for-integer-overflow-in-xsltAddTextString.patch ${GEM_LIBDIR}/patches/sort-patches-by-date ${GEM_LIBDIR}/suppressions/README.txt -${GEM_LIBDIR}/suppressions/nokogiri_ree-1.8.7.358.supp -${GEM_LIBDIR}/suppressions/nokogiri_ruby-1.8.7.370.supp -${GEM_LIBDIR}/suppressions/nokogiri_ruby-1.9.2.320.supp -${GEM_LIBDIR}/suppressions/nokogiri_ruby-1.9.3.327.supp ${GEM_LIBDIR}/tasks/test.rb ${GEM_LIBDIR}/test/css/test_nthiness.rb ${GEM_LIBDIR}/test/css/test_parser.rb @@ -274,5 +274,4 @@ ${GEM_LIBDIR}/test/xml/test_xinclude.rb ${GEM_LIBDIR}/test/xml/test_xpath.rb ${GEM_LIBDIR}/test/xslt/test_custom_functions.rb ${GEM_LIBDIR}/test/xslt/test_exception_handling.rb -${GEM_LIBDIR}/test_all ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-nokogiri/distinfo b/textproc/ruby-nokogiri/distinfo index c7cf0502297..9e142859274 100644 --- a/textproc/ruby-nokogiri/distinfo +++ b/textproc/ruby-nokogiri/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.24 2017/03/20 15:36:43 taca Exp $ +$NetBSD: distinfo,v 1.25 2017/06/05 15:22:56 taca Exp $ -SHA1 (nokogiri-1.7.1.gem) = 5731c2d494381be8440f6ace6e5fcb62e7850581 -RMD160 (nokogiri-1.7.1.gem) = 5b49924884b89befe9489f7c106df1841fe25cfb -SHA512 (nokogiri-1.7.1.gem) = 86ae6d09d6daf0be2d6b46c4a5c8ebe6e9c00e7a4dfe86a2d1c7972726696a87d89e95fa390697a9cb3bae5f7d419c9a4f6d70b1a02c47ab0119bb14bc67efb3 -Size (nokogiri-1.7.1.gem) = 9152000 bytes +SHA1 (nokogiri-1.8.0.gem) = 8312ece43d8dd00eccb29c302eff98df20a65f19 +RMD160 (nokogiri-1.8.0.gem) = a85e99f3b6281bebeb402801a62ce903a5cda577 +SHA512 (nokogiri-1.8.0.gem) = 958b402325e8428d7a6299356dd31cfa191fd6e8ced78e4333395d6a18718c838b810c2dc9c0864553e5e247ed92d6629b985f4076241ad45affd04cae11a75f +Size (nokogiri-1.8.0.gem) = 9171456 bytes -- cgit v1.2.3