gvmd: disable SCAP update, quick and dirty patch, https://github.com/greenbone/gvmd/issues/822

This commit is contained in:
blshkv 2019-10-30 10:58:55 +08:00
parent 7112cea934
commit bd54fad4a6
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 14 additions and 1 deletions

View 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);
}

View file

@ -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