summaryrefslogtreecommitdiff
path: root/textproc/libxml2
AgeCommit message (Collapse)AuthorFilesLines
2010-11-26The Darwin 8 /bin/{,k}sh take offense at empty if .. fi blocks,hauke2-7/+13
so comment out the entire statement.
2010-11-25update to 2.7.8drochner4-15/+24
changes: -add code to plug in ICU converters by default -Add xmlSaveOption XML_SAVE_WSNONSIG -documentation fixes -portability fixes -bugfixes, in particular for an XPath problem which can be exploited to crash the program by a malformed XPath expression (CVE-2010-4008) -misc improvements, cleanup
2010-04-28Add patch-aj to include resolv.h conditionally.obache2-1/+20
https://bugzilla.gnome.org/show_bug.cgi?id=617053 Fixes build on Interix-6.0.
2010-04-13update to 2.7.7drochner5-59/+11
changes: -Adding a --xpath option to xmllint -Make HTML parser non-recursive -misc portability improvements and bugfixes
2009-11-22Patches out invalid linker flags for solaris. Tested with OpenSolaris/amd64sno3-9/+23
and Solaris 10/sparc - both with Sun Studio C/C++ 12u1. Fixes PR pkg/42335 (thanks to Todd Kover for the hint).
2009-11-15remove most of the hacks which were only to make the selftestdrochner2-13/+4
succeed, now that EBCDIC support in NetBSD-current was improved (see PR lib/42209)
2009-10-31Set LICENSE.wiz1-1/+2
2009-10-25Add patch to fix compiler error 'operands have incompatible types'sno2-1/+26
2009-10-21update to 2.7.6drochner5-178/+44
changes: -bugfixes -portability and documentation improvements -cleanup pkgsrc note: added some tweaks to EBCDIC support, both to fix non- portable assumptions in the code and to work around NetBSD deficiencies; now it needs only a little fix to CP273 (newline conversion) to make the selftest succeed on NetBSD
2009-08-26Add patch to fix the security vulnerabilites reported in CVE-2009-2414tron3-2/+166
and CVE-2009-2416. The patch was taken from the latest Fedora 11 "libxml2" source RPM.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-11/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-16Add glob to USE_FEATURES only once.joerg1-2/+2
2009-02-21Update to 2.7.3:wiz5-102/+6
2.7.3: Jan 18 2009 * Build fix: fix build when HTML support is not included. * Bug fixes: avoid memory overflow in gigantic text nodes, indentation problem on the writed (Rob Richards), xmlAddChildList pointer problem (Rob Richards and Kevin Milburn), xmlAddChild problem with attribute (Rob Richards and Kris Breuker), avoid a memory leak in an edge case (Daniel Zimmermann), deallocate some pthread data (Alex Ott). * Improvements: configure option to avoid rebuilding docs (Adrian Bunk), limit text nodes to 10MB max by default, add element traversal APIs, add a parser option to enable pre 2.7 SAX behavior (Rob Richards), add gcc malloc checking (Marcus Meissner), add gcc printf like functions parameters checking (Marcus Meissner).
2008-11-24Add fixes for security vulnerabilities reported in CVE-2008-4225 andtron5-3/+98
CVE-2008-4226 from "libxml2" SVN repository. Bump package revision.
2008-10-17restore the without-threads config arg which I accidentally commenteddrochner1-2/+3
out in the last update, bump PKGREVISION fixes PR pkg/39755 by David A. Holland
2008-10-16update to 2.7.2drochner4-44/+7
changes: -Portability fix: fix solaris compilation problem, fix compilation if XPath is not configured in -Bug fixes: nasty entity bug introduced in 2.7.0, restore old behaviour when saving an HTML doc with an xml dump function, HTML UTF-8 parsing bug, fix reader custom error handlers -Improvement: xmlSave options for more flexibility to save as XML/HTML/XHTML, handle leading BOM in HTML documents cvs: ----------------------------------------------------------------------
2008-10-13Need inttypes.h on Solaris 9.sketch2-1/+15
2008-10-09Split off options.mk file.wiz2-13/+14
Remove ancient workaround for sparc64/1.6 problem.
2008-10-09Add a fix for CVE-2008-4409 (also known as CVE-2008-4422) from thetron3-2/+25
GNOME bugzilla. Bump package revision.
2008-09-06Update to 2.7.1:wiz3-14/+14
2.7.1: Sep 1 2008 * Portability fix: Borland C fix (Moritz Both) * Bug fixes: python serialization wrappers, XPath QName corner case handking and leaks (Martin) * Improvement: extend the xmlSave to handle HTML documents and trees * Cleanup: python serialization wrappers 2.7.0: Aug 30 2008 * Documentation: switch ChangeLog to UTF-8, improve mutithreads and xmlParserCleanup docs * Portability fixes: Older Win32 platforms (Rob Richards), MSVC porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), non GNUCC builds (Rob Richards), compilation on Haiku (Andreas F�rber) * Bug fixes: various realloc problems (Ashwin), potential double-free (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob Richards), pattern fix when streaming (William Brack), various XML parsing and validation fixes based on the W3C regression tests, reader tree skipping function fix (Ashwin), Schemas regexps escaping fix (Volker Grabsch), handling of entity push errors (Ashwin), fix a slowdown when encoder cant serialize characters on output * Code cleanup: compilation fix without the reader, without the output (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups, serious cleanup of the entity handling code * Improvement: switch parser to XML-1.0 5th edition, add parsing flags for old versions, switch URI parsing to RFC 3986, add xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer), new hashing functions for dictionnaries (based on Stefan Behnel work), improve handling of misplaced html/head/body in HTML parser, better regression test tools and code coverage display, better algorithms to detect various versions of the billion laughts attacks, make arbitrary parser limits avoidable as a parser option
2008-05-04Add an HTTP download option to MASTER_SITESdsainty1-2/+3
2008-04-22Update to 2.6.32:wiz3-11/+11
2.6.32: Apr 8 2008 * Documentation: returning heap memory to kernel (Wolfram Sang), trying to clarify xmlCleanupParser() use, xmlXPathContext improvement (Jack Jansen), improve the *Recover* functions documentation, XmlNodeType doc link fix (Martijn Arts) * Bug fixes: internal subset memory leak (Ashwin), avoid problem with paths starting with // (Petr Sumbera), streaming XSD validation callback patches (Ashwin), fix redirection on port other than 80 (William Brack), SAX2 leak (Ashwin), XInclude fragment of own document (Chris Ryan), regexp bug with '.' (Andrew Tosh), flush the writer at the end of the document (Alfred Mickautsch), output I/O bug fix (William Brack), writer CDATA output after a text node (Alex Khesin), UTF-16 encoding detection (William Brack), fix handling of empty CDATA nodes for Safari team, python binding problem with namespace nodes, improve HTML parsing (Arnold Hendriks), regexp automata build bug, memory leak fix (Vasily Chekalkin), XSD test crash, weird system parameter entity parsing problem, allow save to file:///X:/ windows paths, various attribute normalisation problems, externalSubsetSplit fix (Ashwin), attribute redefinition in the DTD (Ashwin), fix in char ref parsing check (Alex Khesin), many out of memory handling fixes (Ashwin), XPath out of memory handling fixes (Alvaro Herrera), various realloc problems (Ashwin), UCS4 encoding conversion buffer size (Christian Fruth), problems with EatName functions on memory errors, BOM handling in external parsed entities (Mark Rowe) * Code cleanup: fix build under VS 2008 (David Wimsey), remove useless mutex in xmlDict (Florent Guilian), Mingw32 compilation fix (Carlo Bramini), Win and MacOS EOL cleanups (Florent Guiliani), iconv need a const detection (Roumen Petrov), simplify xmlSetProp (Julien Charbon), cross compilation fixes for Mingw (Roumen Petrov), SCO Openserver build fix (Florent Guiliani), iconv uses const on Win32 (Rob Richards), duplicate code removal (Ashwin), missing malloc test and error reports (Ashwin), VMS makefile fix (Tycho Hilhorst) * improvements: better plug of schematron in the normal error handling (Tobias Minich)
2008-01-15Update to 2.6.31:wiz2-6/+6
2.6.31: Jan 11 2008: - Security fix: missing of checks in UTF-8 parsing - Bug fixes: regexp bug, dump attribute from XHTML document, fix xmlFree(NULL) to not crash in debug mode, Schematron parsing crash (Rob Richards), global lock free on Windows (Marc-Antoine Ruel), XSD crash due to double free (Rob Richards), indentation fix in xmlTextWriterFullEndElement (Felipe Pena), error in attribute type parsing if attribute redeclared, avoid crash in hash list scanner if deleting elements, column counter bug fix (Christian Schmidt), HTML embed element saving fix (Stefan Behnel), avoid -L/usr/lib output from xml2-config (Fred Crozat), avoid an xmllint crash (Stefan Kost), don't stop HTML parsing on out of range chars. - Code cleanup: fix open() call third argument, regexp cut'n paste copy error, unused variable in __xmlGlobalInitMutexLock (Hannes Eder), some make distcheck realted fixes (John Carr) - Improvements: HTTP Header: includes port number (William Brack), testURI --debug option,
2007-10-31make it obey the inet6 option, from Yakovetsky Vladimir per PR pkg/37120drochner1-1/+10
(A single trivial option os not worth wasting an inode, so I've put it into the Makefile.)
2007-09-08Convert to use the features framework.jlam2-13/+4
2007-09-06Convert all libnbcompat/buildlink3.mk references to inplace.mk.jlam2-6/+5
2007-08-29Update to 2.6.30:wiz2-6/+6
* Portability: Solaris crash on error handling, windows path fixes (Roland Schwarz and Rob Richards), mingw build (Roland Schwarz) * Bugfixes: xmlXPathNodeSetSort problem (William Brack), leak when reusing a writer for a new document (Dodji Seketeli), Schemas xsi:nil handling patch (Frank Gross), relative URI build problem (Patrik Fimml), crash in xmlDocFormatDump, invalid char in comment detection bug, fix disparity with xmlSAXUserParseMemory, automata generation for complex regexp counts problems, Schemas IDC import problems (Frank Gross), xpath predicate evailation error handling (William Brack)
2007-07-07Update to 2.6.29:wiz3-11/+11
2.6.29: Jun 12 2007: - Portability: patches from Andreas Stricke for WinCEi, fix compilation warnings (William Brack), avoid warnings on Apple OS/X (Wendy Doyle and Mark Rowe), Windows compilation and threading improvements (Rob Richards), compilation against old Python versions, new GNU tar changes (Ryan Hill) - Documentation: xmlURIUnescapeString comment, - Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind' flag fix (Richard Jones), regexp interpretation of \, htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in typo (Bjorn Reese), entity content failure, xmlListAppend() fix (Georges-André Silber), XPath number serialization (William Brack), nanohttp gzipped stream fix (William Brack and Alex Cornejo), xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon), XPath string value of PI nodes (William Brack), XPath node set sorting bugs (William Brack), avoid outputting namespace decl dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding error handling, recustion on next in catalogs, fix a Relax-NG crash, workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes, invalid character in attribute detection bug, big comments before internal subset streaming bug, HTML parsing of attributes with : in the name - Improvement: keep URI query parts in raw form (Richard Jones), embed tag support in HTML (Michael Day)
2007-05-03Update to 2.6.28:wiz3-7/+8
2.6.28: Apr 17 2007: - Documentation: comment fixes (Markus Keim), xpath comments fixes too (James Dennett) - Bug fixes: XPath bug (William Brack), HTML parser autoclose stack usage (Usamah Malik), various regexp bug fixes (DV and William), path conversion on Windows (Igor Zlatkovic), htmlCtxtReset fix (Michael Day), XPath principal node of axis bug, HTML serialization of some codepoint (Steven Rainwater), user data propagation in XInclude (Michael Day), standalone and XML decl detection (Michael Day), Python id ouptut for some id, fix the big python string memory leak, URI parsing fixes (Stéphane Bidoul and William), long comments parsing bug (William), concurrent threads initialization (Ted Phelps), invalid char in text XInclude (William), XPath memory leak (William), tab in python problems (Andreas Hanke), XPath node comparison error (Oleg Paraschenko), cleanup patch for reader (Julien Reichel), XML Schemas attribute group (William), HTML parsing problem (William), fix char 0x2d in regexps (William), regexp quantifier range with min occurs of 0 (William), HTML script/style parsing (Mike Day) - Improvement: make xmlTextReaderSetup() public - Compilation and postability: fix a missing include problem (William), __ss_familly on AIX again (Björn Wiberg), compilation without zlib (Michael Day), catalog patch for Win32 (Christian Ehrlicher), Windows CE fixes (Andreas Stricke) - Various CVS to SVN infrastructure changes
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-11-03DESTDIR support.joerg1-1/+2
2006-10-30update to 2.6.27drochner4-81/+65
changes: -XPath improvements -optimization / caching -build and portability fixes -bugfixes -documentation improvements pkgsrc change: seperate user doc and devhelp files - migrate the latter to share/gtk-doc/html
2006-10-04Fixed the "test" phase by adding a dependency on Perl, but only if therillig1-2/+6
tests are enabled.
2006-10-01added support for IRIX 5schwarz2-2/+16
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-09update to 2.6.26drochner4-42/+6
changes: fixes for bugs and memory leaks, minor optimizations
2006-05-19Don't declare a variable in the middle of code. Fixes compilation ongavan2-1/+22
NetBSD 1.6.X.
2006-05-15Always install documentation files. Previously they were installed onminskim4-4/+51
Linux but not on NetBSD because the install command works differently when a wild card matching fails. Bump PKGREVISION.
2006-05-05add a cast to fix build on Solaris 10/Sun Studio CC,drochner2-1/+15
patch provided by Jake Kupersmith per PR pkg/33425
2006-05-03update to 2.6.24drochner2-7/+6
changes: -Portability fixes (Windows, HP-UX, gcc-4.1) -Improvements: xmlDOMWrapReconcileNamespaces xmlDOMWrapCloneNode -update to Unicode 4.01 -Bug fixes -man pages updates and cleanups -New features: Relax NG structure error handlers
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-3/+4
2006-01-14update to libxml2 2.6.23recht3-11/+11
changes: Portability fixes: - Windows (Rob Richards) - getaddrinfo on Windows (Kolja Nowak - Rob Richards) - icc warnings (Kjartan Maraas) - --with-minimum compilation fixes (William Brack) - error case handling fix on Solaris (Albert Chin) - don't use 'list' as parameter name reported by Samuel Diaz Garcia - more old Unices portability fixes (Albert Chin) - MinGW compilation (Mark Junker) - HP-UX compiler warnings (Rick Jones) Code cleanup: - xmlReportError (Adrian Mouat) - remove xmlBufferClose (Geert Jansen) - unreachable code (Oleksandr Kononenko) - refactoring parsing code (Bjorn Reese) Bug fixes: - xmlBuildRelativeURI and empty path (William Brack) - combinatory explosion and performances in regexp code - leak in xmlTextReaderReadString() - xmlStringLenDecodeEntities problem (Massimo Morara) - Identity Constraints bugs and a segfault (Kasimier Buchcik) - XPath pattern based evaluation bugs (DV & Kasimier) - xmlSchemaContentModelDump() memory leak (Kasimier) - potential leak in xmlSchemaCheckCSelectorXPath() - xmlTextWriterVSprintf() misuse of vsnprintf (William Brack) - XHTML serialization fix (Rob Richards) - CRLF split problem (William) - issues with non-namespaced attributes in xmlAddChild(), xmlAddNextSibling() and xmlAddPrevSibling() (Rob Richards) - HTML parsing of script - Python must not output to stdout (Nic Ferrier) - exclusive C14N namespace visibility (Aleksey Sanin) - XSD dataype totalDigits bug (Kasimier Buchcik) - error handling when writing to an xmlBuffer (Rob Richards) - runtest schemas error not reported (Hisashi Fujinaka) - signed/unsigned problem in date/time code (Albert Chin) - fix XSI driven XSD validation (Kasimier) - parsing of xs:decimal (Kasimier) - fix DTD writer output (Rob Richards) - leak in xmlTextReaderReadInnerXml (Gary Coady) - regexp bug affecting schemas (Kasimier) - configuration of runtime debugging (Kasimier) - xmlNodeBufGetContent bug on entity refs (Oleksandr Kononenko) - xmlRegExecPushString2 bug (Sreeni Nair) - compilation and build fixes (Michael Day) - removed dependancies on xmlSchemaValidError (Kasimier) - bug with <xml:foo/> - more XPath pattern based evaluation fixes (Kasimier) Improvements: - XSD Schemas redefinitions/restrictions (Kasimier Buchcik) - node copy checks and fix for attribute (Rob Richards) - counted transition bug in regexps - ctxt->standalone = -2 to indicate no standalone attribute was found - add xmlSchemaSetParserStructuredErrors() (Kasimier Buchcik) - add xmlTextReaderSchemaValidateCtxt() to API (Kasimier) - handle gzipped HTTP resources (Gary Coady) - add htmlDocDumpMemoryFormat. (Rob Richards) Documentation: - typo (Michael Day) - libxml man page (Albert Chin) - save function to XML buffer (Geert Jansen) - small doc fix (Aron Stansvik)
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-09-30Update to 2.6.22:wiz4-128/+197
2.6.22: Sep 12 2005: - build fixes: compile without schematron (Stéphane Bidoul) - bug fixes: xmlDebugDumpNode on namespace node (Oleg Paraschenko)i, CDATA push parser bug, xmlElemDump problem with XHTML1 doc, XML_FEATURE_xxx clash with expat headers renamed XML_WITH_xxx, fix some output formatting for meta element (Rob Richards), script and style XHTML1 serialization (David Madore), Attribute derivation fixups in XSD (Kasimier Buchcik), better IDC error reports (Kasimier Buchcik) - improvements: add XML_SAVE_NO_EMPTY xmlSaveOption (Rob Richards), add XML_SAVE_NO_XHTML xmlSaveOption, XML Schemas improvements preparing for derive (Kasimier Buchcik). - documentation: generation of gtk-doc like docs, integration with devhelp. pkgsrc change: install docs into share/doc instead of share/doc/html. Ok'd by maintainer, recht.
2005-09-08Remove tar from USE_TOOLS again. gtar (was changed to tar later) was added,recht1-2/+2
to work around problems with the bootstrap pax and libxml2-2.6.20 on Darwin.
2005-09-05update tp 2.6.21recht5-17/+19
2.6.21: Sep 4 2005: - build fixes: Cygwin portability fixes (Gerrit P. Haase), calling convention problems on Windows (Marcus Boerger), cleanups based on Linus' sparse tool, update of win32/configure.js (Rob Richards), remove warnings on Windows(Marcus Boerger), compilation without SAX1, detection of the Python binary, use $GCC inestad of $CC = 'gcc' (Andrew W. Nosenko), compilation/link with threads and old gcc, compile problem by C370 on Z/OS, - bug fixes: http_proxy environments (Peter Breitenlohner), HTML UTF-8 bug (Jiri Netolicky), XPath NaN compare bug (William Brack), htmlParseScript potential bug, Schemas regexp handling of spaces, Base64 Schemas comparisons NIST passes, automata build error xsd:all, xmlGetNodePath for namespaced attributes (Alexander Pohoyda), xmlSchemas foreign namespaces handling, XML Schemas facet comparison (Kupriyanov Anatolij), xmlSchemaPSimpleTypeErr error report (Kasimier Buchcik), xml: namespace ahndling in Schemas (Kasimier), empty model group in Schemas (Kasimier), wilcard in Schemas (Kasimier), URI composition (William), xs:anyType in Schemas (Kasimier), Python resolver emmitting error messages directly, Python xmlAttr.parent (Jakub Piotr Clapa), trying to fix the file path/URI conversion, xmlTextReaderGetAttribute fix (Rob Richards), xmlSchemaFreeAnnot memleak (Kasimier), HTML UTF-8 serialization, streaming XPath, Schemas determinism detection problem, XInclude bug, Schemas context type (Dean Hill), validation fix (Derek Poon), xmlTextReaderGetAttribute[Ns] namespaces (Rob Richards), Schemas type fix (Kuba Nowakowski), UTF-8 parser bug, error in encoding handling, xmlGetLineNo fixes, bug on entities handling, entity name extraction in error handling with XInclude, text nodes in HTML body tags (Gary Coady), xml:id and IDness at the treee level fixes, XPath streaming patterns bugs. - improvements: structured interfaces for schemas and RNG error reports (Marcus Boerger), optimization of the char data inner loop parsing (thanks to Behdad Esfahbod for the idea), schematron validation though not finished yet, xmlSaveOption to omit XML declaration, keyref match error reports (Kasimier), formal expression handling code not plugged yet, more lax mode for the HTML parser, parser XML_PARSE_COMPACT option for text nodes allocation. - documentation: xmllint man page had --nonet duplicated