debian/0000755000000000000000000000000012302376052007166 5ustar debian/libxml2-dev.install0000644000000000000000000000021512154654360012707 0ustar usr/bin/xml2-config usr/lib/*/libxml2.so usr/lib/*/libxml2.a usr/lib/*/xml2Conf.sh usr/share/aclocal usr/lib/*/pkgconfig usr/include/libxml2 debian/python-libxml2-dbg.lintian-overrides0000644000000000000000000000006312154654360016175 0ustar python-libxml2-dbg: hardening-no-fortify-functions debian/libxml2.symbols0000644000000000000000000001427712170545233012166 0ustar libxml2.so.2 libxml2 #MINVER# (symver|optional)LIBXML2_2.4.30 2.7.4 (symver|optional)LIBXML2_2.5.0 2.7.4 (symver|optional)LIBXML2_2.5.2 2.7.4 (symver|optional)LIBXML2_2.5.4 2.7.4 (symver|optional)LIBXML2_2.5.5 2.7.4 (symver|optional)LIBXML2_2.5.6 2.7.4 (symver|optional)LIBXML2_2.5.7 2.7.4 (symver|optional)LIBXML2_2.5.8 2.7.4 (symver|optional)LIBXML2_2.5.9 2.7.4 (symver|optional)LIBXML2_2.6.0 2.7.4 (symver|optional)LIBXML2_2.6.10 2.7.4 (symver|optional)LIBXML2_2.6.11 2.7.4 (symver|optional)LIBXML2_2.6.12 2.7.4 (symver|optional)LIBXML2_2.6.14 2.7.4 (symver|optional)LIBXML2_2.6.15 2.7.4 (symver|optional)LIBXML2_2.6.16 2.7.4 (symver|optional)LIBXML2_2.6.17 2.7.4 (symver|optional)LIBXML2_2.6.18 2.7.4 (symver|optional)LIBXML2_2.6.19 2.7.4 (symver|optional)LIBXML2_2.6.1 2.7.4 (symver|optional)LIBXML2_2.6.20 2.7.4 (symver|optional)LIBXML2_2.6.21 2.7.4 (symver|optional)LIBXML2_2.6.23 2.7.4 (symver|optional)LIBXML2_2.6.24 2.7.4 (symver|optional)LIBXML2_2.6.25 2.7.4 (symver|optional)LIBXML2_2.6.27 2.7.4 (symver|optional)LIBXML2_2.6.28 2.7.4 (symver|optional)LIBXML2_2.6.29 2.7.4 (symver|optional)LIBXML2_2.6.2 2.7.4 (symver|optional)LIBXML2_2.6.32 2.7.4 (symver|optional)LIBXML2_2.6.3 2.7.4 (symver|optional)LIBXML2_2.6.5 2.7.4 (symver|optional)LIBXML2_2.6.6 2.7.4 (symver|optional)LIBXML2_2.6.7 2.7.4 (symver|optional)LIBXML2_2.6.8 2.7.4 (symver|optional)LIBXML2_2.7.0 2.7.4 (symver|optional)LIBXML2_2.7.3 2.7.4 (symver|optional)LIBXML2_2.7.4 2.7.4 (symver|optional)LIBXML2_2.8.0 2.8.0 (symver|optional)LIBXML2_2.9.0 2.9.0 (symver|optional)LIBXML2_2.9.1 2.9.1 __docbDefaultSAXHandler@Base 2.6.27 __htmlDefaultSAXHandler@Base 2.6.27 __htmlParseContent@Base 2.6.27 __libxml2_xzclose@Base 2.8.0 __libxml2_xzdopen@Base 2.8.0 __libxml2_xzopen@Base 2.8.0 __libxml2_xzread@Base 2.8.0 __oldXMLWDcompatibility@Base 2.6.27 __xmlBufferAllocScheme@Base 2.6.27 __xmlDefaultBufferSize@Base 2.6.27 __xmlDefaultSAXHandler@Base 2.6.27 __xmlDefaultSAXLocator@Base 2.6.27 __xmlDeregisterNodeDefaultValue@Base 2.6.27 __xmlDoValidityCheckingDefaultValue@Base 2.6.27 __xmlErrEncoding@Base 2.6.27 __xmlGenericError@Base 2.6.27 __xmlGenericErrorContext@Base 2.6.27 __xmlGetWarningsDefaultValue@Base 2.6.27 __xmlGlobalInitMutexDestroy@Base 2.6.31 __xmlGlobalInitMutexLock@Base 2.6.28 __xmlGlobalInitMutexUnlock@Base 2.6.28 __xmlIOErr@Base 2.6.27 __xmlIndentTreeOutput@Base 2.6.27 __xmlInitializeDict@Base 2.9.1 __xmlKeepBlanksDefaultValue@Base 2.6.27 __xmlLastError@Base 2.6.27 __xmlLineNumbersDefaultValue@Base 2.6.27 __xmlLoadExtDtdDefaultValue@Base 2.6.27 __xmlLoaderErr@Base 2.6.27 __xmlOutputBufferCreateFilename@Base 2.6.27 __xmlOutputBufferCreateFilenameValue@Base 2.6.27 __xmlParserDebugEntities@Base 2.6.27 __xmlParserInputBufferCreateFilename@Base 2.6.27 __xmlParserInputBufferCreateFilenameValue@Base 2.6.27 __xmlParserVersion@Base 2.6.27 __xmlPedanticParserDefaultValue@Base 2.6.27 __xmlRaiseError@Base 2.6.27 __xmlRandom@Base 2.8.0 __xmlRegisterCallbacks@Base 2.6.27 __xmlRegisterNodeDefaultValue@Base 2.6.27 __xmlSaveNoEmptyTags@Base 2.6.27 __xmlSimpleError@Base 2.6.27 __xmlStructuredError@Base 2.6.27 __xmlStructuredErrorContext@Base 2.7.4 __xmlSubstituteEntitiesDefaultValue@Base 2.6.27 __xmlTreeIndentString@Base 2.6.27 compute_minrun@Base 2.9.0 htmlDecodeEntities@Base 2.6.27 libxml_domnode_binary_insertion_sort@Base 2.9.0 libxml_domnode_tim_sort@Base 2.9.0 xmlAllocOutputBufferInternal@Base 2.7.1 xmlAutomataSetFlags@Base 2.7.4 xmlBufAdd@Base 2.9.0 xmlBufAddHead@Base 2.9.0 xmlBufAddLen@Base 2.9.0 xmlBufAttrSerializeTxtContent@Base 2.9.0 xmlBufAvail@Base 2.9.0 xmlBufBackToBuffer@Base 2.9.0 xmlBufCCat@Base 2.9.0 xmlBufCat@Base 2.9.0 xmlBufContent@LIBXML2_2.9.0 2.9.0 xmlBufCreate@Base 2.9.0 xmlBufCreateSize@Base 2.9.0 xmlBufCreateStatic@Base 2.9.0 xmlBufDetach@Base 2.9.0 xmlBufDump@Base 2.9.0 xmlBufDumpAttributeDecl@Base 2.9.0 xmlBufDumpElementDecl@Base 2.9.0 xmlBufDumpEntityDecl@Base 2.9.0 xmlBufDumpNotationTable@Base 2.9.0 xmlBufEmpty@Base 2.9.0 xmlBufEnd@LIBXML2_2.9.0 2.9.0 xmlBufErase@Base 2.9.0 xmlBufFree@Base 2.9.0 xmlBufFromBuffer@Base 2.9.0 xmlBufGetAllocationScheme@Base 2.9.0 xmlBufGetInputBase@Base 2.9.0 xmlBufGetNodeContent@LIBXML2_2.9.0 2.9.0 xmlBufGrow@Base 2.9.0 xmlBufInflate@Base 2.9.0 xmlBufIsEmpty@Base 2.9.0 xmlBufLength@Base 2.9.0 xmlBufMergeBuffer@Base 2.9.0 xmlBufNodeDump@LIBXML2_2.9.0 2.9.0 xmlBufResetInput@Base 2.9.0 xmlBufResize@Base 2.9.0 xmlBufSetAllocationScheme@Base 2.9.0 xmlBufSetInputBaseCur@Base 2.9.0 xmlBufShrink@LIBXML2_2.9.0 2.9.0 xmlBufUse@LIBXML2_2.9.0 2.9.0 xmlBufWriteCHAR@Base 2.9.0 xmlBufWriteChar@Base 2.9.0 xmlBufWriteQuotedString@Base 2.9.0 xmlBufferDetach@LIBXML2_2.8.0 2.8.0 xmlBuildRelativeURI@LIBXML2_2.6.11 2.8.0 xmlCharEncFirstLineInput@Base 2.9.0 xmlCharEncFirstLineInt@Base 2.7.4 xmlCharEncInput@Base 2.9.0 xmlCharEncOutput@Base 2.9.0 xmlDictGetUsage@LIBXML2_2.9.0 2.9.0 xmlDictSetLimit@LIBXML2_2.9.0 2.9.0 xmlEncodeAttributeEntities@Base 2.9.0 xmlGenericErrorDefaultFunc@Base 2.6.27 xmlInitializeDict@LIBXML2_2.8.0 2.8.0 xmlMallocBreakpoint@Base 2.6.27 xmlNop@Base 2.9.1 xmlNsListDumpOutput@Base 2.6.27 xmlOutputBufferCreateFilenameDefault@LIBXML2_2.6.11 2.8.0 xmlOutputBufferCreateFilenameValue@LIBXML2_2.6.11 2.8.0 xmlOutputBufferGetContent@LIBXML2_2.9.0 2.9.0 xmlOutputBufferGetSize@LIBXML2_2.9.0 2.9.0 xmlParserInputBufferCreateFilenameDefault@LIBXML2_2.6.11 2.8.0 xmlParserInputBufferCreateFilenameValue@LIBXML2_2.6.11 2.8.0 xmlSchemaCollapseString@LIBXML2_2.6.11 2.8.0 xmlSchemaFreeWildcard@LIBXML2_2.6.11 2.8.0 xmlSchemaGetBuiltInListSimpleTypeItemType@LIBXML2_2.6.11 2.8.0 xmlSchemaGetBuiltInType@LIBXML2_2.6.11 2.8.0 xmlSchemaIsBuiltInTypeFacet@LIBXML2_2.6.11 2.8.0 xmlSchemaValidateListSimpleTypeFacet@LIBXML2_2.6.11 2.8.0 xmlSchemaValidateSetFilename@LIBXML2_2.9.0 2.9.0 xmlSchemaValidateSetLocator@LIBXML2_2.9.0 2.9.0 xmlTextWriterSetQuoteChar@LIBXML2_2.9.0 2.9.0 xmlThrDefOutputBufferCreateFilenameDefault@LIBXML2_2.6.11 2.8.0 xmlThrDefParserInputBufferCreateFilenameDefault@LIBXML2_2.6.11 2.8.0 xmlTextReaderRelaxNGValidateCtxt@LIBXML2_2.8.0 xmlUpgradeOldNs@Base 2.6.27 xmlXPathNodeEval@LIBXML2_2.9.1 2.9.1 xmlXPathSetContextNode@LIBXML2_2.9.1 2.9.1 xmlXPtrAdvanceNode@Base 2.6.27 debian/python-libxml2.examples0000644000000000000000000000004512154654360013623 0ustar python/tests/*.py python/tests/*.xml debian/libxml2-dbg.preinst0000644000000000000000000000020612154654360012703 0ustar #!/bin/sh set -e [ "$1" = "upgrade" ] && [ -L /usr/share/doc/libxml2-dbg ] && rm -f /usr/share/doc/libxml2-dbg #DEBHELPER# exit 0 debian/copyright0000644000000000000000000001177712154654360011144 0ustar This package was debianized by Vincent Renardias on Sat, 26 Sep 1998 16:50:54 +0200 It was downloaded from ftp://xmlsoft.org/libxml2/ ========================== Except where otherwise noted in the source code (trio files, hash.c and list.c) covered by a similar licence but with different Copyright notices: Copyright (C) 1998-2002 Daniel Veillard. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Daniel Veillard shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. ========================== trio.c, trio.h: Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. ========================== triop.h: Copyright (C) 2000 Bjorn Reese and Daniel Stenberg. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. ========================== hash.c: Copyright (C) 2000 Bjorn Reese and Daniel Veillard. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. ========================== list.c: Copyright (C) 2000 Gary Pennington and Daniel Veillard. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. ========================== triodef.h, trionan.c, trionan.h: Copyright (C) 2001 Bjorn Reese Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. ========================== triostr.c, triostr.h: Copyright (C) 2001 Bjorn Reese and Daniel Stenberg. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. debian/libxml2.install0000644000000000000000000000002712154654360012134 0ustar usr/lib/*/libxml2.so.* debian/python-libxml2-dbg.install0000644000000000000000000000004012154654360014200 0ustar usr/lib/python*/*-packages/*.so debian/libxml2-doc.install0000644000000000000000000000005412154654360012677 0ustar usr/share/doc/libxml2-doc usr/share/gtk-doc debian/changelog0000644000000000000000000017164012302376052011051 0ustar libxml2 (2.9.1+dfsg1-3ubuntu4) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:48:26 +0000 libxml2 (2.9.1+dfsg1-3ubuntu3) trusty; urgency=low * Actually run dh_autoreconf, which the old/new mixed rules file misses. -- Adam Conrad Sun, 08 Dec 2013 02:23:52 -0700 libxml2 (2.9.1+dfsg1-3ubuntu2) saucy; urgency=low [ Tim Galeckas ] * Fix SIGSEGV when --pretty is specified. LP: #923691 -- Dmitrijs Ledkovs Thu, 22 Aug 2013 21:34:37 +0100 libxml2 (2.9.1+dfsg1-3ubuntu1) saucy; urgency=low * Merge with Debian; remaining changes: - Fix python multi-arch includes issues. - Allow the package to cross-build. - Set PYTHON_LIBS for cross builds. - Remove explicit build dependency on binutils. - Configure the udeb --without-python. -- Matthias Klose Sat, 17 Aug 2013 10:43:21 +0200 libxml2 (2.9.1+dfsg1-3) unstable; urgency=low * debian/patches/0007-Fix-XPath-optimization-with-predicates.patch: - Upstream patch to fix XPath evaluation issue. (Closes: #713146) -- Aron Xu Mon, 05 Aug 2013 11:02:43 +0800 libxml2 (2.9.1+dfsg1-2ubuntu1) saucy; urgency=low * Merged from Debian unstable. Remaining changes: - Fix python multi-arch includes issues. - Allow the package to cross-build. - Set PYTHON_LIBS for cross builds. - Remove explicit build dependency on binutils. - Configure the udeb --without-python. * Dropped patches: - CVE-2013-0338.patch: upstream - CVE-2013-1969.patch: upstream -- Marc Deslauriers Thu, 11 Jul 2013 09:31:50 -0400 libxml2 (2.9.1+dfsg1-2) unstable; urgency=low * Upload to unstable. * debian/patches/000[2-6]-*.patch: - cherry-picking upstream post-release fixes. -- Aron Xu Mon, 17 Jun 2013 23:24:07 +0800 libxml2 (2.9.1+dfsg1-1) experimental; urgency=low * New upstream release (Closes: #696300, #705722). * Add -llzma for static linking (Closes: #697382). * Update symbols. * Update debian/watch, thanks to Bart Martens. * Use canonical Vcs-* fields. * Mark python-libxml2-dbg as "Multi-Arch: same". -- Aron Xu Sun, 09 Jun 2013 00:34:16 +0800 libxml2 (2.9.0+dfsg1-4ubuntu5) saucy; urgency=low * SECURITY UPDATE: multiple use after free issues - debian/patches/CVE-2013-1969.patch: properly reset pointers in HTMLparser.c, parser.c. - CVE-2013-1969 -- Marc Deslauriers Tue, 07 May 2013 08:28:15 -0400 libxml2 (2.9.0+dfsg1-4ubuntu4) raring; urgency=low * SECURITY UPDATE: denial of service via entity expansion - debian/patches/CVE-2013-0338.patch: limit number of entity expansions in include/libxml/parser.h, parser.c, parserInternals.c. - CVE-2013-0338 -- Marc Deslauriers Tue, 26 Mar 2013 10:04:58 -0400 libxml2 (2.9.0+dfsg1-4ubuntu3) raring; urgency=low * Set PYTHON_LIBS for cross builds. * Remove explicit build dependency on binutils. * Configure the udeb --without-python. -- Matthias Klose Thu, 07 Mar 2013 17:03:45 +0800 libxml2 (2.9.0+dfsg1-4ubuntu2) raring; urgency=low * Allow the package to cross-build. -- Matthias Klose Thu, 07 Mar 2013 15:46:38 +0800 libxml2 (2.9.0+dfsg1-4ubuntu1) raring; urgency=low * Fix python multi-arch includes issues. -- Chris J Arges Fri, 11 Jan 2013 13:10:08 -0600 libxml2 (2.9.0+dfsg1-4) experimental; urgency=low [ Daniel Veillard ] * Fix potential out of bound access CVE-2012-5134, Closes: #694521. -- Aron Xu Wed, 28 Nov 2012 22:34:15 +0800 libxml2 (2.9.0+dfsg1-3) experimental; urgency=low [ Aron Xu ] * Remove -L/usr/lib from xml2-config, advise to use pkg-config in man, and add pkg-config to Suggests. (Closes: #689168) [ YunQiang Su ] * Fix python-libxml2 undefined symbol (Closes: #689191) [ Daniel Holbach ] * Add simple autopkgtest to the package (Closes: #690047) -- Aron Xu Sun, 28 Oct 2012 03:59:43 +0800 libxml2 (2.9.0+dfsg1-2) experimental; urgency=low * Fix a thread portability problem by cherry-picking upstream patch (Closes: #688473). -- Aron Xu Sun, 23 Sep 2012 16:50:12 +0800 libxml2 (2.9.0+dfsg1-1) experimental; urgency=low * New upstream release. * Remove old patches applied upstream, cherry-pick one upstream post release patch. * Update symbols. * Update std-ver 3.9.3 -> 3.9.4, no change required. -- Aron Xu Fri, 21 Sep 2012 00:21:42 +0800 libxml2 (2.8.0+dfsg1-5) unstable; urgency=low [ Daniel Veillard ] * Fix parser local buffers size problems * Fix entities local buffers size problems CVE-2012-2807, Closes: #679280. -- Aron Xu Thu, 19 Jul 2012 17:11:09 +0800 libxml2 (2.8.0+dfsg1-4) unstable; urgency=low * Sanitize the output of `xml2-config --libs`. -- Aron Xu Thu, 19 Jul 2012 17:10:06 +0800 libxml2 (2.8.0+dfsg1-3) unstable; urgency=low * Remove odd output of xml2-config --libs (Closes: #675682). * Mark libxml2-dev "M-A: same" again, fixed xml2-config (Closes: #674474). -- Aron Xu Tue, 05 Jun 2012 01:44:14 +0800 libxml2 (2.8.0+dfsg1-2) unstable; urgency=low * debian/control: - Remove "M-A: same" from libxml2-dev (Closes: #674474). - Add "M-A: foreign" to libxml2-doc. * debian/rules: - Style change on calling dh using --with. - Enable all hardening features. - The sed command for removing DEB_HOST_MULTIARCH is not reverted because it's generally a good idea to avoid it here. * lintian-overrides: - libxml2: package-name-doesnt-match-sonames - python-libxml2-dbg: hardening-no-fortify-functions -- Aron Xu Sat, 02 Jun 2012 15:09:37 +0800 libxml2 (2.8.0+dfsg1-1) unstable; urgency=low * New upstream release. (Closes: #148220, #590934) * Adjust changelog of previous NMU (Closes: #674739). * Try to avoid useless space in /usr/bin/xml-config (Closes: #674474). -- Aron Xu Fri, 25 May 2012 04:06:35 +0000 libxml2 (2.7.8.dfsg-9.1) unstable; urgency=high * Non-maintainer upload by the Security Team. * Fix CVE-2011-3102: off by one pointer access in xpointer.c (Closes: #674191). -- Michael Gilbert Wed, 23 May 2012 13:48:52 -0400 libxml2 (2.7.8.dfsg-9) unstable; urgency=low * Multi-Arch ready. (Closes: #643026) - M-A:same packages are libxml2, libxml2-dev and libxml2-dbg. - M-A:foreign package is libxml2-utils, others are not M-A. - Library files in udeb are still placed under usr/lib directly. * New binary: libxml2-utils-dbg. Move debuggings symbols of libxml2-utils binaries to another package in favor of marking libxml2-dbg as M-A: same. Descriptions of related binary packages are slightly modified. * Enable hardening for Python modules. (Closes: #664107) * Add support for build-arch and build target, essentially make the package not FTBFS anymore. (Closes: #668672) * Use dh compat 9. Not hardcoding libdir in debian/rules. * Port to source format 3.0 to ease future maintenance of patches. - Old patches are stored in 01_historical_changes.patch - Do not patch Makefile.in directly, use dh_autoreconf with patches to configure.in and Makefile.am instead. This will not actually make bootstraping a new architecture more difficult since we already have gettext and autoconf in deep B-D, porters need to break it anyway. - Store doc/examples/index.html in patch to avoid ciculate B-D with xsltproc, we should not B-D on it. * debian/*.dirs: removed, useless. -- Aron Xu Sun, 22 Apr 2012 00:16:37 +0800 libxml2 (2.7.8.dfsg-8) unstable; urgency=high * New maintainer (Closes: #654176). * Apply upstream patch to add randomization to hashing with large dictionaries to mitigate hash DoS (CVE-2012-0841; Closes: #660846) * Bump std-ver to 3.9.3, no change needed. -- Aron Xu Thu, 12 Apr 2012 09:19:04 +0800 libxml2 (2.7.8.dfsg-7) unstable; urgency=low * Team upload. * parser.c: Fix an allocation error when copying entities. CVE-2011-3919. Closes: #656377. -- Andrew O. Shadura Fri, 20 Jan 2012 12:54:41 +0300 libxml2 (2.7.8.dfsg-6) unstable; urgency=low * Team upload. * Enabled hardened build flags (Closes: #654903). * error.c: Fix __xmlRaiseError (Closes: #622358). -- Andrew O. Shadura Thu, 12 Jan 2012 00:57:32 +0300 libxml2 (2.7.8.dfsg-5.1) unstable; urgency=high * Non-maintainer upload. * encoding.c: Fix off by one error. CVE-2011-0216. * parser.c: Make sure parser returns when getting a Stop order. CVE-2011-3905. * Both closes: #652352. -- Luk Claes Fri, 30 Dec 2011 18:31:13 +0100 libxml2 (2.7.8.dfsg-5) unstable; urgency=low * xpath.c, xpointer.c, include/libxml/xpath.h: Hardening of XPath evaluation. CVE-2011-2821. * xpath.c: Fix for undefined namespaces. CVE-2011-2834. * Both closes: #643648. -- Mike Hommey Fri, 07 Oct 2011 09:31:14 +0200 libxml2 (2.7.8.dfsg-4) unstable; urgency=low * debian/rules: Add --with python2 to dh call. * debian/control: - Remove build dependency on python-support. - Build depend on python-all-dev >= 2.6.6-3~. - Remove XB-Python-Version header. - Bump Standards-Version to 3.9.2.0. No changes required. * debian/pycompat: Removed. With the above changes, closes: #631416. Thanks Colin Watson. -- Mike Hommey Fri, 29 Jul 2011 12:33:08 +0200 libxml2 (2.7.8.dfsg-3) unstable; urgency=low * xpath.c: Fix some potential problems on reallocation failures. Closes: #628537. -- Mike Hommey Sat, 04 Jun 2011 10:40:39 +0900 libxml2 (2.7.8.dfsg-2) unstable; urgency=low * xpath.c: Fix a double-freeing error in XPath processing code. (CVE-2010-4494). Closes: #607922. -- Mike Hommey Sat, 25 Dec 2010 10:48:27 +0100 libxml2 (2.7.8.dfsg-1) unstable; urgency=low * New upstream release. * configure.in: Applied upstream fix to reactivate symbol versioning script. -- Mike Hommey Fri, 05 Nov 2010 08:23:58 +0100 libxml2 (2.7.7.dfsg-4) unstable; urgency=low * debian/rules: - Use a variable to express which sub-targets to invoke for configure/build/install. - Refactor configure-% and build-% rules. - Avoid possible renaming of _d.so files to _d_d.so files in the install-python%-dbg rules. * debian/control, debian/control.udeb, debian/libxml2-udeb.install, debian/rules: Add an udeb package when building for Ubuntu. Closes: #583767. * debian/control: - Remove old Conflicts/Replaces for packages that have disappeared before etch. - Bump Standards-Version to 3.9.0.0. -- Mike Hommey Tue, 29 Jun 2010 12:42:35 +0200 libxml2 (2.7.7.dfsg-3) unstable; urgency=low * debian/rules: Use build_python* instead of build-python* as build directory when configuring python modules. build-python$* would get matched by make as an existing file and would prevent evaluation of the corresponding build rule. Thanks Loïc Minier. * debian/python-libxml2.install: Don't hardcode site-/dist-packages in .install. Cope with builds which don't have any dist-packages (or site-packages) based python versions. Thanks Loïc Minier. * debian/rules, debian/python-libxml2-dbg.install, debian/control: Add a python-libxml2-dbg package. Closes: #583582. * debian/rules: Don't link against libpython. * python-libxml2-dbg.preinst: Remove /usr/share/doc/python-libxml2-dbg symlink when it exists (which is the case with older Ubuntu packages). -- Mike Hommey Wed, 23 Jun 2010 18:52:51 +0200 libxml2 (2.7.7.dfsg-2) unstable; urgency=low * debian/libxml2-dbg.preinst, debian/libxml2-dev.preinst, debian/libxml2-utils.preinst: Remove /usr/share/doc symbolic links on upgrade. They will then be replaced by directories by dpkg. Closes: #577025. -- Mike Hommey Fri, 09 Apr 2010 10:21:02 +0200 libxml2 (2.7.7.dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.8.4.0. + Depend on a version of debhelper that provides dh and supports overrides. * debian/compat: Bump to 7. * debian/rules: + Don't avoid to build in example/. There is no reason to do so anymore. + Remove remains of WORKAROUND_MODIFIED_FILES, that was removed 2 years ago. + Change the way python libs are built. We now use configure to set different environment with and without python, and arrange things so that we don't have to build the base libxml2 library several times. + Deduplicate in /usr/lib/pyshared, not /usr/lib/python-support/python-libxml2. + Remove old source and diff rules that only displayed a message inviting to use dpkg-source -b. + Force -Wl,--as-needed at the beginning of the gcc command line. + Simplify rules by switching to dh. + Don't refresh COPYING during clean target, it appears not to be necessary anymore. + Use a common cache for main and python configure passes. * debian/python-libxml2.install: Install python files from /usr/lib/python*/dist-packages. * python/generator.py: Sort python generated stubs so that libxml2.py doesn't differ between python 2.5 and 2.6. * doc/devhelp/Makefile.{am,in}: Properly install devhelp files when builddir != srcdir. -- Mike Hommey Sun, 21 Mar 2010 09:51:17 +0100 libxml2 (2.7.6.dfsg-2) unstable; urgency=low * Cherry-picks from upstream git: + globals.c: fix the initialization of the mutex. + xmlIO.c: remove an abuse of zlib API and use a clean interface available in zlib >= 1.2.3. Closes: #565683, #565823. * debian/control: + Put libreadline-dev before libreadline5-dev in Build-Deps. Closes: #553803. + Add misc:Depends dependencies where they are missing. -- Mike Hommey Tue, 19 Jan 2010 18:41:49 +0100 libxml2 (2.7.6.dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.8.3.0. + Set libxml2 package priority to standard to match override. -- Mike Hommey Sat, 10 Oct 2009 23:55:41 +0200 libxml2 (2.7.5.dfsg-1) unstable; urgency=low * New upstream release. + Fixed a RelaxNG bug introduced in 2.7.4. Closes: #546442. -- Mike Hommey Fri, 25 Sep 2009 22:28:53 +0200 libxml2 (2.7.4.dfsg-2) unstable; urgency=low * debian/libxml2.symbols: Force binaries that use versioned symbols to depend on version 2.7.4 at least. * parser.c: Fix a parsing problem with little data at startup. Cherry-picked from upstream git. Closes: #546254, #546488. -- Mike Hommey Wed, 16 Sep 2009 00:12:50 +0200 libxml2 (2.7.4.dfsg-1) unstable; urgency=low * New upstream release. * Revert old change to entities.c. * debian/copyright: Change upstream url. Closes: #541082. * debian/libxml2.symbols: Change symbols file to use newly introduced symbol versioning * debian/rules: bump shlibs to current version. -- Mike Hommey Thu, 10 Sep 2009 23:04:35 +0200 libxml2 (2.7.3.dfsg-2.1) unstable; urgency=high * Non-maintainer upload by the Security Team (Closes: #540865). * Fix multiple use-after-free flaws when parsing notation and enumeration attribute types (CVE-2009-2416). * Fix stack overflow when parsing root XML document element DTD definition (CVE-2009-2414). -- Nico Golde Sun, 16 Aug 2009 17:45:17 +0200 libxml2 (2.7.3.dfsg-2) unstable; urgency=low * debian/no-upstream-changelog: Removed. * debian/rules: Don't use symlinks in /usr/share/doc anymore, and only install the upstream changelog in the libxml2 package. Considering its size, we don't need it everywhere. Closes: #496959. * include/libxml/*.h: change ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name. Cherry-pick upstream f076f34. Closes: #521994. * error.c: fix structured error handling problems. Cherry-pick upstream 719f397. Closes: #522669. * debian/control: + Change libxml2-dbg's section to "debug". + Bump Standards-Version to 3.8.2.0. + Add Homepage, Vcs-Git and Vcs-Browser fields. -- Mike Hommey Mon, 13 Jul 2009 08:56:37 +0200 libxml2 (2.7.3.dfsg-1) unstable; urgency=low * New upstream release. * parser.c: Remove useless nbParse* variables and avoid exporting them as symbols. * debian/libxml2.symbols: Reference the new symbols. * debian/rules: bump shlibs to current version. -- Mike Hommey Sun, 01 Mar 2009 11:57:55 +0100 libxml2 (2.6.32.dfsg-5) unstable; urgency=high * parserInternals.c: apply patch from upstream revision 3741 to avoid double-free in some situations. This fixes a crash while running the W3C/OASIS XML conformance test. * tree.c: Fix infinite loop. Fixes: CVE-2008-4225. * SAX2.c: Fix integer overflow. Fixes: CVE-2008-4226. -- Mike Hommey Tue, 18 Nov 2008 08:08:34 +0100 libxml2 (2.6.32.dfsg-4) unstable; urgency=high * Fix regressions due to previous security fixes. Fixes: CVE-2008-3529. Closes: #498768. -- Mike Hommey Fri, 19 Sep 2008 21:26:19 +0200 libxml2 (2.6.32.dfsg-3) unstable; urgency=high * Fix DoS which leads to recursive evaluation of entities. Fixes: CVE-2008-3281, without breaking librsvg and others. Closes: #496125. -- Mike Hommey Mon, 25 Aug 2008 22:01:17 +0200 libxml2 (2.6.32.dfsg-2) unstable; urgency=low * debian/control: + Use ${binary:Version} instead of ${Source-Version}. + Fixed spelling error for "Python". * debian/rules: Don't ignore make distclean errors. * debian/libxml2-doc.doc-base: Changed section to fit doc-base sections changes. * xml2-config.1: Remove unknown groff command. -- Mike Hommey Sat, 19 Apr 2008 20:38:50 +0200 libxml2 (2.6.32.dfsg-1) unstable; urgency=low * New upstream release. * debian/control: Bumped Standards-Version to 3.7.3.0. No changes. * debian/rules: + Make dpkg-shlibdeps fail when symbols are missing. + Removed the workaround for removed and modified files during build. The former was for svn-buildpackage that I don't use anymore, and the latter for a file that isn't in the .orig.tar.gz anymore. + Bump shlibs to current version, since a new symbol was added. * debian/libxml2.symbols: Reference the new symbol. -- Mike Hommey Wed, 09 Apr 2008 11:25:18 +0200 libxml2 (2.6.31.dfsg-2) unstable; urgency=low * debian/rules: Brown paper bag: uncomment $(MAKE) distclean. Closes: #442656. * xstc/Makefile.am, xstc/Makefile.in: Properly clean generated files. * nanohttp.c: Apply fix from svn revision 3685 to allocate enough memory for the Host HTTP header when containing a port number. Closes: #464173. * error.c: Don't grow error buffer indefinitely when vsnprintf returns -1, which, if it happens, on glibc-based systems, will happen indefinitely. Closes: #456653. -- Mike Hommey Wed, 05 Mar 2008 23:42:37 +0100 libxml2 (2.6.31.dfsg-1) unstable; urgency=low * New upstream release. * Acknowledged NMU. * testModule.c: Revert our change to add PATH_MAX for the Hurd, since we now don't even build this file. * debian/rules: bump shlibs to current version, since a new symbol was added. * debian/libxml2.symbols: Reference the new symbol. * autogen.sh: Switch to automake1.10 to follow upstream. -- Mike Hommey Sat, 19 Jan 2008 18:46:41 +0100 libxml2 (2.6.30.dfsg-3.1) unstable; urgency=high * Non-maintainer upload by security team. * This update addresses the following security issue: - CVE-2007-6284: The xmlCurrentChar function allows context-dependent attackers to cause a denial of service (infinite loop) via XML containing invalid UTF-8 sequences (Closes: #460292). -- Nico Golde Sun, 13 Jan 2008 15:15:04 +0100 libxml2 (2.6.30.dfsg-3) unstable; urgency=low * debian/libxml2.symbols: Add a symbols file to benefit from the new features in dpkg-shlibdeps. * debian/control: Build depend on debhelper (>= 5.0.61) and dpkg-dev (>= 1.14.9), accordingly. * debian/rules: + Apply rules suggested in autotools-dev documentation. + Add -Wl,--as-needed to LDFLAGS so that useless dependencies are not added. * Makefile.am, Makefile.in: Don't build noinst targets. -- Mike Hommey Wed, 21 Nov 2007 19:22:51 +0100 libxml2 (2.6.30.dfsg-2) unstable; urgency=low * libxml.h: define _LARGEFILE64_SOURCE to properly get gzopen64 defines in zlib.h. Closes: #439843. Thanks Dann Frazier. -- Mike Hommey Tue, 28 Aug 2007 21:52:30 +0200 libxml2 (2.6.30.dfsg-1) unstable; urgency=low * New upstream release. -- Mike Hommey Sun, 26 Aug 2007 10:52:39 +0200 libxml2 (2.6.29.dfsg-1) unstable; urgency=low * New upstream release. * debian/rules: bump shlibs to current version, since new symbols were added. -- Mike Hommey Wed, 13 Jun 2007 20:52:41 +0200 libxml2 (2.6.28.dfsg-1) unstable; urgency=low * New upstream release: + Provides doc/html/index.html. Closes: #405802. + Fixed infinite loop with invalid characters in Xincluded files. Closes: #410762. * debian/rules: bump shlibs to current version, since new symbols were added. -- Mike Hommey Wed, 18 Apr 2007 08:09:16 +0200 libxml2 (2.6.27.dfsg-1) unstable; urgency=low * New "huge bug fixes list" upstream release. * autogen.sh: Updated so that doc/examples/index.html gets updated correctly. * debian/control: Bumped Standards-Version to 3.7.2.2. No changes required. * debian/rules: bump shlibs to current version, since new symbols were added. -- Mike Hommey Thu, 26 Oct 2006 23:15:00 +0200 libxml2 (2.6.26.dfsg-4) unstable; urgency=low * debian/control: + Bumped Standards-Version to 3.7.2.1. No changes required. + Added a conflict to the sarge version of libxslt1.1 to avoid upgrade problems. Closes: #390733. * debian/watch: Updated to mangle the Debian version. -- Mike Hommey Wed, 4 Oct 2006 16:51:29 +0200 libxml2 (2.6.26.dfsg-3) unstable; urgency=medium * debian/rules, debian/libxml2-dev.install: Don't install libxml2.la directly and sed it to remove the dependency_libs. Note that will break linking statically libxml2 with libtool, we recommend to use pkg-config --static --libs libxml-2.0 instead of relying on libtool. Closes: #379807, #378511. * xml2-config.in: Fixed usage alignment of the new option introduced in previous upload. -- Mike Hommey Thu, 27 Jul 2006 19:40:27 +0200 libxml2 (2.6.26.dfsg-2) unstable; urgency=low * The slithering release. * debian/python-libxml2.examples.in: Renamed to debian/python-libxml2.examples * debian/python-libxml2.install.in: Renamed to debian/python-libxml2.install, and replaced PYVERS by a wildcard. * debian/control: + Adapted dependencies to fit all changes. + Added fields required by new Python policy. + Added fields necessary for flawless transition. + Replaced dummy python-libxml2 package by a full real package which itself replaces python2.x-libxml2 packages. * debian/rules: + Changed rules to get the python versions we want to build for and adapted some rules to fit with the new setting. + Changed shell loops to make loops. + In case python binary modules are identical (and they are, but they may not be with future versions of the python headers), replace some of them with symbolic links. + Adapted rules to the fact we're installing in only one python package instead of several. * debian/pycompat: Set to 2, for new Python policy. Closes: #373456. * Switching to the new policy avoids necessity to conflict with very old versions of the python bindings packages. Closes: #365057. * debian/libxml2-doc.install: Added the /usr/share/gtk-doc directory. Closes: #375113. * debian/control: Made libxml2-doc suggest devhelper. * libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in: Split Libs in Libs and Libs.private. * configure.in, configure: Adapted to fill the variables correctly for libraries. * xml2-config.in, xml2-config.1: Added a --static option to add to --libs so that we can split what is needed when building statically and what is needed when building dynamically. Closes: #374017. * libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in, xml2-config.in: Added BASE_THREADS_LIBS to the static link information so that -lpthread would appear. Closes: #372945. * debian/control: Removed dependency on zlib-dev for libxml2-dev. * debian/rules: Add the NEWS file to dh_install calls. Closes: #365596. * debian/watch: Updated. * NEWS: Updated. -- Mike Hommey Sat, 1 Jul 2006 10:45:02 +0200 libxml2 (2.6.26.dfsg-1) unstable; urgency=low * New upstream release. * debian/rules: + Added -fno-strict-aliasing to the CFLAGS. + Use dpkg-architecture to feed configure. + Bumped shlibs to current version, since new symbol for XPath cache has been added. * debian/control: Bumped Standards-Version to 3.7.2.0. No changes required. -- Mike Hommey Thu, 8 Jun 2006 21:39:55 +0200 libxml2 (2.6.24.dfsg-1) unstable; urgency=low * New upstream release. Closes: #365246. * debian/control: + Changed libxml2-dbg's priority to extra. + Bumped Standards-Version to 3.7.0.0. No changes required. * debian/rules: bump shlibs to current version, since new symbols were added. -- Mike Hommey Sat, 29 Apr 2006 22:18:14 +0200 libxml2 (2.6.23.dfsg.2-3) unstable; urgency=low * debian/rules: Correctly strip python modules. -- Mike Hommey Sat, 18 Mar 2006 19:15:53 +0100 libxml2 (2.6.23.dfsg.2-2) unstable; urgency=low * debian/control: Removed python2.2-libxml2 and build-dep on python2.2-dev. Closes: #351125. * doc/xmllint.xml, doc/xmllint.1: Applied patch from upstream cvs. That improves the manual page by many ways. * doc/xmllint.html: Manually updated with changes from the .xml file. * xmllint.c: Don't throw error when failed to load an entity through --path option of xmllint (patch from upstream cvs). Closes: #352634. Thanks Daniel Leidert. -- Mike Hommey Mon, 20 Feb 2006 10:52:46 +0100 libxml2 (2.6.23.dfsg.2-1) unstable; urgency=low * result/, test/: Totally removed. There is more suspicious content than what has been removed in previous upload, so I'm just dropping the regression tests from the archive until all files are investigated. Closes: #331534. * debian/control, debian/rules: Added a libxml2-dbg package containing debug symlbols for the library and the utilities. We don't provide the symbols for the python modules, though. Closes: #296299. * debian/control, debian/compat: Adjust build dependencies and debhelper compatibility accordingly. * debian/libxml2-dbg.dirs: Add /usr/share/doc in the new libxml2-dbg package. -- Mike Hommey Tue, 31 Jan 2006 20:17:37 +0100 libxml2 (2.6.23.dfsg.1-0.1) unstable; urgency=medium * NMU. * Medium urgency due to RC bugfix. * Removed non-free test files from upstream tarball. Closes: #331534. -- Per Olofsson Sun, 15 Jan 2006 23:02:12 +0100 libxml2 (2.6.23-1.1) unstable; urgency=high * Non-maintainer upload. * Fix XML parser to unbreak xsltproc (Closes: #346594). -- Luk Claes Thu, 12 Jan 2006 15:25:42 +0100 libxml2 (2.6.23-1) unstable; urgency=low * New upstream release * debian/control: + Added | libreadline-dev for readline dependency. + Bumped Standards-Version to 3.6.2.1. No changes needed. * debian/rules: bump shlibs to current version, since new symbols were added. -- Mike Hommey Fri, 6 Jan 2006 19:03:57 +0100 libxml2 (2.6.22-2) unstable; urgency=low * autogen.sh: Changed the way we rebuild the examples. * debian/rules: Added history support in xmllint. Closes: #318083. * debian/control: Added build dependency upon libreadline5-dev for history support in xmllint. * xmllint.c: Added some spaces in usage(). Closes: #335015. * testModule.c: Added PATH_MAX definition for the Hurd. Closes: #333623. -- Mike Hommey Wed, 2 Nov 2005 19:22:41 +0100 libxml2 (2.6.22-1) unstable; urgency=low * New upstream release * error.c: Reenable support of validation errors in structured error handler. * autogen.sh: Use automake1.9, as upstream does, and run it. -- Mike Hommey Tue, 13 Sep 2005 18:04:10 +0200 libxml2 (2.6.21-1) unstable; urgency=low * New upstream release * debian/control, debian/rules: Removed dummy package. Closes: #322052. * debian/rules: bump shlibs to current version. -- Mike Hommey Wed, 7 Sep 2005 19:11:32 +0200 libxml2 (2.6.20-1) unstable; urgency=low * New upstream release * debian/rules: bump shlibs to current version. -- Mike Hommey Thu, 14 Jul 2005 09:42:27 +0200 libxml2 (2.6.19-1) unstable; urgency=low * The "Sarge got released but I was offline, so couldn't upload" release. * New upstream release. * debian/rules: bump shlibs to current version. -- Mike Hommey Fri, 8 Jul 2005 19:29:29 +0200 libxml2 (2.6.16-7) unstable; urgency=low * The "dummy packages are arch: all, dammit" release. * debian/control: Changed to Architecture: all for dummy package. -- Mike Hommey Sat, 9 Apr 2005 11:57:29 +0200 libxml2 (2.6.16-6) unstable; urgency=low * The "Let's do it cleaner" release. * debian/rules: fix installation of python files and make proper use of DESTDIR at install time. -- Mike Hommey Mon, 28 Mar 2005 18:12:15 +0200 libxml2 (2.6.16-5) unstable; urgency=low * debian/watch: use svn-upgrade instead of uupdate. * debian/control, debian/rules, debian/python-libxml2.*.in: Added support for several python bindings packages. Currently for python 2.2, 2.3 and 2.4. * debian/python2.3-libxml2.*: Removed. -- Mike Hommey Sun, 27 Mar 2005 21:36:53 +0200 libxml2 (2.6.16-4) unstable; urgency=high * Urgency set to high because we avoid breaking packages depending on us when we don't properly bytecompile our python bindings. * debian/rules: Call dh_python. We now get proper maintainer scripts for bytecompiling files at install time and removing them at removal time. Closes: #300834. * debian/control: Adjust build dependencies accordingly. -- Mike Hommey Tue, 22 Mar 2005 21:56:50 +0100 libxml2 (2.6.16-3) unstable; urgency=low * tree.c: Avoid adding namespaced attributes to other elements than element nodes. Closes: #293592. * encoding.c: Fix the comments to describe the real return values of UTF8Toisolat1 and isolat1ToUTF8. * doc/: Regenerate API documentation. -- Mike Hommey Wed, 16 Feb 2005 20:31:17 +0100 libxml2 (2.6.17-1) experimental; urgency=low * New upstream release. -- Mike Hommey Sat, 5 Feb 2005 13:10:13 +0100 libxml2 (2.6.16-2) unstable; urgency=low * Upload to unstable, targetted for sarge. * Changed my maintainer address to the fresh new Debian one. * debian/rules: Added changelog and copyright files in dummy package. * debian/libxml2-doc.doc-base: Fixed files sections. Closes: #281242. -- Mike Hommey Fri, 4 Feb 2005 20:45:48 +0100 libxml2 (2.6.16-1) experimental; urgency=low * New upstream release * debian/control, debian/rules: Changed libxml2-python2.3's name to python2.3-libxml2. Added a dummy package for smooth transition. * debian/libxml2-python2.3.*: Renamed to python2.3-libxml2.*. Closes: #279343. * debian/rules: - Don't install files in the dummy libxml2-python2.3 package. - Bump shlibs to current version. -- Mike Hommey Sat, 13 Nov 2004 16:38:37 +0900 libxml2 (2.6.15-2) experimental; urgency=low * error.c: Removed support of validation errors in structured error handler. That avoids it to crash when a validation error happens. (That was a broken feature added in 2.6.15. This will get properly fixed in 2.6.16). Closes: #279040. -- Mike Hommey Mon, 8 Nov 2004 22:16:00 +0900 libxml2 (2.6.15-1) experimental; urgency=low * New upstream release * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.15)'", since version 2.6.16 introduces some new symbols. -- Mike Hommey Thu, 28 Oct 2004 19:08:20 +0900 libxml2 (2.6.11-5) unstable; urgency=high * Backport patch from libxml2-2.6.15 to fix buffer overflows [nanohttp.c, nanoftp.c, CAN-2004-0989] -- Mike Hommey Thu, 28 Oct 2004 17:34:54 +0900 libxml2 (2.6.14-1) experimental; urgency=low * New upstream release. Closes: #273961. * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.14)'", since version 2.6.14 introduces some new symbols. * debian/shlibs.local: Removed, since it is not useful any more. -- Mike Hommey Sat, 16 Oct 2004 16:29:06 +0900 libxml2 (2.6.11-4) unstable; urgency=low * The "let's do some clean up for sarge" release. * debian/libxml2-python2.3.install: don't install .a and .la files. * debian/rules: Avoid compression of both python examples and documentation. * Reorganization in documentation: + debian/libxml2-doc.examples: removed, they will get installed by libxml2-doc.install, and we don't ship gjob* examples anymore, they have been superseded by a lot of better examples. + debian/libxml2-doc.install, debian/rules: changed the way files are installed in the libxml2-doc package, and their location. + debian/libxml2-doc.doc-base: changed the location of the documentation base to fit the new one. + doc/examples/index.html: generated this file from examples.x?l by hand. It would otherwise require a build dependency on xsltproc, itself depending upon libxml2... wouldn't be very reasonnable. * debian/no-upstream-changelog, debian/rules, debian/libxml2-dev.dirs, debian/libxml2-utils.dirs: /usr/share/doc directories have been replaced by a symbolic link in packages libxml2-utils and libxml2-dev. In libxml2-python2.3, all files but TODO are symlinks to the corresponding file from libxml2. The one from libxml2-doc is replaced by an explicative text saying where to find it and why it has been (re)moved. That will save some space in the archive, especially considering this file is constantly growing. * debian/README.Debian: Added a recommentation to upgrade package if user needs heavy standards compliance. * debian/shlibs.local: Added to tighten dependencies between libxml2-* packages. * xmlIO.c: Fixed typo (Closes: #265740). * nanohttp.c, nanoftp.c: no_proxy environment variable doesn't disable proxy anymore. (Closes: #266430) * debian/rules, debian/control: Removed the workaround to compile with gcc-3.2 on hppa, since $254549 is closed. -- Mike Hommey Sat, 16 Oct 2004 16:20:54 +0900 libxml2 (2.6.11-3) unstable; urgency=low * debian/control: add a space between gcc-3.2 and [hppa]. Closes: #262101. * python/drv_libxml2.py: add encoding declaration. Closes: #259526. * debian/rules: Backup files that are removed or modified by upstream build system and restore them so that calling the clean target actually gives the same tree as before a build. -- Mike Hommey Sun, 1 Aug 2004 05:02:14 +0900 libxml2 (2.6.11-2) unstable; urgency=medium * Thanks to Andreas Metzler: + Hotfix for toolchain breakage (#254549), because libxml2 blocks lots of packages from propagating to testing. Compile with gcc-3.2 on hppa. -- Mike Hommey Wed, 21 Jul 2004 23:37:22 +0900 libxml2 (2.6.11-1) unstable; urgency=low * New upstream release * libxml.m4: removed debian changes which have been incorporated upstream. * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.11)'", since version 2.6.11 introduces some new functions. -- Mike Hommey Wed, 7 Jul 2004 00:54:50 +0900 libxml2 (2.6.10-3) unstable; urgency=low * debian/control: changed deps on libz-dev to zlib1g-dev | libz-dev. * debian/rules: made binary-indep target actually build the libxml2-doc package which is Arch: all. Closes: #251971. -- Mike Hommey Wed, 2 Jun 2004 15:57:21 +0900 libxml2 (2.6.10-2) unstable; urgency=low * debian/watch: updated the watch file to exclude the cvs-snapshot from the scope. Closes: #250177. * debian/rules: rename libxml.m4 to libxml2.m4 in the /usr/share/aclocal directory. * libxml.m4: removed the AM_PATH_XML macro which is a macro for checking libxml, not libxml2. Changed CFLAGS to CPPFLAGS from test compiles so that using C++ also works. Closes: #249033. -- Mike Hommey Wed, 26 May 2004 21:28:54 +0900 libxml2 (2.6.10-1) unstable; urgency=low * New upstream release: + Fixes xincludes fallback issues. Closes: #243580. + Fixes output formatting issues. Closes: #246181. * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.10)'", since version 2.6.10 introduces some few new functions. -- Mike Hommey Mon, 17 May 2004 17:16:44 +0900 libxml2 (2.6.9-2) unstable; urgency=low * Enable AM_MAINTAINER_MODE and re-run the autotools suite. Closes: #245990. -- Mike Hommey Tue, 27 Apr 2004 16:31:21 +0900 libxml2 (2.6.9-1) unstable; urgency=high * New upstream release: + xincludes fallbacks fixed. Closes: #243580. * Urgency set to high because of RC bug fixed and it's been too long libxml2 has been stucking packages in sid. * Ran all the autotools suite, especially the latest libtool. Closes: #244557. * debian/rules: + Removed all python file removals since these files get now correctly removed upstream. + Changed once more the python/libxml2-py.c workaround to finally work really properly. -- Mike Hommey Mon, 19 Apr 2004 17:58:56 +0900 libxml2 (2.6.8-2) unstable; urgency=high * Urgency set to high because of the FTBFS RC bug fixed. * debian/changelog: + Added missing changes for release 2.6.8-1. + Converted changelog file to UTF-8. * debian/rules: Changed the python/libxml2-py.c workaround stuff to actually work properly -- Mike Hommey Sat, 17 Apr 2004 16:59:01 +0000 libxml2 (2.6.8-1.1) unstable; urgency=high * NMU. Urgency set to high as libxml2 has been preventing too many packages from entering testing for too long. * Grabbed from SVN: Mike Hommey Sat, 10 Apr 2004 12:42:03 +0900 * debian/control: + Updated section for libxml2-doc package. + Added dependency on libz-dev for libxml2-dev. (Closes: #242683) -- J.H.M. Dassen (Ray) Fri, 16 Apr 2004 22:37:08 +0200 libxml2 (2.6.8-1) unstable; urgency=low * New upstream release * debian/rules: + Use "dh_makeshlibs -V 'libxml2 (>= 2.6.8)'", since version 2.6.8 introduces some few new functions. + Try to circumvent new troubles with the python/libxml2-py.c with svn-buildpackage not wanting to make the build (the file used to be removed because it was modified by the build). * Removed changes about XML_CATALOG_FILES in manual pages, since it has been incorporated upstream. -- Mike Hommey Thu, 25 Mar 2004 14:57:44 +0900 libxml2 (2.6.7-2) unstable; urgency=low * debian/control: Changed Maintainer to Debian SGML/XML Group and put myself into Uploaders. * Merged back libxml2-headers into libxml2-dev. That was too much of a split. Closes: #238109. -- Mike Hommey Mon, 22 Mar 2004 15:41:30 +0900 libxml2 (2.6.7-1) unstable; urgency=low * New upstream release * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.7)'", since version 2.6.7 introduces some few new functions. -- Mike Hommey Wed, 25 Feb 2004 15:43:11 +0900 libxml2 (2.6.6-2) unstable; urgency=low * debian/control: + Added a Recommends: xml-core to libxml2 package. + Added a libxml2-headers and a libxml2-docs packages to split arch-dependent and arch-independent files. These files used to be in the libxml2-dev package. Note that the new libxml2-dev package depends on libxml2-headers, so that upgrade will keep the header files on the system, but libxml2-headers only suggests libxml2-doc, while libxml2-dev doesn't say anything about it, which means that the documentation files won't be automagically installed on your system. Closes: #233405. + Added the adequate dependencies between new and old packages. + Uniformized short descriptions. + Slightly modified long descriptions. * debian/rules: + Externalized all dh_* calls with arguments. (i.e. created corresponding debian/package.dh_stuff files) + Moved installation of some doc files to the install target. * Removed un-needed debian/libxml2-python2.3.docs. * Moved libxml manpage from libxml2 to libxml2-dev. * doc/xmlcatalog_man.xml: Added a note about the incompatibility between xmlcatalog and update-catalog from xml-core in the man page. * doc/xmllint.xml, doc/xmlcatalog_man.xml: Added a note about the XML_CATALOG_FILES environment variable. Closes: #232728. -- Mike Hommey Wed, 18 Feb 2004 21:29:58 +0900 libxml2 (2.6.6-1) unstable; urgency=high * New upstream release * Set urgency to high, since this new upstream fixes buffer overflows. Closes: #232447. * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.6.6)'", since version 2.6.6 introduces some new functions. -- Mike Hommey Mon, 16 Feb 2004 16:56:57 +0900 libxml2 (2.6.5-1) unstable; urgency=low * New upstream release * debian/rules: - Made better use of CFLAGS. - Replaced an mv by cp -r. Closes: #227392. - Use "dh_makeshlibs -V 'libxml2 (>= 2.6.5)'", since version 2.6.5 introduced some new functions. - Make some clean-up in the example directory. -- Mike Hommey Fri, 30 Jan 2004 15:14:02 +0900 libxml2 (2.6.4-1) unstable; urgency=low * New upstream release -- Mike Hommey Sat, 27 Dec 2003 18:25:17 +0900 libxml2 (2.6.3-1) unstable; urgency=low * New upstream release * debian/rules: - Use "dh_makeshlibs -V 'libxml2 (>= 2.6.3)'", since versions 2.6.3 introduced some new functions. - Put more examples in /usr/share/doc/libxml2-dev/examples. -- Mike Hommey Fri, 12 Dec 2003 14:45:24 +0900 libxml2 (2.6.2-1) unstable; urgency=low * New upstream release * debian/rules: - Use "dh_makeshlibs -V 'libxml2 (>= 2.6.2)'", since versions 2.6.2 introduced some new functions. - Put the API docs back in /usr/share/doc/libxml2-dev/libxml-dev.html. -- Mike Hommey Mon, 10 Nov 2003 22:20:33 +0900 libxml2 (2.6.1-1) experimental; urgency=low * New upstream release -- Mike Hommey Wed, 29 Oct 2003 14:07:11 +0900 libxml2 (2.6.0-1) experimental; urgency=low * New upstream release: should be API and ABI compatible but got a lot of changes. * debian/rules: - Use "dh_makeshlibs -V 'libxml2 (>= 2.6.0)'", since applications using the new API won't work on previous versions. Note that this doesn't prevent applications built with older versions to work properly with newer releases, since it is not supposed to be any API/ABI breakage. - Don't remove non-existant python/test/tmp.xml file on clean rule. - Remove python/libxml2-py.c file on clean rule, to avoid its changes made during build to be stored in the diff file. - Added handling of the nostrip DEB_BUILD_OPTIONS. - Changed old fashion dh_movefiles to dh_install --sourcedir=debian/tmp. - Added installation of the python/TODO file in the libxml2-python2.3 package. - Now take what is installed in debian/tmp/usr/share/doc/... for documentation. - Copy Copyright file into COPYING file in clean rule to avoid unrepresentable changes to source. * debian/*.files: renamed to debian/*.install. * debian/libxml2.install: removed reference to non-existant usr/lib/libxml.so.* * Removed unneeded debian/libxml2-dev.dirs file. -- Mike Hommey Tue, 21 Oct 2003 14:07:04 +0900 libxml2 (2.5.11-2) unstable; urgency=low * debian/rules: Use "dh_makeshlibs -V 'libxml2 (>= 2.5.9)'", since versions 2.5.8 and 2.5.9 introduced some changes in API. Closes: #212819, #211318. -- Mike Hommey Sun, 28 Sep 2003 21:57:32 +0200 libxml2 (2.5.11-1) unstable; urgency=low * New upstream release. * New maintainer. * Bumped Standards-Version to 3.6.1 (no changes needed). * Removed garbage debian/libxml-utils. * moved debhelper compatibility to debian/compat. -- Mike Hommey Sun, 14 Sep 2003 16:03:46 +0200 libxml2 (2.5.10-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 26 Aug 2003 20:08:31 +0200 libxml2 (2.5.8-2) unstable; urgency=low * Use python 2.3 (closes: #205145) -- Fredrik Hallenberg Wed, 13 Aug 2003 21:28:14 +0200 libxml2 (2.5.8-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 7 Aug 2003 20:08:23 +0200 libxml2 (2.5.7-1) unstable; urgency=low * New upstream release (closes: #194757) * Updated shlibs file (closes: #191022) * Put xmllint and xmlcatalog in new package (closes: #174823) -- Fredrik Hallenberg Mon, 26 May 2003 20:16:01 +0200 libxml2 (2.5.6-2) unstable; urgency=low * Update libtool (closes: #188967) -- Fredrik Hallenberg Mon, 14 Apr 2003 20:52:45 +0200 libxml2 (2.5.6-1) unstable; urgency=low * New upstream release (closes: #188004) * Applied patch from Graham Wilson to handle noopt build option. (closes: #171782) -- Fredrik Hallenberg Sat, 12 Apr 2003 20:54:13 +0200 libxml2 (2.5.4-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Fri, 14 Mar 2003 18:40:08 +0100 libxml2 (2.5.3-1.1) unstable; urgency=high * Applied patch by Paul Hampson to correct licensing information in debian/copyright which Colin Watson reported as incorrect. (Addresses #178060 for sid) -- J.H.M. Dassen (Ray) Sun, 16 Mar 2003 09:55:59 +0100 libxml2 (2.5.3-1) unstable; urgency=low * New upstream release * xml2-config --libs should be correct (closes: #155312) -- Fredrik Hallenberg Sat, 22 Feb 2003 17:34:23 +0100 libxml2 (2.5.1-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 18 Jan 2003 10:52:56 +0100 libxml2 (2.5.0-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 7 Jan 2003 19:02:10 +0100 libxml2 (2.4.30-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 14 Dec 2002 16:55:13 +0100 libxml2 (2.4.28-2) unstable; urgency=low * Upgraded libtool (closes: #172418) -- Fredrik Hallenberg Sun, 1 Dec 2002 15:59:49 +0100 libxml2 (2.4.28-1) unstable; urgency=low * New upstream release * Added patch from CVS to fix KDE problems. -- Fredrik Hallenberg Tue, 26 Nov 2002 19:58:54 +0100 libxml2 (2.4.27-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Mon, 18 Nov 2002 21:05:07 +0100 libxml2 (2.4.26-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Fri, 15 Nov 2002 17:29:30 +0100 libxml2 (2.4.24-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 24 Aug 2002 22:28:24 +0200 libxml2 (2.4.23-2) unstable; urgency=low * Created new libxml2-python package -- Fredrik Hallenberg Tue, 30 Jul 2002 20:16:17 +0200 libxml2 (2.4.23-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Mon, 8 Jul 2002 00:20:43 +0200 libxml2 (2.4.22-1) unstable; urgency=low * New upstream release (closes: #149287) -- Fredrik Hallenberg Fri, 7 Jun 2002 19:43:21 +0200 libxml2 (2.4.21-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Fri, 10 May 2002 18:40:02 +0200 libxml2 (2.4.20-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 23 Apr 2002 22:13:37 +0200 libxml2 (2.4.19-4) unstable; urgency=low * Make libxml2-dev replace libxml2 <= 2.4.19-1 (closes: #142609, #142741) * Update shlibs version to 2.4.19-4 (closes: #142806) -- Fredrik Hallenberg Sun, 14 Apr 2002 12:19:51 +0200 libxml2 (2.4.19-3) unstable; urgency=low * Dont use threads for now (closes: #142596) -- Fredrik Hallenberg Sat, 13 Apr 2002 15:53:04 +0200 libxml2 (2.4.19-2) unstable; urgency=low * Move pkgconfig stuff to -dev package (closes: #142171) * Compile with thread support (closes: #141764) * xml2-config --cflags will return same paths as previous versions (closes: #142229) -- Fredrik Hallenberg Fri, 12 Apr 2002 18:21:48 +0200 libxml2 (2.4.19-1) unstable; urgency=low * New upstream release * Fixed doc-base (closes: #141067) -- Fredrik Hallenberg Wed, 3 Apr 2002 19:45:33 +0200 libxml2 (2.4.16-2) unstable; urgency=low * New version as last version was built with broken debhelper. -- Fredrik Hallenberg Tue, 26 Feb 2002 22:28:24 +0100 libxml2 (2.4.16-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 23 Feb 2002 20:21:34 +0100 libxml2 (2.4.13-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 15 Jan 2002 20:02:53 +0100 libxml2 (2.4.12-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 8 Dec 2001 22:52:44 +0100 libxml2 (2.4.10-1) unstable; urgency=low * New upstream release * Applied patch from LaMont Jones to fix gcc 3.0 build problem (closes: #120254) -- Fredrik Hallenberg Tue, 20 Nov 2001 18:02:29 +0100 libxml2 (2.4.8-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Mon, 5 Nov 2001 19:49:26 +0100 libxml2 (2.4.6-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 18 Oct 2001 19:48:07 +0200 libxml2 (2.4.5-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 15 Sep 2001 23:11:11 +0200 libxml2 (2.4.3-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Mon, 27 Aug 2001 20:32:21 +0200 libxml2 (2.4.2-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 21 Aug 2001 20:39:44 +0200 libxml2 (2.4.1-1) unstable; urgency=low * New upstream release * Added ncurses and readline build depends. -- Fredrik Hallenberg Tue, 24 Jul 2001 21:08:16 +0200 libxml2 (2.4.0-2) unstable; urgency=low * xml2-config --libs only outputs -lxml2 (closes: #97739) * Patched libxml.m4 to include string.h -- Fredrik Hallenberg Wed, 18 Jul 2001 13:44:10 +0200 libxml2 (2.4.0-1) unstable; urgency=low * New upstream release (closes: #105568) * Fixed xml2-config to not output -I/usr/include, -L/usr/lib (closes: #101390) -- Fredrik Hallenberg Tue, 17 Jul 2001 12:43:34 +0200 libxml2 (2.3.13-3.1) unstable; urgency=low * NMU (for porting) * Change configure / configure.in to not specify -I/usr/include (closes: #104603) -- Matthew Wilcox Fri, 13 Jul 2001 17:08:36 -0600 libxml2 (2.3.13-3) unstable; urgency=low * Don't build example (closes: #103220, #103281) -- Fredrik Hallenberg Tue, 3 Jul 2001 16:13:31 +0200 libxml2 (2.3.13-2) unstable; urgency=low * xmllint is back -- Fredrik Hallenberg Mon, 2 Jul 2001 21:05:25 +0200 libxml2 (2.3.13-1) unstable; urgency=low * New upstream release * Use DH_COMPAT 3 -- Fredrik Hallenberg Sun, 1 Jul 2001 17:37:08 +0200 libxml2 (2.3.11-1) unstable; urgency=low * New upstream release * Apparently builds on Alpha now (closes: #95938) -- Fredrik Hallenberg Sun, 17 Jun 2001 21:33:36 +0200 libxml2 (2.3.10-2) unstable; urgency=low * Quick hack to fix makefiles on m68k (closes: #99897) -- Fredrik Hallenberg Mon, 11 Jun 2001 14:51:14 +0200 libxml2 (2.3.10-1) unstable; urgency=low * New upstream release * Leave pkgconfig as someone wants it (closes: #97621) -- Fredrik Hallenberg Sun, 3 Jun 2001 22:02:25 +0200 libxml2 (2.3.9-1) unstable; urgency=low * I am back. Some bugs closed by NMUs (closes: #96944, #86508) * Updated libtool (closes: #98137) * Fixed dependency (closes: #98323) -- Fredrik Hallenberg Sat, 2 Jun 2001 16:37:18 +0200 libxml2 (2.3.9-0.1) unstable; urgency=low * NMU of a new upstream release. * Changed shlibs, they should change every time the API is augmented. * Updated xmllint(1) manpage. Removed useless libxml(4) manpage. -- Nicolás Lichtmaier Sun, 20 May 2001 20:25:02 -0300 libxml2 (2.3.8-0.2) unstable; urgency=low * Non-maintainer upload with permission from maintainer to fix the libxml-dev conflict. * The symbolic links to old, libxml-dev names introduced in 2.3.0-1 are now gone: programs wanting to link with libxml2 should explicity call the new libxml2-config (almost all the packages in debian are already doing that.) * Changed libxml-dev to libxml2-dev in debian/libxml2-dev.doc-base to resolve libxml-dev conflict. * Fixed shlibs problem introduced in previous NMU by wrong -V argument of dh_makeshlibs. -- Federico Di Gregorio Thu, 10 May 2001 16:37:59 +0200 libxml2 (2.3.8-0.1) unstable; urgency=low * Non-maintainer upload with permission from maintainer * New upstream release * Fixes shlibs version info (closes: #96291) * config.sub & config.guess updated (closes: #96100) -- Jeremy T. Bouse Wed, 9 May 2001 22:57:28 -0700 libxml2 (2.3.7-1) unstable; urgency=low * New upstream release (closes: #95692) -- Fredrik Hallenberg Sun, 29 Apr 2001 11:42:54 +0200 libxml2 (2.3.5-2) unstable; urgency=low * Rebuild to avoid link problems (closes: #92721) -- Fredrik Hallenberg Tue, 3 Apr 2001 16:12:20 +0200 libxml2 (2.3.5-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sun, 25 Mar 2001 10:58:21 +0200 libxml2 (2.3.4-1) unstable; urgency=low * New upstream release * Applied IBM S/390 patch on config.sub (closes: #88551) -- Fredrik Hallenberg Thu, 15 Mar 2001 19:49:17 +0100 libxml2 (2.3.3-2) unstable; urgency=low * Updated shlibs file with dependency (closes: #87337) -- Fredrik Hallenberg Thu, 8 Mar 2001 10:26:46 +0100 libxml2 (2.3.3-1) unstable; urgency=low * New upstream release * Fixed xml2Conf.sh so gnome-config works (closes: #88341) -- Fredrik Hallenberg Sat, 3 Mar 2001 16:53:05 +0100 libxml2 (2.3.2-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 1 Mar 2001 09:46:37 +0100 libxml2 (2.3.1-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 20 Feb 2001 09:44:04 +0100 libxml2 (2.3.0-1) unstable; urgency=low * New upstream release (closes: #86379) For some reason the library has changed name from libxml to libxml2 and the config script from libxml-config to libxml2-config. I am providing symbolic links to the old names, hopefully this will prevent stuff from breaking. -- Fredrik Hallenberg Sat, 17 Feb 2001 23:25:43 +0100 libxml2 (2.2.8-1) unstable; urgency=low * New upstream release * Probably a bad idea to remove -lz so put it back and add dependency on libz-dev in dev-package. -- Fredrik Hallenberg Mon, 20 Nov 2000 14:03:34 +0100 libxml2 (2.2.6-1) unstable; urgency=low * New upstream release * Removed -lz from xml-config --libs (closes: #74709) -- Fredrik Hallenberg Fri, 27 Oct 2000 12:47:57 +0200 libxml2 (2.2.4-1) unstable; urgency=low * New upstream release (closes: #74488, #70051) -- Fredrik Hallenberg Wed, 11 Oct 2000 07:26:31 +0200 libxml2 (2.2.2-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 29 Aug 2000 22:55:43 +0200 libxml2 (2.2.1-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 3 Aug 2000 21:28:29 +0200 libxml2 (2.0.0-3) unstable; urgency=low * Doc-base now uses correct directory -- Fredrik Hallenberg Mon, 3 Jul 2000 09:20:23 +0200 libxml2 (2.0.0-2) unstable; urgency=low * Renamed dev-package to libxml2-dev -- Fredrik Hallenberg Wed, 28 Jun 2000 10:48:48 +0200 libxml2 (2.0.0-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Tue, 20 Jun 2000 11:36:12 +0200 libxml (1.8.7-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 11 Mar 2000 20:33:28 +0100 libxml (1.8.6-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sat, 5 Feb 2000 15:01:51 +0100 libxml (1.8.5-1) unstable; urgency=low * New upstream release (closes: #56172) -- Fredrik Hallenberg Tue, 25 Jan 2000 14:57:12 +0100 libxml (1.8.4-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Sun, 16 Jan 2000 13:01:14 +0100 libxml (1.8.2-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 30 Dec 1999 11:38:47 +0100 libxml (1.7.3-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Wed, 29 Sep 1999 23:33:28 +0200 libxml (1.4.0-4) unstable; urgency=low * Oops, must of course replace old libxml0 package. (closes: #43519) -- Fredrik Hallenberg Thu, 26 Aug 1999 09:37:18 +0200 libxml (1.4.0-3) unstable; urgency=low * Provide libxml.so.0 (which is binary compatible with libxml1) (closes: #43385) -- Fredrik Hallenberg Tue, 24 Aug 1999 09:31:15 +0200 libxml (1.4.0-2) unstable; urgency=low * Include example in dev-package. * Fixed postinst to only call ldconfig on configure. * Let dh_installdocs handle doc-base. -- Fredrik Hallenberg Sat, 21 Aug 1999 14:44:52 +0200 libxml (1.4.0-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 5 Aug 1999 16:05:26 +0200 libxml (1.1.0-2) unstable; urgency=low * Added man page for xml-config. (closes: #39471) -- Fredrik Hallenberg Sat, 3 Jul 1999 14:55:55 +0200 libxml (1.1.0-1) unstable; urgency=low * New upstream release. (closes: #39791) * Use install-docs on dev documents. -- Fredrik Hallenberg Sun, 20 Jun 1999 10:20:53 +0200 libxml (1.0.0-2) unstable; urgency=low * Moved html-documentation to dev package. (closes: #39049) -- Fredrik Hallenberg Tue, 15 Jun 1999 21:07:44 +0200 libxml (1.0.0-1) unstable; urgency=low * Patched xml-config.in. xml-config --version didn't work as expected. Fixes bug #34881. * New upstream release -- Fredrik Hallenberg Tue, 16 Mar 1999 18:36:11 +0100 libxml (0.99.8-1) unstable; urgency=low * New upstream release -- Fredrik Hallenberg Thu, 18 Feb 1999 15:40:19 +0100 libxml (0.99.3-2) unstable; urgency=low * New maintainer. * Some files were missing from the last release (xml-config, encoding.h, debugXML.h) * New rules file. -- Fredrik Hallenberg Sun, 14 Feb 1999 18:56:10 +0100 libxml (0.99.3-1) unstable; urgency=low * New upstream version. * Recompile with lastest GNOME libs. * Fix #28869. -- Vincent Renardias Wed, 20 Jan 1999 11:32:55 +0100 libxml (0.30-1) unstable; urgency=low * Initial debianization. -- Vincent Renardias Fri, 25 Sep 1998 19:16:53 +0200 debian/python-libxml2-dbg.preinst0000644000000000000000000000022412154654360014222 0ustar #!/bin/sh set -e [ "$1" = "upgrade" ] && [ -L /usr/share/doc/python-libxml2-dbg ] && rm -f /usr/share/doc/python-libxml2-dbg #DEBHELPER# exit 0 debian/control.udeb0000644000000000000000000000126612170545233011516 0ustar Package: libxml2-udeb XC-Package-Type: udeb Architecture: any Section: debian-installer Depends: ${shlibs:Depends}, ${misc:Depends} Description: GNOME XML library - minimal runtime XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This is a minimal package for use in debian-installer that yields a library providing an extensive API to handle such XML data files. debian/libxml2-utils.preinst0000644000000000000000000000021212154654360013304 0ustar #!/bin/sh set -e [ "$1" = "upgrade" ] && [ -L /usr/share/doc/libxml2-utils ] && rm -f /usr/share/doc/libxml2-utils #DEBHELPER# exit 0 debian/libxml2-dev.manpages0000644000000000000000000000002712154654360013035 0ustar libxml.3 xml2-config.1 debian/compat0000644000000000000000000000000212154654360010372 0ustar 9 debian/patches/0000755000000000000000000000000012205472617010623 5ustar debian/patches/0002-Fix-an-error-in-xmlCleanupParser.patch0000644000000000000000000000150712177612662020372 0ustar From: Alexander Pastukhov Date: Tue, 23 Apr 2013 05:02:11 +0000 Subject: Fix an error in xmlCleanupParser https://bugzilla.gnome.org/show_bug.cgi?id=698582 xmlCleanupParser calls xmlCleanupGlobals() and then xmlResetLastError() but the later reallocate the global data freed by previous call. Just swap the two calls. --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index ee429f3..b9df6d8 100644 --- a/parser.c +++ b/parser.c @@ -14763,8 +14763,8 @@ xmlCleanupParser(void) { xmlSchemaCleanupTypes(); xmlRelaxNGCleanupTypes(); #endif - xmlCleanupGlobals(); xmlResetLastError(); + xmlCleanupGlobals(); xmlCleanupThreads(); /* must be last if called not from the main thread */ xmlCleanupMemory(); xmlParserInitialized = 0; debian/patches/0005-properly-quote-the-namespace-uris-written-out-during.patch0000644000000000000000000000210612177612662024515 0ustar From: Aleksey Sanin Date: Thu, 9 May 2013 16:02:16 +0000 Subject: properly quote the namespace uris written out during c14n --- c14n.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/c14n.c b/c14n.c index afd95b3..ca77f92 100644 --- a/c14n.c +++ b/c14n.c @@ -547,14 +547,15 @@ xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) if (ns->prefix != NULL) { xmlOutputBufferWriteString(ctx->buf, " xmlns:"); xmlOutputBufferWriteString(ctx->buf, (const char *) ns->prefix); - xmlOutputBufferWriteString(ctx->buf, "=\""); + xmlOutputBufferWriteString(ctx->buf, "="); } else { - xmlOutputBufferWriteString(ctx->buf, " xmlns=\""); + xmlOutputBufferWriteString(ctx->buf, " xmlns="); } if(ns->href != NULL) { - xmlOutputBufferWriteString(ctx->buf, (const char *) ns->href); + xmlBufWriteQuotedString(ctx->buf->buffer, ns->href); + } else { + xmlOutputBufferWriteString(ctx->buf, "\"\""); } - xmlOutputBufferWriteString(ctx->buf, "\""); return (1); } debian/patches/0006-fix-python-multiarch-includes.patch0000644000000000000000000000245212203634233020121 0ustar Description: fix python multi-arch include issues. . libxml2 (2.9.0+dfsg1-4ubuntu1) raring; urgency=low . * Fix python multi-arch includes issues. Author: Chris J Arges Index: libxml2-2.9.1+dfsg1/python/Makefile.am =================================================================== --- libxml2-2.9.1+dfsg1.orig/python/Makefile.am 2013-07-11 10:00:34.032015469 -0400 +++ libxml2-2.9.1+dfsg1/python/Makefile.am 2013-07-11 10:00:34.028015468 -0400 @@ -19,7 +19,7 @@ AM_CPPFLAGS = \ -I$(top_builddir)/include \ -I$(top_srcdir)/include \ - -I$(PYTHON_INCLUDES) + $(PYTHON_INCLUDES) python_LTLIBRARIES = libxml2mod.la Index: libxml2-2.9.1+dfsg1/python/Makefile.in =================================================================== --- libxml2-2.9.1+dfsg1.orig/python/Makefile.in 2013-07-11 10:00:34.032015469 -0400 +++ libxml2-2.9.1+dfsg1/python/Makefile.in 2013-07-11 10:00:34.028015468 -0400 @@ -430,7 +430,7 @@ @WITH_PYTHON_TRUE@AM_CPPFLAGS = \ @WITH_PYTHON_TRUE@ -I$(top_builddir)/include \ @WITH_PYTHON_TRUE@ -I$(top_srcdir)/include \ -@WITH_PYTHON_TRUE@ -I$(PYTHON_INCLUDES) +@WITH_PYTHON_TRUE@ $(PYTHON_INCLUDES) @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c debian/patches/0003-Fix-missing-break-on-last-function-for-attributes.patch0000644000000000000000000000110512177612662023652 0ustar From: dcb Date: Thu, 2 May 2013 08:11:46 +0000 Subject: Fix missing break on last() function for attributes pointed out by cppcheck --- python/libxml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/python/libxml.c b/python/libxml.c index 03cfb9f..3338b83 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -2683,6 +2683,7 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args) xmlAttrPtr attr = (xmlAttrPtr) cur; res = attr->last; + break; } default: res = NULL; debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch0000644000000000000000000000751112177612662022333 0ustar From: Aron Xu Date: Fri, 21 Sep 2012 00:19:41 +0800 Subject: modify xml2-config and pkgconfig behaviour --- configure.in | 2 +- libxml-2.0-uninstalled.pc.in | 3 ++- libxml-2.0.pc.in | 2 +- xml2-config.1 | 4 ++++ xml2-config.in | 22 ++++++++++------------ 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/configure.in b/configure.in index d449b11..668f233 100644 --- a/configure.in +++ b/configure.in @@ -1380,7 +1380,7 @@ case "$host" in *) M_LIBS="-lm" ;; esac -XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS" +XML_LIBS="-lxml2" XML_LIBTOOLLIBS="libxml2.la" AC_SUBST(WITH_ICONV) diff --git a/libxml-2.0-uninstalled.pc.in b/libxml-2.0-uninstalled.pc.in index cab6834..af16ebc 100644 --- a/libxml-2.0-uninstalled.pc.in +++ b/libxml-2.0-uninstalled.pc.in @@ -8,5 +8,6 @@ Name: libXML Version: @VERSION@ Description: libXML library version2. Requires: -Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@ +Libs: -L${libdir} -lxml2 +Libs.private: @BASE_THREAD_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@ Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@ diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in index f5f5f03..0de667b 100644 --- a/libxml-2.0.pc.in +++ b/libxml-2.0.pc.in @@ -9,5 +9,5 @@ Version: @VERSION@ Description: libXML library version2. Requires: Libs: -L${libdir} -lxml2 -Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ +Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ @LZMA_LIBS@ Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@ diff --git a/xml2-config.1 b/xml2-config.1 index 8cf9858..7b4195d 100644 --- a/xml2-config.1 +++ b/xml2-config.1 @@ -8,11 +8,15 @@ xml-config - script to get information about the installed version of GNOME-XML \fIxml-config\fP is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use \fIGNOME-XML\fP. +It is highly recommended to use pkg-config instead because building in a +multi-arch environment is not well supported in this script. .SH OPTIONS \fIxml-config\fP accepts the following options: .TP 8 .B \-\-version Print the currently installed version of \fIGNOME-XML\fP on the standard output. +Add the \fB\-\-static\fP option to print the linker flags that are necessary +to \fBstatically\fP link a \fIGNOME-XML\fP program. .TP 8 .B \-\-libs Print the linker flags that are necessary to link a \fIGNOME-XML\fP program. diff --git a/xml2-config.in b/xml2-config.in index 1957486..b764d83 100644 --- a/xml2-config.in +++ b/xml2-config.in @@ -15,6 +15,8 @@ Known values for OPTION are: --prefix=DIR change libxml prefix [default $prefix] --exec-prefix=DIR change libxml exec prefix [default $exec_prefix] --libs print library linking information + add --static to print static library linking + information --cflags print pre-processor and compiler flags --modules module support enabled --help display this help and exit @@ -82,18 +84,14 @@ while test $# -gt 0; do ;; --libs) - if [ "`uname`" = "Linux" ] - then - if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ] - then - echo @XML_LIBS@ @MODULE_PLATFORM_LIBS@ - else - echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@ - fi - else - echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@ @WIN32_EXTRA_LIBADD@ - fi - ;; + LIBS="@XML_LIBS@ @WIN32_EXTRA_LIBADD@" + if [ "$2" = "--static" ] + then + shift + LIBS="${LIBS} @Z_LIBS@ @BASE_THREAD_LIBS@@THREAD_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@" + fi + echo ${LIBS} + ;; *) usage debian/patches/0007-Fix-XPath-optimization-with-predicates.patch0000644000000000000000000000160012177612662021617 0ustar From: Nick Wellnhofer Date: Sun, 4 Aug 2013 22:15:11 +0000 Subject: Fix XPath '//' optimization with predicates My attempt to optimize XPath expressions containing '//' caused a regression reported in bug #695699. This commit disables the optimization for expressions of the form '//foo[predicate]'. --- xpath.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xpath.c b/xpath.c index 97410e7..a676989 100644 --- a/xpath.c +++ b/xpath.c @@ -14719,8 +14719,9 @@ xmlXPathOptimizeExpression(xmlXPathCompExprPtr comp, xmlXPathStepOpPtr op) * internal representation. */ - if ((op->ch1 != -1) && - (op->op == XPATH_OP_COLLECT /* 11 */)) + if ((op->op == XPATH_OP_COLLECT /* 11 */) && + (op->ch1 != -1) && + (op->ch2 == -1 /* no predicate */)) { xmlXPathStepOpPtr prevop = &comp->steps[op->ch1]; debian/patches/0004-xmllint-memory-should-fail-on-empty-files.patch0000644000000000000000000000163712177612662022310 0ustar From: Daniel Veillard Date: Wed, 8 May 2013 05:45:48 +0000 Subject: xmllint --memory should fail on empty files Exposed by https://bugzilla.gnome.org/show_bug.cgi?id=699896 when doing analysis but a priori unrelated. --- xmllint.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmllint.c b/xmllint.c index 26d8db1..c0196ab 100644 --- a/xmllint.c +++ b/xmllint.c @@ -2338,8 +2338,11 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { if ((fd = open(filename, O_RDONLY)) < 0) return; base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ; - if (base == (void *) MAP_FAILED) + if (base == (void *) MAP_FAILED) { + fprintf(stderr, "mmap failure for file %s\n", filename); + progresult = XMLLINT_ERR_RDFILE; return; + } if (rectxt == NULL) doc = xmlReadMemory((char *) base, info.st_size, debian/patches/series0000644000000000000000000000070412205472611012033 0ustar 0001-modify-xml2-config-and-pkgconfig-behaviour.patch 0002-Fix-an-error-in-xmlCleanupParser.patch 0003-Fix-missing-break-on-last-function-for-attributes.patch 0004-xmllint-memory-should-fail-on-empty-files.patch 0005-properly-quote-the-namespace-uris-written-out-during.patch 0006-Fix-a-parsing-bug-on-non-ascii-element-and-CR-LF-usa.patch 0007-Fix-XPath-optimization-with-predicates.patch 0006-fix-python-multiarch-includes.patch xmllint_pretty.patch debian/patches/0006-Fix-a-parsing-bug-on-non-ascii-element-and-CR-LF-usa.patch0000644000000000000000000000324212177612662023462 0ustar From: Daniel Veillard Date: Wed, 22 May 2013 20:56:45 +0000 Subject: Fix a parsing bug on non-ascii element and CR/LF usage https://bugzilla.gnome.org/show_bug.cgi?id=698550 Somehow the behaviour of the internal parser routine changed slightly when encountering CR/LF, which led to a bug when parsing document with non-ascii Names --- parser.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/parser.c b/parser.c index b9df6d8..dd00399 100644 --- a/parser.c +++ b/parser.c @@ -3404,6 +3404,7 @@ xmlParseNCNameComplex(xmlParserCtxtPtr ctxt) { int len = 0, l; int c; int count = 0; + const xmlChar *end; /* needed because CUR_CHAR() can move cur on \r\n */ #ifdef DEBUG nbParseNCNameComplex++; @@ -3413,6 +3414,7 @@ xmlParseNCNameComplex(xmlParserCtxtPtr ctxt) { * Handler for more complex cases */ GROW; + end = ctxt->input->cur; c = CUR_CHAR(l); if ((c == ' ') || (c == '>') || (c == '/') || /* accelerators */ (!xmlIsNameStartChar(ctxt, c) || (c == ':'))) { @@ -3434,12 +3436,14 @@ xmlParseNCNameComplex(xmlParserCtxtPtr ctxt) { } len += l; NEXTL(l); + end = ctxt->input->cur; c = CUR_CHAR(l); if (c == 0) { count = 0; GROW; if (ctxt->instate == XML_PARSER_EOF) return(NULL); + end = ctxt->input->cur; c = CUR_CHAR(l); } } @@ -3448,7 +3452,7 @@ xmlParseNCNameComplex(xmlParserCtxtPtr ctxt) { xmlFatalErr(ctxt, XML_ERR_NAME_TOO_LONG, "NCName"); return(NULL); } - return(xmlDictLookup(ctxt->dict, ctxt->input->cur - len, len)); + return(xmlDictLookup(ctxt->dict, end - len, len)); } /** debian/patches/xmllint_pretty.patch0000644000000000000000000000101412205472617014736 0ustar --- a/xmllint.c +++ b/xmllint.c @@ -3375,11 +3375,13 @@ (!strcmp(argv[i], "--pretty"))) { i++; #ifdef LIBXML_OUTPUT_ENABLED - format = atoi(argv[i]); - if (format == 1) { - noblanks++; - xmlKeepBlanksDefault(0); - } + if (argv[i] != NULL) { + format = atoi(argv[i]); + if (format == 1) { + noblanks++; + xmlKeepBlanksDefault(0); + } + } #endif /* LIBXML_OUTPUT_ENABLED */ } #ifdef LIBXML_READER_ENABLED debian/README.Debian0000644000000000000000000000116512154654360011240 0ustar Notes about libxml2 ------------------- While libxml2 is trying to fit at best the XML, XPath, XIncludes, etc. standards, it is likely to contain implementation bugs which tend to disappear with newer versions. For this reason, if you are using libxml2 libraries or tools for standard conforming development, it's suggested to upgrade libxml2 with newer packages from either testing or unstable Debian repositories. If you're using libxml2 in Gnome context, or similar case (ie. xml usage not requiring heavy standards compliance), you don't need such upgrade. -- Mike Hommey , Sat Oct 16 14:29:43 JST 2004 debian/libxml2-doc.doc-base0000644000000000000000000000047112154654360012711 0ustar Document: libxml2-doc Title: Reference manual for the libxml2. Author: Daniel Veillard Abstract: This manual describes the functions available in libxml2. Section: Programming Format: HTML Index: /usr/share/doc/libxml2-doc/index.html Files: /usr/share/doc/libxml2-doc/*.html /usr/share/doc/libxml2-doc/*/*.html debian/control0000644000000000000000000001534612203634233010600 0ustar Source: libxml2 Priority: optional Section: libs Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian XML/SGML Group Uploaders: Aron Xu , YunQiang Su Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), perl, dh-autoreconf, autotools-dev, libpython-all-dev (>= 2.6.6-3~), libpython-all-dbg, python-all-dev:any (>= 2.6.6-3~), python-all-dbg:any, zlib1g-dev | libz-dev, liblzma-dev, libreadline-dev | libreadline6-dev Homepage: http://xmlsoft.org/ Vcs-Git: git://anonscm.debian.org/debian-xml-sgml/libxml2.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-xml-sgml/libxml2.git XS-Testsuite: autopkgtest Package: libxml2 Priority: standard Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: xml-core Multi-Arch: same Description: GNOME XML library XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package provides a library providing an extensive API to handle such XML data files. Package: libxml2-utils Architecture: any Section: text Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: XML utilities XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package provides xmllint, a tool for validating and reformatting XML documents, and xmlcatalog, a tool to parse and manipulate XML or SGML catalog files. Package: libxml2-utils-dbg Architecture: any Section: debug Priority: extra Depends: libxml2-utils (= ${binary:Version}), ${misc:Depends} Description: XML utilities (debug extension) XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package provides the debugging symbols for the utilities provided by the libxml2-utils package. Package: libxml2-dev Architecture: any Section: libdevel Depends: libxml2 (= ${binary:Version}), ${misc:Depends} Suggests: pkg-config Multi-Arch: same Description: Development files for the GNOME XML library XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . Install this package if you wish to develop your own programs using the GNOME XML library. Package: libxml2-dbg Architecture: any Section: debug Priority: extra Depends: libxml2 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: Debugging symbols for the GNOME XML library XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package provides the debugging symbols for the library. Package: libxml2-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: devhelp Multi-Arch: foreign Description: Documentation for the GNOME XML library XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package contains general information about the GNOME XML library and more specific API references. Package: python-libxml2 Architecture: any Section: python Provides: ${python:Provides} Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: Python bindings for the GNOME XML library XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package contains the files needed to use the GNOME XML library in Python programs. Package: python-libxml2-dbg Architecture: any Section: debug Priority: extra Provides: ${python:Provides} Depends: python-dbg, python-libxml2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Python bindings for the GNOME XML library (debug extension) XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This package contains the files needed to use the GNOME XML library in Python programs for use with the Python debug interpreter. Package: libxml2-udeb XC-Package-Type: udeb Architecture: any Section: debian-installer Depends: ${shlibs:Depends}, ${misc:Depends} Description: GNOME XML library - minimal runtime XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard metalanguage for markup languages. . This is a minimal package for use in debian-installer that yields a library providing an extensive API to handle such XML data files. debian/libxml2-dev.preinst0000644000000000000000000000020612154654360012725 0ustar #!/bin/sh set -e [ "$1" = "upgrade" ] && [ -L /usr/share/doc/libxml2-dev ] && rm -f /usr/share/doc/libxml2-dev #DEBHELPER# exit 0 debian/libxml2-utils.manpages0000644000000000000000000000003712154654360013420 0ustar doc/xmllint.1 doc/xmlcatalog.1 debian/libxml2-udeb.install0000644000000000000000000000003712154654360013052 0ustar usr/lib/*/libxml2.so.* usr/lib debian/python-libxml2.install0000644000000000000000000000010112154654360013444 0ustar usr/lib/python*/*-packages/*.py* usr/lib/python*/*-packages/*.so debian/tests/0000755000000000000000000000000012170545233010332 5ustar debian/tests/control0000644000000000000000000000012612170545233011734 0ustar Tests: build python Depends: libxml2-dev, python-libxml2, build-essential, pkg-config debian/tests/python0000644000000000000000000000104312170545233011574 0ustar #!/bin/sh python < ]> """) elem = doc.getRootElement() attr = elem.hasNsProp('attr', 'http://abc.org') if attr == None or attr.serialize()[:-1] != """""": print("Failed to find defaulted attribute abc:attr") sys.exit(1) doc.freeDoc() EOF debian/tests/build0000644000000000000000000000156212170545233011360 0ustar #!/bin/sh # autopkgtest check: Build and run a program against libxml2, to verify that the # headers and pkg-config file are installed correctly # (C) 2012 Canonical Ltd. # Author: Daniel Holbach set -e WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat < xmltest.c #include int main(void) { xmlNodePtr n; xmlDocPtr doc; xmlNodePtr cur; doc = xmlNewDoc(BAD_CAST "1.0"); n = xmlNewNode(NULL, BAD_CAST "root"); xmlNodeSetContent(n, BAD_CAST "content"); xmlDocSetRootElement(doc, n); cur = xmlDocGetRootElement(doc); if (xmlStrcmp(cur->name, (const xmlChar *) "root")) return (1); xmlFreeDoc(doc); return (0); } EOF gcc -o xmltest xmltest.c `pkg-config --cflags --libs libxml-2.0` echo "build: OK" [ -x xmltest ] ./xmltest echo "run: OK" debian/rules0000755000000000000000000001177712251036123010256 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 # The versions of python currently supported PYVERS=$(shell pyversions -s) # The current default version of python PYVER=$(shell pyversions -d) export DEB_BUILD_MAINT_OPTIONS=hardening=+all DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CC = $(DEB_HOST_GNU_TYPE)-gcc CFLAGS = `dpkg-buildflags --get CFLAGS` -Wall LDFLAGS = `dpkg-buildflags --get LDFLAGS` -Wl,--as-needed CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` TARGETS := main $(PYVERS) $(PYVERS:%=%-dbg) WITH_UDEB := $(shell dpkg-vendor --derives-from Ubuntu && echo yes) ifdef WITH_UDEB $(if $(shell grep -q libxml2-udeb debian/control || echo yes),$(shell cat debian/control.udeb >> debian/control)) TARGETS += udeb else $(if $(shell grep -q libxml2-udeb debian/control && echo yes),$(shell sed -i /libxml2-udeb/,\$$d debian/control)) export DH_OPTIONS = -Nlibxml2-udeb endif CONFIGURE_FLAGS := --disable-silent-rules --with-history CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" --cache-file="$(CURDIR)/builddir/config.cache" override_dh_auto_configure: $(TARGETS:%=doconfigure-%) debian/autoreconf.after: dh_autoreconf doconfigure-%: debian/autoreconf.after dh_auto_configure --builddirectory=builddir/$* -- $(CONFIGURE_FLAGS) doconfigure-main: CONFIGURE_FLAGS += --without-python doconfigure-python%: CONFIGURE_FLAGS += --with-python=/usr/bin/$* #doconfigure-udeb: CONFIGURE_FLAGS += --without-history --with-minimum --with-tree --with-output --without-python doconfigure-udeb: CONFIGURE_FLAGS += --without-history --with-tree --with-output --without-python override_dh_auto_build: $(TARGETS:%=dobuild-%) dobuild-%: BUILD_DIR=builddir/$* dobuild-%: doconfigure-% $(if $(filter $(BUILD_DIR),builddir/$*),,[ -d $(BUILD_DIR) ] || mv builddir/$*/python $(BUILD_DIR)) dh_auto_build --builddirectory=$(BUILD_DIR) -- $(BUILD_FLAGS) dobuild-python%: BUILD_DIR=builddir/main/$* dobuild-python%: BUILD_FLAGS = libxml2mod_la_LIBADD='$$(mylibs)' \ PYTHON_INCLUDES="$(shell $(DEB_HOST_GNU_TYPE)-python-config --includes)" \ PYTHON_LIBS="$(shell $(DEB_HOST_GNU_TYPE)-python-config --ldflags)" dobuild-python%-dbg: BUILD_FLAGS += PYTHON_INCLUDES="$(shell $(DEB_HOST_GNU_TYPE)-python-dbg-config --includes)" \ PYTHON_LIBS="$(shell $(DEB_HOST_GNU_TYPE)-python-dbg-config --ldflags)" \ CFLAGS="$(CFLAGS) -Wall -g -O0" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) \ -L$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)" build-arch: $(TARGETS:%=dobuild-%) build-indep: build: build-arch build-indep override_dh_auto_clean: rm -rf builddir debian/tmp-dbg debian/tmp-udeb dh_auto_clean override_dh_auto_install: $(TARGETS:%=doinstall-%) find debian/ -name *.la -delete doinstall-main: dh_auto_install --builddirectory=builddir/main mv debian/tmp/usr/share/aclocal/libxml.m4 debian/tmp/usr/share/aclocal/libxml2.m4 # Properly install documentation in /usr/share/doc/libxml2-doc install -d debian/tmp/usr/share/doc/libxml2-doc/examples install -m 644 \ doc/*.html \ doc/*.gif \ doc/*.png \ doc/libxml2-api.xml debian/tmp/usr/share/doc/libxml2-doc install -m 644 \ doc/examples/*.c \ doc/examples/*.res \ doc/examples/index.html \ doc/examples/[tw]*.xml debian/tmp/usr/share/doc/libxml2-doc/examples cp -a \ doc/html \ doc/tutorial debian/tmp/usr/share/doc/libxml2-doc doinstall-python%-dbg: $(MAKE) -C builddir/main/python$*-dbg DESTDIR=$(CURDIR)/debian/tmp-dbg install-pythonLTLIBRARIES prename -vf 's/(? /dev/null 2>&1; then \ rm -f $(python)/libxml2mod.so; \ ln -s ../$(PYVER)/libxml2mod.so $(python)/libxml2mod.so; \ fi;) dh_strip override_dh_makeshlibs: dh_makeshlibs -a $(if $(WITH_UDEB),--add-udeb=libxml2-udeb )-V 'libxml2 (>= 2.7.4)' -- -c4 %: dh $@ --with autoreconf,python2 debian/source/0000755000000000000000000000000012154654360010474 5ustar debian/source/format0000644000000000000000000000001412154654360011702 0ustar 3.0 (quilt) debian/libxml2-utils.install0000644000000000000000000000004312154654360013270 0ustar usr/bin/xmllint usr/bin/xmlcatalog debian/watch0000644000000000000000000000034412170545233010222 0ustar version=3 opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|BETA|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ ftp://xmlsoft.org/libxml2/libxml2-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/libxml2.lintian-overrides0000644000000000000000000000005312154654360014123 0ustar libxml2: package-name-doesnt-match-sonames