head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q2:1.1.0.6 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.4 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.2; locks; strict; comment @# @; 1.2 date 2012.09.15.10.23.39; author adam; state dead; branches; next 1.1; 1.1 date 2012.02.22.11.10.18; author drochner; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2012.02.22.11.10.18; author spz; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2012.03.12.18.06.50; author spz; state Exp; branches; next ; desc @@ 1.2 log @Changes 2.9.0: Features: * A few new API entry points, * More resilient push parser mode, * A lot of portability improvement, * Faster XPath evaluation @ text @$NetBSD: patch-am,v 1.1 2012/02/22 11:10:18 drochner Exp $ --- runtest.c.orig 2010-10-12 06:25:32.000000000 +0000 +++ runtest.c @@@@ -3936,7 +3936,7 @@@@ thread_specific_data(void *private_data) return ((void *) Okay); } -#if defined(linux) || defined(__sun) || defined(__APPLE_CC__) +#if defined(linux) || defined(__sun) || defined(__APPLE_CC__) || defined(__NetBSD__) #include @ 1.1 log @build the library thread-aware, i.e. use but do not link against libpthread. (It doesn't create threads, just uses locking.) This seems to be wanted by some applications, eg vlc issues a warning on startup (with no visible consequences afaict, but anyway). I hope this works for other OSes too. If not, we should probably add support for these cases to mk/pthread.bl3.mk. bump PKGREV @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-am was added on branch pkgsrc-2011Q4 on 2012-03-12 18:06:50 +0000 @ text @d1 13 @ 1.1.2.2 log @Pullup ticket #3701 - requested by drochner textproc/libxml2: security fix and HEAD compatibility Revisions pulled up: - textproc/libxml2/Makefile 1.113-1.114 - textproc/libxml2/distinfo 1.88-1.89 - textproc/libxml2/patches/patch-CVE-2012-0841-aa 1.1 - textproc/libxml2/patches/patch-CVE-2012-0841-ab 1.1 - textproc/libxml2/patches/patch-CVE-2012-0841-ac 1.1 - textproc/libxml2/patches/patch-aa 1.24 - textproc/libxml2/patches/patch-ab 1.22 - textproc/libxml2/patches/patch-am 1.1 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: drochner Date: Wed Feb 22 11:10:18 UTC 2012 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo pkgsrc/textproc/libxml2/patches: patch-aa patch-ab Added Files: pkgsrc/textproc/libxml2/patches: patch-am Log Message: build the library thread-aware, i.e. use but do not link against libpthread. (It doesn't create threads, just uses locking.) This seems to be wanted by some applications, eg vlc issues a warning on startup (with no visible consequences afaict, but anyway). I hope this works for other OSes too. If not, we should probably add support for these cases to mk/pthread.bl3.mk. bump PKGREV To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 pkgsrc/textproc/libxml2/Makefile cvs rdiff -u -r1.87 -r1.88 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/libxml2/patches/patch-aa cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/libxml2/patches/patch-ab cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/libxml2/patches/patch-am ------------------------------------------------------------------- Module Name: pkgsrc Committed By: drochner Date: Fri Mar 9 12:12:28 UTC 2012 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-CVE-2012-0841-aa patch-CVE-2012-0841-ab patch-CVE-2012-0841-ac Log Message: Add patch from upstream to add hash randomization. Without that, (untrusted) input can fill hash buckets uneven, causing high CPU load. (CVE-2012-0841) To get a patch which is simple enough to get pulled up to the stable pkgsrc branch, I've not touched "configure" but just assumed that the POSIX functions rand(), srand() and time() are present. bump PKGREV To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 pkgsrc/textproc/libxml2/Makefile cvs rdiff -u -r1.88 -r1.89 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/libxml2/patches/patch-CVE-2012-0841-aa \ pkgsrc/textproc/libxml2/patches/patch-CVE-2012-0841-ab \ pkgsrc/textproc/libxml2/patches/patch-CVE-2012-0841-ac @ text @a0 13 $NetBSD$ --- runtest.c.orig 2010-10-12 06:25:32.000000000 +0000 +++ runtest.c @@@@ -3936,7 +3936,7 @@@@ thread_specific_data(void *private_data) return ((void *) Okay); } -#if defined(linux) || defined(__sun) || defined(__APPLE_CC__) +#if defined(linux) || defined(__sun) || defined(__APPLE_CC__) || defined(__NetBSD__) #include @