Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libdatovka for openSUSE:Factory checked in at 2026-08-19 17:58:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdatovka (Old) and /work/SRC/openSUSE:Factory/.libdatovka.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdatovka" Wed Aug 19 17:58:54 2026 rev:14 rq:1371890 version:0.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libdatovka/libdatovka.changes 2026-05-23 23:24:29.569646788 +0200 +++ /work/SRC/openSUSE:Factory/.libdatovka.new.1258/libdatovka.changes 2026-08-19 18:00:58.241699885 +0200 @@ -1,0 +2,8 @@ +Wed Aug 19 05:42:57 UTC 2026 - Jiri Slaby <[email protected]> + +- update to 0.7.4 + * Can be compiled against OpenSSL-4.0. + * The library uses new endpoint domains datovka.gov.cz and + datovka-test.gov.cz. + +------------------------------------------------------------------- Old: ---- libdatovka-0.7.3.tar.xz libdatovka-0.7.3.tar.xz.sha256 New: ---- libdatovka-0.7.4.tar.xz libdatovka-0.7.4.tar.xz.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdatovka.spec ++++++ --- /var/tmp/diff_new_pack.7j8ceU/_old 2026-08-19 18:00:59.071729726 +0200 +++ /var/tmp/diff_new_pack.7j8ceU/_new 2026-08-19 18:00:59.073729797 +0200 @@ -18,7 +18,7 @@ %define libname %{name}8 Name: libdatovka -Version: 0.7.3 +Version: 0.7.4 Release: 0 Summary: Library for accessing the Czech Data Boxes License: GPL-3.0-or-later ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.7j8ceU/_old 2026-08-19 18:00:59.108731056 +0200 +++ /var/tmp/diff_new_pack.7j8ceU/_new 2026-08-19 18:00:59.111731164 +0200 @@ -1,4 +1,4 @@ -mtime: 1779440001 -commit: 74c241b95923f1f674e516d41cbda6e8341263b4472dd1d61a62f6b247e3c5f1 +mtime: 1787118247 +commit: d41aeb33fc577c7d83837bc807c7154a7346c726f5d9a1756604491c01a9260d url: https://src.opensuse.org/jirislaby/n-libdatovka ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-08-19 07:44:07.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ libdatovka-0.7.3.tar.xz -> libdatovka-0.7.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/AUTHORS new/libdatovka-0.7.4/AUTHORS --- old/libdatovka-0.7.3/AUTHORS 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/AUTHORS 2026-08-07 11:04:05.000000000 +0200 @@ -1,5 +1,5 @@ Core development: - CZ.NIC, z. s. p. o. <[email protected]> + CZ.NIC, z. s. p. o. <[email protected]> Petr Písař <[email protected]> Base64 transformation <http://sourceforge.net/projects/libb64>: @@ -11,4 +11,4 @@ C++ and OS X portability: Mobile key authentication: OpenSSL back-end: - CZ.NIC, z. s. p. o. <[email protected]> + CZ.NIC, z. s. p. o. <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/NEWS new/libdatovka-0.7.4/NEWS --- old/libdatovka-0.7.3/NEWS 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/NEWS 2026-08-07 11:04:05.000000000 +0200 @@ -1,3 +1,8 @@ +0.7.4 / 2026-08-07 + * Can be compiled against OpenSSL-4.0. + * The library uses new endpoint domains datovka.gov.cz and + datovka-test.gov.cz. + 0.7.3 / 2026-03-09 * Added function isds_login_mep2() which returns a more detailed MEP resolution status. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/README new/libdatovka-0.7.4/README --- old/libdatovka-0.7.3/README 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/README 2026-08-07 11:04:05.000000000 +0200 @@ -5,7 +5,7 @@ Copyright (C) 2009, 2010, 2011, 2012, 2013 Petr Písař <[email protected]> Copyright (C) 2014, 2015, 2016, 2017, 2018 Petr Písař <[email protected]> Copyright (C) 2019 Petr Písař <[email protected]> -Copyright (C) 2019, 2020, 2021 CZ.NIC, z. s. p. o. <https://www.nic.cz/> +Copyright (C) 2019-2026 CZ.NIC, z. s. p. o. <https://www.nic.cz/> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/configure new/libdatovka-0.7.4/configure --- old/libdatovka-0.7.3/configure 2026-03-09 14:04:03.000000000 +0100 +++ new/libdatovka-0.7.4/configure 2026-08-07 11:04:54.000000000 +0200 @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for libdatovka 0.7.3. +# Generated by GNU Autoconf 2.72 for libdatovka 0.7.4. # -# Report bugs to <[email protected]>. +# Report bugs to <[email protected]>. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, @@ -279,10 +279,10 @@ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else printf "%s\n" "$0: Please tell [email protected] and -$0: [email protected] about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." +$0: [email protected] about your system, including any +$0: error possibly output before this message. Then install +$0: a modern shell, or manually run the script under such a +$0: shell if you do have one." fi exit 1 fi ;; @@ -614,9 +614,9 @@ # Identity of this package. PACKAGE_NAME='libdatovka' PACKAGE_TARNAME='libdatovka' -PACKAGE_VERSION='0.7.3' -PACKAGE_STRING='libdatovka 0.7.3' -PACKAGE_BUGREPORT='[email protected]' +PACKAGE_VERSION='0.7.4' +PACKAGE_STRING='libdatovka 0.7.4' +PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' ac_unique_file="src/isds.c" @@ -1435,7 +1435,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 libdatovka 0.7.3 to adapt to many kinds of systems. +'configure' configures libdatovka 0.7.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1506,7 +1506,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libdatovka 0.7.3:";; + short | recursive ) echo "Configuration of libdatovka 0.7.4:";; esac cat <<\_ACEOF @@ -1597,7 +1597,7 @@ Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to <[email protected]>. +Report bugs to <[email protected]>. _ACEOF ac_status=$? fi @@ -1661,7 +1661,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libdatovka configure 0.7.3 +libdatovka configure 0.7.4 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -2140,7 +2140,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libdatovka $as_me 0.7.3, which was +It was created by libdatovka $as_me 0.7.4, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -3622,7 +3622,7 @@ # Define the identity of the package. PACKAGE='libdatovka' - VERSION='0.7.3' + VERSION='0.7.4' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -19976,7 +19976,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libdatovka $as_me 0.7.3, which was +This file was extended by libdatovka $as_me 0.7.4, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20036,7 +20036,7 @@ Configuration commands: $config_commands -Report bugs to <[email protected]>." +Report bugs to <[email protected]>." _ACEOF ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` @@ -20044,7 +20044,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libdatovka config.status 0.7.3 +libdatovka config.status 0.7.4 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/libdatovka-0.7.3/configure.ac new/libdatovka-0.7.4/configure.ac --- old/libdatovka-0.7.3/configure.ac 2026-03-09 14:04:00.000000000 +0100 +++ new/libdatovka-0.7.4/configure.ac 2026-08-07 11:04:51.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([libdatovka], [0.7.3], [[email protected]]) +AC_INIT([libdatovka], [0.7.4], [[email protected]]) AM_INIT_AUTOMAKE([tar-ustar]) # File names longer than 99 characters. AC_LANG([C]) AC_CONFIG_SRCDIR([src/isds.c]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/include/libdatovka/isds.h new/libdatovka-0.7.4/include/libdatovka/isds.h --- old/libdatovka-0.7.3/include/libdatovka/isds.h 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/include/libdatovka/isds.h 2026-08-07 11:04:05.000000000 +0200 @@ -38,8 +38,8 @@ * 0.1.2 0x00010200 * 1.2.3 0x01020300 */ -#define ISDS_LIB_VER_NUM 0x00070300L -#define ISDS_LIB_VER_STR "libdatovka 0.7.3" +#define ISDS_LIB_VER_NUM 0x00070400L +#define ISDS_LIB_VER_STR "libdatovka 0.7.4" /* * Can be used like: Binary files old/libdatovka-0.7.3/po/cs.gmo and new/libdatovka-0.7.4/po/cs.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/po/cs.po new/libdatovka-0.7.4/po/cs.po --- old/libdatovka-0.7.3/po/cs.po 2026-03-09 14:04:10.000000000 +0100 +++ new/libdatovka-0.7.4/po/cs.po 2026-08-07 11:05:00.000000000 +0200 @@ -1,15 +1,15 @@ # Czech translation of libdatovka. # Copyright (C) 2010-2020 Petr Písař -# Copyright (C) 2020 CZ.NIC, z. s. p. o +# Copyright (C) 2020-2026 CZ.NIC, z. s. p. o # This file is distributed under the same license as the libdatovka package. # CZ.NIC, z. s. p. o. <https://www.nic.cz/> 2020, 2021. # Petr Pisar <[email protected]>, 2010, 2011, 2012, 2013, 2015, 2019. # msgid "" msgstr "" -"Project-Id-Version: libdatovka 0.7.3\n" -"Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2026-03-09 14:04+0100\n" +"Project-Id-Version: libdatovka 0.7.4\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2026-08-07 11:05+0200\n" "PO-Revision-Date: 2019-09-04 22:42+02:00\n" "Last-Translator: CZ.NIC, z. s. p. o. <[email protected]>\n" "Language-Team: Czech <[email protected]>\n" @@ -28,7 +28,7 @@ msgid "gcrypt version in use: %s\n" msgstr "Používá se gcrypt ve verzi: %s\n" -#: src/crypto_gpg.c:61 src/crypto_openssl.c:72 +#: src/crypto_gpg.c:61 src/crypto_openssl.c:82 #, c-format msgid "" "Data hash requested, length=%zu, content:\n" @@ -204,11 +204,11 @@ msgstr "" "Nepodařilo se získat prostá data z GPGME po té, co byla struktura CMS ověřena" -#: src/crypto_openssl.c:175 +#: src/crypto_openssl.c:185 msgid "Creating CMS reader BIO failed" msgstr "Vytvoření BIO čtedla pro CMS selhalo" -#: src/crypto_openssl.c:189 +#: src/crypto_openssl.c:199 msgid "Cannot parse CMS" msgstr "CMS nelze rozebrat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/po/libdatovka.pot new/libdatovka-0.7.4/po/libdatovka.pot --- old/libdatovka-0.7.3/po/libdatovka.pot 2026-03-09 14:04:10.000000000 +0100 +++ new/libdatovka-0.7.4/po/libdatovka.pot 2026-08-07 11:05:00.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libdatovka 0.7.3\n" -"Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2026-03-09 14:04+0100\n" +"Project-Id-Version: libdatovka 0.7.4\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2026-08-07 11:05+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" @@ -27,7 +27,7 @@ msgid "gcrypt version in use: %s\n" msgstr "" -#: src/crypto_gpg.c:61 src/crypto_openssl.c:72 +#: src/crypto_gpg.c:61 src/crypto_openssl.c:82 #, c-format msgid "" "Data hash requested, length=%zu, content:\n" @@ -192,11 +192,11 @@ msgid "Could not get plain data from GPGME after verifying CMS structure" msgstr "" -#: src/crypto_openssl.c:175 +#: src/crypto_openssl.c:185 msgid "Creating CMS reader BIO failed" msgstr "" -#: src/crypto_openssl.c:189 +#: src/crypto_openssl.c:199 msgid "Cannot parse CMS" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/src/Makefile.am new/libdatovka-0.7.4/src/Makefile.am --- old/libdatovka-0.7.3/src/Makefile.am 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/src/Makefile.am 2026-08-07 11:04:05.000000000 +0200 @@ -69,5 +69,5 @@ libdatovka_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBCURL_CPPFLAGS@ \ -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) libdatovka_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @GPGME_CFLAGS@ @JSON_C_CFLAGS@ -libdatovka_la_LDFLAGS = -version-info 10:0:2 @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ \ +libdatovka_la_LDFLAGS = -version-info 10:1:2 @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ \ @GPGME_LIBS@ @EXPAT_LIBS@ @LTLIBINTL@ @JSON_C_LIBS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/src/Makefile.in new/libdatovka-0.7.4/src/Makefile.in --- old/libdatovka-0.7.3/src/Makefile.in 2026-03-09 14:04:03.000000000 +0100 +++ new/libdatovka-0.7.4/src/Makefile.in 2026-08-07 11:04:54.000000000 +0200 @@ -456,7 +456,7 @@ -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) libdatovka_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @GPGME_CFLAGS@ @JSON_C_CFLAGS@ -libdatovka_la_LDFLAGS = -version-info 10:0:2 @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ \ +libdatovka_la_LDFLAGS = -version-info 10:1:2 @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ \ @GPGME_LIBS@ @EXPAT_LIBS@ @LTLIBINTL@ @JSON_C_LIBS@ all: all-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/src/crypto_openssl.c new/libdatovka-0.7.4/src/crypto_openssl.c --- old/libdatovka-0.7.3/src/crypto_openssl.c 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/src/crypto_openssl.c 2026-08-07 11:04:05.000000000 +0200 @@ -19,7 +19,16 @@ #endif /* !SHA1_DIGEST_LENGTH */ #if OPENSSL_VERSION_NUMBER < 0x10100000L -static EVP_MD_CTX *EVP_MD_CTX_new(void) { +/* + * https://openssl-library.org/post/2026-04-13-asn1_string/ + */ +static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x) +{ + return (x)->data; +} + +static EVP_MD_CTX *EVP_MD_CTX_new(void) +{ EVP_MD_CTX *mdctx = malloc(sizeof(*mdctx)); if (NULL != mdctx) { EVP_MD_CTX_init(mdctx); @@ -27,7 +36,8 @@ return mdctx; } -static void EVP_MD_CTX_free(EVP_MD_CTX *mdctx) { +static void EVP_MD_CTX_free(EVP_MD_CTX *mdctx) +{ EVP_MD_CTX_cleanup(mdctx); free(mdctx); } @@ -229,13 +239,13 @@ goto fail; } - *data = malloc((*pos)->length); + *data = malloc(ASN1_STRING_length(*pos)); if (NULL == *data) { retval = IE_NOMEM; goto fail; } - *data_length = (*pos)->length; - memcpy(*data, (*pos)->data, (*pos)->length); + *data_length = ASN1_STRING_length(*pos); + memcpy(*data, ASN1_STRING_get0_data(*pos), ASN1_STRING_length(*pos)); CMS_ContentInfo_free(cms_ci); cms_ci = NULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdatovka-0.7.3/src/isds.c new/libdatovka-0.7.4/src/isds.c --- old/libdatovka-0.7.3/src/isds.c 2026-03-09 14:02:25.000000000 +0100 +++ new/libdatovka-0.7.4/src/isds.c 2026-08-07 11:04:05.000000000 +0200 @@ -46,20 +46,20 @@ /* Locators */ /* Base URL of production ISDS instance */ -const char isds_locator[] = "https://ws1.mojedatovaschranka.cz/"; -const char isds_cert_locator[] = "https://ws1c.mojedatovaschranka.cz/"; -const char isds_vodz_locator[] = "https://ws2.mojedatovaschranka.cz/"; -const char isds_vodz_cert_locator[] = "https://ws2c.mojedatovaschranka.cz/"; -const char isds_otp_locator[] = "https://www.mojedatovaschranka.cz/"; -const char isds_mep_locator[] = "https://www.mojedatovaschranka.cz/"; +const char isds_locator[] = "https://ws1.datovka.gov.cz/"; +const char isds_cert_locator[] = "https://ws1c.datovka.gov.cz/"; +const char isds_vodz_locator[] = "https://ws2.datovka.gov.cz/"; +const char isds_vodz_cert_locator[] = "https://ws2c.datovka.gov.cz/"; +const char isds_otp_locator[] = "https://www.datovka.gov.cz/"; +const char isds_mep_locator[] = "https://www.datovka.gov.cz/"; /* Base URL of testing ISDS instance */ -const char isds_testing_locator[] = "https://ws1.czebox.cz/"; -const char isds_cert_testing_locator[] = "https://ws1c.czebox.cz/"; -const char isds_vodz_testing_locator[] = "https://ws2.czebox.cz/"; -const char isds_vodz_cert_testing_locator[] = "https://ws2c.czebox.cz/"; -const char isds_otp_testing_locator[] = "https://www.czebox.cz/"; -const char isds_mep_testing_locator[] = "https://www.czebox.cz/"; +const char isds_testing_locator[] = "https://ws1.datovka-test.gov.cz/"; +const char isds_cert_testing_locator[] = "https://ws1c.datovka-test.gov.cz/"; +const char isds_vodz_testing_locator[] = "https://ws2.datovka-test.gov.cz/"; +const char isds_vodz_cert_testing_locator[] = "https://ws2c.datovka-test.gov.cz/"; +const char isds_otp_testing_locator[] = "https://www.datovka-test.gov.cz/"; +const char isds_mep_testing_locator[] = "https://www.datovka-test.gov.cz/"; /* Extension to MIME type map */ static const xmlChar *extension_map_mime[] = { ++++++ libdatovka-0.7.3.tar.xz.sha256 -> libdatovka-0.7.4.tar.xz.sha256 ++++++ --- /work/SRC/openSUSE:Factory/libdatovka/libdatovka-0.7.3.tar.xz.sha256 2026-05-23 23:24:29.421640746 +0200 +++ /work/SRC/openSUSE:Factory/.libdatovka.new.1258/libdatovka-0.7.4.tar.xz.sha256 2026-08-19 18:00:58.174697476 +0200 @@ -1 +1 @@ -a6924d4cea81a87d6201036cafebe1283a8d372193a99e731970abf21e1434c1 +1e3347c49714e19169e4bba47098962d1f05c717898c70e612aceae4c41cdc1c
