Hello community, here is the log from the commit of package libisds for openSUSE:Factory checked in at 2016-10-22 13:23:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libisds (Old) and /work/SRC/openSUSE:Factory/.libisds.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libisds" Changes: -------- --- /work/SRC/openSUSE:Factory/libisds/libisds.changes 2016-10-10 16:25:54.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libisds.new/libisds.changes 2016-10-22 13:23:12.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Oct 20 11:57:02 UTC 2016 - jsl...@suse.com + +- Version bump to 0.10.6: + * l10n: Update translation catalogues + * Adapt to OpenSSL 1.1.0 + +------------------------------------------------------------------- Old: ---- libisds-0.10.5.tar.xz libisds-0.10.5.tar.xz.asc New: ---- libisds-0.10.6.tar.xz libisds-0.10.6.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libisds.spec ++++++ --- /var/tmp/diff_new_pack.W0nHhh/_old 2016-10-22 13:23:13.000000000 +0200 +++ /var/tmp/diff_new_pack.W0nHhh/_new 2016-10-22 13:23:13.000000000 +0200 @@ -18,7 +18,7 @@ %define libname %{name}5 Name: libisds -Version: 0.10.5 +Version: 0.10.6 Release: 0 Summary: Library for accessing the Czech Data Boxes License: LGPL-3.0+ ++++++ libisds-0.10.5.tar.xz -> libisds-0.10.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/ChangeLog new/libisds-0.10.6/ChangeLog --- old/libisds-0.10.5/ChangeLog 2016-10-01 23:01:35.000000000 +0200 +++ new/libisds-0.10.6/ChangeLog 2016-10-16 11:52:12.000000000 +0200 @@ -1,4 +1,25 @@ -commit 0337dc573ac68ab28a41dc2f38dffc51f34c7eeb (HEAD -> refs/heads/v0.10-stable) +commit 9e4274c41169c3b1748ac1698dc806a03ac39ee1 (HEAD -> refs/heads/v0.10-stable) +Author: Petr Písař <petr.pi...@atlas.cz> +Date: Sun Oct 16 11:51:40 2016 +0200 + + l10n: Update translation catalogues + +commit 0f644a766d619101034883777cb8c6d4d21a5c7f +Author: Petr Písař <petr.pi...@atlas.cz> +Date: Sun Oct 16 11:46:13 2016 +0200 + + Increase version to 0.10.6 + +commit 5f77b9161377ab4f727812047cedeb863d6aa355 +Author: Petr Písař <petr.pi...@atlas.cz> +Date: Sun Oct 16 10:29:52 2016 +0200 + + Adapt to OpenSSL 1.1.0 + + OpenSSL 1.1.0 hid structure internals and provided methods. This patch adapts + to the changes so that it's possible to build it against new and old OpenSSL. + +commit 0337dc573ac68ab28a41dc2f38dffc51f34c7eeb (tag: refs/tags/v0.10.5, refs/remotes/repo.or.cz/v0.10-stable) Author: Petr Písař <petr.pi...@atlas.cz> Date: Sat Oct 1 23:01:19 2016 +0200 @@ -21,7 +42,7 @@ similarity, the name for the new state has been derived from the existing name for state 2. -commit cc0d4844118e493b604f329264d6e7d3bd607862 (tag: refs/tags/v0.10.4, refs/remotes/repo.or.cz/v0.10-stable) +commit cc0d4844118e493b604f329264d6e7d3bd607862 (tag: refs/tags/v0.10.4) Author: Petr Písař <petr.pi...@atlas.cz> Date: Wed Jun 8 21:41:05 2016 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/NEWS new/libisds-0.10.6/NEWS --- old/libisds-0.10.5/NEWS 2016-10-01 22:52:17.000000000 +0200 +++ new/libisds-0.10.6/NEWS 2016-10-16 11:45:18.000000000 +0200 @@ -1,3 +1,10 @@ +Version 0.10.6 +============== + +• This release is fully compatible with the previous one. + +• Compatibility with OpenSSL 1.1.0 was added. + Version 0.10.5 ============== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/configure new/libisds-0.10.6/configure --- old/libisds-0.10.5/configure 2016-10-01 22:52:38.000000000 +0200 +++ new/libisds-0.10.6/configure 2016-10-16 11:46:46.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libisds 0.10.5. +# Generated by GNU Autoconf 2.69 for libisds 0.10.6. # # Report bugs to <petr.pi...@atlas.cz>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='libisds' PACKAGE_TARNAME='libisds' -PACKAGE_VERSION='0.10.5' -PACKAGE_STRING='libisds 0.10.5' +PACKAGE_VERSION='0.10.6' +PACKAGE_STRING='libisds 0.10.6' PACKAGE_BUGREPORT='petr.pi...@atlas.cz' PACKAGE_URL='' @@ -1383,7 +1383,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 libisds 0.10.5 to adapt to many kinds of systems. +\`configure' configures libisds 0.10.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1453,7 +1453,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libisds 0.10.5:";; + short | recursive ) echo "Configuration of libisds 0.10.6:";; esac cat <<\_ACEOF @@ -1594,7 +1594,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libisds configure 0.10.5 +libisds configure 0.10.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2117,7 +2117,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libisds $as_me 0.10.5, which was +It was created by libisds $as_me 0.10.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2986,7 +2986,7 @@ # Define the identity of the package. PACKAGE='libisds' - VERSION='0.10.5' + VERSION='0.10.6' cat >>confdefs.h <<_ACEOF @@ -16736,7 +16736,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libisds $as_me 0.10.5, which was +This file was extended by libisds $as_me 0.10.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16802,7 +16802,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libisds config.status 0.10.5 +libisds config.status 0.10.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/configure.ac new/libisds-0.10.6/configure.ac --- old/libisds-0.10.5/configure.ac 2016-10-01 22:52:17.000000000 +0200 +++ new/libisds-0.10.6/configure.ac 2016-10-16 11:42:36.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([libisds], [0.10.5], [petr.pi...@atlas.cz]) +AC_INIT([libisds], [0.10.6], [petr.pi...@atlas.cz]) AM_INIT_AUTOMAKE AC_LANG([C]) AC_CONFIG_SRCDIR([src/isds.c]) Files old/libisds-0.10.5/po/cs.gmo and new/libisds-0.10.6/po/cs.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/po/cs.po new/libisds-0.10.6/po/cs.po --- old/libisds-0.10.5/po/cs.po 2016-10-01 22:54:31.000000000 +0200 +++ new/libisds-0.10.6/po/cs.po 2016-10-16 11:50:07.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: libisds 0.10\n" "Report-Msgid-Bugs-To: petr.pi...@atlas.cz\n" -"POT-Creation-Date: 2016-10-01 22:54+0200\n" +"POT-Creation-Date: 2016-10-16 11:50+0200\n" "PO-Revision-Date: 2015-01-10 16:49+0100\n" "Last-Translator: Petr Pisar <petr.pi...@atlas.cz>\n" "Language-Team: Czech <translation-team...@lists.sourceforge.net>\n" @@ -26,7 +26,7 @@ msgid "gcrypt version in use: %s\n" msgstr "Používá se gcrypt ve verzi: %s\n" -#: src/crypto_gpg.c:60 src/crypto_openssl.c:57 +#: src/crypto_gpg.c:60 src/crypto_openssl.c:71 #, c-format msgid "" "Data hash requested, length=%zu, content:\n" @@ -202,11 +202,11 @@ msgstr "" "Nepodařilo se získat prostá data z GPGME po té, co byla struktura CMS ověřena" -#: src/crypto_openssl.c:160 +#: src/crypto_openssl.c:174 msgid "Creating CMS reader BIO failed" msgstr "Vytvoření BIO čtedla pro CMS selhalo" -#: src/crypto_openssl.c:174 +#: src/crypto_openssl.c:188 msgid "Cannot parse CMS" msgstr "CMS nelze rozebrat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/po/libisds.pot new/libisds-0.10.6/po/libisds.pot --- old/libisds-0.10.5/po/libisds.pot 2016-10-01 22:54:31.000000000 +0200 +++ new/libisds-0.10.6/po/libisds.pot 2016-10-16 11:50:07.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libisds 0.10.5\n" +"Project-Id-Version: libisds 0.10.6\n" "Report-Msgid-Bugs-To: petr.pi...@atlas.cz\n" -"POT-Creation-Date: 2016-10-01 22:54+0200\n" +"POT-Creation-Date: 2016-10-16 11:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -27,7 +27,7 @@ msgid "gcrypt version in use: %s\n" msgstr "" -#: src/crypto_gpg.c:60 src/crypto_openssl.c:57 +#: src/crypto_gpg.c:60 src/crypto_openssl.c:71 #, 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:160 +#: src/crypto_openssl.c:174 msgid "Creating CMS reader BIO failed" msgstr "" -#: src/crypto_openssl.c:174 +#: src/crypto_openssl.c:188 msgid "Cannot parse CMS" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libisds-0.10.5/src/crypto_openssl.c new/libisds-0.10.6/src/crypto_openssl.c --- old/libisds-0.10.5/src/crypto_openssl.c 2015-01-10 16:26:33.000000000 +0100 +++ new/libisds-0.10.6/src/crypto_openssl.c 2016-10-16 10:24:24.000000000 +0200 @@ -17,6 +17,20 @@ # define SHA1_DIGEST_LENGTH 20 #endif /* !SHA1_DIGEST_LENGTH */ +#if OPENSSL_VERSION_NUMBER < 0x10100000L +static EVP_MD_CTX *EVP_MD_CTX_new(void) { + EVP_MD_CTX *mdctx = malloc(sizeof(*mdctx)); + if (NULL != mdctx) { + EVP_MD_CTX_init(mdctx); + } + return mdctx; +} + +static void EVP_MD_CTX_free(EVP_MD_CTX *mdctx) { + EVP_MD_CTX_cleanup(mdctx); + free(mdctx); +} +#endif /* Initialise all cryptographic libraries which libisds depends on. * @return IE_SUCCESS if everything went all-right. */ @@ -76,12 +90,11 @@ goto fail; } - mdctx = malloc(sizeof(*mdctx)); + mdctx = EVP_MD_CTX_new(); if (NULL == mdctx) { retval = IE_NOMEM; goto fail; } - EVP_MD_CTX_init(mdctx); if (!EVP_DigestInit(mdctx, md)) { retval = IE_ERROR; goto fail; @@ -105,13 +118,14 @@ goto fail; } - EVP_MD_CTX_cleanup(mdctx); free(mdctx); mdctx = NULL; + EVP_MD_CTX_free(mdctx); + mdctx = NULL; return IE_SUCCESS; fail: if (NULL != mdctx) { - EVP_MD_CTX_cleanup(mdctx); free(mdctx); + EVP_MD_CTX_free(mdctx); } return retval; }