Skip to content

Commit c55a4b2

Browse files
authored
Relicense to GPL-3.0-only and add SPDX license headers (#346)
Relicense this module to `GPL-3.0-only`. Replace the old license file with `LICENSE.md` and update documentation references accordingly. Add `GPL-3.0-or-later` SPDX license headers to source files, allowing relicensing under future GPL versions. This ensures compatibility with third-party dependencies (e.g. `Apache-2.0`) incompatible with `GPL-2.0-only`.
2 parents 5f6714b + 05d6f58 commit c55a4b2

49 files changed

Lines changed: 809 additions & 345 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 0 additions & 339 deletions
This file was deleted.

LICENSE.md

Lines changed: 674 additions & 0 deletions

application/clicommands/Icinga2Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

3-
/* Icinga Web 2 | (c) 2018 Icinga Development Team | GPLv2+ */
3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Graphite\Clicommands;
67

application/controllers/ConfigController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Controllers;
47

58
use Icinga\Module\Graphite\Forms\Config\AdvancedForm;

application/controllers/GraphController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Controllers;
47

58
use Icinga\Exception\Http\HttpBadRequestException;

application/controllers/HostsController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

3-
/* Icinga Graphite Web | (c) 2022 Icinga GmbH | GPLv2 */
3+
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Graphite\Controllers;
67

application/controllers/ListController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Controllers;
47

58
use Icinga\Data\Filter\Filter;

application/controllers/MonitoringGraphController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Controllers;
47

58
use Icinga\Exception\Http\HttpBadRequestException;

application/controllers/ServicesController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Controllers;
47

58
use GuzzleHttp\Psr7\ServerRequest;

application/forms/Config/AdvancedForm.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
5+
36
namespace Icinga\Module\Graphite\Forms\Config;
47

58
use Icinga\Forms\ConfigForm;

0 commit comments

Comments
 (0)