audit: enable TLS transport support

Enable TLS in audisp-remote by passing --enable-tls to configure and
adding openssl-devel as a BuildRequires for audispd-plugins.

Resolves: RHEL-172047
Signed-off-by: Cropi <alakatos@redhat.com>
This commit is contained in:
Cropi 2026-08-06 18:50:53 +02:00
parent 187dab8bd5
commit 23bed447fc

View File

@ -1,7 +1,7 @@
Summary: User space tools for kernel auditing
Name: audit
Version: 4.2.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL-2.0-or-later AND LGPL-2.0-or-later
URL: https://github.com/linux-audit/audit-userspace/
Source0: https://github.com/linux-audit/audit-userspace/archive/refs/tags/v%{version}.tar.gz
@ -66,7 +66,7 @@ and libauparse can be used by python3.
%package -n audispd-plugins
Summary: Plugins for the audit event dispatcher
License: GPL-2.0-or-later
BuildRequires: krb5-devel libcap-ng-devel
BuildRequires: krb5-devel libcap-ng-devel openssl-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -111,7 +111,8 @@ sed -i 's/ ids / /' audisp/plugins/Makefile.in
%configure --with-python3=yes \
--enable-gssapi-krb5=yes --with-arm --with-aarch64 --with-riscv \
--with-libcap-ng=yes --without-golang --enable-zos-remote \
--with-io_uring --enable-experimental --with-nftables
--with-io_uring --enable-experimental --with-nftables \
--enable-tls
make CFLAGS="%{optflags}" %{?_smp_mflags}
@ -309,6 +310,10 @@ fi
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
%changelog
* Thu Aug 06 2026 Attila Lakatos <alakatos@redhat.com> - 4.2.1-2
- Enable TLS transport support in audisp-remote
Resolves: RHEL-172047
* Mon May 04 2026 Attila Lakatos <alakatos@redhat.com> - 4.2.1-1
- Rebase to 4.2.1
- Revert /run/audit/ migration (selinux-policy not yet updated, RHEL-224026)