Compare commits
11 Commits
e34c50a221
...
5a273fde82
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a273fde82 | ||
|
|
556bea21f8 | ||
|
|
588c946fda | ||
|
|
9922d049b5 | ||
|
|
ee16f13ee5 | ||
|
|
a9d9e93b63 | ||
|
|
261f808242 | ||
|
|
61873082df | ||
|
|
ea2c860a24 | ||
|
|
19045d5040 | ||
|
|
3d0f6bed3c |
26
attest-tools-support-openssl-3.0.patch
Normal file
26
attest-tools-support-openssl-3.0.patch
Normal file
@ -0,0 +1,26 @@
|
||||
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
|
||||
|
||||
@ -1,15 +1,17 @@
|
||||
name: attest-tools
|
||||
Version: 0.2.92
|
||||
Release: 3
|
||||
Release: 7
|
||||
Summary: Attestation tools
|
||||
|
||||
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)
|
||||
License: GPLv2+
|
||||
Url: https://gitee.com/openeuler/attest-tools
|
||||
BuildRequires: autoconf automake libcurl-devel libtool openssl-devel
|
||||
BuildRequires: digest-list-tools-devel json-c-devel libcurl-devel tss2-devel systemd
|
||||
Requires: json-c curl tss2
|
||||
Requires: json-c curl tss2 openssl_tpm2_engine
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libopenssl-devel
|
||||
@ -29,7 +31,7 @@ Requires:%{name} = %{version}-%{release}
|
||||
This package includes the headers of the libraries.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -iv
|
||||
@ -95,6 +97,18 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_prefix}/include/attest-tools
|
||||
|
||||
%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
|
||||
- Fix building error: File must begin with "/": %{_unitdir}/attest_ra_server.service
|
||||
- Add systemd in BuildRequires
|
||||
|
||||
BIN
v0.2.92.tar.gz
BIN
v0.2.92.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user