icinga2/lib/remote
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
..
actionshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
actionshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiaction.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiaction.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apifunction.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apifunction.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-authority.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-configsync.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener-filesync.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apilistener.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
apiuser.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configfileshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configfileshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectslock.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectslock.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configobjectutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configpackageutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configstageshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
configstageshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
consolehandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
consolehandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
createobjecthandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
createobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
deleteobjecthandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
deleteobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpoint.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpoint.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpoint.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventqueue.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventqueue.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventshandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
eventshandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
filterutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
filterutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httphandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httphandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httpmessage.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httpmessage.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httpserverconnection.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httpserverconnection.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httputility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
httputility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
i2-remote.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
infohandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
infohandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpc.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpc.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection-heartbeat.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection-pki.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
jsonrpcconnection.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
mallocinfohandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
mallocinfohandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
messageorigin.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
messageorigin.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
modifyobjecthandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
modifyobjecthandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
objectqueryhandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
objectqueryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
pkiutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
pkiutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statushandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statushandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
templatequeryhandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
templatequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
typequeryhandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
typequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url-characters.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
url.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
variablequeryhandler.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
variablequeryhandler.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zone.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00