2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

170 Commits

Author SHA1 Message Date
Francis Dupont
1ecfaf9bd6 [#3696] Made >= 1.66 mandatory 2025-01-15 15:26:32 +01:00
Andrei Pavel
58d4caa865
[#3605] Prepare existing code for fuzzing
- Separate ENABLE_AFL into ENABLE_FUZZING and HAVE_AFL.
- Add the --disable-unicode flag required in the oss-fuzz container.
- Add checking of support for C++17.
- Make Kea compile with afl++.
- Rotate ports in `getServerPort()` functions under an env var.
- Fix some destruction issues that would result in crashes when fuzzing.
- Add some checks in the UnixControlClient that prevent some crashes when fuzzing.
- Add `isc::util::isSocket()` function.
- Change `isc::util::file::Path` to not append a trailing slash to allow
  chained calls of `parentPath()`.
- Add `isc::util::file::TemporaryDirectory` useful when fuzzing.
2024-10-23 16:37:31 +03:00
Francis Dupont
8311ff1687 [#3552] Revamped configure code 2024-10-11 15:20:20 +02:00
Francis Dupont
78737d8786 [#3552] Updated Botan support 2024-10-11 15:20:20 +02:00
Andrei Pavel
883de2dc70
[#3524] workaround for silent rules being ignored in automake 1.17
Also remove all the few other trailing `dnl`s just to be safe.
2024-08-22 15:35:18 +03:00
Piotrek Zadroga
3e4b5f9485 [#3130] trim trailing slash 2024-02-21 16:20:05 +00:00
Piotrek Zadroga
dd1a2d5b88 [#3065] addressing review comments 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
c6467358e7 [#3065] remove unnecessary warnings 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
218e66edad [#3065] simplify regexes 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
8dd75a01f2 [#3065] refactoring overused GTEST_VERSION variables 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
2e557e88e0 [#3065] looking for CMakeLists.txt enhanced 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
22fa03daa9 [#3065] addressing review comments 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
80d071b0d1 [#3065] code cleaning 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
a4898b9dfd [#3065] modify semver regex 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
dd7f26ce7a [#3065] find gtest version for debian/ubuntu 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
fbe5b52f47 [#3065] modify semver regex 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
1d9712eb1b [#3065] add debug notice macros 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
daaacaaf34 [#3065] find gtest version for debian/ubuntu 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
dddadcb93a [#3065] get gtest ver with pkg-config 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
870ab86e4a [#3065] use awk to find gtest ver 2023-10-04 17:36:20 +00:00
Piotrek Zadroga
a181b29c91 [#3065] gtest version regex check 2023-10-04 17:36:20 +00:00
Francis Dupont
976633c8a1 [#2876] Addressed comments 2023-07-19 00:46:18 +02:00
Francis Dupont
28253ce3db [#2876] Fixed m4macros Makefile 2023-07-19 00:46:17 +02:00
Francis Dupont
743f0fbf27 [#2876] Changed to C++ 14 2023-07-19 00:45:33 +02:00
Andrei Pavel
01137a1366
[#2786] fix grep: warning: stray \ before - 2023-05-19 09:00:43 +03:00
Andrei Pavel
d977d9430d
[#2832] remove LIBYANG_VERSION and SYSREPO_VERSION
They were not used and they were not properly expanded in
config.h anyway. They showed up as:

  /* libyang version */
  #define LIBYANG_VERSION "${LIBYANG_VERSION}"

  /* sysrepo version */
  #define SYSREPO_VERSION "${SYSREPO_VERSION}"
2023-05-16 15:38:17 +03:00
Andrei Pavel
168df1d9b6
[#2311] ax_find_library: add -L if pkg-config doesn't
Solves a problem in RHEL where -L${libdir} is missing from
"pkg-config --libs".
2022-10-21 17:45:25 +03:00
Andrei Pavel
3b25a92584
[#2311] autoconf: include <utility> when checking for boost headers
Solves this error:

In file included from /usr/include/boost/asio.hpp:23,
                 from conftest.cpp:75:
/usr/include/boost/asio/awaitable.hpp: In constructor 'boost::asio::awaitable<T, Executor>::awaitable(boost::asio::awaitable<T, Executor>&&)':
/usr/include/boost/asio/awaitable.hpp:68:19: error: 'exchange' is not a member of 'std'; did you mean 'std::__atomic_impl::exchange'?
   68 |     : frame_(std::exchange(other.frame_, nullptr))
      |                   ^~~~~~~~
In file included from /usr/include/c++/12/bits/shared_ptr_atomic.h:33,
                 from /usr/include/c++/12/memory:78,
                 from /usr/include/boost/asio/associated_allocator.hpp:19,
                 from /usr/include/boost/asio.hpp:20:
/usr/include/c++/12/bits/atomic_base.h:976:7: note: 'std::__atomic_impl::exchange' declared here
  976 |       exchange(_Tp* __ptr, _Val<_Tp> __desired, memory_order __m) noexcept
      |       ^~~~~~~~
2022-10-21 17:45:25 +03:00
Andrei Pavel
cc95052a37
[#2311] rename AX_SYSREPO to AX_NETCONF 2022-10-21 17:45:25 +03:00
Andrei Pavel
38c7b0f4e7
[#2311] detect C++20 in autoconf
And enforce -std=c++20 when building
--with-libyang-cpp or --with-sysrepo-cpp.
2022-10-21 17:45:24 +03:00
Andrei Pavel
f37159f34c
[#2311] migrate autoconf to libyang2 and sysrepo2 2022-10-21 17:45:24 +03:00
Andrei Pavel
0a249709a4
[#2311] ax_find_library: search for .pc file in lib64 as well 2022-10-21 17:45:24 +03:00
Andrei Pavel
274b3507ad
[#2558] expose LIBYANG_PREFIX and SYSREPO_PREFIX 2022-09-23 13:37:15 +03:00
Razvan Becheriu
d1d4aefec6 [#2071] propagate all flags from configure to distcheck 2022-08-10 16:02:22 +02:00
Razvan Becheriu
8f7c1b1521 [#2224] added missing parameters including TLS connection parameters to YANG models 2022-07-22 11:12:54 +03:00
Francis Dupont
d3ca06b7b6 [#1614] Checkpoint: ported HMAC to EVP 2022-06-24 17:37:29 +02:00
Francis Dupont
57a2beb736 [#2218] Added quotes and double quotes 2022-01-12 15:09:35 +01:00
Andrei Pavel
f6215c24ed [#2049] prevent empty location appended to rpath 2021-10-22 11:11:49 +00:00
Andrei Pavel
8ce40a35c2 [#2128] fix noreturn check for older compilers 2021-10-20 15:22:19 +00:00
Andrei Pavel
f31ef484fd Apply 1 suggestion(s) to 1 file(s) 2021-10-20 10:35:05 +00:00
Razvan Becheriu
dd939aed15 [#2128] fixed flags leak 2021-10-19 15:38:11 +03:00
Razvan Becheriu
9669ec236f [#2128] add check for [[noreturn]] 2021-10-18 19:17:31 +03:00
Andrei Pavel
c19e6343c9 [#2081] remove attempt to link with OpenSSL 1.1 2021-09-20 17:45:35 +00:00
Andrei Pavel
4a06ecf784
[#2049] improve build error message 2021-09-14 11:44:29 +03:00
Andrei Pavel
089243ff32
[#2049] AX_FIND_LIBRARY: add libdir to rpath 2021-09-14 11:27:25 +03:00
Andrei Pavel
6fe151c002
[#2049] AX_FIND_LIBRARY: look in lib64 also 2021-09-14 11:27:16 +03:00
Andrei Pavel
4b658c57f1
[qa#261] link with OpenSSL 11 on CentOS 7 2021-08-24 14:02:17 +03:00
Andrei Pavel
4ce663d5c2
[#1990] ax_find_library: look in lib64 also 2021-08-16 09:58:10 +03:00
Andrei Pavel
223e57c34e [#2025] correct spelling errors (minor change) 2021-08-13 19:31:35 +00:00
Andrei Pavel
4ad1cf13fe
[#1990] add directory of .pc file to pkgconf path 2021-08-13 13:29:14 +03:00