icinga2/lib/livestatus
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
..
aggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
aggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
andfilter.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
andfilter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
attributefilter.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
attributefilter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
avgaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
avgaggregator.hpp 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
column.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
column.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
combinerfilter.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
combinerfilter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
commandstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
commandstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
commentstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
commentstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
contactgroupstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
contactgroupstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
contactstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
contactstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
countaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
countaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
downtimestable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
downtimestable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpointstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
endpointstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
filter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
historytable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
hostgroupstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
hostgroupstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
hoststable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
hoststable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
i2-livestatus.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
invavgaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
invavgaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
invsumaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
invsumaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatuslistener.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatuslistener.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatuslistener.ti Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatuslogutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatuslogutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatusquery.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatusquery.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
logtable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
logtable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
maxaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
maxaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
minaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
minaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
negatefilter.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
negatefilter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
orfilter.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
orfilter.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
servicegroupstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
servicegroupstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
servicestable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
servicestable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statehisttable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statehisttable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statustable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
statustable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
stdaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
stdaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
sumaggregator.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
sumaggregator.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
table.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
table.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
timeperiodstable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
timeperiodstable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zonestable.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
zonestable.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00