ima-evm-utils originally was licensed as GPLv2 preventing it from being linked with GPLv3-only applications. To address this limitation, the ima-evm-utils package and library licenses are updated to GPL-2.0-or-later and LGPL-2.0-or-later respectively. libimaevm defines and uses a couple of global variables making it not concurrency-safe. To address this issue, defined and passed local variables, defined new library functions, and deprecated old library functions. See the NEWS file for a short summary of changes and the git history for details. Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> --- NEWS | 22 ++++++++++++++++++++++ configure.ac | 2 +- packaging/ima-evm-utils.spec | 2 +- src/Makefile.am | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 06ac13211cf5..606243896b32 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,25 @@ +2024-7-1 Mimi Zohar <zohar@xxxxxxxxxxxxx> + + version 1.6: + + * CI changes: + * Update distros, removing EOL + * Limit installing PKCS11 provider package until dependency (e.g. + OpenSSL, p11-kit-modules, SoftHSM) deadlock on alt:sisyphus + and debian:testing are addressed. + * License change: + * Update package and library license from GPLv2 to GPL-2.0-or-later + and LGPL-2.0-or-later respectively. + * Tests: + * New ima_policy_check.test, mmap_check.test + * Add PKCS11 provider test to sign_verify.test; skip PKCS11 engine + test when OpenSSL engine is not supported. + * Misc bug fixes and code cleanup: + * Instead of relying on libimaevm global variables (e.g. public_keys, + struct libimaevm_params variables), which is not concurrency safe, + define and pass local variables. + * New ShellCheck target + 2023-2-24 Mimi Zohar <zohar@xxxxxxxxxxxxx> version 1.5: diff --git a/configure.ac b/configure.ac index d0d2e219fdc9..c4c7f68f6ba4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # autoconf script AC_PREREQ([2.65]) -AC_INIT(ima-evm-utils, 1.5, zohar@xxxxxxxxxxxxx) +AC_INIT(ima-evm-utils, 1.6, zohar@xxxxxxxxxxxxx) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/packaging/ima-evm-utils.spec b/packaging/ima-evm-utils.spec index 7e40fa66cdb0..52cb2b044295 100644 --- a/packaging/ima-evm-utils.spec +++ b/packaging/ima-evm-utils.spec @@ -1,5 +1,5 @@ Name: ima-evm-utils -Version: 1.5 +Version: 1.6 Release: 1%{?dist} Summary: ima-evm-utils - IMA/EVM control utility Group: System/Libraries diff --git a/src/Makefile.am b/src/Makefile.am index 7c3f5fdd5080..a6e0b8efd7df 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,7 @@ libimaevm_la_SOURCES = libimaevm.c libimaevm_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCRYPTO_CFLAGS) # current[:revision[:age]] # result: [current-age].age.revision -libimaevm_la_LDFLAGS = -version-info 4:0:0 +libimaevm_la_LDFLAGS = -version-info 5:0:0 libimaevm_la_LIBADD = $(LIBCRYPTO_LIBS) libimaevm_la_CFLAGS = -- 2.43.0