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 --- debian/copyright | 29 +++-------------------------- include/osmocom/core/bitcomp.h | 6 ++++-- include/osmocom/core/bitvec.h | 2 +- include/osmocom/core/stats.h | 2 +- include/osmocom/gsm/gsm0808_utils.h | 12 ++++++------ include/osmocom/gsm/gsup.h | 4 +++- include/osmocom/gsm/oap.h | 5 +++-- src/application.c | 2 ++ src/backtrace.c | 2 ++ src/bitcomp.c | 5 ++++- src/bits.c | 2 ++ src/bitvec.c | 4 +++- src/codec/gsm610.c | 2 ++ src/codec/gsm620.c | 2 ++ src/codec/gsm660.c | 2 ++ src/codec/gsm690.c | 2 ++ src/coding/gsm0503_coding.c | 2 ++ src/coding/gsm0503_interleaving.c | 2 ++ src/coding/gsm0503_mapping.c | 2 ++ src/coding/gsm0503_parity.c | 2 ++ src/coding/gsm0503_tables.c | 2 ++ src/conv.c | 2 ++ src/conv_acc.c | 2 ++ src/conv_acc_generic.c | 2 ++ src/conv_acc_sse.c | 2 ++ src/conv_acc_sse_avx.c | 2 ++ src/conv_acc_sse_impl.h | 2 ++ src/counter.c | 2 ++ src/crc16.c | 2 ++ src/crcXXgen.c.tpl | 2 ++ src/ctrl/control_cmd.c | 4 ++++ src/ctrl/control_if.c | 4 ++++ src/ctrl/control_vty.c | 4 +++- src/ctrl/fsm_ctrl_commands.c | 6 ++++++ src/fsm.c | 2 ++ src/gb/common_vty.c | 2 ++ src/gb/gprs_bssgp.c | 2 ++ src/gb/gprs_bssgp_bss.c | 2 ++ src/gb/gprs_bssgp_util.c | 2 ++ src/gb/gprs_bssgp_vty.c | 2 ++ src/gb/gprs_ns.c | 5 ++++- src/gb/gprs_ns_frgre.c | 4 +++- src/gb/gprs_ns_vty.c | 5 ++++- src/gsm/a5.c | 2 ++ src/gsm/abis_nm.c | 4 +++- src/gsm/apn.c | 22 +++++++++++++++++++++- src/gsm/auth_comp128v1.c | 2 ++ src/gsm/auth_comp128v23.c | 2 ++ src/gsm/auth_core.c | 2 ++ src/gsm/auth_milenage.c | 2 ++ src/gsm/comp128.c | 2 ++ src/gsm/comp128v23.c | 2 ++ src/gsm/gan.c | 2 ++ src/gsm/gea.c | 4 ++-- src/gsm/gprs_cipher_core.c | 2 ++ src/gsm/gprs_gea.c | 6 ++++-- src/gsm/gprs_rlc.c | 7 +++++++ src/gsm/gsm0341.c | 2 ++ src/gsm/gsm0411_smc.c | 2 ++ src/gsm/gsm0411_smr.c | 2 ++ src/gsm/gsm0411_utils.c | 2 ++ src/gsm/gsm0480.c | 2 ++ src/gsm/gsm0502.c | 2 ++ src/gsm/gsm0808.c | 2 ++ src/gsm/gsm0808_utils.c | 12 ++++++------ src/gsm/gsm23003.c | 5 +++-- src/gsm/gsm48.c | 2 ++ src/gsm/gsm48_ie.c | 2 ++ src/gsm/gsm_04_08_gprs.c | 4 +++- src/gsm/gsm_utils.c | 2 ++ src/gsm/gsup.c | 5 +++-- src/gsm/ipa.c | 2 ++ src/gsm/kasumi.c | 3 ++- src/gsm/lapd_core.c | 2 ++ src/gsm/lapdm.c | 5 ++++- src/gsm/milenage/aes-encblock.c | 2 ++ src/gsm/milenage/aes-internal-enc.c | 2 ++ src/gsm/milenage/aes-internal.c | 2 ++ src/gsm/milenage/aes.h | 2 ++ src/gsm/milenage/aes_i.h | 2 ++ src/gsm/milenage/aes_wrap.h | 2 ++ src/gsm/milenage/milenage.c | 2 ++ src/gsm/milenage/milenage.h | 2 ++ src/gsm/oap.c | 5 +++-- src/gsm/rsl.c | 6 +++++- src/gsm/rxlev_stat.c | 2 ++ src/gsm/sysinfo.c | 2 ++ src/gsm/tlv_parser.c | 5 ++++- src/gsmtap_util.c | 2 ++ src/logging.c | 2 ++ src/logging_gsmtap.c | 2 ++ src/logging_syslog.c | 2 ++ src/loggingrb.c | 2 ++ src/macaddr.c | 2 ++ src/msgb.c | 2 ++ src/msgfile.c | 2 ++ src/panic.c | 2 ++ src/plugin.c | 2 ++ src/prbs.c | 6 +++++- src/prim.c | 8 +++++++- src/pseudotalloc/pseudotalloc.c | 21 ++++++++++++++++++++- src/pseudotalloc/talloc.h | 20 +++++++++++++++++++- src/rate_ctr.c | 2 ++ src/rbtree.c | 4 +++- src/select.c | 3 +++ src/sercomm.c | 2 ++ src/serial.c | 2 ++ src/signal.c | 2 ++ src/sim/card_fs_isim.c | 2 ++ src/sim/card_fs_sim.c | 2 ++ src/sim/card_fs_tetra.c | 2 ++ src/sim/card_fs_uicc.c | 2 ++ src/sim/class_tables.c | 2 ++ src/sim/core.c | 2 ++ src/sim/reader.c | 2 ++ src/sim/reader_pcsc.c | 2 ++ src/socket.c | 2 ++ src/stat_item.c | 4 +++- src/stats.c | 6 +++--- src/stats_statsd.c | 6 +++--- src/strrb.c | 2 ++ src/timer.c | 2 ++ src/timer_gettimeofday.c | 5 +++-- src/utils.c | 2 ++ src/vty/buffer.c | 2 ++ src/vty/command.c | 6 ++++++ src/vty/fsm_vty.c | 2 ++ src/vty/logging_vty.c | 2 ++ src/vty/stats_vty.c | 4 +++- src/vty/talloc_ctx_vty.c | 2 ++ src/vty/telnet_interface.c | 5 ++++- src/vty/utils.c | 3 +++ src/vty/vector.c | 2 ++ src/vty/vty.c | 3 ++- src/write_queue.c | 2 ++ 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 +++++--- 145 files changed, 423 insertions(+), 100 deletions(-) diff --git a/debian/copyright b/debian/copyright index 2991c854..e763039d 100644 --- a/debian/copyright +++ b/debian/copyright @@ -11,11 +11,6 @@ Copyright: 2008 Daniel Willmann 2010 Nico Golde License: GPL-2+ -Files: src/talloc.c include/osmocom/core/talloc.h -Copyright: 2004 Andrew Tridgell - 2006 Stefan Metzmacher -License: LGPL-3+ - Files: include/osmocom/core/loggingrb.h include/osmocom/core/strrb.h src/strrb.c @@ -30,8 +25,9 @@ Copyright: 1999 Andrea Arcangeli License: GPL-2+ Files: include/osmocom/core/crc16.h + src/crc16.c Copyright: 2005 Ben Gardner -License: GPL-2+ +License: GPL-2 Files: src/utils.c Copyright: 2011 Harald Welte @@ -110,7 +106,7 @@ Files: include/osmocom/core/stats.h tests/stats/stats_test.c Copyright: 2009-2010 by Harald Welte 2009-2014 by Holger Hans Peter Freyther - 2015 Sysmocom s.f.m.c. GmbH + 2015 sysmocom - s.f.m.c. GmbH License: GPL-2+ Files: tests/gb/gprs_ns_test.c @@ -177,25 +173,6 @@ License: GPL-3+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - -License: LGPL-3+ - This library 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 3 of the License, or (at your option) any later version. - . - This library 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 - Lesser General Public License for more details. - . - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, see . - . - On Debian systems, the complete text of the GNU Lesser General - Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". - - License: AGPL-3+ 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 diff --git a/include/osmocom/core/bitcomp.h b/include/osmocom/core/bitcomp.h index dc356bd8..5faa5ea4 100644 --- a/include/osmocom/core/bitcomp.h +++ b/include/osmocom/core/bitcomp.h @@ -1,10 +1,12 @@ /*! \file bitcomp.h * Osmocom bit compression routines. */ /* - * (C) 2016 sysmocom s.f.m.c. GmbH by Max Suraev - * + * (C) 2016 by sysmocom - s.f.m.c. GmbH + * Author: Max Suraev * 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/include/osmocom/core/bitvec.h b/include/osmocom/core/bitvec.h index 19466abb..c9bab398 100644 --- a/include/osmocom/core/bitvec.h +++ b/include/osmocom/core/bitvec.h @@ -1,6 +1,6 @@ /* (C) 2009 by Harald Welte * (C) 2012 Ivan Klyuchnikov - * (C) 2015 Sysmocom s.f.m.c. GmbH + * (C) 2015 sysmocom - s.f.m.c. GmbH * * All Rights Reserved * diff --git a/include/osmocom/core/stats.h b/include/osmocom/core/stats.h index f50796c4..e4d46baf 100644 --- a/include/osmocom/core/stats.h +++ b/include/osmocom/core/stats.h @@ -1,5 +1,5 @@ /* - * (C) 2015 by Sysmocom s.f.m.c. GmbH + * (C) 2015 by sysmocom - s.f.m.c. GmbH * * All Rights Reserved * diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h index db156668..7432164d 100644 --- a/include/osmocom/gsm/gsm0808_utils.h +++ b/include/osmocom/gsm/gsm0808_utils.h @@ -2,22 +2,22 @@ * @{ * \file gsm0808_utils.h */ /* - * (C) 2016 by Sysmocom s.f.m.c. GmbH + * (C) 2016 by sysmocom - s.f.m.c. GmbH, Author: Philipp Maier * All Rights Reserved * - * Author: Philipp Maier + * 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, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. + * 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/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h index 8daf4602..5cfe1ec1 100644 --- a/include/osmocom/gsm/gsup.h +++ b/include/osmocom/gsm/gsup.h @@ -16,10 +16,12 @@ * \file gsup.h * Osmocom Generic Subscriber Update Protocol message encoder/decoder. */ /* - * (C) 2014 by sysmocom s.f.m.c. GmbH, Author: Jacob Erlbeck + * (C) 2014 by sysmocom - s.f.m.c. GmbH, Author: Jacob Erlbeck * (C) 2016 by Harald Welte * 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/include/osmocom/gsm/oap.h b/include/osmocom/gsm/oap.h index ce1e1513..f33cb50a 100644 --- a/include/osmocom/gsm/oap.h +++ b/include/osmocom/gsm/oap.h @@ -8,10 +8,11 @@ * * \file oap.h */ /* - * (C) 2015-2016 by sysmocom s.f.m.c. GmbH + * (C) 2015-2016 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/src/application.c b/src/application.c index 538ac45d..2d237e2c 100644 --- a/src/application.c +++ b/src/application.c @@ -6,6 +6,8 @@ * * 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/src/backtrace.c b/src/backtrace.c index 5ce74825..a18bde02 100644 --- a/src/backtrace.c +++ b/src/backtrace.c @@ -6,6 +6,8 @@ * * 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/src/bitcomp.c b/src/bitcomp.c index 94f60eb3..d5a93109 100644 --- a/src/bitcomp.c +++ b/src/bitcomp.c @@ -1,10 +1,13 @@ /*! \file bitcomp.c * Osmocom bit compression routines */ /* - * (C) 2016 sysmocom s.f.m.c. GmbH by Max Suraev + * (C) 2016 by sysmocom - s.f.m.c. GmbH + * Author: Max Suraev * * 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/src/bits.c b/src/bits.c index fa917b07..8837c1fb 100644 --- a/src/bits.c +++ b/src/bits.c @@ -4,6 +4,8 @@ * * 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/src/bitvec.c b/src/bitvec.c index e86315cb..884eb025 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -1,9 +1,11 @@ /* (C) 2009 by Harald Welte * (C) 2012 Ivan Klyuchnikov - * (C) 2015 by Sysmocom s.f.m.c. GmbH + * (C) 2015 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/codec/gsm610.c b/src/codec/gsm610.c index d5a21108..a05eabab 100644 --- a/src/codec/gsm610.c +++ b/src/codec/gsm610.c @@ -5,6 +5,8 @@ * * 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/src/codec/gsm620.c b/src/codec/gsm620.c index b1a0b319..282781fd 100644 --- a/src/codec/gsm620.c +++ b/src/codec/gsm620.c @@ -5,6 +5,8 @@ * * 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/src/codec/gsm660.c b/src/codec/gsm660.c index 2f5c6a25..4f7bb099 100644 --- a/src/codec/gsm660.c +++ b/src/codec/gsm660.c @@ -5,6 +5,8 @@ * * 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/src/codec/gsm690.c b/src/codec/gsm690.c index 1ee74d0b..19557164 100644 --- a/src/codec/gsm690.c +++ b/src/codec/gsm690.c @@ -5,6 +5,8 @@ * * 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/src/coding/gsm0503_coding.c b/src/coding/gsm0503_coding.c index 639d2df4..cacc6121 100644 --- a/src/coding/gsm0503_coding.c +++ b/src/coding/gsm0503_coding.c @@ -6,6 +6,8 @@ * * 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/src/coding/gsm0503_interleaving.c b/src/coding/gsm0503_interleaving.c index b42f242d..d5008d07 100644 --- a/src/coding/gsm0503_interleaving.c +++ b/src/coding/gsm0503_interleaving.c @@ -5,6 +5,8 @@ * * 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/src/coding/gsm0503_mapping.c b/src/coding/gsm0503_mapping.c index d414769f..1e37fce0 100644 --- a/src/coding/gsm0503_mapping.c +++ b/src/coding/gsm0503_mapping.c @@ -4,6 +4,8 @@ * * 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/src/coding/gsm0503_parity.c b/src/coding/gsm0503_parity.c index b57caa30..874114ff 100644 --- a/src/coding/gsm0503_parity.c +++ b/src/coding/gsm0503_parity.c @@ -4,6 +4,8 @@ * * 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/src/coding/gsm0503_tables.c b/src/coding/gsm0503_tables.c index dda8cad1..5fe634bf 100644 --- a/src/coding/gsm0503_tables.c +++ b/src/coding/gsm0503_tables.c @@ -4,6 +4,8 @@ * * 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/src/conv.c b/src/conv.c index 420acca5..a2c13def 100644 --- a/src/conv.c +++ b/src/conv.c @@ -5,6 +5,8 @@ * * 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/src/conv_acc.c b/src/conv_acc.c index 048bbb1c..33fe2649 100644 --- a/src/conv_acc.c +++ b/src/conv_acc.c @@ -5,6 +5,8 @@ * * 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/src/conv_acc_generic.c b/src/conv_acc_generic.c index 228f3e28..28876738 100644 --- a/src/conv_acc_generic.c +++ b/src/conv_acc_generic.c @@ -6,6 +6,8 @@ * * 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/src/conv_acc_sse.c b/src/conv_acc_sse.c index e9bbde1c..a9679ef0 100644 --- a/src/conv_acc_sse.c +++ b/src/conv_acc_sse.c @@ -6,6 +6,8 @@ * * 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/src/conv_acc_sse_avx.c b/src/conv_acc_sse_avx.c index c399719b..5b6e7040 100644 --- a/src/conv_acc_sse_avx.c +++ b/src/conv_acc_sse_avx.c @@ -6,6 +6,8 @@ * * 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/src/conv_acc_sse_impl.h b/src/conv_acc_sse_impl.h index 560af628..9ebbfe9c 100644 --- a/src/conv_acc_sse_impl.h +++ b/src/conv_acc_sse_impl.h @@ -7,6 +7,8 @@ * * 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/src/counter.c b/src/counter.c index 29637779..0fa84c8f 100644 --- a/src/counter.c +++ b/src/counter.c @@ -5,6 +5,8 @@ * * 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/src/crc16.c b/src/crc16.c index c03c0081..29dace2e 100644 --- a/src/crc16.c +++ b/src/crc16.c @@ -8,6 +8,8 @@ * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. + * + * SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/src/crcXXgen.c.tpl b/src/crcXXgen.c.tpl index befba4d0..74e6d521 100644 --- a/src/crcXXgen.c.tpl +++ b/src/crcXXgen.c.tpl @@ -5,6 +5,8 @@ * * 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/src/ctrl/control_cmd.c b/src/ctrl/control_cmd.c index 24b388b3..f6164795 100644 --- a/src/ctrl/control_cmd.c +++ b/src/ctrl/control_cmd.c @@ -3,9 +3,13 @@ /* * (C) 2010-2011 by Daniel Willmann * (C) 2010-2011 by On-Waves + * (C) 2014 by Harald Welte + * (C) 2017 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 9b8a194a..07b17c90 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -3,9 +3,13 @@ /* * (C) 2010-2011 by Daniel Willmann * (C) 2010-2011 by On-Waves + * (C) 2014 by Harald Welte + * (C) 2016-2017 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/ctrl/control_vty.c b/src/ctrl/control_vty.c index a968bc01..ef988892 100644 --- a/src/ctrl/control_vty.c +++ b/src/ctrl/control_vty.c @@ -1,10 +1,12 @@ /*! \file control_vty.c * VTY configuration for Control interface. */ /* - * (C) 2016 by sysmocom s.m.f.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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/ctrl/fsm_ctrl_commands.c b/src/ctrl/fsm_ctrl_commands.c index 38fbd1e1..3c7e1bd0 100644 --- a/src/ctrl/fsm_ctrl_commands.c +++ b/src/ctrl/fsm_ctrl_commands.c @@ -1,5 +1,11 @@ /*! \file fsm_ctrl_commands.c */ +/* (C) 2017 by Harald Welte + * All Rights Reserved + * + * SPDX-License-Identifier: GPL-2.0+ + */ + #include #include diff --git a/src/fsm.c b/src/fsm.c index 3f8de9cd..827e8b37 100644 --- a/src/fsm.c +++ b/src/fsm.c @@ -3,6 +3,8 @@ /* * (C) 2016 by Harald Welte * + * 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/src/gb/common_vty.c b/src/gb/common_vty.c index 16f3bbd8..a47294b5 100644 --- a/src/gb/common_vty.c +++ b/src/gb/common_vty.c @@ -5,6 +5,8 @@ * (C) 2009-2010 by Holger Hans Peter Freyther * 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/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c index b9066432..520868e0 100644 --- a/src/gb/gprs_bssgp.c +++ b/src/gb/gprs_bssgp.c @@ -5,6 +5,8 @@ * * 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/src/gb/gprs_bssgp_bss.c b/src/gb/gprs_bssgp_bss.c index d9f04c5f..3939e258 100644 --- a/src/gb/gprs_bssgp_bss.c +++ b/src/gb/gprs_bssgp_bss.c @@ -5,6 +5,8 @@ * * 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/src/gb/gprs_bssgp_util.c b/src/gb/gprs_bssgp_util.c index 4553da84..669dfb86 100644 --- a/src/gb/gprs_bssgp_util.c +++ b/src/gb/gprs_bssgp_util.c @@ -5,6 +5,8 @@ * * 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/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c index f7878469..6131e6b1 100644 --- a/src/gb/gprs_bssgp_vty.c +++ b/src/gb/gprs_bssgp_vty.c @@ -5,6 +5,8 @@ * * 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/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index a00c8e52..47d170df 100644 --- a/src/gb/gprs_ns.c +++ b/src/gb/gprs_ns.c @@ -2,10 +2,13 @@ * GPRS Networks Service (NS) messages on the Gb interface. * 3GPP TS 08.16 version 8.0.1 Release 1999 / ETSI TS 101 299 V8.0.1 (2002-05). */ /* - * (C) 2009-2012 by Harald Welte + * (C) 2009-2017 by Harald Welte + * (C) 2016-2017 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gb/gprs_ns_frgre.c b/src/gb/gprs_ns_frgre.c index 52145ff6..483fdb69 100644 --- a/src/gb/gprs_ns_frgre.c +++ b/src/gb/gprs_ns_frgre.c @@ -3,10 +3,12 @@ * GPRS Networks Service (NS) messages on the Gb interface, * 3GPP TS 08.16 version 8.0.1 Release 1999 / ETSI TS 101 299 V8.0.1 (2002-05). */ /* - * (C) 2009-2010 by Harald Welte + * (C) 2009-2010,2014,2017 by Harald Welte * * 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/src/gb/gprs_ns_vty.c b/src/gb/gprs_ns_vty.c index e8ef2a21..667db7d0 100644 --- a/src/gb/gprs_ns_vty.c +++ b/src/gb/gprs_ns_vty.c @@ -1,10 +1,13 @@ /*! \file gprs_ns_vty.c * VTY interface for our GPRS Networks Service (NS) implementation. */ /* - * (C) 2009-2010 by Harald Welte + * (C) 2009-2014 by Harald Welte + * (C) 2016-2017 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gsm/a5.c b/src/gsm/a5.c index ea09e172..223d3ad8 100644 --- a/src/gsm/a5.c +++ b/src/gsm/a5.c @@ -3,6 +3,8 @@ * * 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/src/gsm/abis_nm.c b/src/gsm/abis_nm.c index 7207fb97..8a3886da 100644 --- a/src/gsm/abis_nm.c +++ b/src/gsm/abis_nm.c @@ -1,8 +1,10 @@ /* - * (C) 2008-2011 by Harald Welte + * (C) 2008-2014,2017 by Harald Welte * * 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/src/gsm/apn.c b/src/gsm/apn.c index f8303db9..e6632dd3 100644 --- a/src/gsm/apn.c +++ b/src/gsm/apn.c @@ -1,4 +1,24 @@ -/*! \file apn.c */ +/*! \file apn.c + * + * (C) 2014 by Harald Welte + * (C) 2015,2017 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 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, see . + */ #include #include diff --git a/src/gsm/auth_comp128v1.c b/src/gsm/auth_comp128v1.c index 1dddef31..493ebfd0 100644 --- a/src/gsm/auth_comp128v1.c +++ b/src/gsm/auth_comp128v1.c @@ -5,6 +5,8 @@ * * 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/src/gsm/auth_comp128v23.c b/src/gsm/auth_comp128v23.c index 4d23769c..279d2b74 100644 --- a/src/gsm/auth_comp128v23.c +++ b/src/gsm/auth_comp128v23.c @@ -7,6 +7,8 @@ * * 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/src/gsm/auth_core.c b/src/gsm/auth_core.c index 738e8609..9e3b2c01 100644 --- a/src/gsm/auth_core.c +++ b/src/gsm/auth_core.c @@ -2,6 +2,8 @@ * * 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/src/gsm/auth_milenage.c b/src/gsm/auth_milenage.c index 2ddf712b..95891000 100644 --- a/src/gsm/auth_milenage.c +++ b/src/gsm/auth_milenage.c @@ -5,6 +5,8 @@ * * 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/src/gsm/comp128.c b/src/gsm/comp128.c index 0fcc67d5..b28a8437 100644 --- a/src/gsm/comp128.c +++ b/src/gsm/comp128.c @@ -46,6 +46,8 @@ * * 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/src/gsm/comp128v23.c b/src/gsm/comp128v23.c index 12f8a4c1..68f4b2a3 100644 --- a/src/gsm/comp128v23.c +++ b/src/gsm/comp128v23.c @@ -9,6 +9,8 @@ * * 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/src/gsm/gan.c b/src/gsm/gan.c index fae93f11..8cd4f78a 100644 --- a/src/gsm/gan.c +++ b/src/gsm/gan.c @@ -4,6 +4,8 @@ * (C) 2012 by Harald Welte * 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/src/gsm/gea.c b/src/gsm/gea.c index 70f08ada..5756bb08 100644 --- a/src/gsm/gea.c +++ b/src/gsm/gea.c @@ -1,11 +1,11 @@ /* - * Copyright (C) 2016 by Sysmocom s.f.m.c. GmbH + * Copyright (C) 2016 by sysmocom - s.f.m.c. GmbH * * All Rights Reserved * * 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, diff --git a/src/gsm/gprs_cipher_core.c b/src/gsm/gprs_cipher_core.c index fc68c402..6fa25d60 100644 --- a/src/gsm/gprs_cipher_core.c +++ b/src/gsm/gprs_cipher_core.c @@ -5,6 +5,8 @@ * * 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/src/gsm/gprs_gea.c b/src/gsm/gprs_gea.c index db3f2cc7..73147886 100644 --- a/src/gsm/gprs_gea.c +++ b/src/gsm/gprs_gea.c @@ -1,13 +1,15 @@ /*! \file gprs_gea.c * GEA 3 & 4 plugin */ /* - * Copyright (C) 2016 by Sysmocom s.f.m.c. GmbH + * Copyright (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 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, diff --git a/src/gsm/gprs_rlc.c b/src/gsm/gprs_rlc.c index d2c05b70..bdfc8eac 100644 --- a/src/gsm/gprs_rlc.c +++ b/src/gsm/gprs_rlc.c @@ -1,5 +1,12 @@ /*! \file gsm/gprs_rlc.c * helper functions for (E)GPRS RLC according to 3GPP TS 44.060. + * + * (C) 2016 by Thomas Thou + * (C) 2016-2017 by sysmocom - s.f.m.c. GmbH + * (C) 2017 by Harald Welte + * All Rights Reserved. + * + * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/src/gsm/gsm0341.c b/src/gsm/gsm0341.c index 485023f3..89f5de3f 100644 --- a/src/gsm/gsm0341.c +++ b/src/gsm/gsm0341.c @@ -2,6 +2,8 @@ * (C) 2014 by Harald Welte * 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/src/gsm/gsm0411_smc.c b/src/gsm/gsm0411_smc.c index f7c536b6..28287e4c 100644 --- a/src/gsm/gsm0411_smc.c +++ b/src/gsm/gsm0411_smc.c @@ -10,6 +10,8 @@ * * 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/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c index 0a25c7c4..892b7f01 100644 --- a/src/gsm/gsm0411_smr.c +++ b/src/gsm/gsm0411_smr.c @@ -10,6 +10,8 @@ * * 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/src/gsm/gsm0411_utils.c b/src/gsm/gsm0411_utils.c index acf7e234..53d37a43 100644 --- a/src/gsm/gsm0411_utils.c +++ b/src/gsm/gsm0411_utils.c @@ -10,6 +10,8 @@ * * 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/src/gsm/gsm0480.c b/src/gsm/gsm0480.c index 557aa148..71470e54 100644 --- a/src/gsm/gsm0480.c +++ b/src/gsm/gsm0480.c @@ -6,6 +6,8 @@ * * 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/src/gsm/gsm0502.c b/src/gsm/gsm0502.c index 6b698938..53259a42 100644 --- a/src/gsm/gsm0502.c +++ b/src/gsm/gsm0502.c @@ -4,6 +4,8 @@ * (C) 2009 by Holger Hans Peter Freyther * 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/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index ee5eda4d..2396a106 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -3,6 +3,8 @@ * (C) 2009,2010 by On-Waves * 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/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c index 798a122b..93e6074c 100644 --- a/src/gsm/gsm0808_utils.c +++ b/src/gsm/gsm0808_utils.c @@ -1,20 +1,20 @@ /* - * (C) 2016 by Sysmocom s.f.m.c. GmbH + * (C) 2016 by sysmocom - s.f.m.c. GmbH, Author: Philipp Maier * All Rights Reserved * - * Author: Philipp Maier + * 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, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. + * 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/src/gsm/gsm23003.c b/src/gsm/gsm23003.c index 3c09acac..95ac9f83 100644 --- a/src/gsm/gsm23003.c +++ b/src/gsm/gsm23003.c @@ -1,10 +1,11 @@ /*! \file gsm23003.c * Utility function implementations related to 3GPP TS 23.003 */ /* - * (C) 2017 sysmocom s.f.m.c. GmbH + * (C) 2017 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/src/gsm/gsm48.c b/src/gsm/gsm48.c index 10e2b804..a7daea47 100644 --- a/src/gsm/gsm48.c +++ b/src/gsm/gsm48.c @@ -7,6 +7,8 @@ * * 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/src/gsm/gsm48_ie.c b/src/gsm/gsm48_ie.c index 105acbaf..1baf2879 100644 --- a/src/gsm/gsm48_ie.c +++ b/src/gsm/gsm48_ie.c @@ -7,6 +7,8 @@ * * 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/src/gsm/gsm_04_08_gprs.c b/src/gsm/gsm_04_08_gprs.c index 43da27ee..608fa8c1 100644 --- a/src/gsm/gsm_04_08_gprs.c +++ b/src/gsm/gsm_04_08_gprs.c @@ -2,10 +2,12 @@ /* * (C) 2009-2016 by Harald Welte * (C) 2010 by On-Waves - * (C) 2014-2015 by Sysmocom s.f.m.c. GmbH + * (C) 2014-2015 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gsm/gsm_utils.c b/src/gsm/gsm_utils.c index 134b4752..8464090a 100644 --- a/src/gsm/gsm_utils.c +++ b/src/gsm/gsm_utils.c @@ -7,6 +7,8 @@ * * 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/src/gsm/gsup.c b/src/gsm/gsup.c index e5b0a663..eb829f7c 100644 --- a/src/gsm/gsup.c +++ b/src/gsm/gsup.c @@ -1,10 +1,11 @@ /* - * (C) 2014 by sysmocom s.f.m.c. GmbH + * (C) 2014 by sysmocom - s.f.m.c. GmbH + * Author: Jacob Erlbeck * (C) 2015 by Holger Hans Peter Freyther * (C) 2016 by Harald Welte * All Rights Reserved * - * Author: Jacob Erlbeck + * 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/src/gsm/ipa.c b/src/gsm/ipa.c index fef73c3d..e00e2d01 100644 --- a/src/gsm/ipa.c +++ b/src/gsm/ipa.c @@ -7,6 +7,8 @@ * * 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/src/gsm/kasumi.c b/src/gsm/kasumi.c index c3a028b7..7de5cd03 100644 --- a/src/gsm/kasumi.c +++ b/src/gsm/kasumi.c @@ -2,9 +2,10 @@ * Kasumi cipher and KGcore functions. */ /* * (C) 2013 by Max - * * 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/src/gsm/lapd_core.c b/src/gsm/lapd_core.c index 6b580069..d14063e2 100644 --- a/src/gsm/lapd_core.c +++ b/src/gsm/lapd_core.c @@ -6,6 +6,8 @@ * * 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/src/gsm/lapdm.c b/src/gsm/lapdm.c index db950a68..5efe7558 100644 --- a/src/gsm/lapdm.c +++ b/src/gsm/lapdm.c @@ -1,11 +1,14 @@ /*! \file lapdm.c * GSM LAPDm (TS 04.06) implementation. */ /* - * (C) 2010-2011 by Harald Welte + * (C) 2010-2017 by Harald Welte * (C) 2010-2011 by Andreas Eversberg + * (C) 2014-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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gsm/milenage/aes-encblock.c b/src/gsm/milenage/aes-encblock.c index c4aa260d..9fd73f67 100644 --- a/src/gsm/milenage/aes-encblock.c +++ b/src/gsm/milenage/aes-encblock.c @@ -10,6 +10,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/aes-internal-enc.c b/src/gsm/milenage/aes-internal-enc.c index 4c00f963..6de9992e 100644 --- a/src/gsm/milenage/aes-internal-enc.c +++ b/src/gsm/milenage/aes-internal-enc.c @@ -19,6 +19,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/aes-internal.c b/src/gsm/milenage/aes-internal.c index 60c520c2..c46654ac 100644 --- a/src/gsm/milenage/aes-internal.c +++ b/src/gsm/milenage/aes-internal.c @@ -19,6 +19,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/aes.h b/src/gsm/milenage/aes.h index ce42b207..5410c368 100644 --- a/src/gsm/milenage/aes.h +++ b/src/gsm/milenage/aes.h @@ -10,6 +10,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/aes_i.h b/src/gsm/milenage/aes_i.h index 6df019a1..3e0fd218 100644 --- a/src/gsm/milenage/aes_i.h +++ b/src/gsm/milenage/aes_i.h @@ -10,6 +10,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/aes_wrap.h b/src/gsm/milenage/aes_wrap.h index 7d4d5d90..b644d4c0 100644 --- a/src/gsm/milenage/aes_wrap.h +++ b/src/gsm/milenage/aes_wrap.h @@ -17,6 +17,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/milenage/milenage.c b/src/gsm/milenage/milenage.c index 012b3996..7cf33122 100644 --- a/src/gsm/milenage/milenage.c +++ b/src/gsm/milenage/milenage.c @@ -12,6 +12,8 @@ * * See README and COPYING for more details. * + * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause + * * This file implements an example authentication algorithm defined for 3GPP * AKA. This can be used to implement a simple HLR/AuC into hlr_auc_gw to allow * EAP-AKA to be tested properly with real USIM cards. diff --git a/src/gsm/milenage/milenage.h b/src/gsm/milenage/milenage.h index 1a4364db..ea93fdab 100644 --- a/src/gsm/milenage/milenage.h +++ b/src/gsm/milenage/milenage.h @@ -11,6 +11,8 @@ * Alternatively, this software may be distributed under the terms of BSD * license. * + * SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause + * * See README and COPYING for more details. */ diff --git a/src/gsm/oap.c b/src/gsm/oap.c index aab5caca..a133889a 100644 --- a/src/gsm/oap.c +++ b/src/gsm/oap.c @@ -1,8 +1,9 @@ /* - * (C) 2015-2016 by sysmocom s.f.m.c. GmbH + * (C) 2015-2016 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/src/gsm/rsl.c b/src/gsm/rsl.c index 2a2af1f7..abda9324 100644 --- a/src/gsm/rsl.c +++ b/src/gsm/rsl.c @@ -1,8 +1,12 @@ /* - * (C) 2008-2010 by Harald Welte + * (C) 2008-2017 by Harald Welte + * (C) 2013 by Holger Freyther + * (C) 2014-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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gsm/rxlev_stat.c b/src/gsm/rxlev_stat.c index 2ff0ac84..9c650cc1 100644 --- a/src/gsm/rxlev_stat.c +++ b/src/gsm/rxlev_stat.c @@ -5,6 +5,8 @@ * * 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/src/gsm/sysinfo.c b/src/gsm/sysinfo.c index b73bb0c8..b615871f 100644 --- a/src/gsm/sysinfo.c +++ b/src/gsm/sysinfo.c @@ -6,6 +6,8 @@ * * 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/src/gsm/tlv_parser.c b/src/gsm/tlv_parser.c index b1b10340..ead856c9 100644 --- a/src/gsm/tlv_parser.c +++ b/src/gsm/tlv_parser.c @@ -1,7 +1,10 @@ -/* (C) 2008-2010 by Harald Welte +/* (C) 2008-2017 by Harald Welte + * (C) 2016-2017 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c index 28149c02..8f9496a8 100644 --- a/src/gsmtap_util.c +++ b/src/gsmtap_util.c @@ -5,6 +5,8 @@ * * 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/src/logging.c b/src/logging.c index fa733cda..20ec443d 100644 --- a/src/logging.c +++ b/src/logging.c @@ -5,6 +5,8 @@ * (C) 2008 by Holger Hans Peter Freyther * 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/src/logging_gsmtap.c b/src/logging_gsmtap.c index d0aa47b6..ec6757c9 100644 --- a/src/logging_gsmtap.c +++ b/src/logging_gsmtap.c @@ -9,6 +9,8 @@ * (C) 2016 by Harald Welte * 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/src/logging_syslog.c b/src/logging_syslog.c index d0d6a969..f980689d 100644 --- a/src/logging_syslog.c +++ b/src/logging_syslog.c @@ -4,6 +4,8 @@ * (C) 2011 by Harald Welte * 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/src/loggingrb.c b/src/loggingrb.c index d3dd2543..4a80cc8a 100644 --- a/src/loggingrb.c +++ b/src/loggingrb.c @@ -4,6 +4,8 @@ * (C) 2012-2013 by Katerina Barone-Adesi * 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/src/macaddr.c b/src/macaddr.c index 5c68d055..afa7c936 100644 --- a/src/macaddr.c +++ b/src/macaddr.c @@ -6,6 +6,8 @@ * * 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/src/msgb.c b/src/msgb.c index 6fcbe53a..faef09e6 100644 --- a/src/msgb.c +++ b/src/msgb.c @@ -2,6 +2,8 @@ * (C) 2010 by Holger Hans Peter Freyther * 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/src/msgfile.c b/src/msgfile.c index 85170994..278b9a7d 100644 --- a/src/msgfile.c +++ b/src/msgfile.c @@ -5,6 +5,8 @@ * (C) 2010 by On-Waves * 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/src/panic.c b/src/panic.c index 2a8b1ae4..a08f89fa 100644 --- a/src/panic.c +++ b/src/panic.c @@ -5,6 +5,8 @@ * * 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/src/plugin.c b/src/plugin.c index 264171c2..40de4f8c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -5,6 +5,8 @@ * * 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/src/prbs.c b/src/prbs.c index be52fd4c..8fa04bb7 100644 --- a/src/prbs.c +++ b/src/prbs.c @@ -1,5 +1,9 @@ /* Osmocom implementation of pseudo-random bit sequence generation */ -/* (C) 2017 by Harald Welte */ +/* (C) 2017 by Harald Welte + * All Rights Reserved + * + * SPDX-License-Identifier: GPL-2.0+ + * */ #include #include diff --git a/src/prim.c b/src/prim.c index d18dbd76..3c8a7f12 100644 --- a/src/prim.c +++ b/src/prim.c @@ -1,4 +1,10 @@ -/*! \addtogroup prim +/*! + * (C) 2015-2017 by Harald Welte + * All Rights Reserved + * + * SPDX-License-Identifier: GPL-2.0+ + * + * \addtogroup prim * @{ * \file prim.c */ diff --git a/src/pseudotalloc/pseudotalloc.c b/src/pseudotalloc/pseudotalloc.c index b77ffe9e..2a990663 100644 --- a/src/pseudotalloc/pseudotalloc.c +++ b/src/pseudotalloc/pseudotalloc.c @@ -1,7 +1,26 @@ /*! \file pseudotalloc.c * overly simplistic talloc replacement for deeply embedded * microcontrollers. Obviously this has none of the properties of real - * talloc, it is particualrly not hierarchical at all. */ + * talloc, it is particualrly not hierarchical at all. + * + * (C) 2017 by Harald Welte + * 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 + * (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, see . + */ #include "talloc.h" #include diff --git a/src/pseudotalloc/talloc.h b/src/pseudotalloc/talloc.h index 3ce9f37a..ae2e1fc8 100644 --- a/src/pseudotalloc/talloc.h +++ b/src/pseudotalloc/talloc.h @@ -1,7 +1,25 @@ /*! \file talloc.h * overly simplistic talloc replacement for deeply embedded * microcontrollers. Obviously this has none of the properties of real - * talloc, it is particualrly not hierarchical at all. */ + * talloc, it is particualrly not hierarchical at all. + * + * (C) 2017 by Harald Welte + * + * 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 + * (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, see . + */ #pragma once diff --git a/src/rate_ctr.c b/src/rate_ctr.c index 296cc16e..54644909 100644 --- a/src/rate_ctr.c +++ b/src/rate_ctr.c @@ -2,6 +2,8 @@ * * 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/src/rbtree.c b/src/rbtree.c index f0ebb8c5..211978f1 100644 --- a/src/rbtree.c +++ b/src/rbtree.c @@ -2,7 +2,9 @@ Red Black Trees (C) 1999 Andrea Arcangeli (C) 2002 David Woodhouse - + + 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/src/select.c b/src/select.c index 4b98b623..1c62e011 100644 --- a/src/select.c +++ b/src/select.c @@ -5,6 +5,9 @@ * of the linux 2.4 netfilter subsystem. */ /* * (C) 2000-2009 by Harald Welte + * All Rights Reserverd. + * + * 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/src/sercomm.c b/src/sercomm.c index 07b1aa08..2639bf8a 100644 --- a/src/sercomm.c +++ b/src/sercomm.c @@ -2,6 +2,8 @@ * * 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/src/serial.c b/src/serial.c index 8ddd38e8..1b5a4cfd 100644 --- a/src/serial.c +++ b/src/serial.c @@ -5,6 +5,8 @@ * * 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/src/signal.c b/src/signal.c index 0c564651..745d7c38 100644 --- a/src/signal.c +++ b/src/signal.c @@ -4,6 +4,8 @@ * (C) 2009 by Holger Hans Peter Freyther * 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/src/sim/card_fs_isim.c b/src/sim/card_fs_isim.c index 1073429b..e6ba0d09 100644 --- a/src/sim/card_fs_isim.c +++ b/src/sim/card_fs_isim.c @@ -5,6 +5,8 @@ * * 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/src/sim/card_fs_sim.c b/src/sim/card_fs_sim.c index 1411129d..f66e3913 100644 --- a/src/sim/card_fs_sim.c +++ b/src/sim/card_fs_sim.c @@ -5,6 +5,8 @@ * * 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/src/sim/card_fs_tetra.c b/src/sim/card_fs_tetra.c index 80f3284e..7bf02796 100644 --- a/src/sim/card_fs_tetra.c +++ b/src/sim/card_fs_tetra.c @@ -5,6 +5,8 @@ * * 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/src/sim/card_fs_uicc.c b/src/sim/card_fs_uicc.c index 8ff89364..af6061cf 100644 --- a/src/sim/card_fs_uicc.c +++ b/src/sim/card_fs_uicc.c @@ -5,6 +5,8 @@ * * 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/src/sim/class_tables.c b/src/sim/class_tables.c index fcf67f05..593b2e83 100644 --- a/src/sim/class_tables.c +++ b/src/sim/class_tables.c @@ -3,6 +3,8 @@ /* * (C) 2016 by Harald Welte * + * 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 version 2, or * any later version as published by the Free Software Foundation. diff --git a/src/sim/core.c b/src/sim/core.c index 8da839c0..a78cecc3 100644 --- a/src/sim/core.c +++ b/src/sim/core.c @@ -5,6 +5,8 @@ * * 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/src/sim/reader.c b/src/sim/reader.c index f39829b4..d1a9ae60 100644 --- a/src/sim/reader.c +++ b/src/sim/reader.c @@ -5,6 +5,8 @@ * * 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/src/sim/reader_pcsc.c b/src/sim/reader_pcsc.c index 5b296387..f22103f4 100644 --- a/src/sim/reader_pcsc.c +++ b/src/sim/reader_pcsc.c @@ -5,6 +5,8 @@ * * 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/src/socket.c b/src/socket.c index b516abfd..82ccfed5 100644 --- a/src/socket.c +++ b/src/socket.c @@ -3,6 +3,8 @@ * * 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/src/stat_item.c b/src/stat_item.c index cbcdebc6..cb9b90fe 100644 --- a/src/stat_item.c +++ b/src/stat_item.c @@ -1,11 +1,13 @@ /*! \file stat_item.c * utility routines for keeping statistical values */ /* - * (C) 2015 by Sysmocom s.f.m.c. GmbH * (C) 2009-2010 by Harald Welte + * (C) 2015 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/stats.c b/src/stats.c index ff31ff6c..b5adbf29 100644 --- a/src/stats.c +++ b/src/stats.c @@ -1,11 +1,11 @@ /*! \file stats.c */ /* - * (C) 2015 by Sysmocom s.f.m.c. GmbH - * + * (C) 2015 by sysmocom - s.f.m.c. GmbH * Author: Jacob Erlbeck - * * 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/src/stats_statsd.c b/src/stats_statsd.c index 5145bf7a..c11c0132 100644 --- a/src/stats_statsd.c +++ b/src/stats_statsd.c @@ -1,10 +1,10 @@ /* - * (C) 2015 by Sysmocom s.f.m.c. GmbH - * + * (C) 2015 by sysmocom - s.f.m.c. GmbH * Author: Jacob Erlbeck - * * 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/src/strrb.c b/src/strrb.c index 6bfb179f..461fdecc 100644 --- a/src/strrb.c +++ b/src/strrb.c @@ -19,6 +19,8 @@ * (C) 2012-2013, Katerina Barone-Adesi * 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/src/timer.c b/src/timer.c index bf46c24a..9ec7a005 100644 --- a/src/timer.c +++ b/src/timer.c @@ -7,6 +7,8 @@ * Harald Welte * Pablo Neira Ayuso * + * 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/src/timer_gettimeofday.c b/src/timer_gettimeofday.c index 42988053..15b5e31d 100644 --- a/src/timer_gettimeofday.c +++ b/src/timer_gettimeofday.c @@ -1,8 +1,9 @@ /* - * (C) 2016 by sysmocom s.f.m.c. GmbH + * (C) 2016 by sysmocom - s.f.m.c. GmbH + * Authors: Neels Hofmeyr * All Rights Reserved * - * Authors: 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/src/utils.c b/src/utils.c index a62f5e97..f63ff891 100644 --- a/src/utils.c +++ b/src/utils.c @@ -5,6 +5,8 @@ * * 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/src/vty/buffer.c b/src/vty/buffer.c index 1935aa11..e68e3a20 100644 --- a/src/vty/buffer.c +++ b/src/vty/buffer.c @@ -3,6 +3,8 @@ /* * Copyright (C) 1998 Kunihiro Ishiguro * + * SPDX-License-Identifier: GPL-2.0+ + * * This file is part of GNU Zebra. * * GNU Zebra is free software; you can redistribute it and/or modify diff --git a/src/vty/command.c b/src/vty/command.c index 98d86d24..5f7a42c3 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -3,6 +3,12 @@ Command interpreter routine for virtual terminal [aka TeletYpe] Copyright (C) 1997, 98, 99 Kunihiro Ishiguro + Copyright (C) 2010-2011 Holger Hans Peter Freyther + Copyright (C) 2012 Sylvain Munaut + Copyright (C) 2013,2015 Harald Welte + Copyright (C) 2013,2017 sysmocom - s.f.m.c. GmbH + + SPDX-License-Identifier: GPL-2.0+ This file is part of GNU Zebra. diff --git a/src/vty/fsm_vty.c b/src/vty/fsm_vty.c index 50c7fd52..8abb9c92 100644 --- a/src/vty/fsm_vty.c +++ b/src/vty/fsm_vty.c @@ -2,6 +2,8 @@ * (C) 2016 by Harald Welte * 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/src/vty/logging_vty.c b/src/vty/logging_vty.c index 9b7d10af..215394f0 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -3,6 +3,8 @@ * (C) 2009-2014 by Holger Hans Peter Freyther * 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/src/vty/stats_vty.c b/src/vty/stats_vty.c index 2ccbf668..6c09c38e 100644 --- a/src/vty/stats_vty.c +++ b/src/vty/stats_vty.c @@ -1,9 +1,11 @@ /* * (C) 2009-2010 by Harald Welte * (C) 2009-2014 by Holger Hans Peter Freyther - * (C) 2015 by Sysmocom s.f.m.c. GmbH + * (C) 2015 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/vty/talloc_ctx_vty.c b/src/vty/talloc_ctx_vty.c index 136a1b40..601b6965 100644 --- a/src/vty/talloc_ctx_vty.c +++ b/src/vty/talloc_ctx_vty.c @@ -5,6 +5,8 @@ * * 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/src/vty/telnet_interface.c b/src/vty/telnet_interface.c index 40154fef..0ccf8dc6 100644 --- a/src/vty/telnet_interface.c +++ b/src/vty/telnet_interface.c @@ -1,6 +1,9 @@ -/* (C) 2009 by Holger Hans Peter Freyther +/* (C) 2009-2010 by Holger Hans Peter Freyther + * (C) 2010 by Sylvain Munaut * 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/src/vty/utils.c b/src/vty/utils.c index e7aeb889..8cd0b35a 100644 --- a/src/vty/utils.c +++ b/src/vty/utils.c @@ -2,9 +2,12 @@ * Utility routines for printing common objects in the Osmocom world. */ /* * (C) 2009-2010 by Harald Welte + * (C) 2013,2015 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 General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/src/vty/vector.c b/src/vty/vector.c index ee07cbd2..f9e5ec3e 100644 --- a/src/vty/vector.c +++ b/src/vty/vector.c @@ -3,6 +3,8 @@ /* * Copyright (C) 1997 Kunihiro Ishiguro * + * SPDX-License-Identifier: GPL-2.0+ + * * This file is part of GNU Zebra. * * GNU Zebra is free software; you can redistribute it and/or modify it diff --git a/src/vty/vty.c b/src/vty/vty.c index aef73b3a..e741a66a 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -22,7 +22,7 @@ * * \section sec_copyright Copyright and License * Copyright © 1997-2007 - Kuninhiro Ishiguro\n - * Copyright © 2008-2011 - Harald Welte, Holger Freyther and contributors\n + * Copyright © 2008-2012 - Harald Welte, Holger Freyther and contributors\n * All rights reserved. \n\n * The source code of libosmovty is licensed under the terms of the GNU * General Public License as published by the Free Software Foundation; @@ -46,6 +46,7 @@ * */ +/* SPDX-License-Identifier: GPL-2.0+ */ #include #include diff --git a/src/write_queue.c b/src/write_queue.c index 203815bb..fb6839a2 100644 --- a/src/write_queue.c +++ b/src/write_queue.c @@ -4,6 +4,8 @@ * * 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/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