From 231c25b528bf782569894b6ea2f8d0dfc3e0eeae Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Sun, 14 Jan 2018 11:35:05 +0100 Subject: [PATCH] License: move to SPDX header To simplify Licensing, replace all headers with SPDX identifiers. Signed-off-by: Stefano Babic --- bootloader/Makefile | 4 ++++ bootloader/ebg.c | 14 +------------- bootloader/grub.c | 14 +------------- bootloader/grub.h | 14 +------------- bootloader/none.c | 15 +-------------- bootloader/uboot.c | 15 +-------------- bootloader/uboot.h | 15 +-------------- core/Makefile | 2 +- core/cpio_utils.c | 14 +------------- core/handler.c | 15 +-------------- core/notifier.c | 15 +-------------- core/parser.c | 15 +-------------- core/pctl.c | 15 +-------------- core/swupdate.c | 14 +------------- core/syslog.c | 14 +------------- core/util.c | 15 +-------------- corelib/Makefile | 4 ++++ corelib/artifacts_versions.c | 15 +-------------- corelib/channel_curl.c | 14 +------------- corelib/downloader.c | 14 +------------- corelib/installer.c | 14 +------------- corelib/lua_compat.c | 14 +------------- corelib/lua_interface.c | 15 +-------------- corelib/mtd-interface.c | 15 +-------------- corelib/network_thread.c | 15 +-------------- corelib/parsing_library.c | 14 +------------- corelib/parsing_library_libconfig.c | 14 +------------- corelib/parsing_library_libjson.c | 14 +------------- corelib/progress_thread.c | 15 +-------------- corelib/stream_interface.c | 15 +-------------- corelib/swupdate_decrypt.c | 15 ++------------- corelib/swupdate_dict.c | 14 +------------- corelib/swupdate_settings.c | 14 +------------- corelib/verify_signature.c | 16 ++-------------- handlers/Makefile | 4 ++++ handlers/archive_handler.c | 11 +---------- handlers/boot_handler.c | 15 +-------------- handlers/flash_hamming1_handler.c | 14 +------------- handlers/flash_handler.c | 15 +-------------- handlers/lua_scripthandler.c | 15 +-------------- handlers/raw_handler.c | 15 +-------------- handlers/remote_handler.c | 15 +-------------- handlers/shell_scripthandler.c | 15 +-------------- handlers/swuforward_handler.c | 14 +------------- handlers/ubivol_handler.c | 15 +-------------- include/bootloader.h | 15 +-------------- include/channel.h | 14 +------------- include/channel_curl.h | 14 +------------- include/channel_op_res.h | 14 +------------- include/cpiohdr.h | 14 +------------- include/download_interface.h | 16 ++-------------- include/flash.h | 15 +-------------- include/globals.h | 14 +------------- include/handler.h | 15 +-------------- include/installer.h | 14 +------------- include/lua_util.h | 16 +--------------- include/mongoose_interface.h | 15 +-------------- include/network_interface.h | 15 +-------------- include/network_ipc.h | 8 +------- include/parselib.h | 14 +------------- include/parsers.h | 15 +-------------- include/pctl.h | 15 +-------------- include/progress.h | 16 +--------------- include/progress_ipc.h | 14 +------------- include/sslapi.h | 14 +------------- include/suricatta/server.h | 14 +------------- include/suricatta/state.h | 14 +------------- include/suricatta/suricatta.h | 14 +------------- include/swupdate.h | 14 +------------- include/swupdate_dict.h | 15 +-------------- include/swupdate_settings.h | 16 +--------------- include/swupdate_status.h | 8 +------- include/util.h | 15 +-------------- ipc/Makefile | 3 +++ ipc/network_ipc.c | 9 +-------- ipc/progress_ipc.c | 14 +------------- parser/Makefile | 3 +++ parser/parse_external.c | 15 +-------------- parser/parser.c | 14 +------------- suricatta/Makefile | 3 +++ suricatta/server_hawkbit.c | 14 +------------- suricatta/server_hawkbit.h | 14 +------------- suricatta/state.c | 14 +------------- suricatta/suricatta.c | 14 +------------- tools/Makefile | 2 +- tools/client.c | 15 +-------------- tools/hawkbitcfg.c | 15 +-------------- tools/progress.c | 15 +-------------- tools/sendtohawkbit.c | 15 +-------------- 89 files changed, 107 insertions(+), 1078 deletions(-) diff --git a/bootloader/Makefile b/bootloader/Makefile index 1b09048d8..de3a8cb7c 100644 --- a/bootloader/Makefile +++ b/bootloader/Makefile @@ -1,3 +1,7 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later +# lib-$(CONFIG_UBOOT) += uboot.o lib-$(CONFIG_BOOTLOADER_NONE) += none.o lib-$(CONFIG_BOOTLOADER_GRUB) += grub.o diff --git a/bootloader/ebg.c b/bootloader/ebg.c index 8f4097025..ab1c8715b 100644 --- a/bootloader/ebg.c +++ b/bootloader/ebg.c @@ -3,19 +3,7 @@ * Author: Andreas Reichel * Copyright (C) 2018, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/bootloader/grub.c b/bootloader/grub.c index 70bfef2b6..7a59e4a1d 100644 --- a/bootloader/grub.c +++ b/bootloader/grub.c @@ -2,19 +2,7 @@ * Author: Maciej Pijanowski maciej.pijanowski@3mdeb.com * Copyright (C) 2017, 3mdeb * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "bootloader.h" diff --git a/bootloader/grub.h b/bootloader/grub.h index d7b2195c7..70de232c6 100644 --- a/bootloader/grub.h +++ b/bootloader/grub.h @@ -2,19 +2,7 @@ * Author: Maciej Pijanowski, maciej.pijanowski@3mdeb.com * Copyright (C) 2017, 3mdeb * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _GRUBENV_H diff --git a/bootloader/none.c b/bootloader/none.c index b33e73b64..a061ca061 100644 --- a/bootloader/none.c +++ b/bootloader/none.c @@ -2,20 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/bootloader/uboot.c b/bootloader/uboot.c index 3697fe68f..803c571f9 100644 --- a/bootloader/uboot.c +++ b/bootloader/uboot.c @@ -2,20 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/bootloader/uboot.h b/bootloader/uboot.h index a79445316..40596785f 100644 --- a/bootloader/uboot.h +++ b/bootloader/uboot.h @@ -2,20 +2,7 @@ * (C) Copyright 2002-2008 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/Makefile b/core/Makefile index 659f55b03..1fe0d4c36 100644 --- a/core/Makefile +++ b/core/Makefile @@ -6,7 +6,7 @@ # # Copyright (C) 1999-2005 by Erik Andersen # -# Licensed under GPLv2, see file LICENSE in this source tree. +# SPDX-License-Identifier: GPL-2.0-or-later obj-y += swupdate.o \ cpio_utils.o \ diff --git a/core/cpio_utils.c b/core/cpio_utils.c index 0112f12d4..a5a7aa3a8 100644 --- a/core/cpio_utils.c +++ b/core/cpio_utils.c @@ -2,19 +2,7 @@ * (C) Copyright 2012 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/handler.c b/core/handler.c index 4793288d8..5716be99e 100644 --- a/core/handler.c +++ b/core/handler.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/notifier.c b/core/notifier.c index b231bd443..48f157554 100644 --- a/core/notifier.c +++ b/core/notifier.c @@ -2,20 +2,7 @@ * (C) Copyright 2013-2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/parser.c b/core/parser.c index cdfbea89f..09f38bf9d 100644 --- a/core/parser.c +++ b/core/parser.c @@ -2,20 +2,7 @@ * (C) Copyright 2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/pctl.c b/core/pctl.c index 6a2822ec4..e35741b08 100644 --- a/core/pctl.c +++ b/core/pctl.c @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/swupdate.c b/core/swupdate.c index 514dc7137..62b0e3550 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -2,19 +2,7 @@ * (C) Copyright 2012-2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/core/syslog.c b/core/syslog.c index 88b1218e6..f69c3374d 100644 --- a/core/syslog.c +++ b/core/syslog.c @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Denis Osterland, Diehl Connectivity Solutions GmbH, Denis.Osterland@diehl.com. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/core/util.c b/core/util.c index 1384a0fde..bdc47dc02 100644 --- a/core/util.c +++ b/core/util.c @@ -2,20 +2,7 @@ * (C) Copyright 2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/Makefile b/corelib/Makefile index 693ad47af..282bffd6b 100644 --- a/corelib/Makefile +++ b/corelib/Makefile @@ -1,3 +1,7 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later + lib-y += installer.o \ network_thread.o \ stream_interface.o \ diff --git a/corelib/artifacts_versions.c b/corelib/artifacts_versions.c index 40f7b969d..0d287a9cf 100644 --- a/corelib/artifacts_versions.c +++ b/corelib/artifacts_versions.c @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/channel_curl.c b/corelib/channel_curl.c index 264b38ec0..0dec55104 100644 --- a/corelib/channel_curl.c +++ b/corelib/channel_curl.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/downloader.c b/corelib/downloader.c index f000692fa..40a555317 100644 --- a/corelib/downloader.c +++ b/corelib/downloader.c @@ -2,19 +2,7 @@ * (C) Copyright 2015 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/installer.c b/corelib/installer.c index f0b772083..4f587943a 100644 --- a/corelib/installer.c +++ b/corelib/installer.c @@ -3,19 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/lua_compat.c b/corelib/lua_compat.c index 317f35381..e7f81f1f9 100644 --- a/corelib/lua_compat.c +++ b/corelib/lua_compat.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2017, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/lua_interface.c b/corelib/lua_interface.c index b1a3a92a0..b617f6193 100644 --- a/corelib/lua_interface.c +++ b/corelib/lua_interface.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/mtd-interface.c b/corelib/mtd-interface.c index 93c7215db..d5c4f3f61 100644 --- a/corelib/mtd-interface.c +++ b/corelib/mtd-interface.c @@ -2,20 +2,7 @@ * (C) Copyright 2014 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/network_thread.c b/corelib/network_thread.c index 8c2b3b640..e7d0fa2ff 100644 --- a/corelib/network_thread.c +++ b/corelib/network_thread.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/parsing_library.c b/corelib/parsing_library.c index 79f388655..5d30f2de1 100644 --- a/corelib/parsing_library.c +++ b/corelib/parsing_library.c @@ -1,19 +1,7 @@ /* (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/parsing_library_libconfig.c b/corelib/parsing_library_libconfig.c index f0cfb3857..066471252 100644 --- a/corelib/parsing_library_libconfig.c +++ b/corelib/parsing_library_libconfig.c @@ -1,19 +1,7 @@ /* (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/parsing_library_libjson.c b/corelib/parsing_library_libjson.c index 67cbc2c8e..844aca998 100644 --- a/corelib/parsing_library_libjson.c +++ b/corelib/parsing_library_libjson.c @@ -1,19 +1,7 @@ /* (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/progress_thread.c b/corelib/progress_thread.c index d215166e4..535ed4c96 100644 --- a/corelib/progress_thread.c +++ b/corelib/progress_thread.c @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/stream_interface.c b/corelib/stream_interface.c index 35baf94d7..98b8ca97a 100644 --- a/corelib/stream_interface.c +++ b/corelib/stream_interface.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/swupdate_decrypt.c b/corelib/swupdate_decrypt.c index 24a6c5c5e..3238cce01 100644 --- a/corelib/swupdate_decrypt.c +++ b/corelib/swupdate_decrypt.c @@ -2,21 +2,10 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * Code mostly taken from openssl examples - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * SPDX-License-Identifier: GPL-2.0-or-later * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Code mostly taken from openssl examples * - * 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. */ #include diff --git a/corelib/swupdate_dict.c b/corelib/swupdate_dict.c index 4c8fb442b..a6bb1a0cd 100644 --- a/corelib/swupdate_dict.c +++ b/corelib/swupdate_dict.c @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/corelib/swupdate_settings.c b/corelib/swupdate_settings.c index 537fee3b0..9a5043af2 100644 --- a/corelib/swupdate_settings.c +++ b/corelib/swupdate_settings.c @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/corelib/verify_signature.c b/corelib/verify_signature.c index 3ffa3289f..a3192f522 100644 --- a/corelib/verify_signature.c +++ b/corelib/verify_signature.c @@ -2,21 +2,9 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * Code mostly taken from openssl examples - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * SPDX-License-Identifier: GPL-2.0-or-later * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * Code mostly taken from openssl examples */ #include diff --git a/handlers/Makefile b/handlers/Makefile index f89bbadff..0b5aa266f 100644 --- a/handlers/Makefile +++ b/handlers/Makefile @@ -1,3 +1,7 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later +# # Note: the handlers are inserted automatically # via a GCC constructor. To work, the linker should # not drop the handler if it is not called. diff --git a/handlers/archive_handler.c b/handlers/archive_handler.c index 562687fbc..577394251 100644 --- a/handlers/archive_handler.c +++ b/handlers/archive_handler.c @@ -2,16 +2,7 @@ * (C) Copyright 2015 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/boot_handler.c b/handlers/boot_handler.c index 68c65b4ca..7182217ae 100644 --- a/handlers/boot_handler.c +++ b/handlers/boot_handler.c @@ -2,20 +2,7 @@ * (C) Copyright 2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/flash_hamming1_handler.c b/handlers/flash_hamming1_handler.c index 511155e57..302ed1f5f 100644 --- a/handlers/flash_hamming1_handler.c +++ b/handlers/flash_hamming1_handler.c @@ -13,19 +13,7 @@ * independently of the ECC technique implemented on the NAND driver. * This is a workaround required for TI ARM OMAP DM3730 ROM boot to load. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/handlers/flash_handler.c b/handlers/flash_handler.c index ee67a2548..020ca2a03 100644 --- a/handlers/flash_handler.c +++ b/handlers/flash_handler.c @@ -13,20 +13,7 @@ * independently of the ECC technique implemented on the NAND driver. * This is a workaround required for TI ARM OMAP DM3730 ROM boot to load. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/handlers/lua_scripthandler.c b/handlers/lua_scripthandler.c index f6117fc69..7ec841503 100644 --- a/handlers/lua_scripthandler.c +++ b/handlers/lua_scripthandler.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/raw_handler.c b/handlers/raw_handler.c index 0893eccf2..c2c96b48e 100644 --- a/handlers/raw_handler.c +++ b/handlers/raw_handler.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/remote_handler.c b/handlers/remote_handler.c index 47535dadb..674799648 100644 --- a/handlers/remote_handler.c +++ b/handlers/remote_handler.c @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/shell_scripthandler.c b/handlers/shell_scripthandler.c index 3be7769d3..23097a214 100644 --- a/handlers/shell_scripthandler.c +++ b/handlers/shell_scripthandler.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/handlers/swuforward_handler.c b/handlers/swuforward_handler.c index 61a334677..973bce36c 100644 --- a/handlers/swuforward_handler.c +++ b/handlers/swuforward_handler.c @@ -2,19 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/handlers/ubivol_handler.c b/handlers/ubivol_handler.c index 3018b5bc4..25ac83726 100644 --- a/handlers/ubivol_handler.c +++ b/handlers/ubivol_handler.c @@ -2,20 +2,7 @@ * (C) Copyright 2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/include/bootloader.h b/include/bootloader.h index 6bc4c41b1..3981bd1e0 100644 --- a/include/bootloader.h +++ b/include/bootloader.h @@ -2,20 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _BOOTLOADER_INTERFACE_H diff --git a/include/channel.h b/include/channel.h index 906624be2..f12edc2ce 100644 --- a/include/channel.h +++ b/include/channel.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/channel_curl.h b/include/channel_curl.h index 8015eb5cb..c145d7ad4 100644 --- a/include/channel_curl.h +++ b/include/channel_curl.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/channel_op_res.h b/include/channel_op_res.h index 2e40ef19e..6f5b7eb9d 100644 --- a/include/channel_op_res.h +++ b/include/channel_op_res.h @@ -5,19 +5,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/cpiohdr.h b/include/cpiohdr.h index 9d5854c5c..46f42501b 100644 --- a/include/cpiohdr.h +++ b/include/cpiohdr.h @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/include/download_interface.h b/include/download_interface.h index 59d544399..4bc8089a3 100644 --- a/include/download_interface.h +++ b/include/download_interface.h @@ -2,20 +2,8 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. - */ + * SPDX-License-Identifier: GPL-2.0-or-later + */ #ifndef _DWL_INTERFACE_H diff --git a/include/flash.h b/include/flash.h index 7f115686b..e180e7984 100644 --- a/include/flash.h +++ b/include/flash.h @@ -2,20 +2,7 @@ * (C) Copyright 2014 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/include/globals.h b/include/globals.h index 124bcfbd0..91f6c2924 100644 --- a/include/globals.h +++ b/include/globals.h @@ -2,19 +2,7 @@ * (C) Copyright 2014 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _GLOBALS_H diff --git a/include/handler.h b/include/handler.h index f2896ab32..73e855a08 100644 --- a/include/handler.h +++ b/include/handler.h @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/include/installer.h b/include/installer.h index c0fe5e5cb..fc31c5275 100644 --- a/include/installer.h +++ b/include/installer.h @@ -2,19 +2,7 @@ * (C) Copyright 2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/include/lua_util.h b/include/lua_util.h index ee43093a1..479d17594 100644 --- a/include/lua_util.h +++ b/include/lua_util.h @@ -3,23 +3,9 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ - #ifndef _LUA_UTIL_H #define _LUA_UTIL_H diff --git a/include/mongoose_interface.h b/include/mongoose_interface.h index ba5146d30..1596cfa07 100644 --- a/include/mongoose_interface.h +++ b/include/mongoose_interface.h @@ -2,22 +2,9 @@ * (C) Copyright 2012-2014 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ - #ifndef _MONGOOSE_INTERFACE_H #define _MONGOOSE_INTERFACE_H diff --git a/include/network_interface.h b/include/network_interface.h index d683903e2..e67a8b2ca 100644 --- a/include/network_interface.h +++ b/include/network_interface.h @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _NETWORK_INTERFACE_H diff --git a/include/network_ipc.h b/include/network_ipc.h index 3814b66e9..1c7e94702 100644 --- a/include/network_ipc.h +++ b/include/network_ipc.h @@ -3,13 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * You should have received a copy of the Less General Public License - * along with this program; If not, see . + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef _IPC_H diff --git a/include/parselib.h b/include/parselib.h index 7c44a5e80..e18975186 100644 --- a/include/parselib.h +++ b/include/parselib.h @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PARSE_LIBRARY_H diff --git a/include/parsers.h b/include/parsers.h index 3ebcf8dff..598ad920b 100644 --- a/include/parsers.h +++ b/include/parsers.h @@ -2,20 +2,7 @@ * (C) Copyright 2008-2013 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _RECOVERY_PARSERS_H diff --git a/include/pctl.h b/include/pctl.h index 5799b0657..0518531f6 100644 --- a/include/pctl.h +++ b/include/pctl.h @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SWUPDATE_PCTL_H diff --git a/include/progress.h b/include/progress.h index 05e9ecdda..982bdd048 100644 --- a/include/progress.h +++ b/include/progress.h @@ -2,23 +2,9 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ - #ifndef _INSTALL_PROGRESS_H #define _INSTALL_PROGRESS_H diff --git a/include/progress_ipc.h b/include/progress_ipc.h index aa7641903..a6bf0f13c 100644 --- a/include/progress_ipc.h +++ b/include/progress_ipc.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2017, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PROGRESS_IPC_H diff --git a/include/sslapi.h b/include/sslapi.h index 9d0250290..ca27f4261 100644 --- a/include/sslapi.h +++ b/include/sslapi.h @@ -2,19 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SWUPDATE_SSL_H diff --git a/include/suricatta/server.h b/include/suricatta/server.h index 73bd19ea6..75b93f6f2 100644 --- a/include/suricatta/server.h +++ b/include/suricatta/server.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/suricatta/state.h b/include/suricatta/state.h index 3e388b05f..47d4471db 100644 --- a/include/suricatta/state.h +++ b/include/suricatta/state.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/suricatta/suricatta.h b/include/suricatta/suricatta.h index e38af4d95..57bf46b50 100644 --- a/include/suricatta/suricatta.h +++ b/include/suricatta/suricatta.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/include/swupdate.h b/include/swupdate.h index 2cc824d62..74e763737 100644 --- a/include/swupdate.h +++ b/include/swupdate.h @@ -2,19 +2,7 @@ * (C) Copyright 2012-2014 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SWUPDATE_H diff --git a/include/swupdate_dict.h b/include/swupdate_dict.h index d8edb636b..0f74c98e4 100644 --- a/include/swupdate_dict.h +++ b/include/swupdate_dict.h @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SWDICT_H diff --git a/include/swupdate_settings.h b/include/swupdate_settings.h index eda3c5dff..1c0609563 100644 --- a/include/swupdate_settings.h +++ b/include/swupdate_settings.h @@ -2,23 +2,9 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ - #ifndef _SWUPDATE_SETTINGS_H #define _SWUPDATE_SETTINGS_H diff --git a/include/swupdate_status.h b/include/swupdate_status.h index 7f16f08fa..a63595b4a 100644 --- a/include/swupdate_status.h +++ b/include/swupdate_status.h @@ -2,13 +2,7 @@ * (C) Copyright 2015-2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * You should have received a copy of the Less General Public License - * along with this program; If not, see . + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef _SWUPDATE_STATUS_H diff --git a/include/util.h b/include/util.h index 920701fb0..bec29751b 100644 --- a/include/util.h +++ b/include/util.h @@ -2,20 +2,7 @@ * (C) Copyright 2012-2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _UTIL_H diff --git a/ipc/Makefile b/ipc/Makefile index 2141d190f..707a67c20 100644 --- a/ipc/Makefile +++ b/ipc/Makefile @@ -1 +1,4 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later lib-y += network_ipc.o progress_ipc.o diff --git a/ipc/network_ipc.c b/ipc/network_ipc.c index 3d4c730c8..3f197c7ed 100644 --- a/ipc/network_ipc.c +++ b/ipc/network_ipc.c @@ -3,14 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * on behalf of ifm electronic GmbH * - * This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * You should have received a copy of the Less General Public License - * along with this program; If not, see . - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include diff --git a/ipc/progress_ipc.c b/ipc/progress_ipc.c index 881d2c7a2..5e760e7e6 100644 --- a/ipc/progress_ipc.c +++ b/ipc/progress_ipc.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2017, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/parser/Makefile b/parser/Makefile index 15b5e9562..5150c3cb1 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -1 +1,4 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later lib-y += parser.o parse_external.o diff --git a/parser/parse_external.c b/parser/parse_external.c index 60c296134..66ba3d555 100644 --- a/parser/parse_external.c +++ b/parser/parse_external.c @@ -3,20 +3,7 @@ * Stefano Babic, DENX Software Engineering, sbabic@denx.de * on behalf of ifm electronic GmbH * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ diff --git a/parser/parser.c b/parser/parser.c index f0b3cb411..04cd549ac 100644 --- a/parser/parser.c +++ b/parser/parser.c @@ -2,19 +2,7 @@ * (C) Copyright 2015-2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/suricatta/Makefile b/suricatta/Makefile index fabe9263a..8bb15ad5e 100644 --- a/suricatta/Makefile +++ b/suricatta/Makefile @@ -1,3 +1,6 @@ +# Copyright (C) 2014-2018 Stefano Babic +# +# SPDX-License-Identifier: GPL-2.0-or-later lib-$(CONFIG_SURICATTA) += state.o suricatta.o ifneq ($(CONFIG_SURICATTA_HAWKBIT),) lib-$(CONFIG_SURICATTA) += server_hawkbit.o diff --git a/suricatta/server_hawkbit.c b/suricatta/server_hawkbit.c index 670c7ae2c..a4098718c 100644 --- a/suricatta/server_hawkbit.c +++ b/suricatta/server_hawkbit.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/suricatta/server_hawkbit.h b/suricatta/server_hawkbit.h index 0655980fe..50ab1e300 100644 --- a/suricatta/server_hawkbit.h +++ b/suricatta/server_hawkbit.h @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/suricatta/state.c b/suricatta/state.c index f7f7ae780..935475bf6 100644 --- a/suricatta/state.c +++ b/suricatta/state.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/suricatta/suricatta.c b/suricatta/suricatta.c index b52097870..0ca5142af 100644 --- a/suricatta/suricatta.c +++ b/suricatta/suricatta.c @@ -2,19 +2,7 @@ * Author: Christian Storm * Copyright (C) 2016, Siemens AG * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/tools/Makefile b/tools/Makefile index 43a3096f2..a4c4c2932 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -6,7 +6,7 @@ # # Copyright (C) 1999-2005 by Erik Andersen # -# Licensed under GPLv2, see file LICENSE in this source tree. +# SPDX-License-Identifier: GPL-2.0-or-later lib-y += \ client.o \ diff --git a/tools/client.c b/tools/client.c index bc3d6d83f..d172b7c53 100644 --- a/tools/client.c +++ b/tools/client.c @@ -2,20 +2,7 @@ * (C) Copyright 2015 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/tools/hawkbitcfg.c b/tools/hawkbitcfg.c index b6c212254..6f44a5385 100644 --- a/tools/hawkbitcfg.c +++ b/tools/hawkbitcfg.c @@ -2,20 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/tools/progress.c b/tools/progress.c index 5b732f81a..d98aa0512 100644 --- a/tools/progress.c +++ b/tools/progress.c @@ -2,20 +2,7 @@ * (C) Copyright 2016 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/tools/sendtohawkbit.c b/tools/sendtohawkbit.c index c866507b4..0a2354a29 100644 --- a/tools/sendtohawkbit.c +++ b/tools/sendtohawkbit.c @@ -2,20 +2,7 @@ * (C) Copyright 2017 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0-or-later */ /*