Commit graph

138 commits

Author SHA1 Message Date
tez
092b899554 Add patch for CVE-2017-5029 2017-05-23 23:37:01 +00:00
dholland
2f6b817122 Fix previous. Turns out we provided setup.py (!), but it had no rcsid
so I didn't notice.

Fix rpath handling. Needs to link to libxml2mod.so explicitly.
2017-05-16 13:51:50 +00:00
dholland
6065a1f7c2 PR pkg/47444 diro: py-libxslt is broken. Needs to link explicitly to
libxml2mod.so, so do that and fix rpath handling.
2017-05-15 18:07:40 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
wiz
6c8585301e Updated libxslt to 1.1.29.
Add Makefile.common for use by py-libxslt.

1.1.29: May 24 2016:
   - Security:
  CVE-2015-7995 Fix for type confusion in preprocessing attributes (Daniel Veillard)

   - Documentation:

   - Portability:
  Fix a portibility problem with previous commit (Eduard Sanou),
  Fix MingW build (Nick Wellnhofer),
  Correctly emulate snprintf on older MSVC versions (Nick Wellnhofer),
  Add Python script to run some tests on Windows (Nick Wellnhofer),
  Remove /OPT:NOWIN98 option (Nick Wellnhofer),
  Visual Studio 14 CTP defines snprintf() (Daniel Veillard),
  Use AC_PATH_TOOL to find libgcrypt-config and xml2-config (Micha¿ Górny),
  Use $libdir for LIBXSLT_DEFAULT_PLUGINS_PATH (larryhaja),
  Use mkdir macro also in case if mingw32. (Lars Kanis),
  Add math library to executable link flags (Nick Wellnhofer),
  Fix quoting of xlocale test program in configure.in (Nick Wellnhofer)

   - Bug Fixes:
  Fix OOB heap read in xsltExtModuleRegisterDynamic (Nick Wellnhofer),
  Remove CDATA markup from libxslt_tutorial.c (Nick Wellnhofer),
  Remove generated headers from dist tarball (Nick Wellnhofer),
  Mark XML file argument as repeatable (Nick Wellnhofer),
  Keep timezone in date:add (Nick Wellnhofer),
  Fix buffer overflow in exsltDateFormat (Nick Wellnhofer),
  Fix saxon:line-number with namespace nodes (Nick Wellnhofer),
  Fix dyn:map with namespace nodes (Nick Wellnhofer),
  Fix error handling in Saxon extension functions (Nick Wellnhofer),
  Fix double free in libexslt hash functions (Nick Wellnhofer),
  Fix libxslt format warnings (David Kilzer),
  Fix xsltNumberFormatGetMultipleLevel (Nick Wellnhofer),
  Fix use-after-free in xsltDocumentFunctionLoadDocument (Nick Wellnhofer),
  Always initialize EXSLT month and day to 1 (Nick Wellnhofer),
  Fix possible NULL pointer deref in transform.c (mahendra.n),
  Fix possible NULL pointer deref in xsltCopyTextString (Nick Wellnhofer),
  Fix possible NULL pointer deref in libexslt/functions.c (Nick Wellnhofer),
  Fix possible NULL pointer deref in xsltproc.c (mahendra.n),
  Fix possible NULL pointer deref in preproc.c (mahendra.n),
  Fix LIBXSLT_DEFAULT_PLUGINS_PATH in xsltconfig.h (Nick Wellnhofer),
  Fix memory leak in xsltNumberFormat (Albert Astals Cid),
  Error in doc/Makefile.am (Brice De Bruyne),
  Detect attribute sets recursions in more cases (Daniel Veillard),
  Check name vales for attribute-set elements (Daniel Veillard),
  Fix hang with namespace-alias, fixes #700689 (Shaun McCance),
  Fix str:align with UTF-8 strings (Nick Wellnhofer),
  Fix for compiled XPath helpers (Nick Wellnhofer),
  Check return value of exsltFuncNewFunctionData (Nick Wellnhofer),
  Fix return value of xsltRegisterExtModuleElement (Nick Wellnhofer),
  Call xmlNodeGetSpacePreserve with element node (Nick Wellnhofer),
  Set namespaces before evaluating xsl:number (Nick Wellnhofer),
  Make --maxvars option work (Per Hedeland),
  Set correct context node when initializing xsl:keys (Nick Wellnhofer),
  Fix for bug 436589 (Imran Azeezullah),
  Memory leak in xsltCompileIdKeyPattern error path (Nick Wellnhofer),
  Fix handling of UTF-8 strings in EXSLT crypto module (Nick Wellnhofer),
  Fix certain patterns with predicates (Nick Wellnhofer),
  Fix direct pattern matching (Nick Wellnhofer),
  Fix str:padding to work with UTF-8 strings (Nick Wellnhofer),
  EXSLT function str:replace() is broken as-is (Nick Wellnhofer),
  Fix a couple of places where (f)printf parameters were broken (Daniel Veillard)

   - Improvements:
  Add support timestamps from environment (Daniel Veillard),
  Add missing tests to dist tarball (Nick Wellnhofer),
  Improve error message in xsltAddTemplate and fix test (Nick Wellnhofer),
  Allow REC tests with empty stdout (Nick Wellnhofer),
  Fix GPL license in HTML files as well (Nick Wellnhofer),
  Fix status message in EXSLT dynamic tests (Nick Wellnhofer),
  Add public function macros to xsltlocale.h (Nick Wellnhofer),
  Make valgrind tests work with libtool (Nick Wellnhofer),
  Add a couple of xsl:number tests (Nick Wellnhofer),
  Lower and upper bound for format token "i" (Nick Wellnhofer),
  Lower bound for format token "a" (Nick Wellnhofer),
  Handle negative xsl:number values (Nick Wellnhofer),
  Round xsl:number values to nearest integer (Nick Wellnhofer),
  Allow {URI}NCName syntax for user parameters (Nick Wellnhofer),
  Fix endTimer parameter type (Nick Wellnhofer),
  Fix error messages for unsupported methods (Nick Wellnhofer),
  Replace sprintf with snprintf (David Kilzer),
  Enforce two digit exponent under MSVC (Nick Wellnhofer),
  Rework xsltNumberFormat to fix warning (Nick Wellnhofer),
  Fix a couple of GPL licences found in the documentation (Daniel Veillard),
  Use hash table to lookup named templates (Christian Ceelen),
  Fix to reg tests post 737840 fix (Daniel Veillard),
  Don't fail build the man page if xsltproc is not present (Daniel Veillard),
  Re-adding xsltproc.1 (Daniel Veillard),
  Fix time type in xsltSaveProfiling (Nick Wellnhofer),
  Remove unused parameters (Nick Wellnhofer),
  Suppress unused variable warning. (Nick Wellnhofer),
  Remove unused variable in xsltGenerateIdFunction (Nick Wellnhofer),
  Add test case for XPath function args in error case (Nick Wellnhofer),
  Add comment about known-to-fail test (Nick Wellnhofer),
  Adjust expected test output (Nick Wellnhofer),
  Helper functions to evaluate compiled XPath expressions (Nick Wellnhofer),
  Add tests for crypto:rc4 (Nick Wellnhofer),
  Add first test case for EXSLT crypto module (Nick Wellnhofer),
  Separate function for predicate matching in patterns (Nick Wellnhofer),
  Initialize pseudo random number generator with current time or optional command line parameter (Nils Werner),
  Adding doc update related to 1.1.28 (Daniel Veillard)

   - Cleanups:
  Remove bogus test file (Nick Wellnhofer),
  Add warning message to expected test output (Nick Wellnhofer)
2016-05-29 21:06:46 +00:00
jperkin
36eaaf6066 Use OPSYSVARS. 2016-02-26 10:24:10 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
richard
c41a796165 fix typo (thanks dholland@) 2015-07-09 01:56:44 +00:00
richard
3b51aa54a7 Add docbook-xml and docbook-xsl to avoid nonet load failures as well as
add to xsltproc-nonet.mk a variable XSLTPROC_PATH allowing packages to
specify where to find locally files such as dtds, avoiding warnings like
'warning: failed to load external entity'.

At the same time add a BUILD_DEPENDS to libxslt for xsltproc-nonet.mk
and bump PKGREVISION.
2015-07-08 10:34:46 +00:00
richard
85a694612d avoid "compilation error: file ./xsltproc.xml line 10 element refentry"
by making sure docbook-xml and docbook-xsl available during build (per wiz@)
2015-07-04 09:25:48 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
jperkin
c24ed9c54f The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers.  Change them all to "opt" rules for
consistency and to gain compatibility with cwrappers.
2014-12-15 11:46:34 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
adam
293016d308 Changes 1.1.28:
Portability:
* Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS,
* configure should be more careful with linker script,
* add gcrypt library in LIBADD, not LDFLAGS, as recommended
Bug fixes:
* Fix generate-id() to avoid generating the same ID,
* Fix crash with empty xsl:key/@match attribute,
* Crash when passing an uninitialized variable to document(),
* Add missing test docs to EXTRA_DIST,
* Fix regression: Default namespace not correctly used
Cleanups:
* Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml,
* autogen.sh cleanup,
* consistent use of xslt processor,
* Add object files in tests/plugins to .gitignore,
* Fix error on bug-165 regression test,
* Remove xsltTransStorageAdd and xsltTransStorageRemove
2012-11-27 12:17:50 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
adam
ddeea35bbd Also remove some patches 2012-09-15 10:27:00 +00:00
adam
c1fd7213e1 Changes 1.1.27:
Portability:
* xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED,
* Portability fix for testThreads.c,
* FreeBSD portability fixes,
* check for gmtime - on mingw* hosts will enable date-time function,
* use only native crypto-API for mingw* hosts,
* autogen: Only check for libtoolize,
* minimal mingw support,
* configure: acconfig.h is deprecated since autoconf-2.50,
* Fix a small out of tree compilation issue,
* Fix python generator to not use deprecated xmllib,
* link python module with python library
Documentation:
* Tiny doc improvement,
* Various documentation fixes for docs on internals
Bug fixes
2012-09-15 10:26:02 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
tez
4037104e37 Fix for CVE-2011-3970 from:
http://git.gnome.org/browse/libxslt/commit/?id=fe5a4fa33eb85bce3253ed3742b1ea6c4b59b41b
per https://bugzilla.redhat.com/show_bug.cgi?id=788826
2012-03-12 18:26:35 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
wiz
e2f84ad43f Reset maintainer for retired developers. 2011-02-28 14:52:37 +00:00
tez
be6f9ce632 fix build using solaris ld which is more picky about not ignoring bogus
stuff in the symbol file, by copying to an alternate file and patching.
based on info from http://www.mail-archive.com/xml@gnome.org/msg07624.html
2010-09-08 13:53:00 +00:00
drochner
79cff82453 update to 1.1.26
changes:
-fix for CVE-2008-2935 (was patched in pkgsrc)
-misc fixes and improvements
2010-04-13 16:14:03 +00:00
heinz
c286ae7afc Added LICENSE information. 2010-01-21 23:32:10 +00:00
drochner
00a10dacfa add a makefile snippet to build a wrapper for "xsltproc" which
makes sure the tool is called with the "--nonet" option, keeping
it from using http or ftp to resolve references in xml files
(unfortunately it doesn't work as intended yet)
2009-10-27 14:37:13 +00:00
joerg
75fc561a65 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:28:46 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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-20 19:23:50 +00:00
drochner
f5db990c23 add patch from upstream CVS to fix buffer overflow in RC4 crypto
code (CVE-2008-2935), bump PKGREVISION
2008-08-07 10:47:43 +00:00
recht
9dbf98c1c1 update to libxslt 1.2.4
fixes the security issue reported in:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1767
http://secunia.com/advisories/30315/
http://bugzilla.gnome.org/show_bug.cgi?id=527297

1.1.24: May 13 20088:
   - Documentation: man page fix (Vincent Lefevre).
   - Bug fixes: pattern bug fix, key initialization problems, exclusion of
      unknown namespaced element on top of stylesheets, python generator
      syntactic cleanup (Martin)
2008-05-22 16:03:10 +00:00
bjs
cef39c3e0b textproc/libxslt [1.22 -> 1.2.23]
one nominal change in pkgsrc:

- MASTER_SITES+=${MASTER_SITE_GNOME} is commented out. They evidently
  have not placed this product on their shelves yet.

  changes since prior release
  ---------------------------

    * python/generator.py: fix an infinite loop bug

    * libxslt/xsltutils.c: avoid a scary realloc() loop should fix
      #520383

    * libexslt/date.c: applied patch from Peter Pawlowski  fixing
      a timezone offset problem, fixes #521680
    * libxslt/namespaces.c: a bit of space/tabs cleanup

    * doc/xsltproc.xml doc/xsltproc.1 doc/xsltproc.html: small fix to
      man page synopsis, should fix #525822

    * libexslt/functions.c: fixed minor error reported on the mailing
      list by Mark Howe, which caused a segfault if func:result was
      postitioned as top-level element.

    * doc/xsltproc.xml doc/xsltproc.1: fix maxdepth default value
      documentation fixes #519921.

    * libxslt/extensions.c: fixed minor error bug #516483

    * libxslt/xslt.c: applied documentation patch from Jason Viers
      for xsltParseStylesheetDoc

    * doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
      setup as suggested by Philippe Bourcier

    * libxslt/keys.c, libxslt/pattern.c, libxslt/xsltInternals.h:
      fixed a problem on superfluous re-generation of keys reported
      on the mailing list by Josef Urban.

    * configure.in: avoid a problem in configure if an old gcrypt
      version is installed, patch from Brent Cowgill, fixes #500390

    * libexslt/common.c, libexslt/dynamic.c: After discussion on
      Bugzilla with Peter Pawlowski, added same code for preventing
      deletion of function result during garbage collection (see
      bug #495995).

    * libexslt/strings.c: Added code to mark the results of
      str:tokenize and str:split as "function result" to avoid
      garbage-collecting them during global variable initialisation.
      Should fix bug #495995.

    * python/libxslt.c: changed iterator argument for Py_Dict_Next
      from int to ssize_t (seems Python docs are incorrect) to fix
      x86_64 bug #489854.

    * python/libxslt.c: applied patch from Daniel Gryniewicz to
      fix a segfault caused by a parameter array not being preset
      to zero.
2008-04-18 20:43:55 +00:00
tnn
5d38e8a96a PR pkg/38224: Another case of me doing a bad LOWER_OPSYS to
MACHINE_PLATFORM conversion.
Will revist all of these to make sure they were correct.
2008-03-11 17:56:16 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
wiz
9d185dedd7 Update to 1.1.22, provided by Blair Sadewitz in private mail:
* Bug fixes: RVT cleanup problems (William Brack),
      exclude-result-prefix bug (William Brack), stylesheet compilation
      error handling (Rob Richards).
    * Portability fixes: improve build with VS2005 (Rob Richards),
      fixing build on AIX (Bjorn Wiberg), fix the security file checks
      on Windows (Roland Schwarz and Rob Richards).
    * Improvement: add an --encoding option to xsltproc (Drazen Kacar).
2007-08-29 23:26:44 +00:00
drochner
2a96302879 update to 1.1.21
changes: bugfixes, documentation update
2007-07-12 19:33:03 +00:00
adam
6f82968b44 Update MASTER_SITES, xmlsoft.org seems to have problems 2007-02-05 17:42:40 +00:00
drochner
dd08b7f5b5 update to 1.1.20
changes:
-Portability fixes
-Bug fixes
-python stylesheet compare and transform context access
-EXSLT string replace support
-xsltproc better low level error handling

mostly from Blair Sadewitz per mail to tech-pkg
2007-02-01 18:01:39 +00:00
rillig
e47d7214b7 Updated libxslt to 1.1.19.
Changes since 1.1.18:

1.1.19: Nov 29 2006:
   - Bug fixes: entities within attributes (William Brack), Python detection
      problem (Joseph Sacco), in-scope namespace bug (Mike Hommey), Result
      value tree caching bug (William Brack)
2007-01-16 19:49:43 +00:00
ghen
8c814252d2 ./configure demands libxml2>=2.6.27. 2006-11-22 17:09:33 +00:00
recht
835c3d9d73 Add a patch from libxslt CVS:
* libxslt/transform.c: fixed problem with entity handling within xsltCopyAttrListNoOverwrite (#352907)
http://bugzilla.gnome.org/show_bug.cgi?id=352907
2006-11-21 23:55:05 +00:00
joerg
5dfaaf310b DESTDIR support. 2006-11-05 17:06:43 +00:00
drochner
34663ef2c2 update to 1.1.18
changes:
-portability and build fixes
-bug fixes
-improvements: internal cleanup, new xsltproc flag to apply Xinclude to
 stylesheets
-documentation improvements
2006-10-30 21:03:21 +00:00
schwarz
34e005653b added support for IRIX 5 2006-10-01 08:56:28 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00