diff --git a/annobin.spec b/annobin.spec index 6370a64..6c9724b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.81 +Version: 10.91 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -171,6 +171,23 @@ Installs the annocheck program which uses the notes generated by annobin to check that the specified files were compiled with the correct security hardening options. +%package libannocheck +Summary: A library for checking the security hardening status of binaries + +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make + +%if %{with debuginfod} +BuildRequires: elfutils-debuginfod-client-devel +%endif + +Requires: %{name}-docs = %{version}-%{release} +Requires: binutils-devel + +%description libannocheck +Installs the libannocheck library which uses the notes generated by the +annobin plugins to check that the specified files were compiled with the +correct security hardening options. + %endif #---------------------------------------------------------------------------- @@ -479,15 +496,33 @@ fi %if %{with annocheck} %files annocheck -%{_includedir}/libannocheck.h -%{_libdir}/libannocheck.* %{_bindir}/annocheck %{_mandir}/man1/annocheck.1* + +%files libannocheck +%{_includedir}/libannocheck.h +%{_libdir}/libannocheck.* +%{_libdir}/pkgconfig/libannocheck.pc %endif #--------------------------------------------------------------------------------- %changelog +* Fri Oct 21 2022 Yara Ahmad - 10.91-1 +- Rebase to annobin-10.91 + - Tests: Fix future-test so that it properly handles the situation where the compiler does not support the new options. + - Libannocheck: Actually set result fields after tests are run. + - Libannocheck: Replace libannocheck_version variable with LIBANNOCHECK_VERSION define. + - Libannocheck: Remove 'Requires binutils-devel' from libannocheck.pc. + - Libannocheck: Move into separate sub-package. + - Libannocheck: Add libannocheck.pc pkgconfig file. + - Libannocheck: Add libannocheck_reinit(). + - GCC Plugin: Record -ftrivial-auto-var-init and -fzero-call-used-regs. + - Annocheck: Add future tests for -ftrivial-auto-var-init and -fzero-call-used-regs. + - Clang Plugin: Fix for building with Clang-15. (#2125875) + - Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) + - NVR Bump in order to trigger a rebuild for ELN. (#2124562) + * Thu Aug 11 2022 Yara Ahmad - 10.81-1 - Plugin: Fix top level configuration support for RiscV. - Annocheck: Improvements to the size tool. diff --git a/sources b/sources index 5b4476b..ea31ce3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.81.tar.xz) = e62098c3537fd4d5be4d8219f9ab6e5305d49f350c659f669851181333944676c4f3c7b2075fef2b8c652c1617095e5462c88aa4aeb5851c1e18c4bd182f51bb +SHA512 (annobin-10.91.tar.xz) = d7c6e77f3e0385dccf1bb3fba4804675a679ec02a192768974ccad22350dcf6858232708189615ee3063da83b0372afca5b66d82282df49903cd4178913fa9d2