Hello community, here is the log from the commit of package p11-kit for openSUSE:Factory checked in at 2012-02-16 16:20:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/p11-kit (Old) and /work/SRC/openSUSE:Factory/.p11-kit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "p11-kit", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/p11-kit/p11-kit.changes 2012-01-06 11:46:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.p11-kit.new/p11-kit.changes 2012-02-16 16:21:23.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 10 08:05:27 UTC 2012 - [email protected] + +- Update to version 0.11: + + Remove automatic reinitialization of PKCS#11 after fork + +------------------------------------------------------------------- Old: ---- p11-kit-0.10.tar.gz New: ---- p11-kit-0.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ p11-kit.spec ++++++ --- /var/tmp/diff_new_pack.x8i6PU/_old 2012-02-16 16:21:24.000000000 +0100 +++ /var/tmp/diff_new_pack.x8i6PU/_new 2012-02-16 16:21:24.000000000 +0100 @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: p11-kit -Version: 0.10 +Version: 0.11 Release: 0 Summary: Library to work with PKCS#11 modules License: BSD-3-Clause ++++++ p11-kit-0.10.tar.gz -> p11-kit-0.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/ChangeLog new/p11-kit-0.11/ChangeLog --- old/p11-kit-0.10/ChangeLog 2012-01-03 17:02:09.000000000 +0100 +++ new/p11-kit-0.11/ChangeLog 2012-02-09 21:27:45.000000000 +0100 @@ -1,5 +1,37 @@ # Generate automatically. Do not edit. +commit 632e268fa86ad8ba55d34044ccc325c20c8fc0c7 +Author: Stef Walter <[email protected]> +Date: 2012-02-07 + + Release 0.11 + + NEWS | 3 +++ + configure.ac | 2 +- + po/p11-kit.pot | 4 ++-- + 3 files changed, 6 insertions(+), 3 deletions(-) + +commit 53c34e8ff80500d6ef9366453e88c27a3a52ee46 +Author: Stef Walter <[email protected]> +Date: 2012-01-23 + + Remove automatic reinitialization of PKCS#11 after fork + + * First of all one should only call async-signal-safe functions + from the callbacks of pthread_atfork(), and so we cannot + reinitialize directly. + * Some modules use pthread_atfork() to detect forking and setup + their internal state. If we call into them in our pthread_atfork() + callback then this is inherently racy. + * There was danger of endless loops and deadlocks which are caused + by handlers which fork in their C_Initialize + * Many processes do fork/exec, reinitializing PKCS#11 for these + forks is quite resourc intensive when the child process won't use + PKCS#11 at all. + + p11-kit/modules.c | 11 ++--------- + 1 files changed, 2 insertions(+), 9 deletions(-) + commit 001d59596a37369d094edcace455f611d9f55908 Author: Stef Walter <[email protected]> Date: 2012-01-03 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/NEWS new/p11-kit-0.11/NEWS --- old/p11-kit-0.10/NEWS 2012-01-03 17:00:13.000000000 +0100 +++ new/p11-kit-0.11/NEWS 2012-02-09 21:25:39.000000000 +0100 @@ -1,3 +1,6 @@ +0.11 + * Remove automatic reinitialization of PKCS#11 after fork + 0.10 * Build fixes, for windows, gcc 4.6.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/configure new/p11-kit-0.11/configure --- old/p11-kit-0.10/configure 2012-01-03 17:01:00.000000000 +0100 +++ new/p11-kit-0.11/configure 2012-02-09 21:25:44.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for p11-kit 0.10. +# Generated by GNU Autoconf 2.68 for p11-kit 0.11. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue>. # @@ -571,8 +571,8 @@ # Identity of this package. PACKAGE_NAME='p11-kit' PACKAGE_TARNAME='p11-kit' -PACKAGE_VERSION='0.10' -PACKAGE_STRING='p11-kit 0.10' +PACKAGE_VERSION='0.11' +PACKAGE_STRING='p11-kit 0.11' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue' PACKAGE_URL='http://p11-glue.freedesktop.org/p11-kit.html' @@ -1354,7 +1354,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures p11-kit 0.10 to adapt to many kinds of systems. +\`configure' configures p11-kit 0.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1424,7 +1424,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of p11-kit 0.10:";; + short | recursive ) echo "Configuration of p11-kit 0.11:";; esac cat <<\_ACEOF @@ -1548,7 +1548,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -p11-kit configure 0.10 +p11-kit configure 0.11 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1974,7 +1974,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by p11-kit $as_me 0.10, which was +It was created by p11-kit $as_me 0.11, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2807,7 +2807,7 @@ # Define the identity of the package. PACKAGE='p11-kit' - VERSION='0.10' + VERSION='0.11' cat >>confdefs.h <<_ACEOF @@ -15720,7 +15720,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by p11-kit $as_me 0.10, which was +This file was extended by p11-kit $as_me 0.11, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15787,7 +15787,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -p11-kit config.status 0.10 +p11-kit config.status 0.11 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/configure.ac new/p11-kit-0.11/configure.ac --- old/p11-kit-0.10/configure.ac 2012-01-03 17:00:48.000000000 +0100 +++ new/p11-kit-0.11/configure.ac 2012-02-09 21:25:39.000000000 +0100 @@ -1,7 +1,7 @@ AC_PREREQ(2.61) AC_INIT([p11-kit], - [0.10], + [0.11], [https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue], [p11-kit], [http://p11-glue.freedesktop.org/p11-kit.html]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/doc/version.xml new/p11-kit-0.11/doc/version.xml --- old/p11-kit-0.10/doc/version.xml 2012-01-03 17:01:04.000000000 +0100 +++ new/p11-kit-0.11/doc/version.xml 2012-02-09 21:25:50.000000000 +0100 @@ -1 +1 @@ -0.10 +0.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/p11-kit/modules.c new/p11-kit-0.11/p11-kit/modules.c --- old/p11-kit-0.10/p11-kit/modules.c 2011-10-24 08:30:32.000000000 +0200 +++ new/p11-kit-0.11/p11-kit/modules.c 2012-01-23 09:06:45.000000000 +0100 @@ -541,21 +541,14 @@ hashiter iter; Module *mod; - /* WARNING: This function must be reentrant */ _p11_debug ("forked"); _p11_lock (); if (gl.modules) { _p11_hash_iterate (gl.modules, &iter); - while (_p11_hash_next (&iter, NULL, (void **)&mod)) { - if (mod->initialize_called) { - mod->initialize_called = 0; - - /* WARNING: Reentrancy can occur here */ - initialize_module_unlocked_reentrant (mod); - } - } + while (_p11_hash_next (&iter, NULL, (void **)&mod)) + mod->initialize_called = 0; } _p11_unlock (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/p11-kit-0.10/po/p11-kit.pot new/p11-kit-0.11/po/p11-kit.pot --- old/p11-kit-0.10/po/p11-kit.pot 2012-01-03 17:01:06.000000000 +0100 +++ new/p11-kit-0.11/po/p11-kit.pot 2012-02-09 21:25:39.000000000 +0100 @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: p11-kit 0.10\n" +"Project-Id-Version: p11-kit 0.11\n" "Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product=p11-" "glue\n" -"POT-Creation-Date: 2012-01-03 17:01+0100\n" +"POT-Creation-Date: 2012-02-07 14:48+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
