From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gsad/files/, net-analyzer/gsad/
Date: Fri, 11 Aug 2023 09:08:08 +0000 (UTC) [thread overview]
Message-ID: <1691744875.9faff04c392041e0536602a5cb543f9eb4956c2c.flow@gentoo> (raw)
commit: 9faff04c392041e0536602a5cb543f9eb4956c2c
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Aug 9 15:37:28 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Aug 11 09:07:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9faff04c
net-analyzer/gsad: fix OpenRC script
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32234
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gsad/files/gsad-22.init | 8 +++-----
net-analyzer/gsad/files/gsad-daemon.conf | 2 +-
.../gsad/{gsad-22.5.1-r1.ebuild => gsad-22.5.1-r2.ebuild} | 2 +-
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/gsad/files/gsad-22.init b/net-analyzer/gsad/files/gsad-22.init
index 9a93713bd591..f416990b19a4 100644
--- a/net-analyzer/gsad/files/gsad-22.init
+++ b/net-analyzer/gsad/files/gsad-22.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${GSAD_USER:=gvm}
@@ -8,10 +8,8 @@
name="Greenbone Security Assistant (GSA)"
command="/usr/bin/gsad"
-command_args="--foreground ${GSAD_OPTIONS} ${GSAD_LISTEN_ADDRESS} ${GSAD_LISTEN_PORT} ${GVMD_LISTEN_ADDRESS} ${GVMD_LISTEN_PORT} ${GSAD_GNUTLS_PRIORITIES}"
-command_background="true"
command_user="${GSAD_USER}:${GSAD_GROUP}"
-pidfile="/run/gsad/gsad.pid"
+command_args="${GSAD_OPTIONS} ${GSAD_LISTEN_ADDRESS} ${GSAD_LISTEN_PORT} ${GVMD_LISTEN_ADDRESS} ${GVMD_LISTEN_PORT} ${GSAD_GNUTLS_PRIORITIES}"
retry="${GSAD_TIMEOUT}"
depend() {
@@ -20,5 +18,5 @@ depend() {
}
start_pre() {
- checkpath -d /run/gsad
+ checkpath -d --owner ${GSAD_USER} /var/run/gsad
}
diff --git a/net-analyzer/gsad/files/gsad-daemon.conf b/net-analyzer/gsad/files/gsad-daemon.conf
index f7c7ee514e50..e74b409cc84a 100644
--- a/net-analyzer/gsad/files/gsad-daemon.conf
+++ b/net-analyzer/gsad/files/gsad-daemon.conf
@@ -1,7 +1,7 @@
# Greenbone Security Assistant command args
# e.g. --foreground | e.g. --no-redirect
-GSAD_OPTIONS="--no-redirect"
+GSAD_OPTIONS="--no-redirect --http-only"
# GSAD listen adress
GSAD_LISTEN_ADDRESS="--listen=127.0.0.1"
diff --git a/net-analyzer/gsad/gsad-22.5.1-r1.ebuild b/net-analyzer/gsad/gsad-22.5.1-r2.ebuild
similarity index 97%
rename from net-analyzer/gsad/gsad-22.5.1-r1.ebuild
rename to net-analyzer/gsad/gsad-22.5.1-r2.ebuild
index 49e02618b234..7055f5038584 100644
--- a/net-analyzer/gsad/gsad-22.5.1-r1.ebuild
+++ b/net-analyzer/gsad/gsad-22.5.1-r2.ebuild
@@ -98,7 +98,7 @@ src_install() {
${PN}.service
insinto /etc/gvm/sysconfig
- doins "${FILESDIR}/${PN}-daemon.conf"
+ newins "${FILESDIR}/${PN}-daemon.conf" "${PN}-daemon.conf"
newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
next reply other threads:[~2023-08-11 9:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 9:08 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-14 7:53 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gsad/files/, net-analyzer/gsad/ Florian Schmaus
2023-10-09 10:54 Florian Schmaus
2023-07-03 8:15 Florian Schmaus
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=1691744875.9faff04c392041e0536602a5cb543f9eb4956c2c.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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