mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
gvmd: disable SCAP update, quick and dirty patch, https://github.com/greenbone/gvmd/issues/822
This commit is contained in:
parent
7112cea934
commit
bd54fad4a6
2 changed files with 14 additions and 1 deletions
11
net-analyzer/gvmd/files/gvmd-9.0.0-disable_scap.patch
Normal file
11
net-analyzer/gvmd/files/gvmd-9.0.0-disable_scap.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/src/manage.c.orig 2019-10-14 19:08:27.000000000 +0800
|
||||
+++ b/src/manage.c 2019-10-30 10:38:56.089939734 +0800
|
||||
@@ -6832,7 +6832,7 @@
|
||||
int (*fork_update_nvt_cache) ())
|
||||
{
|
||||
manage_sync_nvts (fork_update_nvt_cache);
|
||||
- manage_sync_scap (sigmask_current);
|
||||
+ /* manage_sync_scap (sigmask_current); */
|
||||
manage_sync_cert (sigmask_current);
|
||||
}
|
||||
|
||||
|
|
@ -47,6 +47,8 @@ PATCHES=(
|
|||
"${FILESDIR}/${P}-tmplock.patch"
|
||||
#https://github.com/greenbone/gsa/issues/1258
|
||||
"${FILESDIR}/${P}-git.patch"
|
||||
#https://github.com/greenbone/gvmd/issues/822
|
||||
"${FILESDIR}/${P}-disable_scap.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
|
@ -103,7 +105,7 @@ src_install() {
|
|||
|
||||
dodir /etc/gvm/sysconfig
|
||||
insinto /etc/gvm/sysconfig
|
||||
doins "${FILESDIR}/${PN}-daemon.conf"
|
||||
doins "${FILESDIR}/${PN}-daemon9.conf"
|
||||
|
||||
exeinto /etc/gvm
|
||||
doexe "${FILESDIR}"/gvmd-startpre.sh
|
||||
Loading…
Reference in a new issue