Hello community, here is the log from the commit of package engine_pkcs11 checked in at Fri Aug 3 01:50:40 CEST 2007. -------- --- engine_pkcs11/engine_pkcs11.changes 2006-05-15 17:52:56.000000000 +0200 +++ /mounts/work_src_done/STABLE/engine_pkcs11/engine_pkcs11.changes 2007-07-31 18:23:59.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Jul 31 18:22:49 CEST 2007 - sbrabec@suse.cz + +- Updated to version 0.1.4: + * disabled some dead code. + * new max length for pin: 32 bytes. + * make internal variables and code static. + * parse slot as hex too. + * support selecting slot by label. + +------------------------------------------------------------------- Old: ---- engine_pkcs11-0.1.3.tar.bz2 New: ---- engine_pkcs11-0.1.4.tar.bz2 engine_pkcs11-retval.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ engine_pkcs11.spec ++++++ --- /var/tmp/diff_new_pack.C16003/_old 2007-08-03 01:49:43.000000000 +0200 +++ /var/tmp/diff_new_pack.C16003/_new 2007-08-03 01:49:43.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package engine_pkcs11 (Version 0.1.3) +# spec file for package engine_pkcs11 (Version 0.1.4) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,25 +11,25 @@ # norootforbuild Name: engine_pkcs11 -Version: 0.1.3 +Version: 0.1.4 Release: 1 URL: http://www.opensc-project.org/engine_pkcs11/ Group: Productivity/Security -License: BSD +License: BSD 3-Clause Summary: OpenSSL PKCS#11 Engine Source: %{name}-%{version}.tar.bz2 Source1: COPYING -Autoreqprov: on +Patch: engine_pkcs11-retval.patch BuildRequires: libp11-devel pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Engine_pkcs11 is an implementation of an engine for OpenSSL. It can be -loaded using code, config file or command line and will pass any -function call by openssl to a PKCS#11 module. Engine_pkcs11 is meant to -be used with smart cards and software for using smart cards in PKCS#11 -format, such as OpenSC. Originaly this engine was a part of OpenSC, -until OpenSC was split into several small projects for improved +loaded using code, a configuration file, or the command line and passes +any function call by openssl to a PKCS#11 module. Engine_pkcs11 is +meant to be used with smart cards and software for using smart cards in +PKCS#11 format, such as OpenSC. Originally this engine was a part of +OpenSC until OpenSC was split into several small projects for improved flexibility. @@ -45,18 +45,16 @@ %prep %setup +%patch cp -a %{S:1} . %build -export CFLAGS="$RPM_OPT_FLAGS" -./configure\ - --prefix=/usr\ - --libdir=/usr/%{_lib}\ +%configure\ --disable-static -make +make %{?jobs:-j%jobs} %install -make DESTDIR=$RPM_BUILD_ROOT install +%makeinstall rm $RPM_BUILD_ROOT/usr/%{_lib}/engines/*.la %clean @@ -64,9 +62,16 @@ %files %defattr (-, root, root) -%doc COPYING doc/ChangeLog doc/README doc/*.html doc/*.css +%doc COPYING NEWS doc/ChangeLog doc/README doc/*.html doc/*.css /usr/%{_lib}/engines/*.so -%changelog -n engine_pkcs11 +%changelog +* Tue Jul 31 2007 - sbrabec@suse.cz +- Updated to version 0.1.4: + * disabled some dead code. + * new max length for pin: 32 bytes. + * make internal variables and code static. + * parse slot as hex too. + * support selecting slot by label. * Mon May 15 2006 - sbrabec@suse.cz - New SuSE package, version 0.1.3. ++++++ engine_pkcs11-0.1.3.tar.bz2 -> engine_pkcs11-0.1.4.tar.bz2 ++++++ ++++ 44487 lines of diff (skipped) ++++++ engine_pkcs11-retval.patch ++++++ http://www.opensc-project.org/opensc/ticket/155 engine_pkcs11.c: In function 'get_pin': engine_pkcs11.c:109: warning: assignment makes pointer from integer without a cast Patch is still not correct, because it causes: engine_pkcs11.c: In function 'get_pin': engine_pkcs11.c:110: warning: return discards qualifiers from pointer target type ================================================================================ --- src/engine_pkcs11.c +++ src/engine_pkcs11.c @@ -106,8 +106,10 @@ } *mycb = callback_data; if (mycb->password) { - sc_pin = set_pin(mycb->password); - return sc_pin; + if (set_pin(mycb->password)) + return mycb->password; + else + return NULL; } ui = UI_new(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org