Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] suricata: minor fixes of the run file
@ 2023-12-12  7:15 c0m4r
  2023-12-12 10:48 ` [PR PATCH] [Closed]: " c0m4r
  0 siblings, 1 reply; 2+ messages in thread
From: c0m4r @ 2023-12-12  7:15 UTC (permalink / raw)
  To: ml

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: suricata: minor fixes of the run file
  2023-12-12  7:15 [PR PATCH] suricata: minor fixes of the run file c0m4r
@ 2023-12-12 10:48 ` c0m4r
  0 siblings, 0 replies; 2+ messages in thread
From: c0m4r @ 2023-12-12 10:48 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

suricata: minor fixes of the run file
https://github.com/void-linux/void-packages/pull/47708

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-12 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12  7:15 [PR PATCH] suricata: minor fixes of the run file c0m4r
2023-12-12 10:48 ` [PR PATCH] [Closed]: " c0m4r

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