Skip to content

Commit 891b4f0

Browse files
authored
Relicense to GPL-3.0-only and add SPDX license headers (#174)
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 227c805 + 227e9df commit 891b4f0

39 files changed

Lines changed: 751 additions & 373 deletions

LICENSE

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

LICENSE.md

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

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 Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Cube\Controllers;
67

application/controllers/IdoHostsController.php

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

3-
// Icinga Cube Module | (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\Cube\Controllers;
67

application/controllers/IdoServicesController.php

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

3-
// Icinga Cube Module | (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\Cube\Controllers;
67

application/controllers/IndexController.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 Cube Module | (c) 2016 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Cube\Controllers;
67

application/controllers/ServicesController.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 Cube Module | (c) 2019 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Cube\Controllers;
67

application/forms/DimensionsForm.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 Cube Module | (c) 2016 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Cube\Forms;
67

configuration.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 Cube Module | (c) 2016 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
$this->menuSection(N_('Reporting'), ['icon' => 'fa-chart-simple', 'priority' => 100])
67
->add($this->translate('Cube'))->setUrl('cube/hosts')->setPriority(10);

library/Cube/Cube.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 Cube Module | (c) 2016 Icinga GmbH | GPLv2
3+
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
4+
// SPDX-License-Identifier: GPL-3.0-or-later
45

56
namespace Icinga\Module\Cube;
67

0 commit comments

Comments
 (0)