Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relicense the project to LGPL-2.1-or-later #506

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
663 changes: 413 additions & 250 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions LICENSES/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ The `LICENSES/` directory contains all the licenses used by the sources included
the systemd project source tree.

Unless otherwise noted, the systemd project sources are licensed under the terms
and conditions of the **GNU GENERAL PUBLIC LICENSE Version 2 or later**.
and conditions of the **GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 or later**.

New sources that cannot be distributed under **GPL-2.0-or-later** will no longer
New sources that cannot be distributed under **LGPL-2.1-or-later** will no longer
be accepted for inclusion in the BlueChi project to maintain license uniformity.

## Other Licenses
Expand Down
2 changes: 1 addition & 1 deletion bluechi.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name: bluechi
Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: A systemd service controller for multi-nodes environments
License: GPLv2+
License: LGPL-2.1-or-later
URL: https://github.com/containers/bluechi
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/build-bindings.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

# Important note:
# Run from root directory
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/build-containers.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

SCRIPT_DIR=$( realpath "$0" )
SCRIPT_DIR=$(dirname "$SCRIPT_DIR")/
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/build-rpm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

source $(dirname "$(readlink -f "$0")")/build-srpm.sh

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/build-srpm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

# Parse package version from the project
meson setup builddir
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/clang-tidy-all.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

additional_opts=$1

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/generate-bindings.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xe
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

SCRIPT_DIR=$( realpath "$0" )
SCRIPT_DIR=$(dirname "$SCRIPT_DIR")/
Expand Down
8 changes: 2 additions & 6 deletions build-scripts/spdx-header-check.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/bash -e
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

# Checked files regex
CHECKED_FILES=".*\(\.c\|\.h\|\.py\|\.sh\|\.xml\|meson\.build\)"
Expand All @@ -8,12 +8,8 @@ CHECKED_FILES=".*\(\.c\|\.h\|\.py\|\.sh\|\.xml\|meson\.build\)"
# List of licenses which are OK when found in a source code
#
APPROVED_LICENSES=""
# Used for bluechi original code
APPROVED_LICENSES="${APPROVED_LICENSES} GPL-2.0-or-later"
# Used in src/libbluechi/common/list.h
# Used for bluechi original code and in src/libbluechi/common/list.h
APPROVED_LICENSES="${APPROVED_LICENSES} LGPL-2.1-or-later"
# Used in generated files in pyhirte
APPROVED_LICENSES="${APPROVED_LICENSES} LGPL-3.0-or-later"
# Used for examples in doc/api-examples and doc/bluechi-examples
APPROVED_LICENSES="${APPROVED_LICENSES} CC0-1.0"

Expand Down
2 changes: 1 addition & 1 deletion config/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

install_data(
install_dir : get_option('sysconfdir') / 'bluechi'
Expand Down
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

# Installing the public DBus API
install_data(
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Agent.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Agent">
<method name="CreateProxy">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Job.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Job">
<method name="Cancel" />
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Manager.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Manager">
<method name="ListUnits">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Metrics.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Metrics">
<signal name="StartUnitJobMetrics">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Monitor.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Monitor">
<method name="Close" />
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.Node.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.Node">
<method name="StartUnit">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.internal.Agent.Metrics.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.internal.Agent.Metrics">
<signal name="AgentJobMetrics">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.internal.Agent.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.internal.Agent">
<method name="StartUnit">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.internal.Manager.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.internal.Manager">
<method name="Register">
Expand Down
2 changes: 1 addition & 1 deletion data/org.eclipse.bluechi.internal.Proxy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- SPDX-License-Identifier: GPL-2.0-or-later -->
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.eclipse.bluechi.internal.Proxy">
<method name="Error">
Expand Down
2 changes: 1 addition & 1 deletion doc/man/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

want_man = get_option('man') == 'true'
md2man = find_program('go-md2man', required : false)
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

project(
'bluechi',
'c',
version: '0.5.0',
license: 'GPL-2.0-or-later',
license: 'LGPL-2.1-or-later',
default_options: [
'c_std=gnu17', # Adds "-std=gnu17". Includes GNU 17 extensions.
'warning_level=2', # Adds "-Wextra". Enables additional warnings.
Expand Down
2 changes: 1 addition & 1 deletion src/agent/agent.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <arpa/inet.h>
#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/agent/agent.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <netinet/in.h>
Expand Down
2 changes: 1 addition & 1 deletion src/agent/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <errno.h>
#include <getopt.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/agent/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

# node build configuration

Expand Down
2 changes: 1 addition & 1 deletion src/agent/proxy.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "libbluechi/log/log.h"

#include "agent.h"
Expand Down
2 changes: 1 addition & 1 deletion src/agent/proxy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "libbluechi/common/common.h"
Expand Down
2 changes: 1 addition & 1 deletion src/agent/types.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

typedef struct ProxyService ProxyService;
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/src/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later
2 changes: 1 addition & 1 deletion src/bindings/generator/src/dbus_typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

from typing import Tuple
from dasbus.typing import DBusType, Byte, get_type_name
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/src/generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

import sys
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/src/model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

from typing import List

Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/src/template.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

import datetime
from typing import List, Dict, Any
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/src/xml_parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later

from os import listdir
from os.path import join
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/generator/test/test_dbus_typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# todo: write proper tests using those cases
# if __name__ == "__main__":
Expand Down
Loading