commit libksi for openSUSE:Factory
Hello community, here is the log from the commit of package libksi for openSUSE:Factory checked in at 2017-09-04 12:26:43 Comparing /work/SRC/openSUSE:Factory/libksi (Old) and /work/SRC/openSUSE:Factory/.libksi.new (New) Package is "libksi" Mon Sep 4 12:26:43 2017 rev:4 rq:519202 version:3.4.0.5 Changes: --- /work/SRC/openSUSE:Factory/libksi/libksi.changes2017-02-20 14:27:52.329122260 +0100 +++ /work/SRC/openSUSE:Factory/.libksi.new/libksi.changes 2017-09-04 12:26:44.488338846 +0200 @@ -1,0 +2,6 @@ +Tue Aug 22 10:58:00 UTC 2017 - pmonrealgonza...@suse.com + +- Fixed errors when building with openssl-1.1.0 [bsc#1042656] + * Added patch libksi-build-with-openssl-1.1.0.patch + +--- New: libksi-build-with-openssl-1.1.0.patch Other differences: -- ++ libksi.spec ++ --- /var/tmp/diff_new_pack.p3xGFf/_old 2017-09-04 12:26:45.292225824 +0200 +++ /var/tmp/diff_new_pack.p3xGFf/_new 2017-09-04 12:26:45.300224700 +0200 @@ -27,6 +27,8 @@ # https://github.com/rsyslog/libksi # extracted from http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/libksi1-3.4.0.5-2.el7.src.rpm Source0:%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE bsc#1042656 -- Fix errors building with openssl-1.1.0 +Patch0: libksi-build-with-openssl-1.1.0.patch BuildRequires: curl-devel BuildRequires: openssl-devel BuildRequires: pkg-config @@ -54,6 +56,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ ++ libksi-build-with-openssl-1.1.0.patch ++ Index: libksi-3.4.0.5/src/ksi/hash_openssl.c === --- libksi-3.4.0.5.orig/src/ksi/hash_openssl.c +++ libksi-3.4.0.5/src/ksi/hash_openssl.c @@ -102,7 +102,9 @@ int KSI_isHashAlgorithmSupported(KSI_Has void KSI_DataHasher_free(KSI_DataHasher *hasher) { if (hasher != NULL) { - KSI_free(hasher->hashContext); + if (hasher->hashContext != NULL) { + EVP_MD_CTX_destroy(hasher->hashContext); + } KSI_free(hasher); } } @@ -171,7 +173,7 @@ int KSI_DataHasher_reset(KSI_DataHasher context = hasher->hashContext; if (context == NULL) { - context = KSI_new(EVP_MD_CTX); + context = EVP_MD_CTX_create(); if (context == NULL) { KSI_pushError(hasher->ctx, res = KSI_OUT_OF_MEMORY, NULL); goto cleanup; @@ -179,7 +181,7 @@ int KSI_DataHasher_reset(KSI_DataHasher hasher->hashContext = context; } else { - EVP_MD_CTX_cleanup(context); + EVP_MD_CTX_destroy(context); } if (!EVP_DigestInit(context, evp_md)) { Index: libksi-3.4.0.5/src/ksi/pkitruststore_openssl.c === --- libksi-3.4.0.5.orig/src/ksi/pkitruststore_openssl.c +++ libksi-3.4.0.5/src/ksi/pkitruststore_openssl.c @@ -907,13 +907,13 @@ cleanup: int KSI_PKITruststore_verifyRawSignature(KSI_CTX *ctx, const unsigned char *data, size_t data_len, const char *algoOid, const unsigned char *signature, size_t signature_len, const KSI_PKICertificate *certificate) { int res; ASN1_OBJECT* algorithm = NULL; -EVP_MD_CTX md_ctx; +EVP_MD_CTX *md_ctx; X509 *x509 = NULL; const EVP_MD *evp_md; EVP_PKEY *pubKey = NULL; /* Needs to be initialized before jumping to cleanup. */ -EVP_MD_CTX_init(&md_ctx); + md_ctx = EVP_MD_CTX_create(); KSI_ERR_clearErrors(ctx); @@ -956,17 +956,17 @@ int KSI_PKITruststore_verifyRawSignature goto cleanup; } -if (!EVP_VerifyInit(&md_ctx, evp_md)) { +if (!EVP_VerifyInit(md_ctx, evp_md)) { KSI_pushError(ctx, res = KSI_CRYPTO_FAILURE, NULL); goto cleanup; } -if (!EVP_VerifyUpdate(&md_ctx, (unsigned char *)data, data_len)) { +if (!EVP_VerifyUpdate(md_ctx, (unsigned char *)data, data_len)) { KSI_pushError(ctx, res = KSI_CRYPTO_FAILURE, NULL); goto cleanup; } -res = EVP_VerifyFinal(&md_ctx, (unsigned char *)signature, (unsigned)signature_len, pubKey); +res = EVP_VerifyFinal(md_ctx, (unsigned char *)signature, (unsigned)signature_len, pubKey); if (res < 0) { KSI_pushError(ctx, res = KSI_CRYPTO_FAILURE, NULL); goto cleanup; @@ -982,7 +982,7 @@ int KSI_PKITruststore_verifyRawSignature cleanup: - EVP_MD_CTX_cleanup(&md_ctx); + EVP_MD_CTX_destroy(md_ctx); if (algorithm != NULL) ASN1_OBJECT_free(algorithm); if (pubKey != NULL) EVP_PKEY_free(pubKey);
commit libksi for openSUSE:Factory
Hello community, here is the log from the commit of package libksi for openSUSE:Factory checked in at 2017-02-20 14:27:51 Comparing /work/SRC/openSUSE:Factory/libksi (Old) and /work/SRC/openSUSE:Factory/.libksi.new (New) Package is "libksi" Changes: --- /work/SRC/openSUSE:Factory/libksi/libksi.changes2016-01-05 21:55:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.libksi.new/libksi.changes 2017-02-20 14:27:52.329122260 +0100 @@ -1,0 +2,5 @@ +Wed Feb 15 15:19:09 CET 2017 - n...@suse.de + +- This library is needed for latest rsyslog 8.24.0(fate#320546) + +--- Other differences: -- ++ libksi.spec ++ --- /var/tmp/diff_new_pack.DwcSTn/_old 2017-02-20 14:27:52.773059615 +0100 +++ /var/tmp/diff_new_pack.DwcSTn/_new 2017-02-20 14:27:52.773059615 +0100 @@ -1,7 +1,7 @@ # # spec file for package libksi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit libksi for openSUSE:Factory
Hello community, here is the log from the commit of package libksi for openSUSE:Factory checked in at 2016-01-05 21:54:42 Comparing /work/SRC/openSUSE:Factory/libksi (Old) and /work/SRC/openSUSE:Factory/.libksi.new (New) Package is "libksi" Changes: --- /work/SRC/openSUSE:Factory/libksi/libksi.changes2015-07-08 06:59:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.libksi.new/libksi.changes 2016-01-05 21:55:07.0 +0100 @@ -1,0 +2,18 @@ +Sat Jan 2 15:52:27 UTC 2016 - astie...@suse.com + +- libksi 3.4.0.5 (1:0:0) + * Removed all default endpoints. + * Added multi signature container. + * Publications file parsing and verification are now more strict. + * Publications file verification customizable. + * Added fast tlv parser. + * Fixed getLatestPublication and getNearestPublication. + * Restructured logging (new log levels). + * All size variables changed to size_t. + * Hash algorithm id changed from int to KSI_HashAlgorithm. + * Publications file creation and signing support. + * Hashing algorithm RIPEMD-256 removed. + * Local aggregation support. + * Fixed calendar hash chain calculation. + +--- Old: libksi-3.2.2.0.tar.gz New: libksi-3.4.0.5.tar.gz Other differences: -- ++ libksi.spec ++ --- /var/tmp/diff_new_pack.q7SKEM/_old 2016-01-05 21:55:08.0 +0100 +++ /var/tmp/diff_new_pack.q7SKEM/_new 2016-01-05 21:55:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libksi # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,16 @@ # +%define sover 1 Name: libksi -Version:3.2.2.0 +Version:3.4.0.5 Release:0 Summary:GuardTime KSI API License:Apache-2.0 Group: Development/Libraries/C and C++ Url:http://www.rsyslog.com/ # https://github.com/rsyslog/libksi -# extracted from http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/libksi-3.2.2.0-1.el7.src.rpm -# Source0: http://libgt.adiscon.com/files/download/%{name}-%{version}.tar.gz -# applied: 488e6fb from https://github.com/rgerhards/libksi/pull/1 +# extracted from http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/libksi1-3.4.0.5-2.el7.src.rpm Source0:%{name}-%{version}.tar.gz BuildRequires: curl-devel BuildRequires: openssl-devel @@ -36,17 +35,17 @@ %description LibKSI - Keyless Signature Infrastructure GuardTime client library -%package -n %{name}0 +%package -n %{name}%{sover} Summary:GuardTime KSI API Group: System/Libraries -%description -n %{name}0 +%description -n %{name}%{sover} LibKSI - Keyless Signature Infrastructure GuardTime client library %package devel Summary:Development files for the %{name} package Group: Development/Libraries/C and C++ -Requires: %{name}0 = %{version} +Requires: %{name}%{sover} = %{version} %description devel LibKSI - Keyless Signature Infrastructure GuardTime client library @@ -72,15 +71,15 @@ #make check #make test -%post -n %{name}0 -p /sbin/ldconfig +%post -n %{name}%{sover} -p /sbin/ldconfig -%postun -n %{name}0 -p /sbin/ldconfig +%postun -n %{name}%{sover} -p /sbin/ldconfig -%files -n %{name}0 +%files -n %{name}%{sover} %defattr(-,root,root) %doc license.txt changelog -%{_libdir}/libksi.so.0 -%{_libdir}/libksi.so.0.0.0 +%{_libdir}/libksi.so.%{sover} +%{_libdir}/libksi.so.%{sover}.* %files devel %defattr(-,root,root) ++ libksi-3.2.2.0.tar.gz -> libksi-3.4.0.5.tar.gz ++ 14718 lines of diff (skipped)
commit libksi for openSUSE:Factory
Hello community, here is the log from the commit of package libksi for openSUSE:Factory checked in at 2015-07-08 06:59:15 Comparing /work/SRC/openSUSE:Factory/libksi (Old) and /work/SRC/openSUSE:Factory/.libksi.new (New) Package is "libksi" Changes: New Changes file: --- /dev/null 2015-06-25 09:04:34.320025005 +0200 +++ /work/SRC/openSUSE:Factory/.libksi.new/libksi.changes 2015-07-08 06:59:16.0 +0200 @@ -0,0 +1,17 @@ +--- +Fri Jul 3 13:16:47 UTC 2015 - astie...@suse.com + +- correct license header of rest/resigner.c (as sent by copyright + holder in https://github.com/rgerhards/libksi/pull/1) + +--- +Thu Jul 2 06:34:16 UTC 2015 - astie...@suse.com + +- import and adjust from adiscon src rpm for SUSE + +--- +Fri Jun 26 00:00:00 UTC 2015 - fri...@adiscon.com + +- Created initial RPM for libksi! + + New: libksi-3.2.2.0.tar.gz libksi.changes libksi.spec Other differences: -- ++ libksi.spec ++ # # spec file for package libksi # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libksi Version:3.2.2.0 Release:0 Summary:GuardTime KSI API License:Apache-2.0 Group: Development/Libraries/C and C++ Url:http://www.rsyslog.com/ # https://github.com/rsyslog/libksi # extracted from http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/libksi-3.2.2.0-1.el7.src.rpm # Source0: http://libgt.adiscon.com/files/download/%{name}-%{version}.tar.gz # applied: 488e6fb from https://github.com/rgerhards/libksi/pull/1 Source0:%{name}-%{version}.tar.gz BuildRequires: curl-devel BuildRequires: openssl-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LibKSI - Keyless Signature Infrastructure GuardTime client library %package -n %{name}0 Summary:GuardTime KSI API Group: System/Libraries %description -n %{name}0 LibKSI - Keyless Signature Infrastructure GuardTime client library %package devel Summary:Development files for the %{name} package Group: Development/Libraries/C and C++ Requires: %{name}0 = %{version} %description devel LibKSI - Keyless Signature Infrastructure GuardTime client library The libksi-devel package contains the header files and libraries needed to develop applications using libksi. %prep %setup -q %build %configure \ --disable-static \ --with-cafile=%{_sysconfdir}/ssl/ca-bundle.pem make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print rm -v %{buildroot}/%{_datadir}/doc/%{name}/license.txt rm -v %{buildroot}/%{_datadir}/doc/%{name}/changelog %check #make check #make test %post -n %{name}0 -p /sbin/ldconfig %postun -n %{name}0 -p /sbin/ldconfig %files -n %{name}0 %defattr(-,root,root) %doc license.txt changelog %{_libdir}/libksi.so.0 %{_libdir}/libksi.so.0.0.0 %files devel %defattr(-,root,root) %doc license.txt changelog doc/ %{_includedir}/ksi %{_libdir}/libksi.so %{_libdir}/pkgconfig/libksi.pc %changelog