suricata-reporter: Fix Bug-14048 incorrect suricata-report-cron file used
Commit Message
- suricata-report-cron was created in August 2025 in the suricata-reporter package. After
this all updates were done in the suricata-report-cron placed in the config/suricata/
directory in the ipfire-2.x repo but that file was not copied across into the /usr/bin
directory
- This patch for the lfs file installs suricata-report-cron from the config/suricata/
directory.
- Confirmed by checking the file contents in the build directory and also by installing
the iso from the build.
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Fixes: Bug14048
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/suricata-reporter | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2025 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2025-2026 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -88,5 +88,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
/etc/suricata/reporter.conf
chown nobody:nobody /var/ipfire/suricata/reporter.conf
+ # Install suricata-report-cron file.
+ install -m 0644 $(DIR_SRC)/config/suricata/suricata-report-cron /usr/bin/suricata-report-cron
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)