Compare commits
10 Commits
e298f99302
...
e923c93289
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e923c93289 | ||
|
|
c0e9debd6a | ||
|
|
d1db10f92f | ||
|
|
603830a566 | ||
|
|
5de0447caf | ||
|
|
1f1d9203f9 | ||
|
|
0006632eee | ||
|
|
f3975c558c | ||
|
|
4caefb54bf | ||
|
|
0cc3b06220 |
Binary file not shown.
BIN
kunpengsecl-v2.0.2.tar.gz
Normal file
BIN
kunpengsecl-v2.0.2.tar.gz
Normal file
Binary file not shown.
110
kunpengsecl.spec
110
kunpengsecl.spec
@ -1,5 +1,5 @@
|
|||||||
%global name kunpengsecl
|
%global name kunpengsecl
|
||||||
%global version 1.1.1
|
%global version 2.0.2
|
||||||
%undefine _missing_build_ids_terminate_build
|
%undefine _missing_build_ids_terminate_build
|
||||||
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
@ -12,22 +12,31 @@ URL: https://gitee.com/openeuler/kunpengsecl
|
|||||||
Source0: %{name}-v%{version}.tar.gz
|
Source0: %{name}-v%{version}.tar.gz
|
||||||
Source1: vendor.tar.gz
|
Source1: vendor.tar.gz
|
||||||
BuildRequires: gettext make golang
|
BuildRequires: gettext make golang
|
||||||
BuildRequires: protobuf-compiler openssl-devel
|
BuildRequires: protobuf-compiler compat-openssl11-devel
|
||||||
|
BuildRequires: cjson-devel
|
||||||
|
|
||||||
Requires: openssl
|
%ifarch aarch64
|
||||||
Packager: WangLi, Wucaijun
|
BuildRequires: itrustee_sdk-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Packager: leezhenxiang, WangLi, Wucaijun, gwei3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is %{name} project, including rac, ras and rahub packages.
|
This is %{name} project, including rac, ras, rahub, qcaserver, attester and tas packages.
|
||||||
|
|
||||||
%package rac
|
%package rac
|
||||||
Summary: the rac package.
|
Summary: the rac package.
|
||||||
|
Requires: compat-openssl11-libs
|
||||||
|
%ifarch aarch64
|
||||||
|
Requires: itrustee_sdk
|
||||||
|
%endif
|
||||||
|
|
||||||
%description rac
|
%description rac
|
||||||
This is the rac rpm package, which is used to install the client of the program.
|
This is the rac rpm package, which is used to install the client of the program.
|
||||||
|
|
||||||
%package ras
|
%package ras
|
||||||
Summary: the ras package.
|
Summary: the ras package.
|
||||||
|
Requires: %{name}-attester
|
||||||
|
|
||||||
%description ras
|
%description ras
|
||||||
This is the ras rpm package, which is used to install the server of the program.
|
This is the ras rpm package, which is used to install the server of the program.
|
||||||
@ -38,6 +47,34 @@ Summary: the rahub package.
|
|||||||
%description rahub
|
%description rahub
|
||||||
This is the rahub rpm package, which is used to cascade clients.
|
This is the rahub rpm package, which is used to cascade clients.
|
||||||
|
|
||||||
|
%package qcaserver
|
||||||
|
Summary: the qcaserver package.
|
||||||
|
|
||||||
|
%description qcaserver
|
||||||
|
This is the qcaserver rpm package, which is used to invoke libqca.
|
||||||
|
|
||||||
|
%package attester
|
||||||
|
Summary: the attester package.
|
||||||
|
Requires: cjson
|
||||||
|
Requires: compat-openssl11-libs
|
||||||
|
|
||||||
|
%description attester
|
||||||
|
This is the attester rpm package, which is used to verify ta reports.
|
||||||
|
|
||||||
|
%package tas
|
||||||
|
Summary: the tas package.
|
||||||
|
Requires: %{name}-attester
|
||||||
|
|
||||||
|
%description tas
|
||||||
|
This is the tas rpm package, which is used to sign ak cert.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: the develop package.
|
||||||
|
Requires: %{name}-attester
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This is the devel rpm package, which provide supporting header file.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -a 1
|
%setup -q -c -a 1
|
||||||
|
|
||||||
@ -67,6 +104,9 @@ make install DESTDIR=%{buildroot}
|
|||||||
%{_docdir}/attestation/rac/README.md
|
%{_docdir}/attestation/rac/README.md
|
||||||
%{_docdir}/attestation/rac/README.en.md
|
%{_docdir}/attestation/rac/README.en.md
|
||||||
%{_docdir}/attestation/rac/LICENSE
|
%{_docdir}/attestation/rac/LICENSE
|
||||||
|
%ifarch aarch64
|
||||||
|
%{_libdir}/libkta.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files ras
|
%files ras
|
||||||
%{_bindir}/ras
|
%{_bindir}/ras
|
||||||
@ -89,11 +129,65 @@ make install DESTDIR=%{buildroot}
|
|||||||
%{_docdir}/attestation/rahub/README.en.md
|
%{_docdir}/attestation/rahub/README.en.md
|
||||||
%{_docdir}/attestation/rahub/LICENSE
|
%{_docdir}/attestation/rahub/LICENSE
|
||||||
|
|
||||||
%clean
|
%files qcaserver
|
||||||
rm -rf %{_builddir}
|
%{_bindir}/qcaserver
|
||||||
rm -rf %{buildroot}
|
%{_sysconfdir}/attestation/qcaserver/config.yaml
|
||||||
|
%{_datadir}/attestation/qcaserver/prepare-qcaconf-env.sh
|
||||||
|
%{_docdir}/attestation/qcaserver/README.md
|
||||||
|
%{_docdir}/attestation/qcaserver/README.en.md
|
||||||
|
%{_docdir}/attestation/qcaserver/LICENSE
|
||||||
|
%{_datadir}/attestation/qcaserver/libqca.so
|
||||||
|
%{_datadir}/attestation/qcaserver/libteec.so
|
||||||
|
|
||||||
|
%files attester
|
||||||
|
%{_bindir}/attester
|
||||||
|
%{_sysconfdir}/attestation/attester/config.yaml
|
||||||
|
%{_datadir}/attestation/attester/prepare-attesterconf-env.sh
|
||||||
|
%{_docdir}/attestation/attester/README.md
|
||||||
|
%{_docdir}/attestation/attester/README.en.md
|
||||||
|
%{_docdir}/attestation/attester/LICENSE
|
||||||
|
%{_libdir}/libteeverifier.so
|
||||||
|
|
||||||
|
%files tas
|
||||||
|
%{_bindir}/tas
|
||||||
|
%{_bindir}/*.pem
|
||||||
|
%{_sysconfdir}/attestation/tas/config.yaml
|
||||||
|
%{_datadir}/attestation/tas/prepare-tasconf-env.sh
|
||||||
|
%{_docdir}/attestation/tas/README.md
|
||||||
|
%{_docdir}/attestation/tas/README.en.md
|
||||||
|
%{_docdir}/attestation/tas/LICENSE
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/teeverifier.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 25 2023 gwei3 <11015100@qq.com> - 2.0.2-1
|
||||||
|
- update to 2.0.2
|
||||||
|
* Thu Mar 23 2023 leezhenxiang <1172294056@qq.com> - 2.0.1-1
|
||||||
|
- update to 2.0.1
|
||||||
|
- add devel package
|
||||||
|
* Thu Mar 23 2023 leezhenxiang <1172294056@qq.com> - 2.0.0-1
|
||||||
|
- update to 2.0.0
|
||||||
|
- add qcaserver, attester, and tas packages
|
||||||
|
- add BuildRequires itrustee_sdk-devel, cjson-devel and Requires itrustee_sdk, cjson
|
||||||
|
- modify makefile to adapt to different architectures
|
||||||
|
- specify the build requires in rac and attester package
|
||||||
|
* Fri Feb 10 2023 gwei3 <11015100@qq.com> - 1.1.2-2
|
||||||
|
- update BuildRequires & Requires to replace openssl* with compat-openssl11* to adapt to latest Mainline
|
||||||
|
- remove redundent clean label in spec file
|
||||||
|
* Thu Sep 15 2022 gwei3 <11015100@qq.com> - 1.1.2-1
|
||||||
|
- update to 1.1.2
|
||||||
|
- add slice length checks to avoid buffer overflow while extracting and verifying
|
||||||
|
- update integration test data to meet restapi parameter check requirement
|
||||||
|
- modify raagent/main.go file, change log to logger, os.Exit returns different values based on diff errors
|
||||||
|
- close RAS restapi server in signal handler
|
||||||
|
- Add parameter format checking for pcr/bios/ima in POST {id}/newbasevalue API
|
||||||
|
- Fix bugs in v1.1.1
|
||||||
|
bug 1: hostintegritytool.sh can only add the 2nd part of ima policy into /etc/ima/ima-policy.
|
||||||
|
bug 2: running hostintegritytool.sh multiple times will add duplicated linux cmdlines in /etc/default/grub.
|
||||||
|
bug 3: rahub config path was assigned wrong values, which is caused by copy/paste
|
||||||
|
- fix the issue that Makefile not sync vendor
|
||||||
|
- modify readme file
|
||||||
* Fri Sep 02 2022 gwei3 <11015100@qq.com> - 1.1.1-1
|
* Fri Sep 02 2022 gwei3 <11015100@qq.com> - 1.1.1-1
|
||||||
- update to 1.1.1
|
- update to 1.1.1
|
||||||
- reuse makefile to do install
|
- reuse makefile to do install
|
||||||
|
|||||||
BIN
vendor.tar.gz
BIN
vendor.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user