Compare commits

..

No commits in common. "076802675db463859ebe33b138b3d9190e8f2c74" and "b0c67901a66cdb429f6bcca9cf70ca5e92426716" have entirely different histories.

4 changed files with 7 additions and 40025 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,33 +1,25 @@
Name: itrustee_sdk Name: itrustee_sdk
Version: 0.1.0 Version: 0.1.0
Release: 12 Release: 7
Summary: Confidential computing framework for developing TA on itrustee OS Summary: Confidential computing framework for developing TA on itrustee OS
ExclusiveArch: aarch64 ExclusiveArch: aarch64
Group: OS Security Group: OS Security
License: MulanPSL-2.0 License: Mulan PSL v2
URL: https://gitee.com/openeuler/itrustee_sdk URL: https://gitee.com/openeuler/itrustee_sdk
Source0: https://gitee.com/openeuler/itrustee_sdk/repository/archive/v%{version}.tar.gz Source0: https://gitee.com/openeuler/itrustee_sdk/repository/archive/v%{version}.tar.gz
Patch0: 0001-add-Makefile-to-create-libteec_adaptor.so.patch Patch0: 0001-add-Makefile-to-create-libteec_adaptor.so.patch
Patch1: 0002-add-ftrapv-strip-and-FS-as-the-compiling-flags.patch Patch1: 0002-add-ftrapv-strip-and-FS-as-the-compiling-flags.patch
Patch2: 0003-no-copy-shared-memory.patch Patch2: 0003-no-copy-shared-memory.patch
Patch3: 0004-support-part-openssl-headers.patch
Patch4: 0005-support-remote-attestation.patch
Provides: libteec_adaptor.so()(64bit) Provides: libteec_adaptor.so()(64bit)
%define debug_package %{nil} %define debug_package %{nil}
%description %description
itrustee_sdk is a confidential computing framework for developing TA on itrustee OS itrustee_sdk is a confidential computing framework for developing TA on itrustee OS
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel is package contains Header file for developing applications that
us %{name}
%prep %prep
%autosetup -n %{name}-v%{version} -p1 %autosetup -n %{name} -p1
%build %build
sed -i 's/fPIC/fPIC -g/g' Makefile sed -i 's/fPIC/fPIC -g/g' Makefile
@ -39,38 +31,19 @@ make
%install %install
install -d %{buildroot}/opt/ install -d %{buildroot}/opt/
install -d %{buildroot}/lib64/ install -d %{buildroot}/lib64/
install -d %{buildroot}/%{_sysconfdir}/secGear/cloud/ install -d %{buildroot}/%{_sysconfdir}/itrustee/cloud/
make install DESTDIR=%{buildroot}/ make install DESTDIR=%{buildroot}/
install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/secGear/cloud install -pm 644 build/signtools/cloud/rsa_public_key_cloud.pem %{buildroot}/%{_sysconfdir}/itrustee/cloud
strip %{buildroot}/lib64/*.so strip %{buildroot}/lib64/*.so
%files devel
%defattr(-,root,root)
/opt/itrustee_sdk
%{_sysconfdir}/secGear/cloud/rsa_public_key_cloud.pem
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/opt/itrustee_sdk
/lib64/libteec_adaptor.so /lib64/libteec_adaptor.so
%{_sysconfdir}/itrustee/cloud/rsa_public_key_cloud.pem
%changelog %changelog
* Thu Apr 27 2023 houmingyong<houmingyong@huawei.com> - 0.1.0-12
- DESC: support remote attestation
* Tue Feb 28 2023 houmingyong<houmingyong@huawei.com> - 0.1.0-11
- DESC: support part openssl hearders
* Tue Nov 22 2022 gaoyusong<gaoyusong2@huawei.com> - 0.1.0-10
- DESC: Unified license name specification
* Tue Nov 22 2022 gaoyusong<gaoyusong2@huawei.com> - 0.1.0-9
- DESC: fix error source pkg
* Wed Aug 03 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 0.1.0-8
- DESC: split itrustee_sdk into itrustee_sdk and itrustee_sdk-devel
* Wed Aug 03 2022 wangyu<wangyu283@huawei.com> - 0.1.0-7 * Wed Aug 03 2022 wangyu<wangyu283@huawei.com> - 0.1.0-7
- DESC: support: no-copy shared memory - DESC: support: no-copy shared memory

Binary file not shown.