commit:     0763de80c3b751bba4c8b898f85cb95a645cca18
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun May  8 16:59:08 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May  8 17:02:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0763de80

net-analyzer/gvmd: fix systemd service

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/gvmd/{gvmd-21.4.5-r1.ebuild => gvmd-21.4.5-r2.ebuild} | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild 
b/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
similarity index 93%
rename from net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild
rename to 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() {

Reply via email to