Github messages for voidlinux
 help / color / mirror / Atom feed
From: c0m4r <c0m4r@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] suricata: minor fixes of the run file
Date: Tue, 12 Dec 2023 08:15:05 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47708@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

There is a new pull request by c0m4r against master on the void-packages repository

https://github.com/c0m4r/void-packages master
https://github.com/void-linux/void-packages/pull/47708

suricata: minor fixes of the run file
#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/47708.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-47708.patch --]
[-- Type: text/x-diff, Size: 1712 bytes --]

From 75264e107e742961ed1e3e1903c52266a9cb423c Mon Sep 17 00:00:00 2001
From: c0m4r <c0m4r@users.noreply.github.com>
Date: Tue, 12 Dec 2023 08:11:10 +0100
Subject: [PATCH 1/2] Update run

suppressing stdout as it's already being sent to the log
added missing /var/run/suricata
---
 srcpkgs/suricata/files/suricata/run | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/suricata/files/suricata/run b/srcpkgs/suricata/files/suricata/run
index b185a36352827..2bd0d44d1ddbe 100644
--- a/srcpkgs/suricata/files/suricata/run
+++ b/srcpkgs/suricata/files/suricata/run
@@ -1,6 +1,6 @@
 #!/bin/sh
 exec 2>&1
 [ -r conf ] && . ./conf
-mkdir -p /var/log/suricata /var/lib/suricata
-chown -R suricata:suricata /var/lib/suricata /var/log/suricata
-exec suricata -i ${INTERFACE:=eth0} ${OPTS}
+mkdir -p /var/log/suricata /var/lib/suricata /var/run/suricata
+chown -R suricata:suricata /var/lib/suricata /var/log/suricata /var/run/suricata
+exec suricata -i ${INTERFACE:=eth0} ${OPTS} >/dev/null

From 84a1bd259b0b7875fd0cd23c7f52efce426c358c Mon Sep 17 00:00:00 2001
From: c0m4r <c0m4r@users.noreply.github.com>
Date: Tue, 12 Dec 2023 08:12:32 +0100
Subject: [PATCH 2/2] Update template

changed revision
---
 srcpkgs/suricata/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/suricata/template b/srcpkgs/suricata/template
index 3e4f58bae137d..29c7c12dadd7c 100644
--- a/srcpkgs/suricata/template
+++ b/srcpkgs/suricata/template
@@ -1,7 +1,7 @@
 # Template file for 'suricata'
 pkgname=suricata
 version=4.1.8
-revision=2
+revision=3
 build_style=gnu-configure
 build_helper="$(vopt_if rust rust)"
 configure_args="--disable-gccmarch-native $(vopt_enable rust)

             reply	other threads:[~2023-12-12  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12  7:15 c0m4r [this message]
2023-12-12 10:48 ` [PR PATCH] [Closed]: " c0m4r

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47708@inbox.vuxu.org \
    --to=c0m4r@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).