Hello community, here is the log from the commit of package opensc checked in at Sat Sep 13 06:31:55 CEST 2008. -------- --- opensc/opensc.changes 2008-09-01 14:06:17.000000000 +0200 +++ opensc/opensc.changes 2008-09-10 13:48:27.000000000 +0200 @@ -1,0 +2,16 @@ +Wed Sep 10 13:46:44 CEST 2008 - sbrabec@suse.cz + +- Updated to version 0.11.6: + * New support for Feitian ePass3000. + * GemSafeV1 improved to handle key_ref other than 3. + * Build system rewritten. + * ruToken now supported. + * Allow specifying application name for data objects. + * Basic reader hotplug support. + * PC/SC library is dynamically linked. + * PKCS#11 provider is now installed at LIBDIR/pkcs11. + * PKCS#11 - Number of virtual slots moved into configuration. + * PKCS#11 - Fix fork() compliance. + * make sign_with_decrypt hack configureable for siemens cards. + +------------------------------------------------------------------- Old: ---- init_perso_guide.html opensc-0.11.4.tar.bz2 opensc-cardos-CVE-2008-2235.patch New: ---- opensc-0.11.6.tar.bz2 opensc-code-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opensc.spec ++++++ --- /var/tmp/diff_new_pack.X22952/_old 2008-09-13 06:29:53.000000000 +0200 +++ /var/tmp/diff_new_pack.X22952/_new 2008-09-13 06:29:53.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package opensc (Version 0.11.4) +# spec file for package opensc (Version 0.11.6) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Name: opensc -BuildRequires: openssl-devel pcsc-lite-devel pkg-config readline-devel xorg-x11-devel +BuildRequires: libusb-devel openssl-devel pcsc-lite-devel pkg-config readline-devel xorg-x11-devel %if %suse_version > 1020 BuildRequires: libassuan-devel %else @@ -29,16 +29,15 @@ BuildRequires: openct-devel %endif Url: http://www.opensc-project.org/opensc/ -Version: 0.11.4 -Release: 79 +Version: 0.11.6 +Release: 1 Group: Productivity/Security Summary: OpenSC Smart Card Library License: LGPL v2.1 or later Requires: libopensc2 = %{version} pcsc-lite BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.bz2 -Source1: http://www.opensc.org/files/doc/init_perso_guide.html -Patch: opensc-cardos-CVE-2008-2235.patch +Patch: opensc-code-fixes.patch # Supress all ugly warnings related to required .so and .la files in the main package: Source2: %{name}-rpmlintrc # and also skip-check-libtool-deps (and add these dependencies to the devel package) @@ -52,6 +51,13 @@ Thunderbird, can use it. OpenSC implements the PKCS#15 standard and aims to be compatible with every software that does so, too. +Before purchasing any cards, please read carefully documentation in +/usr/share/doc/packages/opensc/wiki/index.html - only some cards are +supported. Not only card type matters, but also card version, card OS +version and preloaded applet. Only subset of possible operations may be +supported for your card. Card initialization may require third party +proprietary software. + Authors: @@ -69,13 +75,20 @@ %description -n libopensc2 OpenSC provides a set of libraries and utilities to access smart cards. -Its main focus is on cards that support cryptographic operations. It +It mainly focuses on cards that support cryptographic operations. It facilitates their use in security applications such as mail encryption, authentication, and digital signature. OpenSC implements the PKCS#11 -API so applications supporting this API, such as Mozilla Firefox and +API. Applications supporting this API, such as Mozilla Firefox and Thunderbird, can use it. OpenSC implements the PKCS#15 standard and aims to be compatible with every software that does so, too. +Before purchasing any cards, please read carefully documentation in +/usr/share/doc/packages/opensc/wiki/index.html - only some cards are +supported. Not only card type matters, but also card version, card OS +version and preloaded applet. Only subset of possible operations may be +supported for your card. Card initialization may require third party +proprietary software. + Authors: @@ -89,7 +102,8 @@ License: GPL v2 or later Group: Development/Libraries/C and C++ Summary: Additional files needed for OpenSC development -Requires: %{name} = %{version} glibc-devel openct-devel libopenssl-devel pcsc-lite-devel +# FIXME: Change to libtool-devel for the next libtool version: +Requires: %{name} = %{version} glibc-devel openct-devel libopenssl-devel zlib-devel libtool %description devel This package contains files required to develop applications using the @@ -106,23 +120,23 @@ %prep %setup -q -%patch -p1 -chmod -x doc/svn2cl.xsl +%patch %build -#cp -a /usr/share/gettext/config.rpath . autoreconf -f -i %configure\ - --with-plugin-dir=%{_libdir}/browser-plugins + --docdir=%{_docdir}/%{name}\ + --disable-static\ + --enable-doc\ + --enable-pcsc\ + --enable-openct\ + --enable-nsplugin\ + --with-plugindir=%{_libdir}/browser-plugins make %{?jobs:-j%jobs} %install %makeinstall -# Install opensc.conf -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} -install -m 644 etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir} -# Copy init_perso.html to docs so it's installed -cp %{SOURCE1} . +cp COPYING doc/nonpersistent/ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -133,7 +147,13 @@ %files %defattr(-,root,root) -%doc COPYING NEWS README doc/*.css doc/*.gif doc/*.html doc/ChangeLog init_perso_guide.html +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/ChangeLog +%doc %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/NEWS +%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/tools.html +%doc %{_docdir}/%{name}/wiki %{_bindir}/* %exclude %{_bindir}/*-config %{_datadir}/opensc @@ -141,6 +161,8 @@ %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/browser-plugins/*.so +%dir %{_libdir}/pkcs11 +%{_libdir}/pkcs11/*.so %doc %{_mandir}/man?/*.* %config %{_sysconfdir}/opensc.conf @@ -150,12 +172,25 @@ %files devel %defattr(-,root,root) +%doc %{_docdir}/%{name}/api.html %{_bindir}/*-config %{_includedir}/opensc -%{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %changelog +* Wed Sep 10 2008 sbrabec@suse.cz +- Updated to version 0.11.6: + * New support for Feitian ePass3000. + * GemSafeV1 improved to handle key_ref other than 3. + * Build system rewritten. + * ruToken now supported. + * Allow specifying application name for data objects. + * Basic reader hotplug support. + * PC/SC library is dynamically linked. + * PKCS#11 provider is now installed at LIBDIR/pkcs11. + * PKCS#11 - Number of virtual slots moved into configuration. + * PKCS#11 - Fix fork() compliance. + * make sign_with_decrypt hack configureable for siemens cards. * Mon Sep 01 2008 sbrabec@suse.cz - Check validity of SSL certificates for all Siemens CardOS M4 cards (SCA and SCB are affected as well, bnc#413496#c6). ++++++ opensc-0.11.4.tar.bz2 -> opensc-0.11.6.tar.bz2 ++++++ ++++ 112685 lines of diff (skipped) ++++++ opensc-code-fixes.patch ++++++ --- src/libopensc/card-entersafe.c +++ src/libopensc/card-entersafe.c @@ -913,7 +913,7 @@ return entersafe_compute_with_prkey(card,crgram,crgram_len,out,outlen); } -static int entersafe_init_pin_info(struct sc_pin_cmd_pin *pin, unsigned int num) +static void entersafe_init_pin_info(struct sc_pin_cmd_pin *pin, unsigned int num) { pin->encoding = SC_PIN_ENCODING_ASCII; pin->min_length = 4; --- src/libopensc/card-gemsafeV1.c +++ src/libopensc/card-gemsafeV1.c @@ -332,7 +332,7 @@ tag = sc_asn1_find_tag(ctx, p, len, 0x8C, &tlen); if (tag) { - r = gemsafe_setacl(card, file, tag, type == "DF" ? 1 : 0); + r = gemsafe_setacl(card, file, tag, strcmp(type, "DF") ? 0 : 1); if (r < 0) { sc_debug(ctx, "unable to set ACL\n"); return SC_ERROR_INTERNAL; ++++++ opensc-rpmlintrc ++++++ --- opensc/opensc-rpmlintrc 2008-02-08 10:50:02.000000000 +0100 +++ opensc/opensc-rpmlintrc 2008-09-10 12:49:52.000000000 +0200 @@ -1,4 +1,4 @@ -addFilter("opensc devel-file-in-non-devel-package") -addFilter("opensc shlib-policy-devel-file") -addFilter("opensc shlib-policy-nonversioned-dir") -addFilter("opensc shlib-policy-missing-suffix") +addFilter("devel-file-in-non-devel-package") +addFilter("shlib-policy-devel-file") +addFilter("shlib-policy-nonversioned-dir") +addFilter("shlib-policy-missing-suffix") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org