summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/openvas-manager/files/openvas-manager-5.0.4-run.patch')
-rw-r--r--net-analyzer/openvas-manager/files/openvas-manager-5.0.4-run.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-run.patch b/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-run.patch
new file mode 100644
index 000000000000..f6ff60a3b1de
--- /dev/null
+++ b/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-run.patch
@@ -0,0 +1,16 @@
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 80f5bd2..33f0562 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -161,7 +161,7 @@ endif (NOT INCLUDEDIR)
+ set (OPENVAS_DATA_DIR "${DATADIR}/openvas")
+ set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas")
+ set (OPENVAS_LOG_DIR "${LOCALSTATEDIR}/log/openvas")
+-set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run")
++set (OPENVAS_PID_DIR "/run")
+ set (OPENVAS_SYSCONF_DIR "${SYSCONFDIR}/openvas")
+ set (OPENVAS_SCAP_RES_DIR "${OPENVAS_DATA_DIR}/scap")
+ set (OPENVAS_SCAP_DATA_DIR "${OPENVAS_STATE_DIR}/scap-data")