%global forgeurl https://github.com/facebook/netconsd Name: netconsd Version: v0.4.1 Release: 1.20241015181442873447.main.4.g2755519%{?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 * Tue Oct 15 2024 Packit - v0.4.1-1.20241015181442873447.main.4.g2755519 - kernel (generatedunixname89002005287564) - Remove leftover rust bits (Dave Jones) - Remove unneeded includes (Dave Jones) - Remove rust uses from netconsd (Dave Jones)