%global forgeurl https://github.com/facebook/netconsd Name: netconsd Version: v0.4.1 Release: 1.20240517234847497301.main.1.g68c5808%{?dist} Summary: The Netconsole Daemon License: BSD-3-Clause URL: https://facebookmicrosites.github.io/netconsd Source: netconsd-v0.4.1.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: libstdc++-static %description This is a daemon for receiving and processing logs from the Linux Kernel, as emitted over a network by the kernel's netconsole module. It supports both the old "legacy" text-only format, and the new extended format added in v4.4. The core of the daemon does nothing but process messages and drop them: in order to make the daemon useful, the user must supply one or more "output modules". These modules are shared object files which expose a small ABI that is called by netconsd with the content and metadata for netconsole messages it receives. %prep %autosetup -p1 -n netconsd-v0.4.1 %build %if 0%{?rhel} && 0%{?rhel} < 10 %set_build_flags %endif %make_build %make_build utils %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_libdir}/netconsd install -m0755 netconsd %{buildroot}%{_bindir} install -m0755 util/netconsblaster %{buildroot}%{_bindir} install -m0755 modules/*.so %{buildroot}%{_libdir}/netconsd %files %license LICENSE %doc README.md %{_bindir}/netconsd %{_bindir}/netconsblaster %{_libdir}/netconsd %changelog * Fri May 17 2024 Packit - v0.4.1-1.20240517234847497301.main.1.g68c5808 - Remove rust uses from netconsd (Dave Jones)