summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-05-08 18:59:08 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-05-08 19:02:41 +0200
commit0763de80c3b751bba4c8b898f85cb95a645cca18 (patch)
treea9ee0b00e5fa9c7b695f156414fe82f9a64e4eb9
parentmedia-gfx/ditaa: drop 0.10 (diff)
downloadgentoo-0763de80c3b751bba4c8b898f85cb95a645cca18.tar.gz
gentoo-0763de80c3b751bba4c8b898f85cb95a645cca18.tar.bz2
gentoo-0763de80c3b751bba4c8b898f85cb95a645cca18.zip
net-analyzer/gvmd: fix systemd service
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild (renamed from net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild b/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
index 4c49deefa350..c1263553cba5 100644
--- a/net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild
+++ b/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
@@ -66,6 +66,12 @@ src_prepare() {
# https://github.com/greenbone/gvmd/pull/1819
sed -i "/^EnvironmentFile/d" config/gvmd.service.in || die
+
+ # Upstream 3ebab6044818f1710b73c04e94fd9bea148c9853
+ sed -i \
+ -e 's/^RuntimeDirectory=gvm/RuntimeDirectory=gvmd/' \
+ -e 's/GVM_RUN_DIR/GVMD_RUN_DIR/' \
+ config/gvmd.service.in || die
}
src_configure() {