pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-nokogiri Update ruby-nokogiri to 1.6.6.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ff29ef82745
branches:  trunk
changeset: 646201:0ff29ef82745
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Feb 05 15:11:35 2015 +0000

description:
Update ruby-nokogiri to 1.6.6.2.

=== 1.6.6.2 / 2015-01-23

==== Bug fixes

* Fixed installation issue affecting compiler arguments. (#1230)


=== 1.6.6.1 / 2015-01-22

Note that 1.6.6.0 was not released.

==== Features

* Unified Node and NodeSet implementations of #search, #xpath and #css.
* Added Node#lang and Node#lang=.
* bin/nokogiri passes the URI to parse() if an HTTP URL is given.
* bin/nokogiri now loads ~/.nokogirirc so user can define helper methods, etc.
* bin/nokogiri can be configured to use Pry instead of IRB by adding a couple of lines to ~/.nokogirirc. (#1198)
* bin/nokogiri can better handle urls from STDIN (aiding use of xargs). (#1065)
* JRuby 9K support.


==== Bug fixes

* DocumentFragment#search now matches against root nodes. (#1205)
* (MRI) More fixes related to handling libxml2 parse errors during DocumentFragment#dup. (#1196)
* (JRuby) Builder now handles namespace hrefs properly when there is a default ns. (#1039)
* (JRuby) Clear the XPath cache on attr removal. (#1109)
* `XML::Comment.new` argument types are now consistent and safe (and documented) across MRI and JRuby. (#1224)
* (MRI) Restoring support for Ruby 1.9.2 that was broken in v1.6.4.1 and v1.6.5. (#1207)
* Check if `zlib` is available before building `libxml2`. (#1188)
* (JRuby) HtmlSaxPushParser now exists. (#1147) (Thanks, Piotr Szmielew!)


=== 1.6.5 / 2014-11-26

==== Features

* Implement Slop#respond_to_missing?. (#1176)
* Optimized the XPath query generated by an `an+b` CSS query.


==== Bug fixes

* Capture non-parse errors from Document#dup in Document#errors. (#1196)
* (JRuby) Document#canonicalize parameters are now consistent with MRI. (#1189)


=== 1.6.4.1 / 2014-11-05

==== Bug fixes

* (MRI) Fix a bug where CFLAGS passed in are dropped. (#1188)
* Fix a bug where CSS selector :nth(n) did not work. (#1187)


=== 1.6.4 / 2014-11-04

==== Features

* (MRI) Bundled Libxml2 is upgraded to 2.9.2.
* (MRI) `nokogiri --version` will include a list of applied patches.
* (MRI) Nokogiri no longer prints messages directly to TTY while building the extension.
* (MRI) Detect and help user fix a missing /usr/include/iconv.h on OS X. (#1111)
* (MRI) Improve the iconv detection for building libxml2.

==== Bug fixes

* (MRI) Fix DocumentFragment#element_children (#1138).
* Fix a bug with CSS attribute selector without any prefix where "foo [bar]" was treated as "foo[bar]". (#1174)


=== 1.6.3.1 / 2014-07-21

==== Bug fixes

* Addressing an Apple Macintosh installation problem for GCC users. #1130 (Thanks, @zenspider!)


=== 1.6.3 / 2014-07-20

==== Features

* Added Node#document? and Node#processing_instruction?


==== Bug fixes

* [JRuby] Fix Ruby memory exhaustion vulnerability. #1087 (Thanks, @ocher)
* [MRI] Fix segfault during GC when using `libxml-ruby` and `nokogiri` together in multi-threaded environment. #895 (Thanks, @ender672!)
* Building on OSX 10.9 stock ruby 2.0.0 now works. #1101 (Thanks, @zenspider!)
* Node#parse now works again for HTML document nodes (broken in 1.6.2+).
* Processing instructions can now be added via Node#add_next_sibling.


=== 1.6.2.1 / 2014-05-13

==== Bug fixes

* Fix statically-linked libxml2 installation when using universal builds of Ruby. #1104
* Patching `mini_portile` to address the git dependency detailed in #1102.
* Library load fix to address segfault reported on some systems. #1097


=== 1.6.2 / 2014-05-12

==== Security Note

A set of security and bugfix patches have been backported from the libxml2 and libxslt repositories onto the version of 2.8.0 packaged with Nokogiri, including these notable security fixes:

* https://git.gnome.org/browse/libxml2/commit/?id=4629ee02ac649c27f9c0cf98ba017c6b5526070f
* CVE-2013-2877 https://git.gnome.org/browse/libxml2/commit/?id=e50ba8164eee06461c73cd8abb9b46aa0be81869
* CVE-2014-0191 https://git.gnome.org/browse/libxml2/commit/?id=9cd1c3cfbd32655d60572c0a413e017260c854df

It is recommended that you upgrade from 1.6.x to this version as soon as possible.

==== Compatibility Note

Now requires libxml >= 2.6.21 (was previously >= 2.6.17).

==== Features

* Add cross building of fat binary gems for 64-Bit Windows (x64-mingw32) and add support for native builds on Windows. #864, #989, #1072
* (MRI) Alias CP932 to Windows-31J if iconv does not support Windows-31J.
* (MRI) Nokogiri now links packaged libraries statically. To disable static linking, pass --disable-static to extconf.rb. #923
* (MRI) Fix a library path (LIBPATH) precedence problem caused by CRuby bug #9760.
* (MRI) Nokogiri automatically deletes directories of packaged libraries only used during build. To keep them for debugging purposes, pass --disable-clean to extconf.rb. #952
* (MRI) Nokogiri now builds libxml2 properly with iconv support on platforms where libiconv is installed outside the system default directories, such as FreeBSD.
* Add support for an-b in nth selectors. #886 (Thanks, Magnus Bergmark!)
* Add support for bare and multiple :not() functions in selectors. #887 (Thanks, Magnus Bergmark!)
* (MRI) Add an extconf.rb option --use-system-libraries, alternative to setting the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES.
* (MRI) Update packaged libraries: libxslt to 1.1.28, zlib to 1.2.8, and libiconv to 1.14, respectively.
* Nokogiri::HTML::Document#title= and #meta_encoding= now always add an element if not present, trying hard to find the best place to put it.
* Nokogiri::XML::DTD#html_dtd? and #html5_dtd? are added.
* Nokogiri::XML::Node#prepend_child is added. #664
* Nokogiri::XML::SAX::ParserContext#recovery is added. #453
* Fix documentation for XML::Node#namespace. #803 #802 (Thanks, Hoylen Sue)
* Allow Nokogiri::XML::Node#parse from unparented non-element nodes. #407

==== Bugfixes

* Ensure :only-child pseudo class works within :not pseudo class. #858 (Thanks, Yamagishi Kazutoshi!)
* Don't call pkg_config when using bundled libraries in extconf.rb #931 (Thanks, Shota Fukumori!)
* Nokogiri.parse() does not mistake a non-HTML document like a RSS document as HTML document. #932 (Thanks, Yamagishi Kazutoshi!)
* (MRI) Perform a node type check before adding a child node to another. Previously adding a text node to another as a child could cause a SEGV. #1092
* (JRuby) XSD validation crashes in Java version. #373
* (JRuby) Document already has a root node error while using Builder. #646
* (JRuby) c14n tests are all passing on JRuby. #226
* Parsing empty documents raise SyntaxError in strict mode. #1005
* (JRuby) Make xpath faster by caching the xpath context. #741
* (JRuby) XML SAX push parser leaks memory on JRuby, but not on MRI. #998
* (JRuby) Inconsistent behavior aliasing the default namespace. #940
* (JRuby) Inconsistent behavior between parsing and adding namespaces. #943
* (JRuby) Xpath returns inconsistent result set on cloned document with namespaces and attributes. #1034
* (JRuby) Java-Implementation forgets element namespaces #902
* (JRuby) JRuby-Nokogiri does not recognise attributes inside namespaces #1081
* (JRuby) JRuby-Nokogiri has different comment node name #1080
* (JRuby) JAXPExtensionsProvider / Java 7 / Secure Processing #1070

diffstat:

 textproc/ruby-nokogiri/Makefile |   6 +++---
 textproc/ruby-nokogiri/PLIST    |  34 +++++++++++++++++++++++++++++++---
 textproc/ruby-nokogiri/distinfo |   8 ++++----
 3 files changed, 38 insertions(+), 10 deletions(-)

diffs (124 lines):

diff -r 8986cc4cfd23 -r 0ff29ef82745 textproc/ruby-nokogiri/Makefile
--- a/textproc/ruby-nokogiri/Makefile   Thu Feb 05 15:09:52 2015 +0000
+++ b/textproc/ruby-nokogiri/Makefile   Thu Feb 05 15:11:35 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2014/12/10 01:54:33 schmonz Exp $
+# $NetBSD: Makefile,v 1.24 2015/02/05 15:11:35 taca Exp $
 
-DISTNAME=      nokogiri-1.6.1
+DISTNAME=      nokogiri-1.6.6.2
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,7 +10,7 @@
 
 CONFLICTS+=    ruby[1-9][0-9][0-9]-nokogiri-[0-9]*
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-mini_portile>=0.5.0<0.6.2:../../misc/ruby-mini_portile
+DEPENDS+=      ${RUBY_PKGPREFIX}-mini_portile>=0.6.0<0.7:../../misc/ruby-mini_portile
 
 USE_GCC_RUNTIME=       yes
 MAKE_ENV+=             NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
diff -r 8986cc4cfd23 -r 0ff29ef82745 textproc/ruby-nokogiri/PLIST
--- a/textproc/ruby-nokogiri/PLIST      Thu Feb 05 15:09:52 2015 +0000
+++ b/textproc/ruby-nokogiri/PLIST      Thu Feb 05 15:11:35 2015 +0000
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.12 2014/04/28 01:18:03 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2015/02/05 15:11:35 taca Exp $
 bin/nokogiri
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/nokogiri/nokogiri.${RUBY_DLEXT}
 ${GEM_LIBDIR}/.autotest
+${GEM_LIBDIR}/.cross_rubies
+${GEM_LIBDIR}/.editorconfig
 ${GEM_LIBDIR}/.gemtest
 ${GEM_LIBDIR}/.travis.yml
 ${GEM_LIBDIR}/CHANGELOG.ja.rdoc
@@ -143,6 +145,7 @@
 ${GEM_LIBDIR}/lib/nokogiri/xml/sax/parser_context.rb
 ${GEM_LIBDIR}/lib/nokogiri/xml/sax/push_parser.rb
 ${GEM_LIBDIR}/lib/nokogiri/xml/schema.rb
+${GEM_LIBDIR}/lib/nokogiri/xml/searchable.rb
 ${GEM_LIBDIR}/lib/nokogiri/xml/syntax_error.rb
 ${GEM_LIBDIR}/lib/nokogiri/xml/text.rb
 ${GEM_LIBDIR}/lib/nokogiri/xml/xpath.rb
@@ -151,8 +154,26 @@
 ${GEM_LIBDIR}/lib/nokogiri/xslt.rb
 ${GEM_LIBDIR}/lib/nokogiri/xslt/stylesheet.rb
 ${GEM_LIBDIR}/lib/xsd/xmlparser/nokogiri.rb
-${GEM_LIBDIR}/tasks/cross_compile.rb
-${GEM_LIBDIR}/tasks/nokogiri.org.rb
+${GEM_LIBDIR}/ports/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0014-Fix-for-bug-436589.patch
+${GEM_LIBDIR}/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch
+${GEM_LIBDIR}/ports/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
@@ -162,6 +183,7 @@
 ${GEM_LIBDIR}/test/files/2ch.html
 ${GEM_LIBDIR}/test/files/address_book.rlx
 ${GEM_LIBDIR}/test/files/address_book.xml
+${GEM_LIBDIR}/test/files/atom.xml
 ${GEM_LIBDIR}/test/files/bar/bar.xsd
 ${GEM_LIBDIR}/test/files/bogus.xml
 ${GEM_LIBDIR}/test/files/dont_hurt_em_why.xml
@@ -180,6 +202,8 @@
 ${GEM_LIBDIR}/test/files/saml/xmldsig_schema.xsd
 ${GEM_LIBDIR}/test/files/shift_jis.html
 ${GEM_LIBDIR}/test/files/shift_jis.xml
+${GEM_LIBDIR}/test/files/shift_jis_no_charset.html
+${GEM_LIBDIR}/test/files/slow-xpath.xml
 ${GEM_LIBDIR}/test/files/snuggles.xml
 ${GEM_LIBDIR}/test/files/staff.dtd
 ${GEM_LIBDIR}/test/files/staff.xml
@@ -194,6 +218,7 @@
 ${GEM_LIBDIR}/test/helper.rb
 ${GEM_LIBDIR}/test/html/sax/test_parser.rb
 ${GEM_LIBDIR}/test/html/sax/test_parser_context.rb
+${GEM_LIBDIR}/test/html/sax/test_push_parser.rb
 ${GEM_LIBDIR}/test/html/test_builder.rb
 ${GEM_LIBDIR}/test/html/test_document.rb
 ${GEM_LIBDIR}/test/html/test_document_encoding.rb
@@ -203,9 +228,12 @@
 ${GEM_LIBDIR}/test/html/test_node.rb
 ${GEM_LIBDIR}/test/html/test_node_encoding.rb
 ${GEM_LIBDIR}/test/namespaces/test_additional_namespaces_in_builder_doc.rb
+${GEM_LIBDIR}/test/namespaces/test_namespaces_aliased_default.rb
 ${GEM_LIBDIR}/test/namespaces/test_namespaces_in_builder_doc.rb
+${GEM_LIBDIR}/test/namespaces/test_namespaces_in_cloned_doc.rb
 ${GEM_LIBDIR}/test/namespaces/test_namespaces_in_created_doc.rb
 ${GEM_LIBDIR}/test/namespaces/test_namespaces_in_parsed_doc.rb
+${GEM_LIBDIR}/test/namespaces/test_namespaces_preservation.rb
 ${GEM_LIBDIR}/test/test_convert_xpath.rb
 ${GEM_LIBDIR}/test/test_css_cache.rb
 ${GEM_LIBDIR}/test/test_encoding_handler.rb
diff -r 8986cc4cfd23 -r 0ff29ef82745 textproc/ruby-nokogiri/distinfo
--- a/textproc/ruby-nokogiri/distinfo   Thu Feb 05 15:09:52 2015 +0000
+++ b/textproc/ruby-nokogiri/distinfo   Thu Feb 05 15:11:35 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2014/04/28 01:18:03 taca Exp $
+$NetBSD: distinfo,v 1.15 2015/02/05 15:11:35 taca Exp $
 
-SHA1 (nokogiri-1.6.1.gem) = 323b1e1e44690e4440eb4433d9ca2cdd1f295822
-RMD160 (nokogiri-1.6.1.gem) = 60a0d2318ee63aee743f8f587bf13cd6ff04c422
-Size (nokogiri-1.6.1.gem) = 8499712 bytes
+SHA1 (nokogiri-1.6.6.2.gem) = d05f23c90be242d7e1bff447874e75207c36a207
+RMD160 (nokogiri-1.6.6.2.gem) = b3f4a8b9fc15b660197b45b22826ee8b3d33ab7e
+Size (nokogiri-1.6.6.2.gem) = 9249280 bytes



Home | Main Index | Thread Index | Old Index