1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 13:22:36 +01:00
Commit Graph

3587 Commits

Author SHA1 Message Date
Pavel Odintsov
122e37e7e2 Added ARM64 support for binary build caching logic 2023-04-10 20:32:07 +01:00
Pavel Odintsov
6d2d2d143a Added logic to set correct Debian package architecture 2023-04-10 20:27:41 +01:00
Pavel Odintsov
d7f85d89f1 Added correct path for fastnetmon 2023-04-10 16:45:54 +01:00
Pavel Odintsov
6b268bb13c Fixed wrong perl path 2023-04-10 16:38:27 +01:00
Pavel Odintsov
e18d32bc7f Added missing build commands 2023-04-10 16:31:58 +01:00
Pavel Odintsov
f03e5796cf We need to pass DEBIAN_FRONTEND flag to suppress timezone logic 2023-04-10 16:29:13 +01:00
Pavel Odintsov
ce1a869f9c We have to use full part for FNM source code folder 2023-04-10 16:23:31 +01:00
Pavel Odintsov
e1e1b2f68c Added arm64 builds 2023-04-10 16:18:57 +01:00
Pavel Odintsov
df9c0129c8 Added missing git clone step 2023-04-10 16:17:53 +01:00
Pavel Odintsov
fbeeabcb8d Switched Debian to use machine build type as it offers an option to run build on ARM 2023-04-10 16:15:51 +01:00
Pavel Odintsov
dc072a4ace Added ARM64 build for Ubuntu 22.04 2023-04-10 15:38:17 +01:00
Pavel Odintsov
4031aa3066 Added logic to export compile commands 2023-04-05 12:02:55 +01:00
Pavel Odintsov
d36db63f0d One more attempt to fix capnp generation logic on Windows. Related #978 2023-04-04 22:23:51 +01:00
Pavel Odintsov
bafd64d172 Documented reasons why we cannot migrate all builds to use find_package for gRPC search 2023-04-04 22:14:01 +01:00
Pavel Odintsov
68cd58bbbc Unified naming for protoc compiler path 2023-04-04 21:27:19 +01:00
Pavel Odintsov
c49a4a9f53 Reworked Protobuf search logic to use CMAKE_PREFIX_PATH instead of Protobuf_DIR to address build failures on CentOS 2023-04-04 21:20:50 +01:00
Pavel Odintsov
65d1116726 For some reasons Protobuf_INCLUDE_DIR is empty but Protobuf_INCLUDE_DIRS has all the includes 2023-04-04 20:44:39 +01:00
Pavel Odintsov
e2a47294d1 Upgraded cmake minimum version to support CMP0077 required to enable option protobuf_MODULE_COMPATIBLE 2023-04-04 20:33:46 +01:00
Pavel Odintsov
9b7bd79f5a Attempt to fix protoc sarch logic for cases when custom path in use 2023-04-04 13:06:07 +01:00
Pavel Odintsov
d2eca389ed Added logic to catch cases when we found Protobuf but did not find protoc 2023-04-04 12:52:58 +01:00
Pavel Odintsov
a187e201e8 Added logic to print protoc path as it found it but it's clearly wrong 2023-04-04 12:35:24 +01:00
Pavel Odintsov
6c14813762 Fixed case for Linux builds 2023-04-04 12:10:44 +01:00
Pavel Odintsov
0d1b902921 Attempt to switch Protobuf search logic to find_package as it offers way better experience 2023-04-04 12:07:09 +01:00
Pavel Odintsov
58a05a1f85 find_package does support NO_DEFAULT_PATH option and we need to provide it to avoid search of includes in wrong place 2023-04-04 11:15:45 +01:00
Pavel Odintsov
a56f8f8490 Added explicit dependency for gobgp_api_client_grpc_pb_cc on gRPC to address build issues on Windows 2023-04-03 23:11:27 +01:00
Pavel Odintsov
bf3fa32221 Fixed cmake typo 2023-04-03 23:04:09 +01:00
Pavel Odintsov
5d998a43d5 Added missing link dependency for attribute_pb_cc on Windows 2023-04-03 23:01:43 +01:00
Pavel Odintsov
cf26b79d16 Added includes and documentation for Protobuf 2023-04-03 22:55:47 +01:00
Pavel Odintsov
5d607c67c4 Switched Protobuf logic to use find_package on Windows 2023-04-03 22:50:51 +01:00
Pavel Odintsov
e3fa426014 Switched gRPC search logic to find_package() for Windows platforms 2023-04-03 22:36:14 +01:00
Pavel Odintsov
396df68c8c Enabled parallel build for log4cpp 2023-04-03 21:30:52 +01:00
Pavel Odintsov
2ff2c8d447 Added all missing parts to be able to build fastnetmon_client 2023-04-03 21:20:04 +01:00
Pavel Odintsov
3b7df0d887 Fixed error reporting for fastnetmon_client 2023-04-03 21:06:56 +01:00
Pavel Odintsov
f8f8558be1 Revert "Another attempt to address path issues for capnp. Related #978"
This reverts commit 727d793b713187cac2d95bd34acff0be23af63a5.
2023-04-03 20:20:36 +01:00
Pavel Odintsov
7b3592a99b We need to add space between envoronment arguments and command itself 2023-04-03 20:09:59 +01:00
Pavel Odintsov
727d793b71 Another attempt to address path issues for capnp. Related #978 2023-04-03 20:06:58 +01:00
Pavel Odintsov
888c66a771 Added workaround to avoid namespace conflicts with MinGW defines in GoBGP binding code. Related #977 2023-04-03 19:39:47 +01:00
Pavel Odintsov
5f318059c2 Removed references to removed function 2023-04-03 19:25:50 +01:00
Pavel Odintsov
2b0e4a6212 Added inet_pton based implementation for reading IP addresses from string on Windows 2023-04-03 18:27:14 +01:00
Pavel Odintsov
429ba514ab Disabled PID logic on Windows platforms as we have no easy way to check that process is alive 2023-04-03 18:12:33 +01:00
Pavel Odintsov
03dd6c6380 Added logic to handle timeval fields on Windows correctly 2023-04-03 17:56:40 +01:00
Pavel Odintsov
f863725afe Fixed wrong variable name 2023-04-03 17:48:20 +01:00
Pavel Odintsov
aefce76fe5 Behaviour change: disabled PID logic by default, no need to use --disable_pid_logic anymore 2023-04-03 17:45:18 +01:00
Pavel Odintsov
0380b074a4 Ported subnet checking logic to new safe function 2023-04-03 17:28:53 +01:00
Pavel Odintsov
a3ee4e730e Removed old insecure and unsafe IP parser function 2023-04-03 17:23:34 +01:00
Pavel Odintsov
233eaf2287 Removed unused code 2023-04-03 17:12:56 +01:00
Pavel Odintsov
967455ed77 Removed unused function 2023-04-03 17:08:48 +01:00
Pavel Odintsov
dc58b8172c Reworked subnet parser function to new version with clear safety checks 2023-04-03 17:02:02 +01:00
Pavel Odintsov
3628c74e7f Switched to full build by default 2023-04-03 14:38:21 +01:00
Pavel Odintsov
81da444964 Disabled SIGPIPE signal handler on Windows 2023-04-03 14:33:36 +01:00