From d78854fc37e6318618a1629c65843daaac89ebc7 Mon Sep 17 00:00:00 2001 From: Tiziano Müller Date: Sun, 9 Oct 2011 07:21:16 +0000 Subject: Dropped vulnerable versions (bug #386359). Package-Manager: portage-2.1.10.15/cvs/Linux x86_64 --- dev-libs/xml-security-c/ChangeLog | 7 +- dev-libs/xml-security-c/Manifest | 12 +- .../files/1.5.1-parallel_build.patch | 21 ---- .../files/1.5.1-xalan-c-1.11-compat.patch | 122 --------------------- .../xml-security-c/xml-security-c-1.5.1.ebuild | 48 -------- 5 files changed, 10 insertions(+), 200 deletions(-) delete mode 100644 dev-libs/xml-security-c/files/1.5.1-parallel_build.patch delete mode 100644 dev-libs/xml-security-c/files/1.5.1-xalan-c-1.11-compat.patch delete mode 100644 dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild diff --git a/dev-libs/xml-security-c/ChangeLog b/dev-libs/xml-security-c/ChangeLog index f1ab44448584..4f09f3c37da2 100644 --- a/dev-libs/xml-security-c/ChangeLog +++ b/dev-libs/xml-security-c/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/xml-security-c # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xml-security-c/ChangeLog,v 1.3 2011/08/04 13:53:11 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xml-security-c/ChangeLog,v 1.4 2011/10/09 07:21:16 dev-zero Exp $ + + 09 Oct 2011; Tiziano Müller + -files/1.5.1-parallel_build.patch, -xml-security-c-1.5.1.ebuild, + -files/1.5.1-xalan-c-1.11-compat.patch: + Dropped vulnerable versions (bug #386359). *xml-security-c-1.6.1 (04 Aug 2011) diff --git a/dev-libs/xml-security-c/Manifest b/dev-libs/xml-security-c/Manifest index d31af618fc70..27e7c0b66443 100644 --- a/dev-libs/xml-security-c/Manifest +++ b/dev-libs/xml-security-c/Manifest @@ -1,19 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 1.5.1-parallel_build.patch 631 RMD160 e42186615618834a43674e71abb309d46a5ad0e7 SHA1 7d49e2b1725c0ed44e2f61743af1ee720c4ce4c2 SHA256 5985d4b938482cc6ae77c7bc172629c8db19d52af3891fae3db57d3668aba8e7 -AUX 1.5.1-xalan-c-1.11-compat.patch 4253 RMD160 7de24ada79101939d358d61a2678cfd4acb25b83 SHA1 891f87019832759168fb34231b4045f03b410ae3 SHA256 0d831873096732a83ad0f6d8adcce2f14e9d08c3a89c9932680f4aa5066f2853 AUX 1.6.1-nss-compilation-fix.patch 498 RMD160 10706821ae4ba01b954b33b7babc772e7a033b6d SHA1 de576accf51ba4b13b5852b8db3a3d976eb90085 SHA256 5873240498e46d2372737829321b7b1b4615abbceeb756264ac9e63c2a556563 -DIST xml-security-c-1.5.1.tar.gz 957928 RMD160 eadeb25398d6a0fa6cd22d531470bc1dea1632d3 SHA1 e51d3dca7f32cfcc2090d4d20cf8a1d032d95d79 SHA256 f31d7efbc1a2d708e82fb7237dca29e4e5552d8a4ca510cfe94c9998055b801f DIST xml-security-c-1.6.1.tar.gz 864366 RMD160 02c2e21a8ed2b3eab56b2b0635bc6513116c32b2 SHA1 239304659752eb214f3516b6c457c99f0e6467c7 SHA256 73931a55d6925a82416ea48f8d6f1b8ed591368e1dfc30574fe43904b7c62fcd -EBUILD xml-security-c-1.5.1.ebuild 1105 RMD160 88f18c56c6bbc2a0e998915ba757474913b1636d SHA1 04c20f8a18b0eaebaa6c43ea06ae072e23e5dff7 SHA256 07baa59909cdc2f2ca899ed0be0d5a45927bd97b9318c00d4d25885afa457ed4 EBUILD xml-security-c-1.6.1.ebuild 1030 RMD160 663cf7c98f9df29a14625af7fb5201cd64dae5ee SHA1 8e9cd2dc65d80a7edabf24dc7b05b4028396b27e SHA256 f3edaf8b991180d3fd07973f3c742adf668df8b4b492e927ed3ffca3c0e14239 -MISC ChangeLog 1882 RMD160 91fa2346f13beaa673f9a3bcedd0d2fdf595e6f1 SHA1 03fe02186bec4a078dbf6ee994a65dcfb4952a4c SHA256 290ca95978d5622e60fd75ab5c69e413fe808cc3f90aa2ceb1eaf1a97cbe90ef +MISC ChangeLog 2090 RMD160 038118e7436257d516e54d012076e161c78d0e28 SHA1 b807185ded6bcf32dcdf7b81144875a978fead32 SHA256 b9965301f499c6288136a7ac26f138fe87913af1e30790520f53580e65e78213 MISC metadata.xml 391 RMD160 5aea4681b8f8421c3b99d28ec41b57f54d01f5aa SHA1 169e0e387fdb510de866177c13f75b821829b596 SHA256 a77b6a698fa553427ead9110d5c332264873c202ab92b6e9e25ea5288c312b4a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk46o+UACgkQGwVqY66cHjDcoACghC/H8vHFv4OR3xYss0+bz6om -NNEAmQHkNdIvxdyIMydLgffym35CF68I -=ZWwc +iEYEARECAAYFAk6RSt8ACgkQGwVqY66cHjCdaACfUzIkfqNE1c//kuMxwItGplXY +PeUAnix3vSMG/DQB7YvpsQT3DHVv1Mz4 +=cbQe -----END PGP SIGNATURE----- diff --git a/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch b/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch deleted file mode 100644 index 57109f978613..000000000000 --- a/dev-libs/xml-security-c/files/1.5.1-parallel_build.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur xml-security-c-1.5.0_pre20090310.orig/include/Makefile.am xml-security-c-1.5.0_pre20090310/include/Makefile.am ---- xml-security-c-1.5.0_pre20090310.orig/include/Makefile.am 2009-03-10 08:23:06.552988680 +0100 -+++ xml-security-c-1.5.0_pre20090310/include/Makefile.am 2009-03-10 08:24:06.360010865 +0100 -@@ -14,7 +14,7 @@ - # limitations under the License. - # - --BUILT_SOURCES = xsec ${lib_includes} -+BUILT_SOURCES = ${lib_includes} - nobase_include_HEADERS = ${lib_includes} - - lib_includes = -@@ -213,7 +213,7 @@ - - SUFFIXES = .hpp - --xsec/%.hpp: ../src/%.hpp -+xsec/%.hpp: xsec ../src/%.hpp - cp ../src/$*.hpp $@ - - xsec: diff --git a/dev-libs/xml-security-c/files/1.5.1-xalan-c-1.11-compat.patch b/dev-libs/xml-security-c/files/1.5.1-xalan-c-1.11-compat.patch deleted file mode 100644 index b5d142415845..000000000000 --- a/dev-libs/xml-security-c/files/1.5.1-xalan-c-1.11-compat.patch +++ /dev/null @@ -1,122 +0,0 @@ -diff -Naur xml-security-c-1.5.1.orig/src/canon/XSECC14n20010315.cpp xml-security-c-1.5.1/src/canon/XSECC14n20010315.cpp ---- xml-security-c-1.5.1.orig/src/canon/XSECC14n20010315.cpp 2009-07-27 09:23:51.228693118 +0200 -+++ xml-security-c-1.5.1/src/canon/XSECC14n20010315.cpp 2009-07-27 11:37:12.697101082 +0200 -@@ -36,6 +36,7 @@ - // Xerces includes - #include - #include -+#include - - XERCES_CPP_NAMESPACE_USE - -@@ -61,7 +62,7 @@ - XALAN_USING_XALAN(NodeRefList) - XALAN_USING_XALAN(XercesDocumentWrapper) - XALAN_USING_XALAN(XercesWrapperNavigator) -- -+XALAN_USING_XALAN(c_wstr) - - #endif - -@@ -450,21 +451,27 @@ - - // We use Xalan to process the Xerces DOM tree and get the XPath nodes - -+#if XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR > 10 -+ XercesParserLiaison theParserLiaison; -+ XercesDOMSupport theDOMSupport(theParserLiaison); -+#else - XercesDOMSupport theDOMSupport; - #if defined XSEC_XERCESPARSERLIAISON_REQS_DOMSUPPORT - XercesParserLiaison theParserLiaison(theDOMSupport); - #else - XercesParserLiaison theParserLiaison; - #endif -+#endif // XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR > 10 - - if (mp_doc == 0) { - throw XSECException(XSECException::UnsupportedFunction, - "XPath selection only supported in C14n for full documents"); - } -- XalanDocument* theDoc = theParserLiaison.createDocument(mp_doc); - -- XalanElement * xe = theDoc->createElement(XalanDOMString("ns")); -- xe->setAttribute(/*XalanDOMString(""), */XalanDOMString("xmlns:ietf"), XalanDOMString("http://www.ietf.org")); -+ DOMElement* theXercesNode = mp_doc->createElement(c_wstr(XalanDOMString("ns"))); -+ theXercesNode->setAttribute(c_wstr(XalanDOMString("xmlns:ietf")), c_wstr(XalanDOMString("http://www.ietf.org"))); -+ -+ XalanDocument* theDoc = theParserLiaison.createDocument(mp_doc); - - // Set up the XPath evaluator - -@@ -505,7 +512,7 @@ - theDOMSupport, - theContextNode, - expr, -- xe)); -+ theDoc->getElementById(XalanDOMString("ns")))); - - #else - -@@ -514,7 +521,7 @@ - theDOMSupport, - theContextNode, - expr, -- xe)); -+ theDoc->getElementById(XalanDOMString("ns")))); - //theDoc->getDocumentElement())); - #endif - -diff -Naur xml-security-c-1.5.1.orig/src/transformers/TXFMXPath.cpp xml-security-c-1.5.1/src/transformers/TXFMXPath.cpp ---- xml-security-c-1.5.1.orig/src/transformers/TXFMXPath.cpp 2009-07-27 09:23:51.254551633 +0200 -+++ xml-security-c-1.5.1/src/transformers/TXFMXPath.cpp 2009-07-27 11:40:30.923733630 +0200 -@@ -283,8 +283,12 @@ - setXPathNS(document, XPathAtts, addedNodes, formatter, mp_nse); - - XPathProcessorImpl xppi; // The processor -- XercesDOMSupport xds; - XercesParserLiaison xpl; -+#if XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR > 10 -+ XercesDOMSupport xds(xpl); -+#else -+ XercesDOMSupport xds; -+#endif - XPathEvaluator xpe; - XPathFactoryDefault xpf; - XPathConstructionContextDefault xpcc; -diff -Naur xml-security-c-1.5.1.orig/src/transformers/TXFMXPathFilter.cpp xml-security-c-1.5.1/src/transformers/TXFMXPathFilter.cpp ---- xml-security-c-1.5.1.orig/src/transformers/TXFMXPathFilter.cpp 2009-07-27 09:23:51.254551633 +0200 -+++ xml-security-c-1.5.1/src/transformers/TXFMXPathFilter.cpp 2009-07-27 11:39:11.073713584 +0200 -@@ -183,8 +183,12 @@ - setXPathNS(document, expr->mp_NSMap, addedNodes, mp_formatter, mp_nse); - - XPathProcessorImpl xppi; // The processor -- XercesDOMSupport xds; - XercesParserLiaison xpl; -+#if XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR > 10 -+ XercesDOMSupport xds(xpl); -+#else -+ XercesDOMSupport xds; -+#endif - XPathEvaluator xpe; - XPathFactoryDefault xpf; - XPathConstructionContextDefault xpcc; -diff -Naur xml-security-c-1.5.1.orig/src/transformers/TXFMXSL.cpp xml-security-c-1.5.1/src/transformers/TXFMXSL.cpp ---- xml-security-c-1.5.1.orig/src/transformers/TXFMXSL.cpp 2009-07-27 09:23:51.257885228 +0200 -+++ xml-security-c-1.5.1/src/transformers/TXFMXSL.cpp 2009-07-27 11:42:31.867031516 +0200 -@@ -102,11 +102,15 @@ - - TXFMXSL::TXFMXSL(DOMDocument *doc) : - TXFMBase(doc), -+#if XALAN_VERSION_MAJOR == 1 && XALAN_VERSION_MINOR > 10 -+xds(xpl) -+#else - #if defined XSEC_XERCESPARSERLIAISON_REQS_DOMSUPPORT - xpl(xds) - #else - xpl() - #endif -+#endif - { - - // Zeroise all the pointers diff --git a/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild b/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild deleted file mode 100644 index 1eacba471651..000000000000 --- a/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xml-security-c/xml-security-c-1.5.1.ebuild,v 1.2 2009/07/27 09:54:18 dev-zero Exp $ - -EAPI="2" - -inherit autotools eutils - -DESCRIPTION="Apache C++ XML security libraries." -HOMEPAGE="http://santuario.apache.org/" -SRC_URI="http://santuario.apache.org/dist/c-library/${P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug examples xalan" - -RDEPEND="dev-libs/xerces-c - xalan? ( dev-libs/xalan-c ) - dev-libs/openssl" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_prepare() { - epatch \ - "${FILESDIR}/${PV}-parallel_build.patch" \ - "${FILESDIR}/${PV}-xalan-c-1.11-compat.patch" - - # script checks for autoconf for no reason - sed -i \ - -e '/AUTOCONF/d' configure.ac || die "sed failed" - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_with xalan) -} - -src_install(){ - emake DESTDIR="${D}" install || die "emake failed" - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins src/samples/*.cpp - fi -} -- cgit v1.2.3-65-gdbad