From f4d2e5fad43152f1ac1bdb804dfbd1cef5f0815b Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 23 Nov 2026 11:16:46 +0100 Subject: Add SPDX license identifiers to source files Tag the source files with SPDX-License-Identifier matching their existing headers: GPL-2.0-only OR GPL-3.0-only for the daemon sources ("either version 2 or version 3") and LGPL-2.1-or-later for src/utils.c and src/utils.h. --- src/client.c | 2 ++ src/client.h | 2 ++ src/conf.c | 2 ++ src/conf.h | 2 ++ src/device.c | 2 ++ src/device.h | 2 ++ src/log.c | 2 ++ src/log.h | 2 ++ src/main.c | 2 ++ src/preflight.c | 2 ++ src/preflight.h | 2 ++ src/usb.c | 2 ++ src/usb.h | 2 ++ src/usbmuxd-proto.h | 2 ++ src/utils.c | 2 ++ src/utils.h | 2 ++ 16 files changed, 32 insertions(+) (limited to 'src') diff --git a/src/client.c b/src/client.c index 96ab507..38cc616 100644 --- a/src/client.c +++ b/src/client.c @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifdef HAVE_CONFIG_H diff --git a/src/client.h b/src/client.h index 6cac4db..ddc4cba 100644 --- a/src/client.h +++ b/src/client.h @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef CLIENT_H diff --git a/src/conf.c b/src/conf.c index 2f0968d..4a8a33f 100644 --- a/src/conf.c +++ b/src/conf.c @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifdef HAVE_CONFIG_H diff --git a/src/conf.h b/src/conf.h index 294ca18..9918d9d 100644 --- a/src/conf.h +++ b/src/conf.h @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef CONF_H diff --git a/src/device.c b/src/device.c index 66d84db..5177f00 100644 --- a/src/device.c +++ b/src/device.c @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #define _DEFAULT_SOURCE diff --git a/src/device.h b/src/device.h index f4a44e2..ebe3727 100644 --- a/src/device.h +++ b/src/device.h @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef DEVICE_H diff --git a/src/log.c b/src/log.c index cd7c2d5..d2e4892 100644 --- a/src/log.c +++ b/src/log.c @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifdef HAVE_CONFIG_H diff --git a/src/log.h b/src/log.h index 858e7d0..a861c5c 100644 --- a/src/log.h +++ b/src/log.h @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef LOG_H diff --git a/src/main.c b/src/main.c index 1bb334a..c6632a4 100644 --- a/src/main.c +++ b/src/main.c @@ -18,6 +18,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #define _DEFAULT_SOURCE diff --git a/src/preflight.c b/src/preflight.c index be44231..0711a46 100644 --- a/src/preflight.c +++ b/src/preflight.c @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifdef HAVE_CONFIG_H diff --git a/src/preflight.h b/src/preflight.h index dd8647e..aeafc01 100644 --- a/src/preflight.h +++ b/src/preflight.h @@ -15,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef PREFLIGHT_H diff --git a/src/usb.c b/src/usb.c index 65a966e..0babd03 100644 --- a/src/usb.c +++ b/src/usb.c @@ -18,6 +18,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifdef HAVE_CONFIG_H diff --git a/src/usb.h b/src/usb.h index 7c26306..4667c0f 100644 --- a/src/usb.h +++ b/src/usb.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ #ifndef USB_H diff --git a/src/usbmuxd-proto.h b/src/usbmuxd-proto.h index 93df00e..7c8dcbd 100644 --- a/src/usbmuxd-proto.h +++ b/src/usbmuxd-proto.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ /* Protocol definition for usbmuxd proxy protocol */ diff --git a/src/utils.c b/src/utils.c index f746608..5a047c7 100644 --- a/src/utils.c +++ b/src/utils.c @@ -18,6 +18,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/src/utils.h b/src/utils.h index ce3b2e0..3323a3f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef UTILS_H -- cgit v1.1-32-gdbae