Skip to content

Commit df2a0bf

Browse files
authored
Relicense to GPL-3.0-only and add SPDX license headers (#87)
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 18091c1 + 7d1f0be commit df2a0bf

14 files changed

Lines changed: 699 additions & 350 deletions

File tree

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/ConfigController.php

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

3-
/* Icinga PDF Export | (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\Pdfexport\Controllers;
67

application/forms/ChromeBinaryForm.php

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

3-
/* Icinga PDF Export | (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\Pdfexport\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 PDF Export | (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
/** @var \Icinga\Application\Modules\Module $this */
67

library/Pdfexport/HeadlessChrome.php

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

3-
/* Icinga PDF Export | (c) 2018 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\Pdfexport;
67

library/Pdfexport/PrintStyleSheet.php

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

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

56
namespace Icinga\Module\Pdfexport;
67

library/Pdfexport/PrintableHtmlDocument.php

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

3-
/* Icinga PDF Export | (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\Pdfexport;
67

library/Pdfexport/ProvidedHook/Pdfexport.php

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

3-
/* Icinga PDF Export | (c) 2018 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\Pdfexport\ProvidedHook;
67

library/Pdfexport/ShellCommand.php

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

3-
/* Icinga PDF Export | (c) 2018 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\Pdfexport;
67

0 commit comments

Comments
 (0)