public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] suricata-reporter: Fix Bug-14048 incorrect suricata-report-cron file used
Date: Thu, 10 Sep 2026 15:17:51 +0200	[thread overview]
Message-ID: <20260910131751.151378-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20260910131751.151378-1-adolf.belka@ipfire.org>

- 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(-)

diff --git a/lfs/suricata-reporter b/lfs/suricata-reporter
index c56e0b5da..5f82a48e4 100644
--- a/lfs/suricata-reporter
+++ b/lfs/suricata-reporter
@@ -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)
-- 
2.55.0



  reply	other threads:[~2026-09-10 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 13:17 [PATCH] core205: Ship suricata-reporter Adolf Belka
2026-09-10 13:17 ` Adolf Belka [this message]
2026-09-10 20:12   ` [PATCH] suricata-reporter: Fix Bug-14048 incorrect suricata-report-cron file used Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260910131751.151378-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox