From 57c79b5d04d13bf7b83d57cc6deb422faf2747f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 8 Jan 2025 08:15:19 +0100 Subject: [PATCH 1/7] Fix: Don't require json-glib json-glib as a requirement was introduced accidentally with the last gvm-libs release but isn't used at all. Therefore remove the dependency again. Fixes #860 --- openvasd/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/openvasd/CMakeLists.txt b/openvasd/CMakeLists.txt index ce0c8cda..88e9bd27 100644 --- a/openvasd/CMakeLists.txt +++ b/openvasd/CMakeLists.txt @@ -17,7 +17,6 @@ pkg_check_modules (CURL REQUIRED libcurl>=7.83.0) # for json parsing we need cJSON pkg_check_modules (CJSON REQUIRED libcjson>=1.7.14) -pkg_check_modules (GLIB_JSON REQUIRED json-glib-1.0>=1.4.4) include_directories (${GLIB_INCLUDE_DIRS} ${GLIB_JSON_INCLUDE_DIRS} From aa489b583a7ce757277920a6bb3d550d6fbcb812 Mon Sep 17 00:00:00 2001 From: Philipp Eder Date: Wed, 8 Jan 2025 09:25:31 +0100 Subject: [PATCH 2/7] Ci: fix pontos-changelog call (#810) Ci: fix pontos-changelog call --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5d92bad..960bf291 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,7 +136,7 @@ jobs: --current-version ${{ env.LATEST_VERSION }} \ --next-version ${{ env.NEW_VERSION }} \ --config changelog.toml \ - --project $PROJECT \ + --repository ${{ github.repository }} \ --versioning-scheme semver \ -o /tmp/changelog.md || true # we would rather have empty release notes than no release From b62b7873744f46c7513ccb68bfcca4902c31e273 Mon Sep 17 00:00:00 2001 From: Greenbone Bot Date: Wed, 8 Jan 2025 08:48:29 +0000 Subject: [PATCH 3/7] Automated commit: change version from 22.15.0 -> 22.15.1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea771ccb..e3078b25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ message ("-- Configuring the Greenbone Vulnerability Management Libraries...") # VERSION: Always include major, minor and patch level. project (gvm-libs - VERSION 22.15.0 + VERSION 22.15.1 LANGUAGES C) if (POLICY CMP0005) From d4353c74b6d8222a3a54816895a784e85a9cb29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 8 Jan 2025 09:51:12 +0100 Subject: [PATCH 4/7] Sort to be installed dependencies alphabetically It's easier to compare and find dependencies if the lists are sorted. --- INSTALL.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 52dbbe96..b389d325 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,19 +19,19 @@ General build environment: Specific development libraries: * libcjson >= 1.7.14 (util) * libcurl >= 7.83.0 (openvasd) -* libglib >= 2.42 (all) +* libgcrypt * libgio >= 2.42 (util) -* zlib >= 1.2.8 (util) -* libgpgme >= 1.7.0 (util) +* libglib >= 2.42 (all) * libgnutls >= 3.2.15 (util) -* libuuid >= 2.25.0 (util) -* libssh >= 0.6.0 (util) +* libgpgme >= 1.7.0 (util) * libhiredis >= 0.10.1 (util) -* libxml2 >= 2.0 (util) * libnet1 >= 1.1.2.1 (boreas) -* libpcap -* libgcrypt * libpaho-mqtt >= 1.3.0 (utils) +* libpcap +* libssh >= 0.6.0 (util) +* libuuid >= 2.25.0 (util) +* libxml2 >= 2.0 (util) +* zlib >= 1.2.8 (util) Prerequisites for building documentation: * doxygen @@ -44,21 +44,20 @@ Install prerequisites on Debian GNU/Linux 'Bullseye' 11: apt-get install \ cmake \ - pkg-config \ libcjson-dev \ libcurl4-openssl-dev \ + libgcrypt-dev \ libglib2.0-dev \ - libgpgme-dev \ libgnutls28-dev \ - uuid-dev \ - libgcrypt-dev \ - libssh-dev \ + libgpgme-dev \ libhiredis-dev \ - libxml2-dev \ - libpcap-dev \ libnet1-dev \ - libpaho-mqtt-dev - + libpaho-mqtt-dev \ + libpcap-dev \ + libssh-dev \ + libxml2-dev \ + pkg-config \ + uuid-dev Prerequisites for Optional Features ----------------------------------- From e9dbea1738ee194cd2416be0849f1fbbb3ce2d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 8 Jan 2025 09:56:27 +0100 Subject: [PATCH 5/7] Update INSTALL doc Use Debian stable instead of a specific version. Convert doc to pure markdown formatting. --- INSTALL.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index b389d325..1b829a72 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,22 +1,22 @@ -INSTALLATION INSTRUCTIONS FOR GVM-LIBS -====================================== +# Installation Instructions for gvm-libs Please note: The reference system used by most of the developers is Debian -GNU/Linux 'Bullseye' 11. The build might fail on any other system. Also, it is -necessary to install dependent development packages. +stable. The build might fail on any other system. Also, it is necessary to +install dependent development packages. -Prerequisites for gvm-libs --------------------------- +## Prerequisites for gvm-libs See at the end of this section how to easily install these prerequisites on some supported platforms. General build environment: + * a C compiler (e.g. gcc) * cmake >= 3.0 * pkg-config Specific development libraries: + * libcjson >= 1.7.14 (util) * libcurl >= 7.83.0 (openvasd) * libgcrypt @@ -34,13 +34,15 @@ Specific development libraries: * zlib >= 1.2.8 (util) Prerequisites for building documentation: + * doxygen * xmltoman (optional, for building man page) Prerequisites for building tests: + * [Cgreen](https://cgreen-devs.github.io/cgreen/cgreen-guide-en.html#_installing_cgreen) (optional, for building tests) -Install prerequisites on Debian GNU/Linux 'Bullseye' 11: +Install prerequisites on Debian stable: apt-get install \ cmake \ @@ -59,15 +61,16 @@ Install prerequisites on Debian GNU/Linux 'Bullseye' 11: pkg-config \ uuid-dev -Prerequisites for Optional Features ------------------------------------ +## Prerequisites for Optional Features Certain features of gvm-libs are optional and require the following: Prerequisites for LDAP authentication: + * libldap2 library >= 2.4.44 (util) (Debian package: libldap2-dev) Prerequisites for RADIUS authentication: + * libradcli4 library >= 1.2.6 (util) (Debian package: libradcli-dev) * Alternative: libfreeradius3 library (util) (Debian package: libfreeradius-dev) @@ -77,8 +80,7 @@ Install prerequisites for optional features on Debian GNU/Linux 'Buster' 10: libldap2-dev \ libradcli-dev -Compiling gvm-libs ------------------- +## Compiling gvm-libs If you have installed required libraries to a non-standard location, remember to set the `PKG_CONFIG_PATH` environment variable to the location of your pkg-config @@ -91,6 +93,7 @@ Create a build directory and change working directory into it with mkdir build && cd build Afterwards you can run `cmake` with different options: + * Configure `gvm-libs` build with a custom installation path: cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/installation .. @@ -130,8 +133,7 @@ directory you created above. cd .. && rm -rf build -Configurable Options --------------------- +## Configurable Options During compilation, the build process uses a set of compiler options which enable very strict error checking and asks the compiler to abort should it detect @@ -148,8 +150,7 @@ Portal](https://community.greenbone.net/c/gse). Don't forget to include the name and version of your compiler and distribution in your message. -Building GVM Libraries statically linked ----------------------------------------- +## Building GVM Libraries statically linked If you want to build a statically linked version -- for example to subsequently build a statically linked program using this library -- you need statically From 14756649cfc85677e9f2f168cc106c1d52f46942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 8 Jan 2025 10:38:49 +0100 Subject: [PATCH 6/7] Drop: Remove obsolete changelog files The changelog is shown at the github releases page and the files aren't in use anymore. --- CHANGELOG.md | 295 ------------------------------------------- changelog/v22.4.0.md | 32 ----- 2 files changed, 327 deletions(-) delete mode 100644 CHANGELOG.md delete mode 100644 changelog/v22.4.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 87980585..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,295 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - -## [22.4] (unreleased) - -### Added - -- Add support for volatile keys. [#460](https://github.com/greenbone/gvm-libs/pull/460) -- Possibility to use lcrypt with `$6$` (sha512) for authentication [484](https://github.com/greenbone/gvm-libs/pull/484) -- Add function to perform an alive test and get the amount of alive hosts. [495](https://github.com/greenbone/gvm-libs/pull/495) -- Add functions for sentry integration. [#502](https://github.com/greenbone/gvm-libs/pull/502) [#506](https://github.com/greenbone/gvm-libs/pull/506) -- Add basic support for mqtt. - Original - [#505](https://github.com/greenbone/gvm-libs/pull/505) - [#511](https://github.com/greenbone/gvm-libs/pull/511). - Reintroduction after Rebase - [#538](https://github.com/greenbone/gvm-libs/pull/538) -- Refactor MQTT handling [#562](https://github.com/greenbone/gvm-libs/pull/562). Add function for mqtt init status [#567](https://github.com/greenbone/gvm-libs/pull/567). Fix prototypes in mqtt.h. [#584](https://github.com/greenbone/gvm-libs/pull/584) -- Add function to get the severity_vector, otherwise the cvss_base_vector. [#568](https://github.com/greenbone/gvm-libs/pull/568) -- Add function to duplicate host and vhost objects [#590](https://github.com/greenbone/gvm-libs/pull/590) - -### Changed -- Handle script timeout as script preference with ID 0 [#581](https://github.com/greenbone/gvm-libs/pull/581) - -### Fixed -### Removed - -[Unreleased]: https://github.com/greenbone/gvm-libs/compare/stable...HEAD - -## [21.4.3] (unreleased) - -### Added -### Changed -### Deprecated -### Removed -### Fixed - -[Unreleased]: https://github.com/greenbone/gvm-libs/compare/v21.4.2...stable - -## [21.4.2] - 2021-08-03 - -### Fixed -- Fix info msg when 0 alive hosts are left to scan and max_scan_hosts limit is reached. No message will be generated for that case anymore. [#564](https://github.com/greenbone/gvm-libs/pull/564) - -[21.4.2]: https://github.com/greenbone/gvm-libs/compare/v21.4.1...v21.4.2 - -## [21.4.1] - 2021-06-23 - -### Added -- Add function to find and return a host from a host list. [490](https://github.com/greenbone/gvm-libs/pull/490) - -### Changed -- Make test_alive_hosts_only (Boreas) feature the new default. [503](https://github.com/greenbone/gvm-libs/pull/503) - -### Fixed -- Unify GLib log domains [#479](https://github.com/greenbone/gvm-libs/pull/479) -- Fix double free. [#499](https://github.com/greenbone/gvm-libs/pull/499) - -### Removed - -[21.4.1]: https://github.com/greenbone/gvm-libs/compare/v21.4.0...v21.4.1 - - -## [21.4.0] - 2021-04-15 - -### Added -- Use dedicated port list for alive detection (Boreas only) if supplied via OSP. [#391](https://github.com/greenbone/gvm-libs/pull/391) -- Allow to re allocate the finish flag in the host queue for alive tests. - [#407](https://github.com/greenbone/gvm-libs/pull/407) - [#410](https://github.com/greenbone/gvm-libs/pull/410) -- Add multiple severities for nvti [#317](https://github.com/greenbone/gvm-libs/pull/317) [#472](https://github.com/greenbone/gvm-libs/pull/472) -- Add support for new OSP element for defining alive test methods via separate subelements. [#409](https://github.com/greenbone/gvm-libs/pull/409) -- Add v3 handling to get_cvss_score_from_base_metrics. [#411](https://github.com/greenbone/gvm-libs/pull/411) -- Add severity_date tag in epoch time format. [#412](https://github.com/greenbone/gvm-libs/pull/412) -- Make more scanner preferences available to openvas-nasl. [#413](https://github.com/greenbone/gvm-libs/pull/413) -- Use memory purge redis command when initializing new kb. [#452](https://github.com/greenbone/gvm-libs/pull/452) - -### Changed -- Add separators for a new (ip address) field in ERRMSG and DEADHOST messages. [#376](https://github.com/greenbone/gvm-libs/pull/376) -- Continuously send dead hosts to ospd-openvas to enable a smooth progress bar if only ICMP is chosen as alive test. [#389](https://github.com/greenbone/gvm-libs/pull/389) -- Retry if response via tls1.3 is still not received. [#394](https://github.com/greenbone/gvm-libs/pull/394) -- Replace current implementation of alive test arp ping with version using libnet. [#423](https://github.com/greenbone/gvm-libs/pull/423) -- Let setup_log_handlers return an error if it does not have write access to some log file or log dir instead of aborting immediately. - [#447](https://github.com/greenbone/gvm-libs/pull/447) - [#451](https://github.com/greenbone/gvm-libs/pull/451) -- Fix openvas preference name. The option was rename to "allow_simultaneous_ips". [#461](https://github.com/greenbone/gvm-libs/pull/461) -- Do not start the sniffer thread when only consider alive is chosen for alive test. [#466](https://github.com/greenbone/gvm-libs/pull/466)] - -### Fixed -- Fix finish_signal_on_queue for boreas. [#464](https://github.com/greenbone/gvm-libs/pull/464) - -### Removed -- Remove handling of severity class from auth [#402](https://github.com/greenbone/gvm-libs/pull/402) -- Remove version from the nvticache name. [#386](https://github.com/greenbone/gvm-libs/pull/386) - -[21.4.0]: https://github.com/greenbone/gvm-libs/compare/oldstable...v21.4.0 - -## [20.8.4] - Unreleased -### Added -- Add function to duplicate host and vhost objects [#590](https://github.com/greenbone/gvm-libs/pull/590) -### Changed -* Use better defaults for installation directories [#574](https://github.com/greenbone/gvm-libs/pull/574) - * SYSCONFDIR is /etc by default now - * LOCALSTATEDIR is /var by default now - * Introduced GVM_RUN_DIR that uses /run/gvm by default - * GVM_PID_DIR is /run/gvm by default now - -### Deprecated -### Removed -### Fixed - -[20.8.4]: https://github.com/greenbone/gvm-libs/compare/v20.8.3...oldstable - - -## [20.8.3] - 2021-08-03 - -### Fixed -- Fix info msg when 0 alive hosts are left to scan and max_scan_hosts limit is reached. No message will be generated for that case anymore. [#561](https://github.com/greenbone/gvm-libs/pull/561) - -[20.8.3]: https://github.com/greenbone/gvm-libs/compare/v20.8.2...v20.8.3 - -## [20.8.2] - 2021-06-23 - -### Added -- Add function ldap_enable_debug () [#453](https://github.com/greenbone/gvm-libs/pull/453) -- Ensure that new kb taken by the scanner are always clean. [#469](https://github.com/greenbone/gvm-libs/pull/469) -- Validate for max_scan_hosts scanner preference. [#482](https://github.com/greenbone/gvm-libs/pull/482) - -### Changed -- Use a char pointer instead of an zero-lenght array as kb_redis struct member. [443](https://github.com/greenbone/gvm-libs/pull/443) -- pba verify returns INVALID instead of ERR when hash or password are null [496](https://github.com/greenbone/gvm-libs/pull/496) - -### Fixed -- Fixing [#434](https://github.com/greenbone/gvm-libs/pull/434) by removing the extra parentheses in `base/networking.c` [#437](https://github.com/greenbone/gvm-libs/pull/437) -- Adding initialization to struct scanner in `boreas/util_tests.c`. [#438](https://github.com/greenbone/gvm-libs/pull/438) -- Fix warnings about uninitialized variables. [#448](https://github.com/greenbone/gvm-libs/pull/448) -- Split the log message into smaller pieces when syslog is the log destination. [#455](https://github.com/greenbone/gvm-libs/pull/455) -- Initialize reallocated memory in gvm_hosts_add [#520](https://github.com/greenbone/gvm-libs/pull/520) - -[20.8.2]: https://github.com/greenbone/gvm-libs/compare/v20.8.1...v20.8.2 - -## [20.8.1] (2021-02-01) - -### Added -- Add function to get duplicated hosts from the hosts list. [#387](https://github.com/greenbone/gvm-libs/pull/387) -- Add file access tests using effective UID/GID [#422](https://github.com/greenbone/gvm-libs/pull/422) - -### Changed -- Reduce ping timeout when using test_alive_hosts_only feature. [#400](https://github.com/greenbone/gvm-libs/pull/400) -- Retry if response via tls1.3 is still not received. [#404](https://github.com/greenbone/gvm-libs/pull/404) - -### Fixed -- Fix port list for tcp pings when using test_alive_hosts_only feature. [#392](https://github.com/greenbone/gvm-libs/pull/392) -- Set source address correctly and do not try to send ARP to unreachable destination. [#401](https://github.com/greenbone/gvm-libs/pull/401) -- Increase minimum gpgme version [#405](https://github.com/greenbone/gvm-libs/pull/405) -- Always NULL check ifaddrs->ifa_addr [#416](https://github.com/greenbone/gvm-libs/pull/416) -- Correct g_hash_table_remove arg [#419](https://github.com/greenbone/gvm-libs/pull/419) -- Accept underscore as valid char in hostname strings [#430](https://github.com/greenbone/gvm-libs/pull/430) -- Add throttle for pinging with test_alive_hosts_only feature when socket buffer is full. [#429](https://github.com/greenbone/gvm-libs/pull/429) - -[20.8.1]: https://github.com/greenbone/gvm-libs/compare/v20.8.0...v20.8.1 - -## [20.8.0] (2020-08-12) - -### Added -- Add nvti_get_tag() [#285](https://github.com/greenbone/gvm-libs/pull/285) -- Add nvti_solution_method() and nvti_set_solution_method() [#283](https://github.com/greenbone/gvm-libs/pull/283) -- Extend osp with target's alive test option.[#312](https://github.com/greenbone/gvm-libs/pull/312) -- Extend osp with target's reverse_lookup_* options.[#314](https://github.com/greenbone/gvm-libs/pull/314) -- Add unit tests for osp. [#315](https://github.com/greenbone/gvm-libs/pull/315) -- Add support for test_alive_hosts_only feature of openvas. [#320](https://github.com/greenbone/gvm-libs/pull/320) -- Add function to set and get the NVT QoD. [#321](https://github.com/greenbone/gvm-libs/pull/321) -- Add unit tests for networking.c port list functions. [#325](https://github.com/greenbone/gvm-libs/pull/325) -- Add gmp_start_task_ext_c. [#327](https://github.com/greenbone/gvm-libs/pull/327) -- Make log mutex visible. [#328](https://github.com/greenbone/gvm-libs/pull/328) -- Add new scan status QUEUED. - [#336](https://github.com/greenbone/gvm-libs/pull/336) - [#340](https://github.com/greenbone/gvm-libs/pull/340) -- Add gvm_routethrough which is used by Boreas alive detection module. [#339](https://github.com/greenbone/gvm-libs/pull/339) -- Move alive detection module Boreas into gvm-libs. [#346](https://github.com/greenbone/gvm-libs/pull/346) -- Add new scan status INTERRUPTED. [#356](https://github.com/greenbone/gvm-libs/pull/356) -- Add sensible default values for osp_get_vts_opts_t. [#360](https://github.com/greenbone/gvm-libs/pull/360) -- Add cli support for boreas standalone tool. [#359](https://github.com/greenbone/gvm-libs/pull/359) - -### Changed -- Improve validation in is_hostname [#353](https://github.com/greenbone/gvm-libs/pull/353) -- Use get_vts instead of get_version to get the feed version is osp_get_vts_version(). [#357](https://github.com/greenbone/gvm-libs/pull/357) -- Allow all alive test combination for boreas. [#370](https://github.com/greenbone/gvm-libs/pull/370) - -### Fixed -- Fix is_cidr_block(). [#322](https://github.com/greenbone/gvm-libs/pull/322) -- Fix is_cidr6_block() and is_short_range_network(). [#337](https://github.com/greenbone/gvm-libs/pull/337) -- Fix S/MIME keylist and improve error handling [#345](https://github.com/greenbone/gvm-libs/pull/345) -- Fix interrupted state by sending correct number of dead hosts. [#371](https://github.com/greenbone/gvm-libs/pull/371) -- Fix uninitialized variable error of the gcc. [#477](https://github.com/greenbone/gvm-libs/pull/477) - -### Removed -- Remove parallel from target options [#347](https://github.com/greenbone/gvm-libs/pull/347) -- Remove zero padding from version [#377](https://github.com/greenbone/gvm-libs/pull/377) - -[20.8.0]: https://github.com/greenbone/gvm-libs/compare/v11.0.0...v20.8.0 - -## [11.0.1] (2020-05-12) - -### Added -- Add option to set finished hosts in OSP targets [#298](https://github.com/greenbone/gvm-libs/pull/298) -- Add a fast memory-only XML parser [#299](https://github.com/greenbone/gvm-libs/pull/299) -- Add new function gvm_libs_version [#301](https://github.com/greenbone/gvm-libs/pull/301) - -### Changed -- Don't create an entity tree during read_string_c. [#305](https://github.com/greenbone/gvm-libs/pull/305) - -### Fixed -- Fix sigsegv when no plugin_feed_info.inc file present. [#278](https://github.com/greenbone/gvm-libs/pull/278) -- Fix missing linking to libgnutls in util/CMakeLists.txt. [#291](https://github.com/greenbone/gvm-libs/pull/291) -- Free string in all error exit cases [#308](https://github.com/greenbone/gvm-libs/pull/308) -- Fix trust and file handling for S/MIME [#309](https://github.com/greenbone/gvm-libs/pull/309) -- Get details with get_reports in gmp_get_report_ext [#313](https://github.com/greenbone/gvm-libs/pull/313) -- Fix escaping entity attributes in print_entity_to_string [#318](https://github.com/greenbone/gvm-libs/pull/318) -- Fix is_cidr_block() [#323](https://github.com/greenbone/gvm-libs/pull/323) -- Fix is_cidr6_block() and is_short_range_network(). [#338](https://github.com/greenbone/gvm-libs/pull/338) - -[11.0.1]: https://github.com/greenbone/gvm-libs/compare/v11.0.0...v11.0.1 - -## [11.0.0] (2019-10-11) - -### Added -- Allow to configure the path to the redis socket via CMake [#256](https://github.com/greenbone/gvm-libs/pull/256) -- A new data model for unified handling of cross references in the NVT meta data as been added. All previous API elements to handle cve, bid, xref have been removed. [#225](https://github.com/greenbone/gvm-libs/pull/225) [#232](https://github.com/greenbone/gvm-libs/pull/232). -- Add function to get an osp scan status and a enum type for the different status [#259](https://github.com/greenbone/gvm-libs/pull/259) -- API functions for NVTI to handle timestamps [#261](https://github.com/greenbone/gvm-libs/pull/261) -- API function for NVTI to add a single tag [#263](https://github.com/greenbone/gvm-libs/pull/263) -- Add osp_get_performance_ext() function. [#262](https://github.com/greenbone/gvm-libs/pull/262) -- Add libldap2-dev to prerequisites. [#249](https://github.com/greenbone/gvm-libs/pull/249) -- Add function osp_get_vts_filtered(). [#251](https://github.com/greenbone/gvm-libs/pull/251) -- Add explicit attributes in nvti struct. [#258](https://github.com/greenbone/gvm-libs/pull/258) - -### Changed -- Change the default path to the redis socket to /run/redis/redis.sock [#256](https://github.com/greenbone/gvm-libs/pull/256) -- Handle EAI_AGAIN in gvm_host_reverse_lookup() IPv6 case and function refactor. [#229](https://github.com/greenbone/gvm-libs/pull/229) -- Prevent g_strsplit to be called with NULL. [#238](https://github.com/greenbone/gvm-libs/pull/238) -- Timestamps for NVTI modification date and creation date now internally handled as seconds since epoch. [#265](https://github.com/greenbone/gvm-libs/pull/265) -- The tag cvss_base is not added to redis anymore. [#267](https://github.com/greenbone/gvm-libs/pull/267) -- Functions in osp.c with error as argument, will set the error if the connection is missing. [#268](https://github.com/greenbone/gvm-libs/pull/268) -- Make QoD Type an explicit element of struct nvti. [#250](https://github.com/greenbone/gvm-libs/pull/250) -- Use API to access nvti information. [#252](https://github.com/greenbone/gvm-libs/pull/252) -- Make the nvti struct internal. [#253](https://github.com/greenbone/gvm-libs/pull/253) -- Make solution and solution_type explicit for nvti. [#255](https://github.com/greenbone/gvm-libs/pull/255) -- Internalize struct nvtpref_t. [#260](https://github.com/greenbone/gvm-libs/pull/260) -- Extend redis connection error msg with actual path. [#264](https://github.com/greenbone/gvm-libs/pull/264) -- Disable testhosts test as it's not really a test. [#287](https://github.com/greenbone/gvm-libs/pull/287) -- Don't create an entity tree during read_string_c. [#305](https://github.com/greenbone/gvm-libs/pull/305) - -### Fixed -- Prevent g_strsplit to be called with NULL. [#238](https://github.com/greenbone/gvm-libs/pull/238) -- Check filter before using it in osp_get_vts_ext. [#266](https://github.com/greenbone/gvm-libs/pull/266) - -### Removed -- Remove inconsistent delays in kb routines. [#230](https://github.com/greenbone/gvm-libs/pull/230) - -[11.0.0]: https://github.com/greenbone/gvm-libs/compare/v10.0.1...v11.0.0 - -## [10.0.1] (2019-07-17) - -### Added -- Allow multiple certificate formats for S/MIME. [#231](https://github.com/greenbone/gvm-libs/pull/231) -- Add cmake options to build with ldap and radius support. [#235](https://github.com/greenbone/gvm-libs/pull/235) - -### Changed -- Always add hostnames and vhosts in lower-case format. [#218](https://github.com/greenbone/gvm-libs/pull/218) -- Plugin feed version file: Show message only once if it is not found. [#220](https://github.com/greenbone/gvm-libs/pull/220) -- Use g_log instead of g_debug for No redis DB available message. [#224](https://github.com/greenbone/gvm-libs/pull/224) - -### Fixed -- Fix prefs key in nvticache_delete(). [#214](https://github.com/greenbone/gvm-libs/pull/214) -- Fix redis_find(). [#216](https://github.com/greenbone/gvm-libs/pull/216) -- Fixes to gvm_hosts_resolve(). [#228](https://github.com/greenbone/gvm-libs/pull/228) - -[10.0.1]: https://github.com/greenbone/gvm-libs/compare/v10.0.0...gvm-libs-10.0 - -## [10.0.0] (2019-04-05) - -### Changed -- The function gvm_hosts_shuffle has been improved. [#200](https://github.com/greenbone/gvm-libs/pull/200) - -### Fixed -- An issue which caused duplicated or removed values in the nvticache as addressed. [#196](https://github.com/greenbone/gvm-libs/pull/196) -- Performance fixes related to handling large sets of hosts have been done.[203](https://github.com/greenbone/gvm-libs/pull/203) [#208](https://github.com/greenbone/gvm-libs/pull/208) -- Memory management issues have been addressed. [#187](https://github.com/greenbone/gvm-libs/pull/187) - - -[10.0.0]: https://github.com/greenbone/gvm-libs/compare/1.0.0...v10.0.0 diff --git a/changelog/v22.4.0.md b/changelog/v22.4.0.md deleted file mode 100644 index 545c36eb..00000000 --- a/changelog/v22.4.0.md +++ /dev/null @@ -1,32 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -## [22.4.0] - 2022-07-18 - -## Added -* Log warning when Redis tcp connection is used (#670) [064e014e](https://github.com/greenbone/gvm-libs/commit/064e014e) -* possibility to connect to redis via TCP [91d95c5e](https://github.com/greenbone/gvm-libs/commit/91d95c5e) -* Add simple method of getting the out iface [c0d4f000](https://github.com/greenbone/gvm-libs/commit/c0d4f000) -* automatic reinit mqtt after reset (#612) [750c2a9e](https://github.com/greenbone/gvm-libs/commit/750c2a9e) -* subscribe and retrieve message from mqtt [31945758](https://github.com/greenbone/gvm-libs/commit/31945758) - -## Changed -* Check for malloc_trim() support. (#668) [e9a94e79](https://github.com/greenbone/gvm-libs/commit/e9a94e79) -* more patient reverse lookup (#666) [4bf399b2](https://github.com/greenbone/gvm-libs/commit/4bf399b2) -* Create pid file by specifying full path [572f3757](https://github.com/greenbone/gvm-libs/commit/572f3757) - -## Bug Fixes -* use strlen of previous argv to gain max name [c6bf65dc](https://github.com/greenbone/gvm-libs/commit/c6bf65dc) -* remove additional argv when previously set on proctitle_set [8a181710](https://github.com/greenbone/gvm-libs/commit/8a181710) -* add safeguard for is_keyword in pwpolicy [b35bb162](https://github.com/greenbone/gvm-libs/commit/b35bb162) -* instead of setting strlen of argc just assume _POSIX_PATH_MAX 256 [ee3ea12e](https://github.com/greenbone/gvm-libs/commit/ee3ea12e) -* return with error code when mqtt connect fails (#671) [95fa8ee5](https://github.com/greenbone/gvm-libs/commit/95fa8ee5) -* add missing dependency to gvm_util within boreas (#662) [ac14fa5b](https://github.com/greenbone/gvm-libs/commit/ac14fa5b) -* Fix getting the wrong out iface [71f5e150](https://github.com/greenbone/gvm-libs/commit/71f5e150) -* Fix potential dead lock [3ac3ed2b](https://github.com/greenbone/gvm-libs/commit/3ac3ed2b) -* Always init logger mutex before use [c71a1d51](https://github.com/greenbone/gvm-libs/commit/c71a1d51) -* Using deprecation warning for `g_memdup` in gvm-libs for backwards compability, but also allow modern gcc versions. [#605] [11612bb9](https://github.com/greenbone/gvm-libs/commit/11612bb9) -* Changed to latest release of cgreen, to avoid the ninja problems, maybe will change it later again [4452432b](https://github.com/greenbone/gvm-libs/commit/4452432b) - -[22.4.0]: https://github.com/greenbone/gvm-libs/compare/22.4.0...22.4.0 \ No newline at end of file From 5c33575b2adeb95390960c96acb549d45eb79312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 8 Jan 2025 10:39:40 +0100 Subject: [PATCH 7/7] Use defaults for changelog generation Use the defaults from pontos for the generation of the changelog. There is no need to configure the commit types here as the default from pontos already contains this config. --- changelog.toml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 changelog.toml diff --git a/changelog.toml b/changelog.toml deleted file mode 100644 index 9858b824..00000000 --- a/changelog.toml +++ /dev/null @@ -1,8 +0,0 @@ -commit_types = [ - { message = "^add", group = "Added"}, - { message = "^remove", group = "Removed"}, - { message = "^change", group = "Changed"}, - { message = "^fix", group = "Bug Fixes"}, -] - -changelog_dir = "changelog"