pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-nokogiri nokogiri: update to 1.8.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a06b8e075a83
branches: trunk
changeset: 309716:a06b8e075a83
user: tsutsui <tsutsui%pkgsrc.org@localhost>
date: Fri Jun 22 14:20:27 2018 +0000
description:
nokogiri: update to 1.8.3.
Upstream changes (from CHANGELOG.md):
# 1.8.3 / 2018-06-16
## Security Notes
[MRI] Behavior in libxml2 has been reverted which caused CVE-2018-8048
(loofah gem), CVE-2018-3740 (sanitize gem), and CVE-2018-3741
(rails-html-sanitizer gem). The commit in question is here:
> https://github.com/GNOME/libxml2/commit/960f0e2
and more information is available about this commit and its impact here:
> https://github.com/flavorjones/loofah/issues/144
This release simply reverts the libxml2 commit in question to protect users
of Nokogiri's vendored libraries from similar vulnerabilities.
If you're offended by what happened here, I'd kindly ask that you comment
on the upstream bug report here:
> https://bugzilla.gnome.org/show_bug.cgi?id=769760
## Dependencies
* [MRI] libxml2 is updated from 2.9.7 to 2.9.8
## Features
* Node#classes, #add_class, #append_class, and #remove_class are added.
* NodeSet#append_class is added.
* NodeSet#remove_attribute is a new alias for NodeSet#remove_attr.
* NodeSet#each now returns an Enumerator when no block is passed
(Thanks, @park53kr!)
* [JRuby] General improvements in JRuby implementation (Thanks, @kares!)
## Bug fixes
* CSS attribute selectors now gracefully handle queries using integers. [#711]
* Handle ASCII-8BIT encoding on fragment input [#553]
* Handle non-string return values within `Reader` [#898]
* [JRuby] Allow Node#replace to insert Comment and CDATA nodes. [#1666]
* [JRuby] Stability and speed improvements to `Node`, `Sax::PushParser`,
and the JRuby implementation [#1708, #1710, #1501]
diffstat:
textproc/ruby-nokogiri/Makefile | 4 ++--
textproc/ruby-nokogiri/PLIST | 5 ++++-
textproc/ruby-nokogiri/distinfo | 10 +++++-----
3 files changed, 11 insertions(+), 8 deletions(-)
diffs (60 lines):
diff -r 13ad50bceba2 -r a06b8e075a83 textproc/ruby-nokogiri/Makefile
--- a/textproc/ruby-nokogiri/Makefile Fri Jun 22 14:17:41 2018 +0000
+++ b/textproc/ruby-nokogiri/Makefile Fri Jun 22 14:20:27 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2018/02/18 05:45:37 tsutsui Exp $
+# $NetBSD: Makefile,v 1.40 2018/06/22 14:20:27 tsutsui Exp $
-DISTNAME= nokogiri-1.8.2
+DISTNAME= nokogiri-1.8.3
CATEGORIES= textproc
MAINTAINER= tsutsui%NetBSD.org@localhost
diff -r 13ad50bceba2 -r a06b8e075a83 textproc/ruby-nokogiri/PLIST
--- a/textproc/ruby-nokogiri/PLIST Fri Jun 22 14:17:41 2018 +0000
+++ b/textproc/ruby-nokogiri/PLIST Fri Jun 22 14:20:27 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2018/02/18 05:45:37 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.26 2018/06/22 14:20:27 tsutsui Exp $
bin/nokogiri${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
@@ -19,6 +19,7 @@
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/ROADMAP.md
${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/SECURITY.md
${GEM_LIBDIR}/STANDARD_RESPONSES.md
${GEM_LIBDIR}/Y_U_NO_GEMSPEC.md
${GEM_LIBDIR}/appveyor.yml
@@ -159,6 +160,7 @@
${GEM_LIBDIR}/lib/nokogiri/xslt.rb
${GEM_LIBDIR}/lib/nokogiri/xslt/stylesheet.rb
${GEM_LIBDIR}/lib/xsd/xmlparser/nokogiri.rb
+${GEM_LIBDIR}/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
${GEM_LIBDIR}/patches/sort-patches-by-date
${GEM_LIBDIR}/suppressions/README.txt
${GEM_LIBDIR}/suppressions/nokogiri_ruby-2.supp
@@ -210,6 +212,7 @@
${GEM_LIBDIR}/test/html/sax/test_parser_context.rb
${GEM_LIBDIR}/test/html/sax/test_parser_text.rb
${GEM_LIBDIR}/test/html/sax/test_push_parser.rb
+${GEM_LIBDIR}/test/html/test_attributes.rb
${GEM_LIBDIR}/test/html/test_builder.rb
${GEM_LIBDIR}/test/html/test_document.rb
${GEM_LIBDIR}/test/html/test_document_encoding.rb
diff -r 13ad50bceba2 -r a06b8e075a83 textproc/ruby-nokogiri/distinfo
--- a/textproc/ruby-nokogiri/distinfo Fri Jun 22 14:17:41 2018 +0000
+++ b/textproc/ruby-nokogiri/distinfo Fri Jun 22 14:20:27 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2018/02/18 05:45:37 tsutsui Exp $
+$NetBSD: distinfo,v 1.28 2018/06/22 14:20:27 tsutsui Exp $
-SHA1 (nokogiri-1.8.2.gem) = c76e9d69acbe1b9d729c863585065214a3cc4f5a
-RMD160 (nokogiri-1.8.2.gem) = ad6bd51117f37eca31db00c5e1bf745cfb69f0a2
-SHA512 (nokogiri-1.8.2.gem) = e0ab71853440ca599ff693da809b8776ebc9a8a8a68035ef79b31bdee3b3dccbe4023750972b5fbed6f908e171633edee7d8f7276c35dba20fc4d2c7dbf6cf2f
-Size (nokogiri-1.8.2.gem) = 9271808 bytes
+SHA1 (nokogiri-1.8.3.gem) = 9c2fdc06f136432cee2cabbae903e8ee302ae7a2
+RMD160 (nokogiri-1.8.3.gem) = c62d8523ea395174d62f4cc50f36dda384bd405c
+SHA512 (nokogiri-1.8.3.gem) = 4825cc19667393c41a0c5a662474556991da3955fb17e67a363f979da8fadf0680eb4f89a7c87b71f6deba9db64e67bd463d5562d58604ea71a168abb8215eed
+Size (nokogiri-1.8.3.gem) = 9277440 bytes
Home |
Main Index |
Thread Index |
Old Index