Hello community, here is the log from the commit of package nss-shared-helper checked in at Fri Nov 21 15:38:51 CET 2008. -------- --- nss-shared-helper/nss-shared-helper.changes 2008-11-06 22:21:36.000000000 +0100 +++ /mounts/work_src_done/STABLE/nss-shared-helper/nss-shared-helper.changes 2008-11-21 10:21:49.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Nov 21 02:00:04 CST 2008 - hpj@suse.de + +- Update to version 1.0.4, which makes the DB migration conditional + on an environment variable that will not be set by default + (NSS_USE_SHARED_DB). + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- nss-shared-helper-1.0.3.tar.bz2 New: ---- nss-shared-helper-1.0.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nss-shared-helper.spec ++++++ --- /var/tmp/diff_new_pack.M29940/_old 2008-11-21 15:38:37.000000000 +0100 +++ /var/tmp/diff_new_pack.M29940/_new 2008-11-21 15:38:37.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package nss-shared-helper (Version 1.0.3) +# spec file for package nss-shared-helper (Version 1.0.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Name: nss-shared-helper BuildRequires: mozilla-nspr-devel mozilla-nss-devel pkg-config -Version: 1.0.3 +Version: 1.0.4 Release: 1 Summary: Helper functions for sharing NSS database Group: Development/Libraries/C and C++ @@ -60,6 +60,7 @@ Summary: Development libraries for nss-shared-helper Group: Development/Libraries/C and C++ Requires: libnsssharedhelper0 = %{version} +Requires: mozilla-nss-devel %description devel Header and library files for helpers meant to enable sharing of NSS @@ -102,6 +103,10 @@ %postun -n libnsssharedhelper0 -p /sbin/ldconfig %changelog +* Fri Nov 21 2008 hpj@suse.de +- Update to version 1.0.4, which makes the DB migration conditional + on an environment variable that will not be set by default + (NSS_USE_SHARED_DB). * Wed Nov 05 2008 hpj@suse.de - Update to version 1.0.3, which fixes includes when used in C++ code. ++++++ nss-shared-helper-1.0.3.tar.bz2 -> nss-shared-helper-1.0.4.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/nss-shared-helper-1.0.3/configure new/nss-shared-helper-1.0.4/configure --- old/nss-shared-helper-1.0.3/configure 2008-11-05 17:49:10.000000000 +0100 +++ new/nss-shared-helper-1.0.4/configure 2008-11-21 08:50:38.000000000 +0100 @@ -2374,7 +2374,7 @@ # Define the identity of the package. PACKAGE=nss-shared-helper - VERSION=1.0.3 + VERSION=1.0.4 cat >>confdefs.h <<_ACEOF diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/nss-shared-helper-1.0.3/configure.ac new/nss-shared-helper-1.0.4/configure.ac --- old/nss-shared-helper-1.0.3/configure.ac 2008-11-05 17:48:48.000000000 +0100 +++ new/nss-shared-helper-1.0.4/configure.ac 2008-11-21 08:50:23.000000000 +0100 @@ -8,7 +8,7 @@ dnl --- Package configuration --- -AM_INIT_AUTOMAKE(nss-shared-helper, 1.0.3) +AM_INIT_AUTOMAKE(nss-shared-helper, 1.0.4) AM_CONFIG_HEADER(config.h) AC_SUBST(VERSION) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/nss-shared-helper-1.0.3/nss-shared-helper/db.c new/nss-shared-helper-1.0.4/nss-shared-helper/db.c --- old/nss-shared-helper-1.0.3/nss-shared-helper/db.c 2008-10-27 06:35:07.000000000 +0100 +++ new/nss-shared-helper-1.0.4/nss-shared-helper/db.c 2008-11-21 08:48:47.000000000 +0100 @@ -127,7 +127,17 @@ SECStatus rv; PK11SlotInfo *slot; secuPWData pwdata = { PW_NONE, 0 }; - + + if (!getenv ("NSS_USE_SHARED_DB")) + { + fprintf (stderr, "*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).\n"); + + rv = NSS_Initialize (old_path, + "", "", "secmod.db", + flags); + return rv; + } + new_path = nsshelp_get_user_db_path (); if (!new_path) return SECFailure; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org