Commit Graph

438 Commits

Author SHA1 Message Date
Yonas Habteab 01d3a1d382
Merge pull request #10170 from Icinga/OpenSSL3015
Bump OpenSSL shipped for Windows to v3.0.15
2024-09-24 12:43:56 +02:00
Alexander A. Klimov 7216220de1 Bump OpenSSL shipped for Windows to v3.0.15 2024-09-20 17:39:26 +02:00
Alexander A. Klimov b6517c6973 Type#GetLoadDependencies(): VERIFY() that only config object types are returned 2024-09-20 14:35:19 +02:00
Alexander A. Klimov 4b20121dcf Type#GetLoadDependencies(): group operations by type 2024-09-20 14:35:19 +02:00
Alexander A. Klimov c24713ac10 Type#GetLoadDependencies(): VERIFY() that no nullptr is returned 2024-09-19 16:43:00 +02:00
Alexander A. Klimov 36742c27b9 Don't override Type#GetLoadDependencies() if latter is sufficient
If a specific type shall return no deps, the base method already does that.
2024-09-19 15:47:25 +02:00
Alexander A. Klimov 6da948c830 doc/: don't mention CentOS
It's EOL.
2024-09-16 17:08:42 +02:00
Alexander A. Klimov 584340a203 Bump Boost shipped for Windows to v1.86 2024-08-20 18:18:07 +02:00
Alvar Penning 8db33e5b3c
GHA: Unbreak Windows Tests
As seen in the recent GHA run for #10102, the two Windows Actions have
failed. The output log contains:

> DEBUG:   27+  >>>> ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml
> --output-on-failure --log_level=all
> CMake Error: Unknown argument: --log_level=all
> CMake Error: Run 'ctest --help' for all supported options.

After consulting ctest(1), older versions included, I have never found a
mention of the "--log_level" flag. Since the useful
"--output-on-failure" flag is already set, which will "[o]utput anything
outputted by the test program if the test should fail", I do not see any
further reason for more logging information.

This flag was introduced in 7665143afa,
but I have not found any reasoning for the flag in particular.
2024-07-31 11:19:22 +02:00
Alexander A. Klimov b1eae017c9 Bump OpenSSL shipped for Windows to v3.0.14 2024-06-07 16:07:42 +02:00
Alexander A. Klimov 561d6a3981 Bump Boost shipped for Windows to v1.85
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)84/${1}85/g' doc/21-development.md
2024-06-07 16:02:07 +02:00
Alexander A. Klimov 77313d751c Bump Boost shipped for Windows to v1.84
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)83/${1}84/g' doc/21-development.md
2024-01-16 12:35:19 +01:00
Alexander A. Klimov d268acaf20 Bump OpenSSL shipped for Windows to v3.0.12 2023-12-13 12:46:47 +01:00
Alexander A. Klimov d60859c936 Bump Boost shipped for Windows to v1.83
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)82/${1}83/g' doc/21-development.md
2023-12-13 12:30:18 +01:00
Alexander A. Klimov c070e95b03 Windows: bump OpenSSL v1.1 (soon EOL) -> v3.0 2023-06-14 12:03:22 +02:00
Julian Brost bc492cc3ce
Merge pull request #9688 from Icinga/bugfix/selinux-sudo-logging
Add syslog logging to SELinux
2023-05-31 15:19:39 +02:00
Alexander A. Klimov d552d0779e Bump Boost shipped for Windows to v1.82 2023-05-10 16:40:46 +02:00
Henrik Triem 6febbdc19a
Add syslog logging to SELinux during usage of sudo 2023-05-10 09:16:13 +02:00
Alexander A. Klimov cc872dac1f Remove CheckResultReader which has been deprecated for 5 major versions 2023-04-03 11:39:21 +02:00
Julian Brost 7a7902cea7
Merge pull request #9715 from Icinga/StatusDataWriter
Remove StatusDataWriter which has been deprecated for 5 major versions
2023-03-31 12:32:43 +02:00
Alexander A. Klimov bbf2e80002 Remove StatusDataWriter which has been deprecated for 5 major versions 2023-03-01 17:16:28 +01:00
Alexander A. Klimov 260eb5c475 CMakeLists.txt: provide sane defaults for which subsystems to build
not to have to explicitly disable particular ones in multiple locations.
2023-02-23 14:54:57 +01:00
Alexander Aleksandrovič Klimov c3d8ed7092
Merge pull request #9664 from Icinga/bugfix/selinux-readd-bools
Add role icinga2adm_r to SELinux policies
2023-02-16 17:11:57 +01:00
Henrik Triem 8173cf0760
Add icinga2adm_r role def before creating SELinux user&domain 2023-02-15 17:39:28 +01:00
Alexander A. Klimov 6347d7a008 Bump Boost to v1.81 2023-02-14 14:36:16 +01:00
Alexander A. Klimov 2ec62d0dd9 Windows: bump OpenSSL to v1.1.1t 2023-02-14 11:40:44 +01:00
Alexander A. Klimov 33e609d791 Type#GetLoadDependencies(): avoid malloc()
- cache result
- return it by const ref
- do Type::GetByName() for the callers
2022-11-21 15:07:39 +01:00
Julian Brost c501229f84 Windows: update bundled OpenSSL to version 1.1.1s 2022-11-04 13:35:38 +01:00
Alexander A. Klimov 24b24da8e9 Bump Boost v1.79 -> v1.80 2022-10-26 11:43:32 +02:00
Yonas Habteab aa702b050c ClassCompiler: Validate field types -> Icinga Name correctly
When the classcompiler is validating/transforming field types -> Icinga type names, it is currently returning
Icinga `Number` type for field type of `bool`, which is actually wrong. This PR ensures to always transform
into the correct Icinga type names.
2022-09-05 17:16:53 +02:00
Julian Brost 409bda109c
Merge pull request #9444 from Icinga/bugfix/add-missing-redis-and-mysql-selinux-policy
Add missing Redis & Mysql unix socket SELinux policy
2022-08-05 10:41:38 +02:00
Alexander A. Klimov 62379c1d5c Bump OpenSSL to 1.1.1q 2022-07-26 18:29:16 +02:00
Yonas Habteab 19f3e48344 Add missing IcingaDB Redis SELinux policy 2022-07-26 11:15:52 +02:00
Yonas Habteab 59b92777bf Windows: Update openssl to the latest version 1_1_1p 2022-06-23 13:09:14 +02:00
Julian Brost abe2dfa763 Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex
Apparently there was a reason for making the members of generated classes
atomic. However, this was only done for some types, others were still accessed
using non-atomic operations. For members of type T::Ptr (i.e.  intrusive_ptr<T>),
this can result in a double free when multiple threads access the same variable
and at least one of them writes to the variable.

This commit makes use of std::atomic<T> for more T (it removes the additional
constraint sizeof(T) <= sizeof(void*)) and uses a type including a mutex for
load and store operations as a fallback.
2022-05-03 12:02:46 +02:00
Julian Brost 4de986de73 Windows: update boost to version 1.79.0 2022-04-27 12:36:32 +02:00
Alexander A. Klimov 52ca277dd8 Bump OpenSSL to 1.1.1n 2022-04-07 11:06:39 +02:00
Alexander A. Klimov b0cce512c2 Bump Boost to 1.78 2022-04-07 11:03:44 +02:00
Julian Brost 8e766a6a47 GitHub Actions: Use preinstalled dependencies on Windows
The Windows image provided by GitHub already includes most of our dependencies,
so the installation of all Chocolatey packages except winflexbison3 was
redundant. Visual Studio is provided in the Enterprise version instead of
Community, so that has to be added to the search path as well.
2022-01-11 13:20:07 +01:00
Yonas Habteab a64089ffc1
`ClassCompiler`: Don't allow to define an int as a group name in `groups` attr (#9057) 2021-11-22 14:02:50 +01:00
Noah Hilverling 73e0d6e61b Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
Tobias Deiminger 1f13af957d Update nano and vim syntax for JournaldLogger 2021-09-23 16:08:39 +02:00
Alexander A. Klimov 9d4b0f1268 Introduce Influxdb2Writer
refs #8711
2021-07-20 16:21:36 +02:00
Julian Brost 14245d87a5 Windows build scripts: allow setting BITS=32 to use 32 bit dependency paths by default 2021-07-07 13:24:11 +02:00
Alexander A. Klimov 7363710b1e Bump OpenSSL to 1.1.1k 2021-07-05 18:27:58 +02:00
Alexander A. Klimov 31fa4ef033 Bump Boost to v1.76 2021-07-05 18:25:42 +02:00
Julian Brost 6de9f58810 Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
Alexander A. Klimov bb851b0558 Merge branch 'master' into feature/v1-actions-execute-command-8034 2020-10-28 18:37:08 +01:00
Julian Brost 4ede8e484b Update Windows build scripts for Visual Studio 2019
$env:CMAKE_GENERATOR_PLATFORM is only used in configure-dev.ps1 but now
is also required in configure.ps1 to allow the build pipeline to be
upgraded to Visual Studio 2019.

Additionally bump the versions in paths for Boost and OpenSSL.
2020-10-21 11:14:22 +02:00
Alexander A. Klimov bbe0f2d8c4 mkclass: make .ti class members atomic if possible
... not to have to lock the objects while setting attributes.
2020-07-07 18:24:06 +02:00