security/gvmd: update to 21.4.5
ChangeLog at: https://github.com/greenbone/gvmd/releases/tag/v21.4.5
This commit is contained in:
parent
fc69056113
commit
d6d354da15
5 changed files with 21 additions and 22 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= gvmd
|
||||
DISTVERSION= 21.4.4
|
||||
PORTREVISION= 2
|
||||
DISTVERSION= 21.4.5
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= security
|
||||
|
||||
|
@ -51,6 +50,6 @@ post-patch:
|
|||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}/var/lib/gvm/gvmd/gnupg
|
||||
@${MKDIR} ${STAGEDIR}/var/log/gvm
|
||||
@${MKDIR} ${STAGEDIR}/var/run/gvm
|
||||
@${MKDIR} ${STAGEDIR}/var/run/gvmd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1635998903
|
||||
SHA256 (greenbone-gvmd-v21.4.4_GH0.tar.gz) = 90809302c605744bdab4474f445f80523ce466fc02beed850b5f7b3f17de3cd3
|
||||
SIZE (greenbone-gvmd-v21.4.4_GH0.tar.gz) = 1031202
|
||||
TIMESTAMP = 1651424657
|
||||
SHA256 (greenbone-gvmd-v21.4.5_GH0.tar.gz) = 6329838fd70ba6e9fc8e649fe4e552e05b3711497df8343494da8537cae48635
|
||||
SIZE (greenbone-gvmd-v21.4.5_GH0.tar.gz) = 1041186
|
||||
|
|
|
@ -19,12 +19,12 @@ rcvar=${name}_enable
|
|||
load_rc_config $name
|
||||
|
||||
: ${gvmd_enable=NO}
|
||||
: ${gmvd_flags="--osp-vt-update=/var/run/ospd/ospd-openvas.sock --unix-socket=/var/run/gvm/gvmd.sock"}
|
||||
: ${gmvd_flags="--osp-vt-update=/var/run/ospd/ospd-openvas.sock --unix-socket=/var/run/gvmd/gvmd.sock"}
|
||||
|
||||
command="%%PREFIX%%/sbin/gvmd"
|
||||
command_args="${gmvd_flags}"
|
||||
gvmd_user="gvm"
|
||||
gvmd_group="gvm"
|
||||
pidfile=/var/run/gvm/gvmd.pid
|
||||
pidfile=/var/run/gvmd/gvmd.pid
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- CMakeLists.txt 2021-11-03 23:09:27.602060000 -0500
|
||||
+++ CMakeLists.txt 2021-11-03 23:17:41.187707000 -0500
|
||||
--- CMakeLists.txt.orig 2022-02-22 05:52:13.000000000 -0500
|
||||
+++ CMakeLists.txt 2022-05-02 18:07:40.263764000 -0500
|
||||
@@ -110,7 +110,7 @@
|
||||
endif (SYSCONF_INSTALL_DIR)
|
||||
|
||||
|
@ -12,13 +12,13 @@
|
|||
@@ -181,7 +181,7 @@
|
||||
set (GVM_CA_CERTIFICATE "${GVM_STATE_DIR}/CA/cacert.pem")
|
||||
|
||||
if (NOT GVM_RUN_DIR)
|
||||
- set (GVM_RUN_DIR "/run/gvm")
|
||||
+ set (GVM_RUN_DIR "${LOCALSTATEDIR}/run/gvm")
|
||||
endif (NOT GVM_RUN_DIR)
|
||||
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_FEED_LOCK_PATH)
|
||||
@@ -190,7 +190,7 @@
|
||||
if (NOT GVMD_PID_PATH)
|
||||
@@ -194,7 +194,7 @@
|
||||
add_definitions (-DGVM_FEED_LOCK_PATH="${GVM_FEED_LOCK_PATH}")
|
||||
|
||||
if (NOT OPENVAS_DEFAULT_SOCKET)
|
||||
|
@ -27,7 +27,7 @@
|
|||
endif (NOT OPENVAS_DEFAULT_SOCKET)
|
||||
add_definitions (-DOPENVAS_DEFAULT_SOCKET="${OPENVAS_DEFAULT_SOCKET}")
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
@@ -242,7 +242,7 @@
|
||||
configure_file (doc/Doxyfile_xml.in doc/Doxyfile_xml)
|
||||
configure_file (doc/example-gvm-manage-certs.conf.in doc/example-gvm-manage-certs.conf @ONLY)
|
||||
configure_file (VERSION.in VERSION)
|
||||
|
@ -36,18 +36,18 @@
|
|||
configure_file (src/schema_formats/XML/GMP.xml.in src/schema_formats/XML/GMP.xml @ONLY)
|
||||
configure_file (tools/greenbone-feed-sync.in tools/greenbone-feed-sync @ONLY)
|
||||
configure_file (tools/greenbone-scapdata-sync.in tools/greenbone-scapdata-sync @ONLY)
|
||||
@@ -280,7 +280,7 @@
|
||||
@@ -284,7 +284,7 @@
|
||||
|
||||
## Configs (e.g. systemd service file)
|
||||
|
||||
-add_subdirectory (config)
|
||||
+#add_subdirectory (config)
|
||||
+# add_subdirectory (config)
|
||||
|
||||
## Documentation
|
||||
|
||||
@@ -290,10 +290,10 @@
|
||||
@@ -296,10 +296,10 @@
|
||||
|
||||
install (DIRECTORY DESTINATION ${GVMD_STATE_DIR})
|
||||
install (DIRECTORY DESTINATION ${GVMD_RUN_DIR})
|
||||
|
||||
-install (FILES ${CMAKE_BINARY_DIR}/src/gvmd_log.conf
|
||||
+install (FILES ${CMAKE_BINARY_DIR}/src/gvmd_log.conf.sample
|
||||
|
|
|
@ -52,6 +52,6 @@ share/man/man8/gvmd.8.gz
|
|||
@dir(gvm,gvm,750) /var/lib/gvm/gvmd/gnupg
|
||||
@dir(gvm,gvm,750) /var/lib/gvm/gvmd
|
||||
@dir(gvm,gvm,750) /var/lib/gvm
|
||||
@dir(gvm,gvm,750) /var/run/gvm
|
||||
@dir(gvm,gvm,750) /var/run/gvmd
|
||||
@dir(gvm,gvm,750) /var/log/gvm
|
||||
@dir /var/lib
|
||||
|
|
Loading…
Reference in a new issue