Skip to content

Commit

Permalink
Remove version from the nvticache name
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Aug 17, 2020
1 parent 802371c commit 1f22792
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
4 changes: 0 additions & 4 deletions util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down
2 changes: 1 addition & 1 deletion util/nvticache.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <glib.h> /* for gchar */

#ifndef NVTICACHE_STR
#define NVTICACHE_STR "nvticache10"
#define NVTICACHE_STR "nvticache"
#endif

int
Expand Down

0 comments on commit 1f22792

Please sign in to comment.