410 Commits

Author SHA1 Message Date
Yonas Habteab
fbcb4e7687 Bump Windows OpenSSL version to 3.0.16 2025-05-22 12:14:12 +02:00
Alexander Aleksandrovič Klimov
d607ed8329
Merge pull request #10454 from Icinga/win-configure-cmake-opts-212
tools/win32/configure*.ps1: allow custom $CMAKE_ARGS (JSON array)
2025-05-22 11:49:31 +02:00
Alexander A. Klimov
87b6110cd7 tools/win32/configure*.ps1: allow custom $CMAKE_ARGS (JSON array) 2025-05-22 11:47:47 +02:00
Alvar Penning
183734cf25 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 7665143afa500dd589546665124293b9c1206265,
but I have not found any reasoning for the flag in particular.
2025-05-22 11:45:59 +02:00
Alexander A. Klimov
10749d3545 Windows: bump OpenSSL v1.1 (EOL) -> v3.0 2024-10-22 10:54:14 +02:00
Alexander Aleksandrovič Klimov
3f10f8d156
Merge pull request #9689 from Icinga/selinux-2.12.10
Add role icinga2adm_r to SELinux policies
2023-02-16 16:43:14 +01:00
Henrik Triem
d5e8872671 Add icinga2adm_r role def before creating SELinux user&domain 2023-02-16 12:18:29 +01:00
Alexander A. Klimov
e812f3eeef Bump Boost to v1.81 2023-02-15 13:36:58 +01:00
Alexander A. Klimov
0a5eb243ed Windows: bump OpenSSL to v1.1.1t 2023-02-15 13:36:58 +01:00
Julian Brost
e45fdd2234 Windows: update bundled OpenSSL to version 1.1.1s 2023-02-15 13:36:47 +01:00
Alexander A. Klimov
5b17f3c5aa Bump Boost v1.79 -> v1.80 2023-02-15 13:36:47 +01:00
Alexander A. Klimov
9d7ca8c14d Bump OpenSSL to 1.1.1q 2023-02-15 13:36:47 +01:00
Yonas Habteab
21b59667ae Windows: Update openssl to the latest version 1_1_1p 2022-06-23 15:00:01 +02:00
Julian Brost
33a52d8655 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-06-14 12:23:04 +02:00
Alexander A. Klimov
dba78f73da mkclass: make .ti class members atomic if possible
... not to have to lock the objects while setting attributes.
2022-06-14 12:23:04 +02:00
Julian Brost
213aab5435 Windows: update boost to version 1.79.0 2022-04-27 13:45:28 +02:00
Alexander A. Klimov
37bc27c301 Bump Boost to 1.78 2022-04-07 11:46:01 +02:00
Alexander A. Klimov
018f27c7c3 Bump OpenSSL to 1.1.1n 2022-04-07 11:44:00 +02:00
Julian Brost
adfb05e09a 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-14 14:04:49 +01:00
Julian Brost
2fd8e13ebf Windows build scripts: allow setting BITS=32 to use 32 bit dependency paths by default 2021-07-07 14:54:27 +02:00
Alexander A. Klimov
e7aa9dd3ed Bump OpenSSL to 1.1.1k 2021-07-07 14:50:23 +02:00
Julian Brost
954da11a96 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.
2021-07-05 14:17:55 +02:00
Noah Hilverling
d38f4e78c9 Chocolatey: Use '.\build' as default build directory 2020-06-05 15:39:28 +02:00
Michael Insel
feed379229 Chocolatey: Add build script for package 2020-03-03 18:48:11 +01:00
Dirk Goetz
cdc7a820f6 SELinux: Let safe-reload run in icinga2_t
Fixes #7832
2020-02-27 08:45:33 +01:00
Dirk Goetz
a3a3736692 SELinux: Allow direct smtp notifications
Fixes #7733
2020-01-13 16:57:44 +01:00
Michael Friedrich
e5e9f2526a Dev: Fix CMake generator platform for VS 2019 in PS scripts 2019-09-09 17:11:26 +02:00
Michael Friedrich
2178e150f9 Build: Add Powershell script for development config for building Windows debug packages 2019-09-06 10:51:06 +02:00
Michael Friedrich
7665143afa Tests: Rewrite TimePeriod tests using Boost::DateTime
fixes #7257
2019-07-09 15:34:07 +02:00
Alan Litster
b0b09cef76 Fix type in nanorc syntax file 2019-06-20 13:46:38 +01:00
Markus Frosch
ca67d7e963 windows: Improve Powershell Tools and AppVeyor config
[travis skip]
2019-04-05 09:03:04 +02:00
Dirk Goetz
1c30a571d4 SELinux: add a boolean to allow execution of plugins via sudo
Fixes #7039
2019-03-22 11:26:54 +01:00
Dirk Goetz
726be2fec2 SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
2019-03-18 19:43:47 +01:00
Michael Friedrich
37b715baf1 Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
Michael Friedrich
458f997a18 Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
Michael Friedrich
d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01:00
Markus Frosch
ace12db110 appveyor: Run Debug builds
[skip travis]
2018-12-18 12:23:39 +01:00
Markus Frosch
fcfde9ac22 tools/win32: Invalidate CMake cache on build 2018-12-18 11:52:06 +01:00
Michael Friedrich
3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Michael Friedrich
1a8a2c25f2 icinga.com: Update test and tools 2018-10-18 09:45:36 +02:00
Michael Friedrich
dea5ec614e icinga.com: Update CMakeLists.txt 2018-10-18 09:35:18 +02:00
Michael Friedrich
dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Friedrich
355b21a04c Enhance vim syntax highlighting for 2.10
- object types (and 'host' inside apply) are now green again
- special underlined macro highlighting
- add missing object types, attributes and constants
- add new constants and namespaces/references for 2.10
- Large refactoring into sub matches

I don't use nano, so we need a nano hero to incorporate
these changes here into their syntax highlighting file :)

refs #5683
2018-10-10 15:35:30 +02:00
Jean Flach
aed251a409
Merge pull request #6510 from Icinga/feature/windows-build-scripts
Update Appveyor build scripts
2018-08-24 14:31:57 +02:00
Michael Friedrich
caefa58cf6 Mkclass: Only render setter if not declared pure virtual 2018-08-10 10:55:42 +02:00
Markus Frosch
b6c674e716 Update windows build scripts 2018-08-03 11:11:39 +02:00
Dirk Goetz
4c803db80c SELinux: allow systemd notify
fixes #6443
2018-07-18 06:49:24 +00:00
Dirk Goetz
00214e597e SELinux: Allow notification plugins to read local users and connect to a web api
fixes #6028
2018-06-01 10:29:20 +00:00
Jean Flach
c54e042942 Add activation priorities for config object types
This patch ensures that specific configuration types
are pre-activated and post-activated. In general,
logging is first, then common configuration objects
like host/service, downtimes, etc.
In the end, all features are activated after to ensure
that notifications are only sent once downtimes are applied.
A similar thing happens for starting with checks too early.
The ApiListener feature runs first to allow cluster connections
at first glance.

fixes #6057
fixes #6231
2018-05-04 11:25:47 +02:00
Markus Frosch
4a1375cc5f Add AppVeyor definition 2018-02-07 20:30:36 +01:00