2019-09-30 10:53:13 -04:00
|
|
|
Name: ima-evm-utils
|
2023-07-28 15:36:40 +08:00
|
|
|
Version: 1.5
|
|
|
|
|
Release: 1
|
2019-09-30 10:53:13 -04:00
|
|
|
Summary: IMA/EVM control utilities
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: http://linux-ima.sourceforge.net/
|
2023-07-20 11:09:25 +08:00
|
|
|
Source0: https://github.com/mimizohar/ima-evm-utils/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2019-09-30 10:53:13 -04:00
|
|
|
|
2023-07-28 15:36:40 +08:00
|
|
|
Patch9000: 0001-add-save-command-to-support-digest-list-building.patch
|
|
|
|
|
Patch9001: 0002-fix-caps-parameter-cannot-be-parsed.patch
|
|
|
|
|
Patch9002: 0003-add-sm3-option.patch
|
|
|
|
|
Patch9003: 0004-Skip-test-error-in-docker.patch
|
2020-07-03 10:19:48 +08:00
|
|
|
|
2021-01-22 15:30:14 +08:00
|
|
|
BuildRequires: autoconf automake libtool asciidoc vim-common
|
2021-11-10 15:25:06 +08:00
|
|
|
BuildRequires: libxslt openssl openssl-devel keyutils-libs-devel tpm2-tss-devel
|
2020-01-20 15:22:38 +08:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2019-09-30 10:53:13 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
ima-evm-utils package provides the evmctl utility that can be used for producing
|
|
|
|
|
and verifying digital signatures, which are used by Linux kernel integrity subsystem.
|
|
|
|
|
It can be also used to import keys into the kernel keyring.
|
|
|
|
|
|
2020-01-20 15:22:38 +08:00
|
|
|
%package libs
|
2021-01-22 15:30:14 +08:00
|
|
|
Summary: shared library for IMA/EVM
|
2020-01-20 15:22:38 +08:00
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
This package provides shared library for IMA/EVM.
|
|
|
|
|
|
2019-09-30 10:53:13 -04:00
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
2021-01-22 15:30:14 +08:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2019-09-30 10:53:13 -04:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
|
Obsoletes:%{name}-static < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the header files for %{name}
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-01-22 15:30:14 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 10:53:13 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -f -i
|
2021-02-02 23:03:28 +08:00
|
|
|
%configure \
|
|
|
|
|
--disable-static
|
2019-09-30 10:53:13 -04:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
%make_install
|
2021-02-02 23:03:28 +08:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2019-09-30 10:53:13 -04:00
|
|
|
|
2023-07-28 15:36:40 +08:00
|
|
|
cp -a %{_libdir}/libimaevm.so.2.0.0 %{buildroot}%{_libdir}/libimaevm.so.2.0.0
|
|
|
|
|
ln -s -f %{buildroot}%{_libdir}/libimaevm.so.2.0.0 %{buildroot}%{_libdir}/libimaevm.so.2
|
|
|
|
|
|
2019-09-30 10:53:13 -04:00
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
2021-01-22 15:30:14 +08:00
|
|
|
%ldconfig_scriptlets
|
2019-09-30 10:53:13 -04:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2021-01-22 15:30:14 +08:00
|
|
|
%doc NEWS README AUTHORS
|
|
|
|
|
%license COPYING
|
2019-09-30 10:53:13 -04:00
|
|
|
%{_bindir}/*
|
2020-01-20 15:22:38 +08:00
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%defattr(-,root,root)
|
2020-01-16 11:47:22 +08:00
|
|
|
%{_libdir}/*.so.*
|
2019-09-30 10:53:13 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_docdir}/%{name}/*.sh
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%files help
|
2023-02-06 11:28:51 +08:00
|
|
|
%ifnarch i686
|
2019-09-30 10:53:13 -04:00
|
|
|
%doc %{_mandir}/*/*
|
2023-02-06 11:28:51 +08:00
|
|
|
%endif
|
2019-09-30 10:53:13 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2023-07-28 15:36:40 +08:00
|
|
|
* Fri Jul 28 2023 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.5-1
|
|
|
|
|
- Upgrade to 1.5 with compatibility
|
|
|
|
|
|
2023-07-27 09:54:36 +08:00
|
|
|
* Thu Jul 27 2023 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.3.2-10
|
|
|
|
|
- Revert "Upgrade to 1.5"
|
|
|
|
|
|
2023-07-20 11:09:25 +08:00
|
|
|
* Thu Jul 20 2023 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.5-1
|
|
|
|
|
- Upgrade to 1.5
|
|
|
|
|
|
2023-02-06 11:28:51 +08:00
|
|
|
* Mon Feb 6 2023 gaoyusong <gaoyusong2@huawei.com> - 1.3.2-9
|
|
|
|
|
- fix i686 build issue
|
|
|
|
|
|
2022-10-29 09:38:54 +08:00
|
|
|
* Sat Oct 29 2022 shenxiangwei <shenxiangwei1@huawei.com> - 1.3.2-8
|
|
|
|
|
- revert "update to 1.4"
|
|
|
|
|
|
2022-10-27 15:35:15 +08:00
|
|
|
* Thu Oct 27 2022 shenxiangwei <shenxiangwei1@huawei.com> - 1.4-1
|
|
|
|
|
- update to 1.4
|
|
|
|
|
|
2022-09-26 18:38:22 +08:00
|
|
|
* Mon Sep 26 2022 shenxiangwei <shenxiangwei1@huawei.com> - 1.3.2-7
|
|
|
|
|
- Skip test error in docker
|
|
|
|
|
|
|
|
|
|
* Sun Aug 14 2022 shenxiangwei <shenxiangwei1@huawei.com> - 1.3.2-6
|
2022-08-24 11:17:48 +08:00
|
|
|
- Add sm3 option
|
|
|
|
|
|
2022-08-19 15:02:50 +08:00
|
|
|
* Fri Aug 19 2022 shenxiangwei <shenxiangwei1@huawei.com> - 1.3.2-5
|
|
|
|
|
- Fix caps parameter cannot be parsed
|
|
|
|
|
|
2022-06-30 17:55:41 +08:00
|
|
|
* Thu Jun 30 2022 luhuaxin <luhuaxin1@huawei.com> - 1.3.2-4
|
|
|
|
|
- Support SM signature
|
|
|
|
|
|
2021-11-10 15:25:06 +08:00
|
|
|
* Wed Nov 10 2021 xu_ping <xuping33@huawei.com> - 1.3.2-3
|
|
|
|
|
- Fix tests failed due to lack of openssl command
|
|
|
|
|
|
2021-02-02 23:03:28 +08:00
|
|
|
* Tue Feb 2 2021 openEuler Buildteam <buildteam@openeuler.org> - 1.3.2-2
|
|
|
|
|
- fix make check fail issue
|
|
|
|
|
|
|
|
|
|
* Fri Jan 15 2021 openEuler Buildteam <buildteam@openeuler.org> - 1.3.2-1
|
2021-01-15 16:26:12 +08:00
|
|
|
- update to 1.3.2
|
|
|
|
|
|
2020-07-03 10:19:48 +08:00
|
|
|
* Fri Jul 3 2020 Anakin Zhang <benjamin93@163.com> - 1.2.1-9
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: add save command and support IMA digest list
|
|
|
|
|
|
2020-01-20 15:22:38 +08:00
|
|
|
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-8
|
|
|
|
|
- add %{name}-libs
|
|
|
|
|
|
2020-01-16 11:47:22 +08:00
|
|
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-7
|
|
|
|
|
- delete libimaevm0
|
|
|
|
|
|
2020-01-15 10:02:12 +08:00
|
|
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2020-01-14 21:35:58 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-5
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2020-01-14 15:29:50 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2020-01-14 09:28:14 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2020-01-13 23:06:19 +08:00
|
|
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2020-01-10 19:36:02 +08:00
|
|
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2019-11-06 19:33:45 +08:00
|
|
|
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1-7
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: change the directory of AUTHORS
|
|
|
|
|
|
2019-09-30 10:53:13 -04:00
|
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: revise spec file with new rules
|
|
|
|
|
|
|
|
|
|
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1-5
|
|
|
|
|
- Package init
|