diff options
Diffstat (limited to 'security/gsad')
-rw-r--r-- | security/gsad/Makefile | 2 | ||||
-rw-r--r-- | security/gsad/distinfo | 6 | ||||
-rw-r--r-- | security/gsad/files/patch-CMakeLists.txt | 90 |
3 files changed, 51 insertions, 47 deletions
diff --git a/security/gsad/Makefile b/security/gsad/Makefile index fa6b3c0404b6..d09ccc640d2a 100644 --- a/security/gsad/Makefile +++ b/security/gsad/Makefile @@ -1,6 +1,6 @@ PORTNAME= gsad DISTVERSIONPREFIX= v -DISTVERSION= 24.2.4 +DISTVERSION= 24.3.0 CATEGORIES= security MAINTAINER= acm@FreeBSD.org diff --git a/security/gsad/distinfo b/security/gsad/distinfo index 64c2288e0a1b..3db5c844a5ea 100644 --- a/security/gsad/distinfo +++ b/security/gsad/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744688030 -SHA256 (greenbone-gsad-v24.2.4_GH0.tar.gz) = fb85e748f1bd5fa2739a9b5a25c5c3b919e6ad3b11fc8ba9cd9883f2b440a8c6 -SIZE (greenbone-gsad-v24.2.4_GH0.tar.gz) = 228300 +TIMESTAMP = 1750731904 +SHA256 (greenbone-gsad-v24.3.0_GH0.tar.gz) = d5756149e666169063516f6a94f2d6618e0a1f42ea40ee0c5e2b967c5e81a0d3 +SIZE (greenbone-gsad-v24.3.0_GH0.tar.gz) = 229954 diff --git a/security/gsad/files/patch-CMakeLists.txt b/security/gsad/files/patch-CMakeLists.txt index 7dbcb0e4c043..5e50ca2fc43f 100644 --- a/security/gsad/files/patch-CMakeLists.txt +++ b/security/gsad/files/patch-CMakeLists.txt @@ -1,49 +1,53 @@ ---- CMakeLists.txt 2022-07-21 02:09:24.000000000 -0500 -+++ CMakeLists.txt 2022-07-31 22:27:14.895003000 -0500 -@@ -51,7 +51,7 @@ - endif (CLANG_FORMAT) - - if (NOT SYSCONFDIR) -- set (SYSCONFDIR "/etc") -+ set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc") - endif (NOT SYSCONFDIR) - - if (NOT EXEC_PREFIX) -@@ -86,7 +86,7 @@ - set (GSAD_CONFIG_DIR "${SYSCONFDIR}/gvm/") - - if (NOT GSAD_RUN_DIR) -- set (GSAD_RUN_DIR "/run/gsad") -+ set (GSAD_RUN_DIR "${LOCALSTATEDIR}/run/gsad") - endif (NOT GSAD_RUN_DIR) - - if (NOT GSAD_PID_PATH) -@@ -94,7 +94,7 @@ - endif (NOT GSAD_PID_PATH) - - if (NOT GVMD_RUN_DIR) -- set (GVMD_RUN_DIR "/run/gvmd") -+ set (GVMD_RUN_DIR "${LOCALSTATEDIR}/run/gvmd") - endif (NOT GVMD_RUN_DIR) - - -@@ -130,15 +130,15 @@ - endif (NOT GVM_CA_CERTIFICATE) - - --configure_file (src/gsad_log_conf.cmake_in src/gsad_log.conf) -+# configure_file (src/gsad_log_conf.cmake_in src/gsad_log.conf) +--- CMakeLists.txt.orig 2025-05-08 09:22:24 UTC ++++ CMakeLists.txt +@@ -71,7 +71,7 @@ if(NOT SYSCONFDIR) + endif(CLANG_FORMAT) + + if(NOT SYSCONFDIR) +- set(SYSCONFDIR "/etc") ++ set(SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc") + endif(NOT SYSCONFDIR) + + if(NOT EXEC_PREFIX) +@@ -106,7 +106,7 @@ if(NOT GSAD_RUN_DIR) + set(GSAD_CONFIG_DIR "${SYSCONFDIR}/gvm/") + + if(NOT GSAD_RUN_DIR) +- set(GSAD_RUN_DIR "/run/gsad") ++ set(GSAD_RUN_DIR "${LOCALSTATEDIR}/run/gsad") + endif(NOT GSAD_RUN_DIR) + + if(NOT GSAD_PID_PATH) +@@ -114,7 +114,7 @@ if(NOT GVMD_RUN_DIR) + endif(NOT GSAD_PID_PATH) + + if(NOT GVMD_RUN_DIR) +- set(GVMD_RUN_DIR "/run/gvmd") ++ set(GVMD_RUN_DIR "${LOCALSTATEDIR}/run/gvmd") + endif(NOT GVMD_RUN_DIR) + + if(NOT GVM_STATE_DIR) +@@ -149,17 +149,17 @@ endif(NOT GVM_CA_CERTIFICATE) + set(GVM_CA_CERTIFICATE "${GVM_CA_CERTIFICATE}") + endif(NOT GVM_CA_CERTIFICATE) + +-configure_file(src/gsad_log_conf.cmake_in src/gsad_log.conf) ++# configure_file(src/gsad_log_conf.cmake_in src/gsad_log.conf) ## Install --install (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf -- DESTINATION ${GSAD_CONFIG_DIR}) -+# install (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf -+# DESTINATION ${GSAD_CONFIG_DIR}) +-install( +- FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf +- DESTINATION ${GSAD_CONFIG_DIR} +-) ++#install( ++# FILES ${CMAKE_CURRENT_BINARY_DIR}/src/gsad_log.conf ++# DESTINATION ${GSAD_CONFIG_DIR} ++#) - add_subdirectory (src) --add_subdirectory (config) -+#add_subdirectory (config) + add_subdirectory(src) +-add_subdirectory(config) ++#add_subdirectory(config) - add_subdirectory (doc) + add_subdirectory(doc) |