Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libp11 for openSUSE:Factory checked in at 2025-06-10 12:06:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libp11 (Old) and /work/SRC/openSUSE:Factory/.libp11.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libp11" Tue Jun 10 12:06:14 2025 rev:41 rq:1284317 version:0.4.15 Changes: -------- --- /work/SRC/openSUSE:Factory/libp11/libp11.changes 2025-06-04 20:29:08.494445068 +0200 +++ /work/SRC/openSUSE:Factory/.libp11.new.19631/libp11.changes 2025-06-10 12:06:22.574158292 +0200 @@ -1,0 +2,7 @@ +Mon Jun 9 17:30:27 UTC 2025 - Lucas Mulling <lucas.mull...@suse.com> + +- Update to 0.4.15: + * Fixed incorrectly installing an internal header file (Alex Dupre) + * Fixed handling URI schemes of other providers (Małgorzata Olszówka) + +------------------------------------------------------------------- Old: ---- libp11-0.4.14.tar.gz libp11-0.4.14.tar.gz.asc New: ---- libp11-0.4.15.tar.gz libp11-0.4.15.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libp11.spec ++++++ --- /var/tmp/diff_new_pack.Q2SDCI/_old 2025-06-10 12:06:23.618201577 +0200 +++ /var/tmp/diff_new_pack.Q2SDCI/_new 2025-06-10 12:06:23.618201577 +0200 @@ -25,7 +25,7 @@ %define libname libp11-3 %endif Name: libp11 -Version: 0.4.14 +Version: 0.4.15 Release: 0 Summary: Library Implementing a Small Layer on Top of PKCS#11 API License: LGPL-2.1-or-later ++++++ libp11-0.4.14.tar.gz -> libp11-0.4.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/NEWS new/libp11-0.4.15/NEWS --- old/libp11-0.4.14/NEWS 2025-05-13 23:27:54.000000000 +0200 +++ new/libp11-0.4.15/NEWS 2025-06-09 14:48:32.000000000 +0200 @@ -1,5 +1,9 @@ NEWS for Libp11 -- History of user visible changes +New in 0.4.15; 2025-06-09; Michał Trojnara +* Fixed incorrectly installing an internal header file (Alex Dupre) +* Fixed handling URI schemes of other providers (Małgorzata Olszówka) + New in 0.4.14; 2025-05-13; Michał Trojnara * Added the "pkcs11prov" provider for OpenSSL 3.x (Małgorzata Olszówka) * Added generic keypair generation interface and engine ctrl command diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/configure new/libp11-0.4.15/configure --- old/libp11-0.4.14/configure 2025-05-13 23:28:03.000000000 +0200 +++ new/libp11-0.4.15/configure 2025-06-09 14:56:33.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for libp11 0.4.14. +# Generated by GNU Autoconf 2.72 for libp11 0.4.15. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, @@ -611,8 +611,8 @@ # Identity of this package. PACKAGE_NAME='libp11' PACKAGE_TARNAME='libp11' -PACKAGE_VERSION='0.4.14' -PACKAGE_STRING='libp11 0.4.14' +PACKAGE_VERSION='0.4.15' +PACKAGE_STRING='libp11 0.4.15' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1405,7 +1405,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 libp11 0.4.14 to adapt to many kinds of systems. +'configure' configures libp11 0.4.15 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1477,7 +1477,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libp11 0.4.14:";; + short | recursive ) echo "Configuration of libp11 0.4.15:";; esac cat <<\_ACEOF @@ -1611,7 +1611,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libp11 configure 0.4.14 +libp11 configure 0.4.15 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -1918,7 +1918,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libp11 $as_me 0.4.14, which was +It was created by libp11 $as_me 0.4.15, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -3513,7 +3513,7 @@ # Define the identity of the package. PACKAGE='libp11' - VERSION='0.4.14' + VERSION='0.4.15' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -3581,7 +3581,7 @@ LIBP11_VERSION_MAJOR="0" LIBP11_VERSION_MINOR="4" -LIBP11_VERSION_FIX="14" +LIBP11_VERSION_FIX="15" @@ -5321,7 +5321,7 @@ # the openssl version we link to. If the ABI is broken on a later # release, we should either stick to supporting a single openssl ABI # or bump the LT_OLDEST version sufficiently to avoid clashes. -LIBP11_LT_REVISION="0" +LIBP11_LT_REVISION="1" LIBP11_LT_CURRENT="10" LIBP11_LT_AGE="$((${LIBP11_LT_CURRENT}-${LIBP11_LT_OLDEST}))" @@ -17073,7 +17073,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libp11 $as_me 0.4.14, which was +This file was extended by libp11 $as_me 0.4.15, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17141,7 +17141,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libp11 config.status 0.4.14 +libp11 config.status 0.4.15 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/configure.ac new/libp11-0.4.15/configure.ac --- old/libp11-0.4.14/configure.ac 2025-05-13 23:27:54.000000000 +0200 +++ new/libp11-0.4.15/configure.ac 2025-06-09 14:56:18.000000000 +0200 @@ -5,7 +5,7 @@ # When bumping versions see also the LT version numbers below. define([PACKAGE_VERSION_MAJOR], [0]) define([PACKAGE_VERSION_MINOR], [4]) -define([PACKAGE_VERSION_FIX], [14]) +define([PACKAGE_VERSION_FIX], [15]) define([PACKAGE_SUFFIX], []) AC_INIT([libp11],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX[]PACKAGE_SUFFIX]) @@ -68,7 +68,7 @@ # the openssl version we link to. If the ABI is broken on a later # release, we should either stick to supporting a single openssl ABI # or bump the LT_OLDEST version sufficiently to avoid clashes. -LIBP11_LT_REVISION="0" +LIBP11_LT_REVISION="1" LIBP11_LT_CURRENT="10" LIBP11_LT_AGE="$((${LIBP11_LT_CURRENT}-${LIBP11_LT_OLDEST}))" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/Makefile.am new/libp11-0.4.15/src/Makefile.am --- old/libp11-0.4.14/src/Makefile.am 2025-03-25 09:47:48.000000000 +0100 +++ new/libp11-0.4.15/src/Makefile.am 2025-05-14 12:28:51.000000000 +0200 @@ -4,8 +4,8 @@ CLEANFILES = libp11.pc EXTRA_DIST = Makefile.mak libp11.rc.in pkcs11.rc.in -noinst_HEADERS= libp11-int.h pkcs11.h p11_pthread.h -include_HEADERS= libp11.h p11_err.h util.h +noinst_HEADERS= libp11-int.h pkcs11.h p11_pthread.h util.h +include_HEADERS= libp11.h p11_err.h if ENABLE_STATIC_ENGINE lib_LTLIBRARIES = libp11.la libpkcs11.la else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/Makefile.in new/libp11-0.4.15/src/Makefile.in --- old/libp11-0.4.14/src/Makefile.in 2025-05-13 23:28:03.000000000 +0200 +++ new/libp11-0.4.15/src/Makefile.in 2025-06-09 14:56:34.000000000 +0200 @@ -452,8 +452,8 @@ DISTCLEANFILES = libp11.map CLEANFILES = libp11.pc EXTRA_DIST = Makefile.mak libp11.rc.in pkcs11.rc.in $(am__append_1) -noinst_HEADERS = libp11-int.h pkcs11.h p11_pthread.h -include_HEADERS = libp11.h p11_err.h util.h +noinst_HEADERS = libp11-int.h pkcs11.h p11_pthread.h util.h +include_HEADERS = libp11.h p11_err.h @ENABLE_STATIC_ENGINE_FALSE@lib_LTLIBRARIES = libp11.la @ENABLE_STATIC_ENGINE_TRUE@lib_LTLIBRARIES = libp11.la libpkcs11.la enginesexec_LTLIBRARIES = pkcs11.la diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/eng_back.c new/libp11-0.4.15/src/eng_back.c --- old/libp11-0.4.14/src/eng_back.c 2025-05-01 11:59:40.000000000 +0200 +++ new/libp11-0.4.15/src/eng_back.c 2025-05-29 18:23:38.000000000 +0200 @@ -45,10 +45,6 @@ UTIL_CTX *util_ctx; }; -#if defined(_WIN32) || defined(_WIN64) -#define strncasecmp _strnicmp -#endif - /******************************************************************************/ /* Utility functions */ /******************************************************************************/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/libp11.rc new/libp11-0.4.15/src/libp11.rc --- old/libp11-0.4.14/src/libp11.rc 2025-05-13 23:28:06.000000000 +0200 +++ new/libp11-0.4.15/src/libp11.rc 2025-06-09 15:09:27.000000000 +0200 @@ -1,8 +1,8 @@ #include <winresrc.h> VS_VERSION_INFO VERSIONINFO - FILEVERSION 10,7,0,0 - PRODUCTVERSION 0,4,14,0 + FILEVERSION 10,7,1,0 + PRODUCTVERSION 0,4,15,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x21L @@ -20,14 +20,14 @@ VALUE "Comments", "Provided under the terms of the GNU General Public License (LGPLv2.1+).\0" VALUE "CompanyName", "OpenSC Project\0" VALUE "FileDescription", "PKCS#11 access library\0" - VALUE "FileVersion", "10.7.0.0\0" + VALUE "FileVersion", "10.7.1.0\0" VALUE "InternalName", "libp11\0" VALUE "LegalCopyright", "OpenSC Project\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "libp11-3.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "libp11\0" - VALUE "ProductVersion", "0.4.14.0\0" + VALUE "ProductVersion", "0.4.15.0\0" VALUE "SpecialBuild", "\0" END END @@ -36,4 +36,3 @@ VALUE "Translation", 0x409, 1200 END END - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/libp11.rc.in new/libp11-0.4.15/src/libp11.rc.in --- old/libp11-0.4.14/src/libp11.rc.in 2020-09-12 12:51:50.000000000 +0200 +++ new/libp11-0.4.15/src/libp11.rc.in 2025-06-09 15:06:19.000000000 +0200 @@ -36,4 +36,3 @@ VALUE "Translation", 0x409, 1200 END END - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/p11_key.c new/libp11-0.4.15/src/p11_key.c --- old/libp11-0.4.14/src/p11_key.c 2025-05-13 22:41:03.000000000 +0200 +++ new/libp11-0.4.15/src/p11_key.c 2025-05-29 18:26:38.000000000 +0200 @@ -22,10 +22,6 @@ #include <openssl/ui.h> #include <openssl/bn.h> -#if defined(_WIN32) && !defined(strncasecmp) -#define strncasecmp strnicmp -#endif - /* The maximum length of PIN */ #define MAX_PIN_LENGTH 256 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/pkcs11.rc new/libp11-0.4.15/src/pkcs11.rc --- old/libp11-0.4.14/src/pkcs11.rc 2025-05-13 23:28:06.000000000 +0200 +++ new/libp11-0.4.15/src/pkcs11.rc 2025-06-09 15:09:27.000000000 +0200 @@ -1,8 +1,8 @@ #include <winresrc.h> VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,4,14,0 - PRODUCTVERSION 0,4,14,0 + FILEVERSION 0,4,15,0 + PRODUCTVERSION 0,4,15,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x21L @@ -20,14 +20,14 @@ VALUE "Comments", "Provided under the terms of the GNU General Public License (LGPLv2.1+).\0" VALUE "CompanyName", "OpenSC Project\0" VALUE "FileDescription", "OpenSSL PKCS#11 engine\0" - VALUE "FileVersion", "0.4.14.0\0" + VALUE "FileVersion", "0.4.15.0\0" VALUE "InternalName", "libp11\0" VALUE "LegalCopyright", "OpenSC Project\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "pkcs11.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "libp11\0" - VALUE "ProductVersion", "0.4.14.0\0" + VALUE "ProductVersion", "0.4.15.0\0" VALUE "SpecialBuild", "\0" END END @@ -36,4 +36,3 @@ VALUE "Translation", 0x409, 1200 END END - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/pkcs11.rc.in new/libp11-0.4.15/src/pkcs11.rc.in --- old/libp11-0.4.14/src/pkcs11.rc.in 2020-09-12 12:51:50.000000000 +0200 +++ new/libp11-0.4.15/src/pkcs11.rc.in 2025-06-09 15:07:27.000000000 +0200 @@ -36,4 +36,3 @@ VALUE "Translation", 0x409, 1200 END END - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/pkcs11prov.rc new/libp11-0.4.15/src/pkcs11prov.rc --- old/libp11-0.4.14/src/pkcs11prov.rc 2025-05-13 23:28:07.000000000 +0200 +++ new/libp11-0.4.15/src/pkcs11prov.rc 2025-06-09 15:09:27.000000000 +0200 @@ -1,8 +1,8 @@ #include <winresrc.h> VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,4,14,0 - PRODUCTVERSION 0,4,14,0 + FILEVERSION 0,4,15,0 + PRODUCTVERSION 0,4,15,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x21L @@ -20,14 +20,14 @@ VALUE "Comments", "Provided under the terms of the GNU General Public License (LGPLv2.1+).\0" VALUE "CompanyName", "OpenSC Project\0" VALUE "FileDescription", "OpenSSL PKCS#11 provider\0" - VALUE "FileVersion", "0.4.14.0\0" + VALUE "FileVersion", "0.4.15.0\0" VALUE "InternalName", "libp11\0" VALUE "LegalCopyright", "OpenSC Project\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "pkcs11prov.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "libp11\0" - VALUE "ProductVersion", "0.4.14.0\0" + VALUE "ProductVersion", "0.4.15.0\0" VALUE "SpecialBuild", "\0" END END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/provider.c new/libp11-0.4.15/src/provider.c --- old/libp11-0.4.14/src/provider.c 2025-05-13 22:41:03.000000000 +0200 +++ new/libp11-0.4.15/src/provider.c 2025-05-29 18:29:03.000000000 +0200 @@ -35,6 +35,10 @@ #include <ctype.h> /* isdigit() */ +#if defined(_WIN32) && !defined(strncasecmp) +#define strncasecmp _strnicmp +#endif + #include <openssl/core.h> #include <openssl/core_dispatch.h> #include <openssl/core_names.h> @@ -584,6 +588,9 @@ P11_STORE_CTX *store_ctx; PROVIDER_CTX *prov_ctx = (PROVIDER_CTX *)ctx; + if (!uri || strncasecmp(uri, "pkcs11:", 7) != 0) { + return NULL; /* This provider doesn't handle this URI */ + } if (!prov_ctx->initialized) { /* Set parameters into the util_ctx */ if (!PROVIDER_CTX_set_parameters(prov_ctx)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libp11-0.4.14/src/util_uri.c new/libp11-0.4.15/src/util_uri.c --- old/libp11-0.4.14/src/util_uri.c 2025-05-01 11:59:40.000000000 +0200 +++ new/libp11-0.4.15/src/util_uri.c 2025-05-29 18:29:33.000000000 +0200 @@ -31,7 +31,7 @@ #include <stdio.h> #include <string.h> -#if defined(_WIN32) || defined(_WIN64) +#if defined(_WIN32) && !defined(strncasecmp) #define strncasecmp _strnicmp #else #include <strings.h>