From b8483eac631881ab0224f837f09a92f0cc1b669a Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Fri, 14 Aug 2020 16:23:58 +0200 Subject: [PATCH] Remove version from the nvticache name --- CHANGELOG.md | 3 +++ util/CMakeLists.txt | 4 ---- util/nvticache.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f79d3328..eaff25f4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Add separators for a new (ip address) field in ERRMSG and DEADHOST messages. [#376](https://github.com/greenbone/gvm-libs/pull/376) +### Removed +- Remove version from the nvticache name. [#386](https://github.com/greenbone/gvm-libs/pull/386) + [unreleased]: https://github.com/greenbone/gvm-libs/compare/gvm-libs-20.08...master diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index fcf355a45..99396c4da 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -50,10 +50,6 @@ pkg_check_modules (REDIS REQUIRED hiredis>=0.10.1) # for fast XML we need libxml2 pkg_check_modules (LIBXML2 REQUIRED libxml-2.0>=2.0) -# Set NVTICACHE name with the version -set (NVTICACHE_STR "nvticache${PROJECT_VERSION}") -add_definitions (-DNVTICACHE_STR="${NVTICACHE_STR}") - #for gpgmeutils we need libgpgme set (GPGME_MIN_VERSION "1.1.2") message (STATUS "Looking for gpgme...") diff --git a/util/nvticache.h b/util/nvticache.h index aa9b2b54e..6c98ac799 100644 --- a/util/nvticache.h +++ b/util/nvticache.h @@ -33,7 +33,7 @@ #include /* for gchar */ #ifndef NVTICACHE_STR -#define NVTICACHE_STR "nvticache10" +#define NVTICACHE_STR "nvticache" #endif int