Commit graph

30 commits

Author SHA1 Message Date
Yonas Habteab
91c7e60df8 Replace all existing copyright headers with SPDX headers
I've used the following command to replace the original copyright header
lines in a C-style comment block:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{/\*[^*]*\(\s*c\s*\)\s*(\d{4})\s*Icinga\s+GmbH[^*]*\*/}{// SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n// SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```

For files that use shell-style comments (#) like CMakeLists.txt, I've
used this command:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{#.*\(\s*c\s*\)\s(\d{4})\sIcinga\s+GmbH.*}{# SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n# SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```

And for SQL files:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{--.*\(c\)\s(\d{4})\sIcinga\sGmbH.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{-- Copyright \(c\)\s(\d{4})\sIcinga\s+Development\sTeam.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```
2026-02-04 14:00:05 +01:00
Julian Brost
0189a3b4a3 Add error handling for icacls calls 2026-01-14 14:10:11 +01:00
Julian Brost
a8fc8f0591 Windows: set ACLs for %ProgramData%\icinga2\var as well 2026-01-09 13:49:05 +01:00
Julian Brost
23aa628665 Windows: automatically migrate from mainlog to windowseventlog 2021-06-21 15:15:54 +02:00
Michael Friedrich
37b715baf1 Replace a few more copyright strings 2019-02-25 16:30:40 +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
Michael Friedrich
dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Insel
158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Gunnar Beutner
1ad83886ac Replace a few more NULLs with nullptr 2017-12-14 15:37:20 +01:00
Gunnar Beutner
42744fde5b Remove extraneous whitespace 2017-12-14 08:50:09 +01:00
Michael Friedrich
953d840cc1 Fix certificate paths for installers
refs #5450
2017-09-22 15:00:45 +02:00
Michael Friedrich
4a8565f304 Drop repository from Windows installer
refs #4799
2017-09-22 14:05:15 +02:00
Michael Friedrich
b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Jean Flach
4b61aee90c Add option to choose icinga2s user
Adds the --scm-user option and a check box and text field in the Agent

fixes #9119
2016-10-25 16:08:03 +02:00
Rune Darrud
ae38f160de Cleanup unused functions from icinga-installer
fixes #12452
2016-08-16 14:54:32 +02:00
Gunnar Beutner
63f83e8bec Build fix for Visual Studio 2013
fixes #12099
2016-07-05 13:50:08 +02:00
Michael Friedrich
e27dee5476 Windows: Fix missing path for repository handler
fixes #11817
2016-05-21 13:05:35 +02:00
Gunnar Beutner
913bfe4eb2 Move user data before running the uninstaller
refs #11449
2016-04-18 16:46:27 +02:00
Gunnar Beutner
e4615e8d09 Use _rmdir instead of _unlink
refs #11449
2016-04-14 14:39:48 +02:00
Gunnar Beutner
0d39c7361d Remove the Icinga 2 directory (if it's empty) after running uninstall.exe
refs #11449
2016-04-14 14:24:56 +02:00
Gunnar Beutner
63a7453e10 Make sure NSIS-based installations are uninstalled before we copy the new
files

refs #11449
2016-04-14 12:16:45 +02:00
Gunnar Beutner
4f697c8b4b Fix arguments for uninstall.exe
refs #11449
2016-04-14 07:51:23 +02:00
Gunnar Beutner
2b796aba84 Wait for uninstall.exe to terminate
refs #11449
2016-04-14 07:04:36 +02:00
Gunnar Beutner
5633440e39 Make sure the etc and var directories are in the common data directory
refs #11449
2016-04-13 21:32:20 +02:00
Gunnar Beutner
327d12295c Implement support for upgrading NSIS-based installations
refs #11449
2016-04-01 08:42:58 +02:00
Gunnar Beutner
b0264dba3b Hide console windows during installation
refs #11449
2016-04-01 07:37:03 +02:00
Gunnar Beutner
7b41891b3b Add missing MkDirP call
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner
948c8f1342 Make sure config files aren't overwritten during updates
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner
14db2f04a8 Add missing pre and post installation commands
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner
6bf3225e84 Implement support for running custom install/uninstall actions
refs #11449
2016-03-31 14:53:54 +02:00