From e08da9757099af3d275c122c9379d46a037eb309 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 13 Nov 2017 01:00:26 +0900 Subject: Fix/Update copyright notices; Add SPDX annotation Let's fix some erroneous/accidential references to wrong license, update copyright information where applicable and introduce a SPDX-License-Identifier to all files. Change-Id: I39af26c6aaaf5c926966391f6565fc5936be21af --- tests/abis/abis_test.c | 2 +- tests/codec/codec_test.c | 10 ++++++---- tests/gb/gprs_bssgp_test.c | 4 +++- tests/gb/gprs_ns_test.c | 4 +++- tests/gsm23003/gsm23003_test.c | 3 ++- tests/lapd/lapd_test.c | 4 +++- tests/oap/oap_test.c | 4 ++-- tests/stats/stats_test.c | 4 +++- tests/strrb/strrb_test.c | 2 ++ tests/vty/vty_test.c | 8 +++++--- 10 files changed, 30 insertions(+), 15 deletions(-) (limited to 'tests') diff --git a/tests/abis/abis_test.c b/tests/abis/abis_test.c index cb88b012..a631712b 100644 --- a/tests/abis/abis_test.c +++ b/tests/abis/abis_test.c @@ -1,6 +1,6 @@ /* * (C) 2012 by Holger Hans Peter Freyther - * (C) 2017 by sysmocom s.m.f.c. GmbH + * (C) 2017 by sysmocom - s.m.f.c. GmbH * All Rights Reserved * * This program is free software; you can redistribute it and/or modify diff --git a/tests/codec/codec_test.c b/tests/codec/codec_test.c index b204d771..7a10fc57 100644 --- a/tests/codec/codec_test.c +++ b/tests/codec/codec_test.c @@ -1,10 +1,12 @@ /* - * (C) 2016 by Sysmocom s.f.m.c. GmbH + * (C) 2016 by sysmocom - s.f.m.c. GmbH * All Rights Reserved * + * SPDX-License-Identifier: GPL-2.0+ + * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation; either version 3 of the License, or + * 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, @@ -12,7 +14,7 @@ * 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 Affero General Public License + * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ diff --git a/tests/gb/gprs_bssgp_test.c b/tests/gb/gprs_bssgp_test.c index 3de05ddb..1624a31e 100644 --- a/tests/gb/gprs_bssgp_test.c +++ b/tests/gb/gprs_bssgp_test.c @@ -1,10 +1,12 @@ /* Test routines for the BSSGP implementation in libosmogb * - * (C) 2014 by sysmocom s.f.m.c. GmbH + * (C) 2014 by sysmocom - s.f.m.c. GmbH * Author: Jacob Erlbeck * * Skeleton based on bssgp_fc_test.c * (C) 2012 by Harald Welte + * + * SPDX-License-Identifier: GPL-2.0+ */ #undef _GNU_SOURCE diff --git a/tests/gb/gprs_ns_test.c b/tests/gb/gprs_ns_test.c index fac3c36f..7e6b85cc 100644 --- a/tests/gb/gprs_ns_test.c +++ b/tests/gb/gprs_ns_test.c @@ -1,6 +1,8 @@ /* test routines for NS connection handling - * (C) 2013 by sysmocom s.f.m.c. GmbH + * (C) 2013 by sysmocom - s.f.m.c. GmbH * Author: Jacob Erlbeck + * + * SPDX-License-Identifier: GPL-2.0+ */ #undef _GNU_SOURCE diff --git a/tests/gsm23003/gsm23003_test.c b/tests/gsm23003/gsm23003_test.c index a408b73d..64d756dd 100644 --- a/tests/gsm23003/gsm23003_test.c +++ b/tests/gsm23003/gsm23003_test.c @@ -1,8 +1,9 @@ /* * (C) 2017 by sysmocom s.f.m.c. GmbH + * Author: Neels Hofmeyr * All Rights Reserved * - * Author: Neels Hofmeyr + * SPDX-License-Identifier: GPL-2.0+ * * 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 diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c index 0dccaa41..d6c04953 100644 --- a/tests/lapd/lapd_test.c +++ b/tests/lapd/lapd_test.c @@ -1,9 +1,11 @@ /* * (C) 2011 by Holger Hans Peter Freyther * (C) 2011 by On-Waves - * (C) 2014 by Daniel Willmann + * (C) 2014 by sysmocom - s.f.m.c. GmbH, Author: Daniel Willmann * All Rights Reserved * + * SPDX-License-Identifier: GPL-2.0+ + * * 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 diff --git a/tests/oap/oap_test.c b/tests/oap/oap_test.c index 0c4c16ea..dea5c11d 100644 --- a/tests/oap/oap_test.c +++ b/tests/oap/oap_test.c @@ -1,9 +1,9 @@ /* Test Osmocom Authentication Protocol */ /* - * (C) 2016 by sysmocom s.f.m.c. GmbH + * (C) 2016 by sysmocom - s.f.m.c. GmbH + * Author: Neels Hofmeyr * All Rights Reserved * - * Author: Neels Hofmeyr * * 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 diff --git a/tests/stats/stats_test.c b/tests/stats/stats_test.c index 59fc449c..b302b374 100644 --- a/tests/stats/stats_test.c +++ b/tests/stats/stats_test.c @@ -1,9 +1,11 @@ /* tests for statistics */ /* - * (C) 2015 Sysmocom s.m.f.c. GmbH + * (C) 2015 sysmocom - s.m.f.c. GmbH * * All Rights Reserved * + * SPDX-License-Identifier: GPL-2.0+ + * * 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 diff --git a/tests/strrb/strrb_test.c b/tests/strrb/strrb_test.c index 6140ac9b..4282d1aa 100644 --- a/tests/strrb/strrb_test.c +++ b/tests/strrb/strrb_test.c @@ -1,6 +1,8 @@ /* (C) 2012-2013 by Katerina Barone-Adesi * All Rights Reserved * + * SPDX-License-Identifier: GPL-3.0+ + * * This program is iree 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 3 of the License, or diff --git a/tests/vty/vty_test.c b/tests/vty/vty_test.c index 2542baf3..42646eb4 100644 --- a/tests/vty/vty_test.c +++ b/tests/vty/vty_test.c @@ -1,9 +1,11 @@ -/* (C) 2013 by Jacob Erlbeck +/* (C) 2013 by sysmocom - s.f.m.c. GmbH, Author: Jacob Erlbeck * All Rights Reserved * - * This program is iree software; you can redistribute it and/or modify + * SPDX-License-Identifier: GPL-2.0+ + * + * 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 3 of the License, or + * 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, -- cgit v1.2.3