summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca>2015-11-18 16:04:50 +0000
committertaca <taca>2015-11-18 16:04:50 +0000
commit974711d69977bf6cce30035d38e11d3d39434df3 (patch)
treea4f4d9bf53a266874ce97501bd49f0c854935790 /textproc
parented0a8089955a675bdc35875f13d21304ee800a62 (diff)
downloadpkgsrc-974711d69977bf6cce30035d38e11d3d39434df3.tar.gz
Update ruby-nokogiri to 1.6.6.3.
pkgsrc change: Add pkg_alternatives support. === 1.6.6.3 / 2015-11-16 This version pulls in several upstream patches to the vendored libxml2 and libxslt to address: * CVE-2015-1819 * CVE-2015-7941_1 * CVE-2015-7941_2 * CVE-2015-7942 * CVE-2015-7942-2 * CVE-2015-8035 * CVE-2015-7995 See #1374 for details.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-nokogiri/ALTERNATIVES1
-rw-r--r--textproc/ruby-nokogiri/Makefile11
-rw-r--r--textproc/ruby-nokogiri/PLIST11
-rw-r--r--textproc/ruby-nokogiri/distinfo10
4 files changed, 20 insertions, 13 deletions
diff --git a/textproc/ruby-nokogiri/ALTERNATIVES b/textproc/ruby-nokogiri/ALTERNATIVES
new file mode 100644
index 00000000000..1102a4d0be6
--- /dev/null
+++ b/textproc/ruby-nokogiri/ALTERNATIVES
@@ -0,0 +1 @@
+bin/nokogiri @PREFIX@/bin/nokogiri@RUBY_SUFFIX@
diff --git a/textproc/ruby-nokogiri/Makefile b/textproc/ruby-nokogiri/Makefile
index 3420aad7c61..116ad5618dd 100644
--- a/textproc/ruby-nokogiri/Makefile
+++ b/textproc/ruby-nokogiri/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2015/06/07 16:07:42 taca Exp $
+# $NetBSD: Makefile,v 1.27 2015/11/18 16:04:50 taca Exp $
-DISTNAME= nokogiri-1.6.6.2
+DISTNAME= nokogiri-1.6.6.3
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,15 +8,14 @@ HOMEPAGE= http://nokogiri.org/
COMMENT= HTML, XML, SAX, and Reader parser with XPath and CSS selector support
LICENSE= mit
-CONFLICTS+= ruby[1-9][0-9][0-9]-nokogiri-[0-9]*
-
DEPENDS+= ${RUBY_PKGPREFIX}-mini_portile>=0.6.0<0.7:../../misc/ruby-mini_portile
USE_GCC_RUNTIME= yes
USE_TOOLS+= pkg-config
MAKE_ENV+= NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
-OVERRIDE_GEMSPEC= :files ports/archives/libxml2-2.8.0.tar.gz= \
- ports/archives/libxslt-1.1.26.tar.gz=
+RUBYGEM_OPTIONS+= --format-executable
+OVERRIDE_GEMSPEC= :files ports/archives/libxml2-2.9.2.tar.gz= \
+ ports/archives/libxslt-1.1.28.tar.gz=
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
diff --git a/textproc/ruby-nokogiri/PLIST b/textproc/ruby-nokogiri/PLIST
index a8aa558ca7b..f345d96a8b7 100644
--- a/textproc/ruby-nokogiri/PLIST
+++ b/textproc/ruby-nokogiri/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.14 2015/03/08 15:17:21 taca Exp $
-bin/nokogiri
+@comment $NetBSD: PLIST,v 1.15 2015/11/18 16:04:50 taca Exp $
+bin/nokogiri${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
${GEM_EXTSDIR}/nokogiri/nokogiri.${RUBY_DLEXT}
@@ -157,6 +157,12 @@ ${GEM_LIBDIR}/lib/nokogiri/xslt/stylesheet.rb
${GEM_LIBDIR}/lib/xsd/xmlparser/nokogiri.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/libxml2/0003-Stop-parsing-on-entities-boundaries-errors.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0004-Cleanup-conditional-section-error-handling.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0006-Another-variation-of-overflow-in-Conditional-section.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
+${GEM_LIBDIR}/ports/patches/libxml2/0008-CVE-2015-8035-Fix-XZ-compression-support-loop.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
@@ -169,6 +175,7 @@ ${GEM_LIBDIR}/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-
${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/libxslt/0016-Fix-for-type-confusion-in-preprocessing-attributes.patch
${GEM_LIBDIR}/ports/patches/sort-patches-by-date
${GEM_LIBDIR}/suppressions/README.txt
${GEM_LIBDIR}/suppressions/nokogiri_ree-1.8.7.358.supp
diff --git a/textproc/ruby-nokogiri/distinfo b/textproc/ruby-nokogiri/distinfo
index 2d9dbd24d9b..f3251cef072 100644
--- a/textproc/ruby-nokogiri/distinfo
+++ b/textproc/ruby-nokogiri/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2015/11/04 02:00:09 agc Exp $
+$NetBSD: distinfo,v 1.17 2015/11/18 16:04:50 taca Exp $
-SHA1 (nokogiri-1.6.6.2.gem) = d05f23c90be242d7e1bff447874e75207c36a207
-RMD160 (nokogiri-1.6.6.2.gem) = b3f4a8b9fc15b660197b45b22826ee8b3d33ab7e
-SHA512 (nokogiri-1.6.6.2.gem) = bb0422878e690648ab154c7d1ab0bd4fd9ec0875b2f0be0292ba9cb5541ea33b770794a7ba411e603a06472af4f9a3337ec8ff5d74debd826fc63f1d3ab1d5f1
-Size (nokogiri-1.6.6.2.gem) = 9249280 bytes
+SHA1 (nokogiri-1.6.6.3.gem) = 79e867613526498473d83d43fb4a0494786d464a
+RMD160 (nokogiri-1.6.6.3.gem) = 37cf70f050c121835ee5a6505f32af97c264fede
+SHA512 (nokogiri-1.6.6.3.gem) = b6b268f2819040a76643a59dae0df7fd0fff773c12093f9a6c9c0115855e9ffa0d2c4c4960c8548e314b7a500557b07e1dfc307d907f7342c4038fe80a46f6c1
+Size (nokogiri-1.6.6.3.gem) = 9253888 bytes