commit 950be976d98ba2316c1c5aa6b6ad26edbbe63afc7963392aa759fccdaca8ee41 Author: Adrian Schröter Date: Fri May 3 16:12:52 2024 +0200 Sync from SUSE:SLFO:Main libxslt revision 09c875a4e7ad4d121662e62f03eca885 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..70f639a --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,7 @@ +libxslt1 + obsoletes "libxslt-" +libxslt-devel + requires -libxslt- + requires "libxslt1- = " + obsoletes "libxslt-devel- < " + provides "libxslt-devel- = " diff --git a/libxslt-1.1.24-no-net-autobuild.patch b/libxslt-1.1.24-no-net-autobuild.patch new file mode 100644 index 0000000..32214de --- /dev/null +++ b/libxslt-1.1.24-no-net-autobuild.patch @@ -0,0 +1,11 @@ +--- a/xsltproc/xsltproc.c ++++ b/xsltproc/xsltproc.c +@@ -544,7 +544,7 @@ + + sec = xsltNewSecurityPrefs(); + xsltSetDefaultSecurityPrefs(sec); +- defaultEntityLoader = xmlGetExternalEntityLoader(); ++ defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader(); + xmlSetExternalEntityLoader(xsltprocExternalEntityLoader); + + for (i = 1; i < argc; i++) { diff --git a/libxslt-1.1.38.tar.xz b/libxslt-1.1.38.tar.xz new file mode 100644 index 0000000..4bbe8b6 --- /dev/null +++ b/libxslt-1.1.38.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f32450425819a09acaff2ab7a5a7f8a2ec7956e505d7beeb45e843d0e1ecab1 +size 1576676 diff --git a/libxslt-random-seed.patch b/libxslt-random-seed.patch new file mode 100644 index 0000000..2c15efb --- /dev/null +++ b/libxslt-random-seed.patch @@ -0,0 +1,46 @@ +commit 047a0fd99e64c554c4edf44cc67ee765b09af017 +Author: Marcus Meissner +Date: Tue Apr 4 16:27:39 2017 +0200 + + initialize the random seed + +Index: libxslt-v1.1.36/libexslt/math.c +=================================================================== +--- libxslt-v1.1.36.orig/libexslt/math.c ++++ libxslt-v1.1.36/libexslt/math.c +@@ -12,6 +12,14 @@ + #include + #include + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++#include ++#ifdef HAVE_TIME_H ++#include ++#endif ++ + #include "exslt.h" + + /** +@@ -460,6 +468,20 @@ static double + exsltMathRandom (void) { + double ret; + int num; ++ long seed; ++ static int randinit = 0; ++ ++ if (!randinit) { ++ int fd = open("/dev/urandom",O_RDONLY); ++ ++ seed = time(NULL); /* just in case /dev/urandom is not there */ ++ if (fd != -1) { ++ read (fd, &seed, sizeof(seed)); ++ close (fd); ++ } ++ srand(seed); ++ randinit = 1; ++ } + + num = rand(); + ret = (double)num / (double)RAND_MAX; diff --git a/libxslt.changes b/libxslt.changes new file mode 100644 index 0000000..1984bd2 --- /dev/null +++ b/libxslt.changes @@ -0,0 +1,1313 @@ +------------------------------------------------------------------- +Tue May 9 16:09:17 UTC 2023 - David Anes + +- Removed patch 0009-Make-generate-id-deterministic.patch as it's + already fixed upstream. + +- Update to version 1.1.38: + * Major changes: + - About 40 memory errors in code paths handling malloc failures + have been fixed. + - While these issues shouldn't impact security, this improves + robustness under memory pressure. + - The result of generate-id() is now deterministic across + multiple transformations fixing many issues with reproducible + builds. + - Most of the test suite has been ported to C. + + * Bug fixes: + - Fix memory errors in code handling malloc failures + - imports: Fix import/include cycle check + - xsltlocale: Fix xsltNewLocale on macOS + - Make xsl:sort thread-safe + - Make generate-id() deterministic + + * Improvements + - Stop using xmlStringCurrentChar + - attributes.h needs to include xsltInternals.h (David Kilzer) + - transform: Avoid null deref on documents without root node + - numbers: Fix floating point overflows + - date: Fix integer overflow in exsltDateFormatDuration + - numbers: Fix harmless integer sign change + - date: Add more overflow checks to formatting code (David Kilzer) + - date: Fix rounding to make Windows tests pass + - date: Rewrite duration and seconds formatting + - xsltlocale: Make API platform-independent + - Also accept application/xslt+xml media type in stylesheet PIs + - warnings: Fix strict prototypes warning + - xsltEvalUserParams() and xsltQuoteUserParams() are susceptible to integer + overflow when iterating through const char** array (David Kilzer) + - xslt: Return NULL stylesheet on attribute set errors + - xsltproc: Fix unused variable warning + - xslt: Remove declaration for old libxml2 + - Fix various compiler warnings + - Fix compiler warnings in xsltGenerateIdFunction + - Disable Python bindings for debugger + - Don't declare disabled functions + - Migrate from PyEval_ to PyObject_ + +------------------------------------------------------------------- +Tue Aug 30 14:42:27 UTC 2022 - Bjørn Lie + +- Update to version 1.1.37: + * Improvements: + + Don't use deprecated libxml2 macros + + Don't mess with xmlDefaultSAXHandler + * Build system: + + Require automake-1.16.3 or later + + Remove generated files from distribution + + Add missing compile definition for static builds to Autotools + +------------------------------------------------------------------- +Thu Aug 18 07:50:04 UTC 2022 - David Anes + +- Update to 1.1.36: + * Removals and deprecations + + Remove SVN keyword anchors + + Remove CVS and SVN-related code + + Remove README.cvs-commits + + Remove ChangeLog + + Remove xsltwin32config.h + * Improvements + + Simplify xsltexports.h and exsltexports.h + + Don't overlink executables with gcrypt + + Fix quadratic behavior with variables and parameters + + Remove case labels with XPointer location types + + Add configure~ to .gitignore + + Stop calling deprecated libxml2 functions + * Portability + + Use portable python shebangs (David Seifert) + + Remove useless __CYGWIN__ checks + + Remove cruft from win32config.h + + crypto.c: Silence a compiler warning on Windows (Chun-wei Fan) + * Build system + + Add missing compile definition for static builds to CMake + + Avoid obsolescent `test -a` constructs (David Seifert) + + Only link libxml2 statically in purely static build + + Set AC_CONFIG_MACRO_DIR + + Allow AM_MAINTAINER_MODE to be disabled + + Streamline and fix documentation installation + + Don't try to recreate COPYING symlink + + Remove special configuration for certain maintainers + + configure.ac: produce tar.xz only (GNOME policy) (David Seifert) + + Detect libm using libtool's macros (David Seifert) + + configure.ac: disable static libraries by default (David Seifert) + + python/Makefile.am: nest python docs in $(docdir) (David Seifert) + + python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert) + + configure.ac: remove useless AC_SUBST (David Seifert) + + Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert) + + Change libxml2 Python config + + Don't check for standard C89 library functions + + Don't check for standard C89 headers + + Remove --with-html-dir option + + Also check for glibtoolize in autogen.sh + + Rework documentation build system + + Remove old website + + CMake: Relax check for enabling crypto support on Windows (Chun-wei Fan) + + Remove obsolete AC_HEADER_STDC autoconf macro (Vadim Zeitlin) + + Remove special configuration for old maintainers + * Test suite, CI + + Remove test involving XPointer range-to function + + Test recursion in EXSLT dynamic functions + + Add CI job for static build + * Documentation + + Move tutorial images + +------------------------------------------------------------------- +Wed Mar 9 05:07:32 UTC 2022 - Luciano Santos + +- Update to version 1.1.35: + * Security fixes: + + [CVE-2021-30560] Use-after-free in xsltApplyTemplates; + + A couple of memory leak and a double-free fixes. + * A couple of regression fixes. + * Many bug fixes. + * New xsltproc --huge option, provided by libxml XML_PARSE_HUGE. + * Numerous tests and code and fuzzing fixes and improvements. + * Updated documentation. +- The full Libxslt 2.9.13 NEWS can be found here: + https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.\ + news +- Switch libxml2-devel package with its pkgconfig module + counterpart (libxml-2.0) to align with CONFIGURE script's checks. +- Add fdupes build requirement/macro to hard-link duplicate files + in the DATADIR inside the buildroot. +- Add explicit 'gcc' build requirement to align with CONFIGURE + checks. +- Update http://xmlsoft.org URL tag to Libxslt's new web home: + https://gitlab.gnome.org/GNOME/libxslt. +- Update ftp://xmlsoft.org Source tag to Libxslt's new download + host: https://download.gnome.org. +- Drop no longer needed/used libgpg-error-devel. Note that despite + 'lgpg-error' being linked against some libraries, there's no + automatic generation of run-time requirements on libgpg-error* + symbols our build system. And there's no mention of gpg-error in + the whole source tarball at all. +- Drop no longer needed explicit libtool build requirement and + `autoreconf` call in build section since we don't touch the build + system scripts nor use checked out git trees anymore. +- Drop libxslt.keyring source file as the new download host doesn't + offer GPG signatures. +- Drop fixed upstream patches: + libxslt-config-fixes.patch (glgo#GNOME/libxslt!3); + libxslt-Stop-using-maxParserDepth-XPath-limit.patch; + libxslt-Do-not-set-maxDepth-in-XPath-contexts.patch; and + Recreate-xsltproc-man-page-with-old-Docbook-styleshe.patch. +- Use ldconfig_scriptlets macro for post(un) handling of ldconfig + calls. + +------------------------------------------------------------------- +Wed Nov 10 09:58:52 UTC 2021 - Pedro Monreal + +- Add missing library .so files [bsc#1191771] + +------------------------------------------------------------------- +Fri Nov 5 21:08:07 UTC 2021 - Andreas Stieger + +- shared lib packaging policy boo#1191771 + +------------------------------------------------------------------- +Thu Jun 10 09:50:43 UTC 2021 - Petr Vorel + +- Backport upstream xsltproc manpage fix + f165525f Recreate xsltproc man page with old Docbook stylesheet URL + Recreate-xsltproc-man-page-with-old-Docbook-styleshe.patch + +------------------------------------------------------------------- +Mon Jun 7 08:57:36 UTC 2021 - Andreas Schwab + +- Don't disable testsuite under QEMU + +------------------------------------------------------------------- +Wed Jun 2 07:47:37 UTC 2021 - Christophe Giboudeaux + +- Move the Copyright file to %_defaultlicensedir + Configure.ac replaces the COPYING file with a symlink. + +------------------------------------------------------------------- +Tue Jun 1 10:41:44 UTC 2021 - Pedro Monreal + +- Fix build with libxml2 2.9.12 that removes maxParserDepth XPath limit +- Add upstream patches: + * libxslt-Stop-using-maxParserDepth-XPath-limit.patch + * libxslt-Do-not-set-maxDepth-in-XPath-contexts.patch + +------------------------------------------------------------------- +Wed Nov 20 12:58:31 UTC 2019 - Pedro Monreal Gonzalez + +- Update to 1.1.34: Oct 30 2019 + * Documentation: + - Fix EXSLT web pages, Regenerate web pages + - Fix Git link in news.html + - Minor documentation fixes after recent changes + - Regenerate symbols and API docs + - Regenerate EXSLT website + * Portability: + - Remove stubs when compiling without debugger or profiler + - configure.ac: Invoke PKG_CHECK_MODULES for building shared libraries + - configure.ac: Conditionally determine whether xml2-config should pass + shared libraries or static libraries + - xslt-config.in: Fix broken --prefix=DIR support + - libexslt.pc.in: Do not expose private library dependencies unless invoked + - libxslt.pc.in: Do not expose private library dependencies unless invoked + - Fix -Wformat-overflow warning (GCC 9) + - Stop including ansidecl.h + - Remove WIN32_EXTRA_* variables + - Build without winsock + * Bug Fixes: + - xsl:template without name and match attributes should not be allowed + - Make sure that Python tests exit with error code + - Improve handling of invalid UTF-8 in format-number + - Fix dangling pointer in xsltCopyText + - Fix memory leak in pattern compilation error path + - Fix uninitialized read with UTF-8 grouping chars + - Fix integer overflow in FORMAT_GYEAR + - Fix performance regression with xsl:number + - Backup XPath context node in xsltInitCtxtKey + - Fix unsigned integer overflow in date.c + - Fix insertion of xsl:fallback content + - Avoid quadratic behavior in xsltSaveResultTo + - Fix numbering in non-Latin scripts + - Fix uninitialized read of xsl:number token + - Fix integer overflow in _exsltDateDayInWeek + - Rework xsltAttrVT allocation + - Fix check of xsltTestCompMatch return value + - Fix security framework bypass + - Use xmlNewTextChild in EXSLT dyn:map + - Fix float casts in exsltDateDuration + - Always set context node before calling XPath iterators + - Fix attribute precedence with xsl:use-attribute-sets + - Backup context node in exsltFuncFunctionFunction + - Initialize ctxt->output before evaluating global vars + - Fix memory leak in EXSLT functions error path + * Improvements: + - Fix -Wimplicit-fallthrough warnings + - Adjust number of API index pages + - Make xsltCompileRelativePathPattern non-recursive + - Check that crypto:rc4_decrypt produces valid UTF-8 + - Avoid recursion in keys.c:skipPredicate + - xslt-config.in: Simply handling of $all_flags + - xslt-config.in: Add a --dynamic option to --libs + - xslt-config.in: Simplify basic library handling + - xslt-config.in: Remove unused variable + - xslt-config: Simply handling of --cflags + - Improve fuzzers + - Always reuse XPath context + - Compile with -Wextra + - Make profiler support optional + - Hide unused code when compiling without debugger + - Reorganize fuzzing code + - Optional operation limit + - Improve seed corpus and dictionary + - Reuse XPath context when compiling stylesheets + - Reuse XPath context in dyn:map + - Reuse XPath context in saxon:expression + - Add libFuzzer targets + - Adjust error message in expected test output + - Change bug tracker URL + - Change git repo URL + - Regenerate NEWS + - Fix misleading indentation in security.c + * Cleanups: + - Remove empty TODO file + - Remove generated file libxsltclass.txt from version control + - Rebuild docs +- Rebase patch libxslt-config-fixes.patch +- Remove patches fixed upstream: + * libxslt-CVE-2019-11068.patch + * libxslt-CVE-2019-13117.patch + * libxslt-CVE-2019-13118.patch + * libxslt-CVE-2019-18197.patch + +------------------------------------------------------------------- +Mon Oct 21 13:55:37 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix [bsc#1154609, CVE-2019-18197] + * Fix dangling pointer in xsltCopyText + * Add libxslt-CVE-2019-18197.patch + +------------------------------------------------------------------- +Tue Oct 1 08:24:01 UTC 2019 - Tomáš Chvátal + +- Drop out lilbxslt-python package as it is just py2 based and + upstream yet didn't bother to port it to python3. + When there is python3 compatible code it should be enabled as + multibuild here + * Drop now unused libxslt-1.1.24-linkflags.patch and + libxslt-do_not_build_doc_nor_xsltproc.patch + +------------------------------------------------------------------- +Tue Jul 2 15:02:27 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix: [bsc#1140101, CVE-2019-13118] + * Fix uninitialized read with UTF-8 grouping chars. Read of + uninitialized stack data due to too narrow xsl:number + instruction and an invalid character + * Added libxslt-CVE-2019-13118.patch + +------------------------------------------------------------------- +Tue Jul 2 15:00:56 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix: [bsc#1140095, CVE-2019-13117] + * Fix uninitialized read of xsl:number token. An xsl number with + certain format strings could lead to a uninitialized read in + xsltNumberFormatInsertNumbers + * Added libxslt-CVE-2019-13117.patch + +------------------------------------------------------------------- +Thu Apr 11 06:06:01 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix: [bsc#1132160, CVE-2019-11068] + * Bypass of a protection mechanism because callers of xsltCheckRead + and xsltCheckWrite permit access even upon receiving a -1 error + code. xsltCheckRead can return -1 for a crafted URL that is not + actually invalid and is subsequently loaded. + * Added libxslt-CVE-2019-11068.patch + +------------------------------------------------------------------- +Mon Mar 4 13:11:30 UTC 2019 - Pedro Monreal Gonzalez + +- Update to version 1.1.33 + * Portability: + - Variables need 'extern' in static lib on Cygwin + - Really declare dllexport/dllimport for Cygwin + - Fix callback signatures in Python bindings + - Fix transform callback signatures + - Fix extension callback signatures + - Fix deallocator signatures + - Fix XPath callback signatures + - Fix hash callback signatures + * Bug Fixes: + - Don't cache direct evaluation of patterns with variables + - Move function result RVTs to context variable + - Fix EXSLT functions returning RVTs from outer scopes + - Fix handling of RVTs returned from nested EXSLT functions + - Fix typos + * Improvements: + - Run Travis ASan tests with "sudo: required" + * Cleanups: + - Remove doc/libxslt-decl.txt + - Docs for 1.1.32 release +- Cleaned with spec-cleaner + +------------------------------------------------------------------- +Wed Nov 8 12:13:46 UTC 2017 - vcizek@suse.com + +- Update to version 1.1.32 + * fixes xml-config detection regression (boo#1066525) + +------------------------------------------------------------------- +Thu Oct 19 10:09:45 UTC 2017 - pmonrealgonzalez@suse.com + +- Update to version 1.1.30 [bsc#1063934] + * Documentation: + - Misc doc fixes + * Portability: + - Look for libxml2 via pkg-config first + * Bug Fixes: + - Also fix memory hazards in exsltFuncResultElem + - Fix NULL deref in xsltDefaultSortFunction + - Fix memory hazards in exsltFuncFunctionFunction + - Fix memory leaks in EXSLT error paths + - Fix memory leak in str:concat with empty node-set + - Fix memory leaks in error paths + - Switch to xmlUTF8Strsize in numbers.c + - Fix NULL pointer deref in xsltFormatNumberFunction + - Fix UTF-8 check in str:padding + - Fix xmlStrPrintf argument + - Check for overflow in _exsltDateParseGYear + - Fix double to int conversion + - Check for overflow in exsltDateParseDuration + - Change version of xsltMaxVars back to 1.0.24 + - Disable xsltCopyTextString optimization for extensions + - Create DOCTYPE for HTML version 5 + - Make xsl:decimal-format work with namespaces + - Remove norm:localTime extension function + - Check for integer overflow in xsltAddTextString + - Detect infinite recursion when evaluating function arguments + - Fix memory leak in xsltElementAvailableFunction + - Fix for pattern predicates calling functions + - Fix cmd.exe invocations in Makefile.mingw + - Don't try to install index.sgml + - Fix symbols.xml + - Fix heap overread in xsltFormatNumberConversion + - Fix for non-element nodes + - Fix unreachable code in xsltAddChild + - Change version number in xsl:version warning + - Avoid infinite recursion after failed param evaluation + - Stop if potential recursion is detected + - Consider built-in templates in apply-imports + - Fix precedence with multiple attribute sets + - Rework attribute set resolution + * Improvements: + - Silence tests a little + - Set LIBXML_SRC to absolute path + - Add missing #include + - Adjust expected error messages in tests + - Make xsltDebug more quiet + - New-line terminate error message that missed this convention + - Use xmlBuffers in EXSLT string functions + - Switch to xmlUTF8Strsize in EXSLT string functions + - Check for return value of xmlUTF8Strlen + - Avoid double/long round trip in FORMAT_ITEM + - Separate date and duration structs + - Check for overflow in _exsltDateDifference + - Clamp seconds field of durations + - Change _exsltDateAddDurCalc parameter types + - Fix date:difference with time zones + - Rework division/remainder arithmetic in date.c + - Remove exsltDateCastDateToNumber + - Change internal representation of years + - Optimize IS_LEAP + - Link libraries with libm + - Rename xsltCopyTreeInternal to xsltCopyTree + - Update linker version script + - Add local wildcard to version script + - Make some symbols static + - Remove redundant NULL check in xsltNumberComp + - Fix forwards compatibility for imported stylesheets + - Reduce warnings in forwards-compatible mode + - Precompute XSLT elements after preprocessing + - Fix whitespace in xsltParseStylesheetTop + - Consolidate recursion checks + - Treat XSLT_STATE_STOPPED same as errors + - Make sure that XSLT_STATE_STOPPED isn't overwritten + - Add comment regarding built-in templates and params + - Rewrite memory management of local RVTs + - Validate QNames of attribute sets + - Add xsl:attribute-set regression tests + - Ignore imported stylesheets in xsltApplyAttributeSet + +- Dropped patches fixed upstream + * libxslt-CVE-2016-4738.patch + * libxslt-1.1.28-CVE-2017-5029.patch + +------------------------------------------------------------------- +Mon Sep 11 18:35:31 UTC 2017 - jengelh@inai.de + +- Fix RPM groups. Drop ineffective --with-pic. + Trim conjecture from description. + +------------------------------------------------------------------- +Fri Jul 28 18:48:39 UTC 2017 - mpluskal@suse.com + +- Add gpg signature +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Tue Apr 25 15:03:30 UTC 2017 - pmonrealgonzalez@suse.com + +- Fixed CVE-2017-5029 bcs#1035905 + * Limit buffer size in xsltAddTextString to INT_MAX +- Added patch libxslt-1.1.28-CVE-2017-5029.patch + +------------------------------------------------------------------- +Wed Apr 5 07:46:27 UTC 2017 - pgajdos@suse.com + +- security update: initialize random generator, CVE-2015-9019 + [bsc#934119] + + libxslt-random-seed.patch + +------------------------------------------------------------------- +Mon Mar 13 12:43:04 UTC 2017 - pmonrealgonzalez@suse.com + +- Added patch libxslt-CVE-2016-4738.patch + * Fix heap overread in xsltFormatNumberConversion: An empty + decimal-separator could cause a heap overread. This can be + exploited to leak a couple of bytes after the buffer that holds + the pattern string. + * bsc#1005591 CVE-2016-4738 + +------------------------------------------------------------------- +Sat Jun 11 11:42:29 UTC 2016 - tchvatal@suse.com + +- Update to 1.1.29: + * new release after 4 years with few bugfies all around +- Refresh patch 0009-Make-generate-id-deterministic.patch to apply +- Remove cve patch that was integrated upstream: + libxslt-1.1.28-type_confusion_preprocess_attr.patch +- Unpack the manpage as the compression is set by buildbot not always gz + +------------------------------------------------------------------- +Fri May 20 13:53:45 UTC 2016 - kstreitova@suse.com + +- add libxslt-1.1.28-type_confusion_preprocess_attr.patch to fix + type confusion in preprocessing attributes [bnc#952474], + [CVE-2015-7995] + +------------------------------------------------------------------- +Thu Apr 9 06:47:23 UTC 2015 - suse@microstep-mis.com + +- fix package with "soname" should obsolete libxslt package on suse < 12.2 (SLE11) + +------------------------------------------------------------------- +Sun Feb 1 06:09:25 UTC 2015 - coolo@suse.com + +- add 0009-Make-generate-id-deterministic.patch from debian's + reproducible builds project to avoid randomness in generated IDs + +------------------------------------------------------------------- +Thu Dec 6 07:59:17 UTC 2012 - pascal.bleser@opensuse.org + +- update to 1.1.28: + * fix generate-id() to avoid generating the same ID + * fix crash with empty xsl:key/@match attribute + * fix crash when passing an uninitialized variable to document() + * fix regression: default namespace not correctly used + * remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml +- changes from 1.1.27: + * link python module with python library (Frederic Crozat) + * report errors on variable use in key + * the XSLT namespace string is a constant one + * fix handling of names in xsl:attribute + * reserved namespaces in xsl:element and xsl:attribute + * null-terminate result string of cry:rc4_decrypt + * EXSLT date normalization fix + * exit after compilation of invalid func:result + * fix for EXSLT func:function + * rewrite EXSLT string:replace to be conformant + * avoid a heap use after free error + * fix a dictionary string usage + * output should not include extraneous newlines when indent is off + * document('') fails to return stylesheets parsed from memory + * xsltproc should return an error code if xinclude fails + * forwards-compatible processing of unknown top level elements + * fix system-property with unknown namespace + * fix default template processing on namespace nodes + * fix a bug in selecting XSLT elements + * fix a memory leak with xsl:number + * fix a problem with ESXLT date:add() with January + * fix generate-id() to not expose object addresses + * allow whitespace in xsl:variable with select + * fix direct pattern matching bug + * add the saxon:systemId extension + * add an append mode to document output + * fix portability to upcoming libxml2-2.9.0 + * precompile patterns in xsl:number + +- change soname macro back to "1" and enforce it in the files list +- revert -tools subpackage for openSUSE < 12.2 as that has only + become effective since 12.2 on the package that ships with the + distribution, to avoid having a completely different package + layout in this repository as compared to the stock distribution + packages (added a Provides: libxslt-tools though) + +------------------------------------------------------------------- +Wed Apr 25 12:23:57 UTC 2012 - chris@computersalat.de + +- add macro "soname" %{name}1 +- fix "self obsoletion" + +------------------------------------------------------------------- +Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de + +- Make sure to follow shlib policy; put tools in a separate package + like done in libxml2 + +------------------------------------------------------------------- +Wed Jan 4 18:44:16 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags (License: field is inherited) +- Use exact EVR for Provides: + +------------------------------------------------------------------- +Wed Jan 4 10:17:35 UTC 2012 - cfarrell@suse.com + +- Tutorial contains GPL-2.0+ code. Either split this off into a subpackage or + add GPL-2.0+ as an aggregation to the main licence tag + +------------------------------------------------------------------- +Sat Dec 3 17:29:03 UTC 2011 - agraf@suse.com + +- don't run make check in QEMU builds - breaks due to massive threading + +------------------------------------------------------------------- +Mon Nov 21 15:49:37 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +------------------------------------------------------------------- +Sun Nov 20 06:25:40 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Thu Sep 8 18:33:54 CEST 2011 - dmueller@suse.de + +- fix provides/obsoletes + +------------------------------------------------------------------- +Tue Aug 2 15:09:50 UTC 2011 - idonmez@novell.com + +- Add dependency on libgcrypt-devel and libgpg-error-devel for + the libxslt-devel package + +------------------------------------------------------------------- +Mon Aug 1 09:59:25 UTC 2011 - idonmez@novell.com + +- Correctly obsolete libxslt package in the baselibs.conf too + +------------------------------------------------------------------- +Fri Jul 29 09:37:02 UTC 2011 - idonmez@novell.com + +- Fix build on SLE + +------------------------------------------------------------------- +Fri Jul 29 01:53:38 UTC 2011 - crrodriguez@opensuse.org + +- Fix broken requires,provides,Obsoletes causing "have choice.." + build system errors +- Remove all "la" files since they are no longer needed +- Fix -devel pacakge requires and messed up -config scripts + this may cause build fails of already broken dependant packages + that do not link all the needed libraries in an explicit manner + (This is not a bug here, it is expected to cause it) + +------------------------------------------------------------------- +Wed Jul 27 09:14:25 UTC 2011 - giecrilj@stegny.2a.pl + +- package clean-up: + - include library version number in the name of the binary package + - add an alias for xsltproc (required by package xmlto) + +------------------------------------------------------------------- +Wed Jul 21 13:11:00 UTC 2010 - puzel@novell.com + +- update to libxslt-1.1.26 + - Improvements: + - Add xsltProcessOneNode to exported symbols for lxml + - Features: + - Add API versioning and various cleanups + - xsl:sort lang support using the locale + - Bug fixes + - Portability, documentation fixes +- drop libxslt-1.1.24-rc4-overflow.patch (included upstream) +- drop libxslt-1.1.24-am.patch (included upstream) + +------------------------------------------------------------------- +Sat Apr 24 11:38:22 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Mon Dec 14 16:19:17 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Sun Jun 21 10:20:38 CEST 2009 - coolo@novell.com + +- fix build with automake 1.11 + +------------------------------------------------------------------- +Fri Feb 13 13:10:20 CET 2009 - coolo@suse.de + +- fix file list + +------------------------------------------------------------------- +Wed Feb 11 14:45:16 CET 2009 - coolo@suse.de + +- readd "la" files to fix libxslt-python build + +------------------------------------------------------------------- +Mon Jan 26 18:18:17 CET 2009 - crrodriguez@suse.de + +- remove useless "la" file +- remove static libraries, if something breaks, move libraries to /%{_lib} + instead of restoring them + +------------------------------------------------------------------- +Wed Dec 10 12:34:56 CET 2008 - olh@suse.de + +- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade + (bnc#437293) + +------------------------------------------------------------------- +Thu Oct 30 12:34:56 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Fri Jul 18 16:09:54 CEST 2008 - prusnak@suse.cz + +- updated to 1.1.24: + * documentation: man page fix + * bug fixes: pattern bug fix, key initialization problems, + exclusion of unknown namespaced element on top of stylesheets + python generator syntactic cleanup +- dropped obsoleted CVE-2008-1767.patch (included in update) +- fixed overflow in RC4 code (rc4-overflow.patch) [bnc#410256] + +------------------------------------------------------------------- +Mon May 19 12:18:36 CEST 2008 - prusnak@suse.cz + +- fixed CVE-2008-1767 (CVE-2008-1767.patch) [bnc#391920] + +------------------------------------------------------------------- +Fri Apr 11 14:38:40 CEST 2008 - prusnak@suse.cz + +- updated to 1.1.23 + * Documentation + fix links for Cygwin DocBook setup (Philippe Bourcier) + - xsltParseStylesheetDoc doc fix (Jason Viers) + - fix manpage default maxdepth value + * Bug fixes: + - python segfault (Daniel Gryniewicz) + - week-in-year bug fix (Maurice van der Pot) + - fix python iterator problem (William Brack) + - avoid garbage collection problems on str:tokenize and str:split + and function results (William Brack and Peter Pawlowski) + - superfluous re-generation of keys (William Brack) + - remove superfluous code in xsltExtInitTest (Tony Graham) + - func:result segfault fix (William Brack) + - timezone offset problem (Peter Pawlowski), + * Portability fixes: + - old gcrypt support fix (Brent Cowgill) + - Python portability patch (Stephane Bidoul) + - VS 2008 fix (Rob Richard) + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Tue Jan 22 12:18:57 CET 2008 - prusnak@suse.cz + +- build --without-python to allow compilation from src.rpm + +------------------------------------------------------------------- +Tue Sep 18 16:21:03 CEST 2007 - sbrabec@suse.cz + +- Updated to version 1.1.22: + * Bug fixes: RVT cleanup problems, exclude-result-prefix bug, + stylesheet compilation error handling, out of memory allocation + errors, namespace problem on compound predicates, python + space/tab inconsistencies, hook xsl:message to per + transformation error callbacks, cached RVT problem, XPath + context maintainance on choose, memory leaks in the math + module, exclude-result-prefix induced namespace problem + * Portability fixes: improve build with VS2005, fixing build on + AIX, fix the security file checks on Windows. + * Improvement: add an --encoding option to xsltproc. + * Build: configure setup for TRIO_REPLACE_STDIO + * Documentation: updated after change from CVs to SVN + +------------------------------------------------------------------- +Thu Jan 25 14:15:40 CET 2007 - prusnak@suse.cz + +- update to 1.1.20 + * result Value Tree handling fix + * function parameters fix + * empty text node handling + * plugin support and test fixes + * fragment support fixes + * python stylesheet compare and transform context access + * EXSLT string replace support + * xsltproc better low level error handling +- fixed crash on ENOMEM (null-retval.patch) [#215223] +- drop obsolete patches: + * libxslt-aliasing.patch (included in update) + * libxslt-transform.patch (included in update) + +------------------------------------------------------------------- +Thu Dec 21 16:29:38 CET 2006 - ro@suse.de + +- fix for crash with certain transformations (libxcb build crash) + +------------------------------------------------------------------- +Tue Dec 12 11:10:55 CET 2006 - ke@suse.de + +- 1.1.19; NEWS extract: + * Bug fixes: entities within attributes; in-scope namespace bug, result + value tree caching bug, a number of namespace related bugs, etc. + * Improvements: refactoring of namespace handling, value-of + impleemntation and template internal processing, new xsltproc flag to + apply Xinclude to stylesheets. + * Documentation. + +------------------------------------------------------------------- +Fri Oct 27 17:58:57 CEST 2006 - dmueller@suse.de + +- update --nonet patch to work even when using rpmbuild directly + +------------------------------------------------------------------- +Tue Oct 24 20:18:35 CEST 2006 - dmueller@suse.de + +- make --nonet default while building packages (#214338) + +------------------------------------------------------------------- +Tue Oct 17 16:17:46 CEST 2006 - ke@suse.de + +- Move devel docs to the -devel subpackage; reported by Andreas Hanke [# + 212441]. + +------------------------------------------------------------------- +Fri Jun 16 15:33:59 CEST 2006 - ke@suse.de + +- 1.1.17: + * Bug fixes: some regression tests, attribute/namespaces output, + problem in mixed xsl:value-of and xsl:text uses. + * Improvements: internal refactoring, use of the XPath object cache in + libxml2-2.6.25. +- Require libxml2-2.2.25. + +------------------------------------------------------------------- +Tue May 23 15:19:20 CEST 2006 - ke@suse.de + +- Update to version 1.1.16: + * Bug fixes (pattern compilation, namespace prefixes, etc.). + * Speed up sorting. + * Documentation update. +- Adjust warn patch; drop libxslt-xpath-pattern.patch. + +------------------------------------------------------------------- +Wed Jan 25 21:37:50 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Oct 11 11:13:39 CEST 2005 - ke@suse.de + +- On account of pattern.c, add -fno-strict-aliasing again. +- Also require glibc-devel. + +------------------------------------------------------------------- +Tue Oct 4 11:06:42 CEST 2005 - ke@suse.de + +- libxslt-xpath-pattern.patch: + libxslt/pattern.c: fixed problem in internal XPath compilation + of patterns including variables, fixes GNOME bug #316861 + (William Brack). Reported by Andreas Jaeger/Uwe Gansert. + +------------------------------------------------------------------- +Fri Sep 30 16:29:54 CEST 2005 - aj@suse.de + +- Fix compiler warnings. +- Add missing requires. + +------------------------------------------------------------------- +Fri Sep 16 17:54:17 CEST 2005 - ke@suse.de + +- Update to version 1.1.15; NEWS from http://xmlsoft.org/XSLT/ : + * Bug fixes and improvements. + * Documentation enhancement. + +------------------------------------------------------------------- +Wed Jul 6 16:36:03 CEST 2005 - meissner@suse.de + +- fixed strict aliasing problem. + +------------------------------------------------------------------- +Mon Apr 4 11:06:01 CEST 2005 - ke@suse.de + +- Update to version 1.1.14; some NEWS (extract since .13) from + http://xmlsoft.org/XSLT/ : + * Extensions: module support; dictionnary based speedups trying to get + rid of xmlStrEqual as much as possible. + * Bugfixes: + exslt day-of-week-in-month, xsl:call-template should not change the + current template rule, evaluation of global variables, RVT's in + XPath predicates, namespace URI on template names, pattern + expression fixes, out of memory detection misses, parserOptions + propagation, exclude-result-prefixes fix, // patten fix, text node + on stylesheet document without a dictionary, more checking of XSLT + syntax, calling xsltInit() multiple times, bug in pattern matching + with ancestors, bug in pattern matching with cascading select, + xinclude and document() problem. +- CFLAGS: Add -fno-strict-aliasing. + +------------------------------------------------------------------- +Fri Dec 10 10:48:18 CET 2004 - ke@suse.de + +- Do not list manpages twice; reported by Chris Lahey [Novell #472] and + [# 49118]. + +------------------------------------------------------------------- +Tue Nov 2 11:32:33 CET 2004 - ke@suse.de + +- Update to version 1.1.12; some NEWS from http://xmlsoft.org/XSLT/ : + * Bug fixes: attribute document pointer fix, exslt date negative + periods, generated tree structure fixes, namespace lookup fix, use + reentrant gmtime_r, exslt:funtion namespace fix, potential NULL + pointer reference, force string interning on generated documents. + * Improve documentation. + +------------------------------------------------------------------- +Fri Oct 8 05:56:00 CEST 2004 - ke@suse.de + +- Update to version 1.1.11; some NEWS from http://xmlsoft.org/XSLT/ + (since 1.1.9): + * Bug fixes: xsl:include problems, UTF8 number pattern, date-time + validation, namespace fix, various Exslt date fixes, error callback + fixes, leak with namespaced global variable, attempt to fix a weird + problem (Gnome Bugzilla #153137), key initialization problem. + * Improvements: exslt:date-sum tests. + * Documentation: Second tutorial by Panagiotis Lourida. +- Enable crypto support [#44119]. + +------------------------------------------------------------------- +Mon Aug 23 07:50:41 CEST 2004 - ke@suse.de + +- Update to version 1.1.9; some NEWS from http://xmlsoft.org/XSLT/ + * Various bug fixes (RVT key handling, Python bindings, key and XPath, + 64bit issue, etc.). + +------------------------------------------------------------------- +Thu Aug 19 18:48:12 CEST 2004 - schwab@suse.de + +- Fix a broken cast. + +------------------------------------------------------------------- +Wed Jul 14 16:19:09 CEST 2004 - ke@suse.de + +- Update to version 1.1.8; some NEWS from http://xmlsoft.org/XSLT/ : + * Bug fixes. + +------------------------------------------------------------------- +Fri May 21 16:03:01 CEST 2004 - ke@suse.de + +- Update to version 1.1.7; some NEWS from http://xmlsoft.org/XSLT/ : + * Bugfixes: UTF-8 string tokenize, fix subtle memory corruption, + linefeed after comment at document level, disable-output-escaping + problem, pattern compilation in deep imported stylesheets, + namespace extension prefix bug, namespace lookup for attribute, + namespaced DOCTYPE name. + +------------------------------------------------------------------- +Tue Apr 20 14:24:43 CEST 2004 - ke@suse.de + +- Update to version 1.1.6; some NEWS from + http://xmlsoft.org/XSLT/ (since 1.1.2): + * Performance improvements (e.g., dictionnary reuses for XSLT). + * Various bugfixes (keys, thread troubles, tokenize fix for UTF-8, + xpath, etc.). + * Documentation cleanup. +- Drop obsolete patch (libxslt-m4.diff). + +------------------------------------------------------------------- +Mon Mar 15 09:53:23 CET 2004 - ke@suse.de + +- libxslt-m4.diff: Quote first argument of AC_DEFUN; reported by Dirk + Mueller [# 35887]. + +------------------------------------------------------------------- +Mon Jan 12 10:28:59 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Wed Jan 7 17:15:47 CET 2004 - ke@suse.de + +- Update to version 1.1.2; NEWS from http://xmlsoft.org/XSLT/: + * Documentation fixes; EXSLT documentation. + * Bug fixes: exslt:date returning NULL strings, namespaces output, + key and namespace definition problem, passing options down to + the document() parser, xsl:number fixes. + +------------------------------------------------------------------- +Fri Dec 12 13:20:22 CET 2003 - ke@suse.de + +- Update to version 1.1.1; NEWS from http://xmlsoft.org/XSLT/: + * bug fixes: number formatting, exslt:tokenize, key selector parsing + with |, xsl:element with computed namespaces, xslt:import/include + recursion detection, exslt:function used in keys, bug when + CDATA_SECTION are found in the tree, entities handling when using + XInclude. + +------------------------------------------------------------------- +Wed Nov 5 16:11:09 CET 2003 - ke@suse.de + +- Update to version 1.1.0; NEWS from http://xmlsoft.org/XSLT/: + * Make use of the new libxml2 API. + * Remove DocBook SGML broken support. + * Remove the deprecated breakpoint library + * Fixes: xsl:key to work with PIs, extension memory error fix, header + path, some tortuous template problems when using predicates, a bug + in default processing of attributes, detect invalid names on + templates, exslt:document (and similar) base handling problem, + * xsltproc option display fix, + * Python: never use stdout for error. + +------------------------------------------------------------------- +Tue Oct 7 13:36:04 CEST 2003 - ke@suse.de + +- Update to version 1.0.33; NEWS from http://xmlsoft.org/XSLT/: + * mode not cascaded in template fallbacks. + * catch redefinition of parameter/variables. + * multiple keys with same namespace name. + * cdata-section-elements handling of namespaced names. + * apply-templates crash. + * bug with imported templates. + * imported attribute-sets merging bug (DocBook). + +------------------------------------------------------------------- +Thu Sep 18 17:49:09 CEST 2003 - sf@suse.de + +- Do not free the hash keys during xmlHashScanFull, + it will corrupt the hash table. The keys will be + freed by xmlHashFree right afterwards anyway. #30506 + +------------------------------------------------------------------- +Fri Aug 15 17:50:08 CEST 2003 - ke@suse.de + +- Update to version 1.0.32; NEWS from http://xmlsoft.org/XSLT/: + * Bugfixes: xsltSaveResultToFile() python binding, EXSLT fixes, + speed of large text output, xsl:copy with attributes, strip-space and + namespaces prefix, fix for --path xsltproc option, sort with multiple + keys, checking of { and } for attribute value templates. + * Python bindings for extension elements. + * Doc cleanup. + +------------------------------------------------------------------- +Wed Jul 9 16:39:55 CEST 2003 - ke@suse.de + +- Update to version 1.0.31; NEWS from http://xmlsoft.org/XSLT/: + * Bugfixes: xsl:copy on namespace nodes, AVT for xsl:sort order, fix + for the debugger, output filename limitation, trio.h and triodef.h + added, EXSLT node-set, xsltChoose and whitespace, stylesheet + compilation, NaN and sort. + * Avoid generating " (fix in libxml2-2.5.8) + +------------------------------------------------------------------- +Tue Jun 17 17:31:15 CEST 2003 - sbrabec@suse.cz + +- Updated to version 1.0.30. +- Fixed linking of libxsltbreakpoint. + +------------------------------------------------------------------- +Mon May 26 15:28:30 CEST 2003 - ke@suse.de + +- Remove unwanted files from $RPM_BUILD_ROOT. + +------------------------------------------------------------------- +Wed Apr 2 15:54:30 CEST 2003 - ke@suse.de + +- Update to version 1.0.29; NEWS from http://xmlsoft.org/XSLT/: + Significant speedup for large (flat) documents which also requires + libxml2-2.5.6: + * Bug fixes: Result Value Tree handling, XML IDs, keys(), extra namespace + declarations with xsl:elements. + +------------------------------------------------------------------- +Wed Mar 26 14:03:58 CET 2003 - ke@suse.de + +- Update to version 1.0.28; NEWS from http://xmlsoft.org/XSLT/: + * Fix node() in patterns semantic. + * Fix a memory access problem in format-number() + * Fix stack overflow in recursive global variable or params + * Clean up Result Value Tree handling, and fix a couple of + old bugs in the process. + +------------------------------------------------------------------- +Tue Feb 11 15:46:00 CET 2003 - ke@suse.de + +- Update to version 1.0.26; NEWS from http://xmlsoft.org/XSLT/: + * Fixed 3 serious bugs in document() and stylesheet compilation which + could lead to a crash. + +------------------------------------------------------------------- +Thu Feb 6 11:15:33 CET 2003 - ke@suse.de + +- Update to version 1.0.24; NEWS from http://xmlsoft.org/XSLT/: + * Bug fixes: double-free for standalone stylesheets introduced in + 1.0.24, C syntax pbm, etc. + * Some XPath and XInclude related problems were actually fixed in + libxml2-2.5.2. + * Documentation: emphasize that --docbook is not for XML docs. + +------------------------------------------------------------------- +Wed Jan 15 10:22:17 CET 2003 - ke@suse.de + +- Update to version 1.0.24; NEWS from http://xmlsoft.org/XSLT/: + A lot of bug fixes and a few improvements: + * Bug fixes: imported global varables, python bindings, EXSLT memory + leak, namespace generation on xsl:attribute, space handling with + imports, extension-element-prefixes, comments within xsl:text, + superfluous xmlns generation, XInclude related bug for numbering, + EXSLT strings, attribute-sets computation on imports, extension module + init and shutdown callbacks not called. + * Add xsltGetProfileInformation(). + * Fix API generation scripts. + * API to provide the sorting routines. + * Add XML description of the EXSLT API. + * Add ESXLT URI (un)escaping. + * Fix some memory leaks. + * document() now supports fragment identifiers in URIs. + +------------------------------------------------------------------- +Tue Nov 26 17:02:31 CET 2002 - ro@suse.de + +- split libxslt-python to own specfile + (libxslt is turning more and more into a base package + and python requires a lot of other things to build) +- removed gtkdoc from neededforbuild (html is not rebuilt anyway) + +------------------------------------------------------------------- +Mon Nov 18 11:08:26 CET 2002 - ke@suse.de + +- Update to version 1.0.23; NEWS from http://xmlsoft.org/XSLT/: + * Improvement of the python bindings: extension functions and + activating EXSLT. + * various bug fixes: number formatting, portability for bounded string + functions, CData nodes, key(), @*[...] patterns. + * Documentation improvements. + * Add libxslt.m4. +- Require libxml2 2.4.27. + +------------------------------------------------------------------- +Thu Oct 31 16:38:13 CET 2002 - ke@suse.de + +- Update to version 1.0.22; NEWS from http://xmlsoft.org/XSLT/: + * Add a security module, and a related set of new options to xsltproc. + * Allow per transformation error handler. + * Fix a few bugs: node() semantic, URI escaping, media-type, attribute + lists. + +------------------------------------------------------------------- +Wed Oct 9 15:52:51 CEST 2002 - ke@suse.de + +- Update to version 1.0.21; NEWS from http://xmlsoft.org/XSLT/: + * Bug fixes: match="node()", date:difference(), disable-output-escaping + * Mem leak fix. + * Python bindings: style.saveResultToString(). + * Documentation improvements. + * try to handle document('') as best as possible depending in the + cases + * Fix the DocBook stylesheets handling problem + * Fix a few XSLT reported errors +- Drop namespace patch (already included). + +------------------------------------------------------------------- +Tue Aug 20 15:46:48 CEST 2002 - ke@suse.de + +- Apply patch by Daniel Veillard to fix a namespace problem raised by + recent DocBook stylesheets + (cf. http://bugzilla.gnome.org/show_bug.cgi?id=87901). + Reported by Stephan Kulow [# 18099]. + +------------------------------------------------------------------- +Wed Jul 31 16:53:03 CEST 2002 - ke@suse.de + +- Run %run_ldconfig. + +------------------------------------------------------------------- +Mon Jul 8 09:32:25 CEST 2002 - ke@suse.de + +- Update to version 1.0.19; NEWS from http://xmlsoft.org/XSLT/, not + mentioned earlier: + * Bug fixes: attributes, extra namespace declarations (DocBook), + xsl:include crash, documentation, element-available. + * xsltproc can now list registered extensions. + * New API to save directly to a string xsltSaveResultToString(). + * Specific error registration function for the python API. + +------------------------------------------------------------------- +Wed May 29 14:31:52 CEST 2002 - ro@suse.de + +- tweak python installation some more for lib64 + +------------------------------------------------------------------- +Tue May 28 13:24:11 CEST 2002 - ke@suse.de + +- Update to 1.0.18: + - Add Pyhton bindings (libxslt-python). + - Bug fixes. + - New man page for libexslt. + +------------------------------------------------------------------- +Tue Apr 30 11:23:09 CEST 2002 - ke@suse.de + +- Update to version 1.0.17; NEWS from http://xmlsoft.org/XSLT/ : + o EXSLT date improvement and regression tests. + o Attempt to fix a bug in xsltProcessUserParamInternal. + +------------------------------------------------------------------- +Fri Apr 19 13:35:07 CEST 2002 - ke@suse.de + +- Update to version 1.0.16; NEWS from http://xmlsoft.org/XSLT/ : + o Bug fixes: strip-space, URL in HTML output, error when xsltproc + can't save. + o Improve Python bindings. + +------------------------------------------------------------------- +Tue Apr 9 12:43:58 CEST 2002 - ke@suse.de + +- Update to version 1.0.15; NEWS since 1.0.9 from http://xmlsoft.org/XSLT/ : + * Change of Licence to the MIT Licence. + * Bugfixes: XPath, python Makefile, recursive attribute sets, + @foo[..] templates. + * Fix a bug raised when using doctypes with HTML output. + * More EXSLT functions. + * Provide fixes and regression tests for exslt date functions. + * Nasty bug fix related to exslt:node-set. + * Fix bug "namespace node have no parents". + * Obsoleted libxsltbreakpoint now deprecated and frozen to 1.0.8 API + * xsltproc return codes are now significant, update documentation. + * Debug of memory alocation with valgind. + * Patch to allow as much as 40 steps in patterns. + * Enhancements to interface with xsltdebugger. + * Added a stringparam option to avoid escaping hell at the shell level. + * serious profiling leading to significant improvement for DocBook + processing. + * Improvement in the XPath engine (libxml2-2.4.18). + * Add Python bindings. + * Documentation changes and updates. + +------------------------------------------------------------------- +Wed Feb 20 01:20:22 CET 2002 - olh@suse.de + +- fix prefix tag to build shared libs + +------------------------------------------------------------------- +Wed Feb 13 00:41:13 CET 2002 - adrian@suse.de + +- fix build for s390x + +------------------------------------------------------------------- +Tue Dec 11 14:40:42 CET 2001 - ro@suse.de + +- use less intrusive hack for libtool: export LIBRARY_PATH + +------------------------------------------------------------------- +Thu Nov 29 18:04:25 CET 2001 - ro@suse.de + +- install without buildroot first to work around libtool + not being able to cope with dependant libraries and buildroot + +------------------------------------------------------------------- +Tue Nov 27 13:30:04 CET 2001 - ke@suse.de + +- Update to version 1.0.8; NEWS from http://xmlsoft.org/XSLT/ : + - Previous header patch is superfluous. + - Bug fixes. + +------------------------------------------------------------------- +Tue Nov 20 11:24:37 CET 2001 - ke@suse.de + +- Add missing define; cf. + http://mail.gnome.org/archives/xslt/2001-November/msg00052.html . +- NEWS for 1.0.7 entries from http://xmlsoft.org/XSLT/ (not + mentioned earlier): + - Fix handling of indent="no" on HTML output. + +------------------------------------------------------------------- +Sat Nov 10 23:12:24 CET 2001 - adrian@suse.de + +- Update to version 1.0.7 +- add fixes for automake 1.5 + +------------------------------------------------------------------- +Sat Nov 3 14:52:37 CET 2001 - ro@suse.de + +- fix for automake 1.5 + +------------------------------------------------------------------- +Wed Oct 31 09:39:52 CET 2001 - ke@suse.de + +- Update to version 1.0.6; NEWS from http://xmlsoft.org/XSLT/ : + - Bug fixes on number formatting and date/time functions. + - Fix DOCTYPE generation rules for HTML output. + +------------------------------------------------------------------- +Thu Oct 11 16:49:59 CEST 2001 - ke@suse.de + +- Update to version 1.0.5; NEWS from http://xmlsoft.org/XSLT/ : + - Portability fixes. + - Fix a dozen bugs on XSLT and EXSLT. + - Add support for Saxon's evaluate and expressions extensions. + - Better handling of XPath evaluation errors. + +------------------------------------------------------------------- +Mon Oct 1 10:49:13 CEST 2001 - ke@suse.de + +- Update to version 1.0.4; NEWS from http://xmlsoft.org/XSLT/ : + - Documentation updates. + - Bug fixes (DocBook FO generation should be fixed) and portability + improvements. + - Improve existing EXSLT support and add String, Time and Date core + functions support. + +------------------------------------------------------------------- +Fri Aug 24 12:16:13 CEST 2001 - ke@suse.de + +- Update to version 1.0.3; from the announcement (cf. libxml2): + - Implement XML Catalog Specification from August 6: + http://www.oasis-open.org/committees/entity/spec-2001-08-06.html + http://xmlsoft.org/catalog.html + - New NaN and Infinity code. + - A number of small bugfixes. + +------------------------------------------------------------------- +Fri Aug 17 13:24:27 CEST 2001 - ke@suse.de + +- Update to version 1.0.2. +- Call 'libtoolize' and friends. + +------------------------------------------------------------------- +Wed Jul 11 14:54:15 CEST 2001 - ke@suse.de + +- New package: version 1.0.0. + + diff --git a/libxslt.spec b/libxslt.spec new file mode 100644 index 0000000..6915a25 --- /dev/null +++ b/libxslt.spec @@ -0,0 +1,184 @@ +# +# spec file for package libxslt +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define libver 1 +%define libexver 0 + +Name: libxslt +Version: 1.1.38 +Release: 0 +Summary: XSL Transformation Library +License: GPL-2.0-or-later AND MIT +Group: Development/Libraries/C and C++ +URL: https://gitlab.gnome.org/GNOME/libxslt +Source0: https://download.gnome.org/sources/%{name}/1.1/%{name}-%{version}.tar.xz +Source1: baselibs.conf +Source2: xslt-config.1 + +# PATCH-FIX-OPENSUSE -- libxslt-1.1.24-no-net-autobuild.patch +# The xmlGetExternalEntityLoader() tries to fetch/parse some information via +# internet, which OBS's build environment does not allow it. +Patch0: libxslt-1.1.24-no-net-autobuild.patch +# PATCH-FIX-UPSTREAM -- libxslt-random-seed.patch +# https://bugzilla.suse.com/show_bug.cgi?id=934119 +# https://bugzilla.gnome.org/show_bug.cgi?id=758400 +# Initialize the random seed to ensure libxslt's math.random() function +# produces unpredictable outputs. +Patch1: libxslt-random-seed.patch +# +### SUSE patches starts on 1000 +# PATCH-FIX-SUSE +#Patch1000: +# +BuildRequires: fdupes +BuildRequires: gcc +BuildRequires: libgcrypt-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libxml-2.0) >= 2.9.12 +Obsoletes: libxslt-python + +%description +This C library allows you to transform XML files into other XML files +(or HTML, text, and more) using the standard XSLT stylesheet +transformation mechanism. + +It is based on libxml (version 2) for XML parsing, tree manipulation, +and XPath support. It is written in plain C, making as few assumptions +as possible and sticks closely to ANSI C/POSIX for easy embedding. +It includes support for the EXSLT set of extension functions as well +as some common extensions present in other XSLT engines. + +%package -n libxslt%{libver} +Summary: XSL Transformation Library +License: LGPL-2.1-or-later +Group: System/Libraries + +%description -n libxslt%{libver} +This C library allows you to transform XML files into other XML files +(or HTML, text, and more) using the standard XSLT stylesheet +transformation mechanism. + +It is based on libxml (version 2) for XML parsing, tree manipulation, +and XPath support. It is written in plain C, making as few assumptions +as possible and sticks closely to ANSI C/POSIX for easy embedding. +It includes support for the EXSLT set of extension functions as well +as some common extensions present in other XSLT engines. + +%package -n libexslt%{libexver} +Summary: EXSLT Library +License: LGPL-2.1-or-later +Group: System/Libraries + +%description -n libexslt%{libexver} +This is the EXSLT C library developed for libxslt. +EXSLT is a community initiative to provide extensions to XSLT. + +%package devel +Summary: Development files for libxslt +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +Requires: %{name}-tools = %{version} +Requires: glibc-devel +Requires: libexslt%{libexver} = %{version} +Requires: libgcrypt-devel +Requires: libxslt%{libver} = %{version} + +%description devel +libxslt allows you to transform XML files into other XML files +(or HTML, text, and more) using the standard XSLT stylesheet +transformation mechanism. + +This subpackage contains the header files for developing +applications that want to make use of the XSLT libraries. + +%package tools +Summary: Extended Stylesheet Language (XSL) Transformation utilities +License: GPL-2.0-or-later AND MIT +Group: Development/Tools/Other +Provides: %{name} = %{version} +Provides: xsltproc = %{version} + +%description tools +This package contains xsltproc, a command line interface to the XSLT engine. +xtend the + +%prep +%autosetup -p1 + +%build +%configure \ + --disable-static \ + --without-python \ + --disable-silent-rules +%make_build + +%check +%make_build check + +%install +%make_install + +# Unwanted doc stuff +rm -fr %{buildroot}%{_datadir}/doc +# Install the manual page for xslt-config +install -D -m0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/xslt-config.1 +#kill all "la" files +find %{buildroot} -type f -name "*.la" -delete -print + +# Hardlink same-content files +%fdupes %{buildroot}%{_datadir} + +%ldconfig_scriptlets -n libxslt%{libver} +%ldconfig_scriptlets -n libexslt%{libexver} + +%files -n libxslt%{libver} +%license COPYING* Copyright +%{_libdir}/libxslt.so.%{libver}* + +%files -n libexslt%{libexver} +%license COPYING* Copyright +%{_libdir}/libexslt.so.%{libexver}* + +%files tools +%license COPYING* Copyright +%doc AUTHORS NEWS TODO FEATURES +%{_bindir}/xsltproc +%{_mandir}/man1/xsltproc.1%{?ext_man} + +%files devel +%license COPYING* Copyright +%{_libdir}/libxslt.so +%{_libdir}/libexslt.so +%{_libdir}/*.sh +%{_libdir}/pkgconfig/libxslt.pc +%{_libdir}/pkgconfig/libexslt.pc +%dir %{_libdir}/cmake/libxslt/ +%{_libdir}/cmake/libxslt/FindGcrypt.cmake +%{_libdir}/cmake/libxslt/libxslt-config.cmake +%{_includedir}/* +%{_datadir}/aclocal/* +%{_bindir}/xslt-config +%{_mandir}/man1/xslt-config.1%{?ext_man} +%{_mandir}/man3/* +%dir %{_datadir}/gtk-doc/ +%dir %{_datadir}/gtk-doc/html/ +%{_datadir}/gtk-doc/html/libexslt/ +%{_datadir}/gtk-doc/html/libxslt/ +%doc doc/*.html doc/tutorial doc/tutorial2 + +%changelog diff --git a/xslt-config.1 b/xslt-config.1 new file mode 100644 index 0000000..aa3fe34 --- /dev/null +++ b/xslt-config.1 @@ -0,0 +1,47 @@ +.mso www.tmac +.TH XSLT-CONFIG 1 2011-06-24 GNOME "The XSLT C library for GNOME" + +.SH NAME +xslt-config \- provides compilation or linking flags for programs using libxslt + +.SH SYNOPSIS +.B xslt-config --cflags +.br +.B xslt-config --libs + +.SH DESCRIPTION +.B xslt-config +is a small shell script which is installed as part of +.B libxslt +usual install process which provides compilation or linking flags for programs using it. +Use + +.IP +.B xslt-config --cflags + +.PP +to get the compilation flags and + +.IP +.B xslt-config --libs + +.PP +to get the linker flags. Usually this is done directly from the Makefile as: + +.IP +.B CFLAGS=`xslt-config --cflags` +.br +.B LIBS=`xslt-config --libs` + + +.SH NOTES +If you use the +.SM EXSLT +extensions from the program then you should prepend +.B -lexslt +to the +.B LIBS +options + +.SH SEE ALSO +.URL http://xmlsoft.org/XSLT/ "The XSLT C library for GNOME"