Hello community, here is the log from the commit of package libp11 checked in at Tue Oct 3 18:16:19 CEST 2006. -------- --- libp11/libp11.changes 2006-05-12 17:17:29.000000000 +0200 +++ /mounts/work_src_done/STABLE/libp11/libp11.changes 2006-10-03 18:05:34.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Oct 3 17:50:13 CEST 2006 - sbrabec@suse.cz + +- Updated to version 0.2.2: + * bug fixes + * code cleanup + +------------------------------------------------------------------- Old: ---- libp11-0.2.1.tar.bz2 New: ---- libp11-0.2.2-crash.patch libp11-0.2.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libp11.spec ++++++ --- /var/tmp/diff_new_pack.kBXkag/_old 2006-10-03 18:15:47.000000000 +0200 +++ /var/tmp/diff_new_pack.kBXkag/_new 2006-10-03 18:15:47.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libp11 (Version 0.2.1) +# spec file for package libp11 (Version 0.2.2) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,13 +11,14 @@ # norootforbuild Name: libp11 -Version: 0.2.1 -Release: 3 +Version: 0.2.2 +Release: 1 URL: http://www.opensc-project.org/libp11/ Group: Productivity/Security License: LGPL Summary: Library Implementing a Small Layer on Top of PKCS#11 API Source: %{name}-%{version}.tar.bz2 +Patch: %{name}-%{version}-crash.patch Autoreqprov: on BuildRequires: openssl-devel pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -29,8 +30,8 @@ The official name for PKCS#11 is "RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki)". -Libp11 source code include the official header files (version 2.20) and -thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic +Libp11 source code includes the official header files (version 2.20) +and thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki)". @@ -47,7 +48,7 @@ %package devel Group: Productivity/Security Summary: Library Implementing a Small Layer on Top of PKCS#11 API -Requires: %{name} = %{version} openssl-devel libtool +Requires: %{name} = %{version} glibc-devel openssl-devel libtool %description devel Libp11 is a library implementing a small layer on top of PKCS#11 API to @@ -72,14 +73,15 @@ Stef Hoeben %prep -%setup +%setup -q +%patch -p1 %build export CFLAGS="$RPM_OPT_FLAGS" ./configure\ --prefix=/usr\ --libdir=/usr/%{_lib} -make +make %{?jobs:-j %jobs} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -114,5 +116,9 @@ /usr/include/*.h %changelog -n libp11 +* Tue Oct 03 2006 - sbrabec@suse.cz +- Updated to version 0.2.2: + * bug fixes + * code cleanup * Fri May 12 2006 - sbrabec@suse.cz - New SuSE package, version 0.2.1. ++++++ libp11-0.2.2-crash.patch ++++++ 2006-07-19 07:39 aj * trunk/src/p11_slot.c: fix bug causing a core dump. ================================================================================ diff -ur libp11-0.2.2/src/p11_slot.c trunk/src/p11_slot.c --- libp11-0.2.2/src/p11_slot.c 2006-04-18 17:17:19.000000000 +0200 +++ trunk/src/p11_slot.c 2006-07-19 09:39:49.000000000 +0200 @@ -139,7 +139,8 @@ rv = CRYPTOKI_call(ctx, C_Login(priv->session, so ? CKU_SO : CKU_USER, - (CK_UTF8CHAR *) pin, strlen(pin))); + (CK_UTF8CHAR *) pin, + pin ? strlen(pin) : 0)); CRYPTOKI_checkerr(PKCS11_F_PKCS11_LOGIN, rv); priv->loggedIn = 1; return 0; ++++++ libp11-0.2.1.tar.bz2 -> libp11-0.2.2.tar.bz2 ++++++ ++++ 18870 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org