summaryrefslogtreecommitdiff
path: root/security/openvas/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-11-05 11:31:27 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-11-05 11:32:20 -0500
commit77f5aa5d324bbd3771bda67e493cfa6ca55337f7 (patch)
tree29341ab30cb695644be2297722666ad333bbb2d1 /security/openvas/files/patch-CMakeLists.txt
parentdatabases/redis-devel: update to the recent commit (diff)
security/gvm: update to 21.4.3
The following ports part of security gvm were updated security/gvmd: Update to 21.4.4 security/gvm-libs: Update to 21.4.3 security/openvas: Update to 21.4.3 security/py-ospd-openvas: Update to 21.4.3 security/py-ospd: Update to 21.4.4 security/greenbone-security-assistant: Update to 21.4.3 security/py-gvm-tools: Update to 21.10.0 security/py-python-gvm: Update to 21.10.0
Diffstat (limited to 'security/openvas/files/patch-CMakeLists.txt')
-rw-r--r--security/openvas/files/patch-CMakeLists.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/security/openvas/files/patch-CMakeLists.txt b/security/openvas/files/patch-CMakeLists.txt
index 29f54cab5ef4..5a441446563a 100644
--- a/security/openvas/files/patch-CMakeLists.txt
+++ b/security/openvas/files/patch-CMakeLists.txt
@@ -1,24 +1,24 @@
---- CMakeLists.txt 2020-08-11 07:00:25.000000000 -0500
-+++ CMakeLists.txt 2021-01-04 19:19:49.997745000 -0500
-@@ -148,7 +148,7 @@
- endif (NOT LIBDIR)
+--- CMakeLists.txt.orig 2021-10-11 10:37:50.000000000 -0500
++++ CMakeLists.txt 2021-10-27 21:54:45.470593000 -0500
+@@ -113,7 +113,7 @@
+ endif (SYSCONF_INSTALL_DIR)
- if (NOT LOCALSTATEDIR)
-- set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var")
-+ set (LOCALSTATEDIR "/var")
- endif (NOT LOCALSTATEDIR)
+ if (NOT SYSCONFDIR)
+- set (SYSCONFDIR "/etc")
++ set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
+ endif (NOT SYSCONFDIR)
- if (NOT DATADIR)
-@@ -156,7 +156,7 @@
+ if (NOT EXEC_PREFIX)
+@@ -150,7 +150,7 @@
endif (NOT DATADIR)
if (NOT OPENVAS_RUN_DIR)
-- set (OPENVAS_RUN_DIR "${LOCALSTATEDIR}/run")
-+ set (OPENVAS_RUN_DIR "${LOCALSTATEDIR}/run/gvm")
+- set (OPENVAS_RUN_DIR "/run/ospd")
++ set (OPENVAS_RUN_DIR "${LOCALSTATEDIR}/run/ospd")
endif (NOT OPENVAS_RUN_DIR)
- if (NOT OPENVAS_FEED_LOCK_PATH)
-@@ -204,7 +204,7 @@
+ set (OPENVAS_DATA_DIR "${DATADIR}/openvas")
+@@ -199,7 +199,7 @@
configure_file (doc/openvas.8.in doc/openvas.8 @ONLY)
configure_file (VERSION.in VERSION @ONLY)
configure_file (tools/greenbone-nvt-sync.in tools/greenbone-nvt-sync @ONLY)
@@ -27,7 +27,7 @@
## Testing
-@@ -219,7 +219,7 @@
+@@ -214,7 +214,7 @@
set (COVERAGE_FLAGS "--coverage")
endif (ENABLE_COVERAGE)