Commit b13721f9 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/gvmd: fix for task that not start from gsad

Merging the patch for the bug described in: https://github.com/greenbone/gvmd/issues/473
and patched in https://github.com/greenbone/gvmd/pull/758
parent 9cc7fd84
......@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gvmd
pkgver=8.0.1
pkgrel=0
pkgrel=1
pkgdesc="Greenbone Vulnerability Manager"
url="http://www.openvas.org/"
arch="all"
......@@ -21,7 +21,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gvmd/archive/v$pkg
greenbone-nvt-sync.conf
greenbone-certdata-sync.conf
greenbone-scapdata-sync.conf
sys-siglist.patch"
sys-siglist.patch
fix-alpine-sql-syntax.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
......@@ -54,4 +55,5 @@ sha512sums="5490b902ad42499657eca9031b396c70a82d3c523985601067e697758f2472d123c4
964779adc39cbed191bccf02ccc408a263860002d2dbddee755cf0d015336814b0b3c83f88a02cc0c5959657be5c49eb94380cd6ba15844e4b6088e49cd7a3f0 greenbone-nvt-sync.conf
17df9386fc1dccf2fbe3b8d1fd499171f6681b61afe7b4c11ff9debc008798b31d1d02d59463031482d94e10833f0e71bde27cbbe422f23738c77b7c6ada79d2 greenbone-certdata-sync.conf
37dbbd3f92f8baee8e89c274d820e03cba5ed5469a826f118897035c2f7719a915a71a6069eb6bf7f9a72e798b7837af9a6f25709215683d9d264292b5ccad66 greenbone-scapdata-sync.conf
4abf90aaf3a0da5cf3869b9b6eb2314bcd7376236e1d47f4ef37445b5ea98c89eeccb57056f71f6624d35167081f312c8fc8a60ac549584cc8aff350b683a90d sys-siglist.patch"
4abf90aaf3a0da5cf3869b9b6eb2314bcd7376236e1d47f4ef37445b5ea98c89eeccb57056f71f6624d35167081f312c8fc8a60ac549584cc8aff350b683a90d sys-siglist.patch
bb56b85f47074ab8b46a6cd0bb677eef391dc5bf720e0c760b189536cfaa39ccc6473c201ee06259de099c37dcb2def025651c19f543dbde2becd956bde9f042 fix-alpine-sql-syntax.patch"
From a1633b5a54456b2b152abef24db19ae3587c8dae Mon Sep 17 00:00:00 2001
From: 7ym0n <bb.qnyd@gmail.com>
Date: Fri, 27 Sep 2019 04:31:27 -0400
Subject: [PATCH 1/2] fixed start task failed
---
src/manage_sql.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/manage_sql.c b/src/manage_sql.c
index 1fc9582bb..c03e800b4 100644
--- a/src/manage_sql.c
+++ b/src/manage_sql.c
@@ -38041,7 +38041,7 @@ init_otp_pref_iterator (iterator_t* iterator,
" WHERE config_preferences.config = %llu"
" AND config_preferences.type = '%s'"
" AND (config_preferences.name = nvt_preferences.name"
- " OR config_preferences.name LIKE 'timeout.%')"
+ " OR config_preferences.name LIKE 'timeout.%%')"
" AND config_preferences.name != 'max_checks'"
" AND config_preferences.name != 'max_hosts'"
" UNION"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment