Compare commits

..

No commits in common. "5a273fde82787bff64f0dd92b3e2b3b86495d8e8" and "e34c50a221457ef1b333fc17d5a96631cb80f040" have entirely different histories.

3 changed files with 3 additions and 43 deletions

View File

@ -1,26 +0,0 @@
From 63001de4b2b56d2a94c2e806f03ade285c4c9533 Mon Sep 17 00:00:00 2001
From: Huaxin Lu <luhuaxin1@huawei.com>
Date: Fri, 10 Feb 2023 13:41:25 +0800
Subject: [PATCH] attest tools support openssl 3.0
Signed-off-by: Huaxin Lu <luhuaxin1@huawei.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9b2e89c..ab774c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_CHECK_LIB([digestlist-base], [new_key_pgp],[digestlists_pgp=true],[],[])
AM_CONDITIONAL([DIGESTLISTS], [test x$digestlists = xtrue])
AM_CONDITIONAL([DIGESTLISTS_PGP], [test x$digestlists_pgp = xtrue])
-CFLAGS="$CFLAGS -Wall -Werror -DTPM_POSIX"
+CFLAGS="$CFLAGS -Wall -Werror -DTPM_POSIX -Wno-deprecated-declarations -Wno-discarded-qualifiers"
AC_SUBST(CFLAGS)
--
2.33.0

View File

@ -1,17 +1,15 @@
name: attest-tools name: attest-tools
Version: 0.2.92 Version: 0.2.92
Release: 7 Release: 3
Summary: Attestation tools Summary: Attestation tools
Source0: https://gitee.com/openeuler/%{name}/repository/archive/v%{version}.tar.gz Source0: https://gitee.com/openeuler/%{name}/repository/archive/v%{version}.tar.gz
Patch0: attest-tools-support-openssl-3.0.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ License: GPLv2+
Url: https://gitee.com/openeuler/attest-tools Url: https://gitee.com/openeuler/attest-tools
BuildRequires: autoconf automake libcurl-devel libtool openssl-devel BuildRequires: autoconf automake libcurl-devel libtool openssl-devel
BuildRequires: digest-list-tools-devel json-c-devel libcurl-devel tss2-devel systemd BuildRequires: digest-list-tools-devel json-c-devel libcurl-devel tss2-devel systemd
Requires: json-c curl tss2 openssl_tpm2_engine Requires: json-c curl tss2
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
@ -31,7 +29,7 @@ Requires:%{name} = %{version}-%{release}
This package includes the headers of the libraries. This package includes the headers of the libraries.
%prep %prep
%autosetup -n %{name}-v%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
autoreconf -iv autoreconf -iv
@ -97,18 +95,6 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/include/attest-tools %{_prefix}/include/attest-tools
%changelog %changelog
* Thu Mar 16 2023 luhuaxin <luhuaxin1@huawei.com> - 0.2.92-7
- Support openssl 3.0
* Tue Feb 7 2023 gaoyusong <gaoyusong2@huawei.com> - 0.2.92-6
- Fix build error with openssl
* Thu Nov 17 2022 luhuaxin <luhuaxin1@huawei.com> - 0.2.92-5
- use release source pkg
* Fri Sep 03 2021 wangyue <wangyue92@huawei.com> - 0.2.92-4
- Add openssl_tpm2_engine in requires
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.2.92-3 * Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.2.92-3
- Fix building error: File must begin with "/": %{_unitdir}/attest_ra_server.service - Fix building error: File must begin with "/": %{_unitdir}/attest_ra_server.service
- Add systemd in BuildRequires - Add systemd in BuildRequires

Binary file not shown.