icinga2/lib/base
Yonas Habteab 29a5268961 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-03 17:54:50 +01:00
..
application-environment.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
application-version.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
application.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
application.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
application.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
array-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
array.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
array.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
atomic-file.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
atomic-file.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
atomic.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
base64.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
base64.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
boolean-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
boolean.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
boolean.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
bulker.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configobject-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configobject.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configobject.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configobject.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configtype.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configtype.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configuration.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configuration.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configuration.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configwriter.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
configwriter.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
console.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
console.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
context.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
context.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
convert.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
convert.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
datetime-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
datetime.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
datetime.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
datetime.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
debug.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
debuginfo.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
debuginfo.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
defer.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
dependencygraph.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
dependencygraph.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
dictionary-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
dictionary.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
dictionary.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
exception.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
exception.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
fifo.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
fifo.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
filelogger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
filelogger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
filelogger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
function-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
function.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
function.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
function.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
functionwrapper.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
generator.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
i2-base.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
initialize.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
initialize.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
intrusive-ptr.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
io-engine.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
io-engine.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
journaldlogger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
journaldlogger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
journaldlogger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
json-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
json.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
json.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
lazy-init.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
library.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
library.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
loader.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
loader.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
logger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
logger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
logger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
math-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
namespace-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
namespace.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
namespace.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
netstring.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
netstring.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
networkstream.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
networkstream.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
number-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
number.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
number.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
object-packer.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
object-packer.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
object-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
object.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
object.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
objectlock.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
objectlock.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
objecttype.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
objecttype.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
perfdatavalue.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
perfdatavalue.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
perfdatavalue.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
primitivetype.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
primitivetype.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
process.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
process.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
reference-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
reference.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
reference.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
registry.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
ringbuffer.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
ringbuffer.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptframe.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptframe.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptglobal.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptglobal.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptpermission.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptpermission.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptutils.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
scriptutils.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
serializer.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
serializer.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
shared-memory.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
shared-object.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
shared.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
singleton.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
socket.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
socket.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stacktrace.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stacktrace.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
statsfunction.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stdiostream.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stdiostream.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stream.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
stream.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
streamlogger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
streamlogger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
streamlogger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
string-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
string.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
string.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
sysloglogger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
sysloglogger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
sysloglogger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tcpsocket.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tcpsocket.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
threadpool.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
threadpool.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
timer.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
timer.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tlsstream.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tlsstream.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tlsutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
tlsutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
type.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
type.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
typetype-script.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
unix.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
unixsocket.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
unixsocket.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
utility.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
utility.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
value-operators.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
value.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
value.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
wait-group.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
wait-group.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
win32.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
windowseventloglogger-provider.mc Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
windowseventloglogger.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
windowseventloglogger.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
windowseventloglogger.ti Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
workqueue.cpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00
workqueue.hpp Replace all existing copyright headers with SPDX headers 2026-02-03 17:54:50 +01:00