diff --git a/debian/copyright b/debian/copyright index 2991c8547..e763039dd 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 dc356bd8f..5faa5ea40 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 19466abbe..c9bab398f 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 f50796c4c..e4d46baf3 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 db1566682..7432164de 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 8daf4602e..5cfe1ec1f 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 ce1e15130..f33cb50ab 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 538ac45d9..2d237e2c1 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 5ce748255..a18bde02c 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 94f60eb3e..d5a931097 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 fa917b07c..8837c1fb1 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 e86315cb5..884eb025a 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 d5a211085..a05eababa 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 b1a0b3195..282781fdb 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 2f5c6a25a..4f7bb0995 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 1ee74d0bd..19557164e 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 639d2df43..cacc6121c 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 b42f242d5..d5008d075 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 d414769f0..1e37fce04 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 b57caa309..874114ff2 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 dda8cad1e..5fe634bf8 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 420acca5c..a2c13def4 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 048bbb1c3..33fe26491 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 228f3e281..28876738b 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 e9bbde1cb..a9679ef03 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 c399719b6..5b6e7040b 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 560af6289..9ebbfe9c9 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 296377799..0fa84c8f6 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 c03c0081c..29dace2e8 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 befba4d04..74e6d5219 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 24b388b30..f61647957 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 9b8a194ae..07b17c90f 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 a968bc01d..ef9888924 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 38fbd1e12..3c7e1bd07 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 3f8de9cdf..827e8b376 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 16f3bbd8d..a47294b57 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 b90664329..520868e07 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 d9f04c5f3..3939e2583 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 4553da843..669dfb86b 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 f78784695..6131e6b19 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 a00c8e52d..47d170df0 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 52145ff6b..483fdb694 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 e8ef2a210..667db7d03 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 ea09e172f..223d3ad8e 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 7207fb971..8a3886da8 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 f8303db9a..e6632dd33 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 1dddef316..493ebfd0b 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 4d23769c7..279d2b749 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 738e86090..9e3b2c011 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 2ddf712bf..958910009 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 0fcc67d51..b28a84372 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 12f8a4c1d..68f4b2a30 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 fae93f116..8cd4f78a0 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 70f08ada7..5756bb08c 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 fc68c402c..6fa25d60e 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 db3f2cc7e..73147886c 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 d2c05b706..bdfc8eac2 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 485023f33..89f5de3f0 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 f7c536b6c..28287e4ca 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 0a25c7c4e..892b7f019 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 acf7e2342..53d37a431 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 557aa1480..71470e54b 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 6b6989389..53259a42d 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 ee5eda4de..2396a106c 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 798a122b5..93e6074cd 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 3c09acac5..95ac9f837 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 10e2b804c..a7daea479 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 105acbaf7..1baf28796 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 43da27ee5..608fa8c16 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 134b47520..8464090af 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 e5b0a6632..eb829f7c9 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 fef73c3d2..e00e2d015 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 c3a028b74..7de5cd03a 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 6b580069f..d14063e2c 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 db950a689..5efe7558e 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 c4aa260d9..9fd73f673 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 4c00f9630..6de9992ea 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 60c520c29..c46654acd 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 ce42b2075..5410c368e 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 6df019a1e..3e0fd218e 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 7d4d5d90c..b644d4c02 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 012b39968..7cf33122f 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 1a4364dbc..ea93fdab2 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 aab5caca7..a133889a8 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 2a2af1f70..abda93243 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 2ff0ac848..9c650cc19 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 b73bb0c8a..b615871fd 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 b1b103403..ead856c9c 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 28149c023..8f9496a8c 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 fa733cdad..20ec443db 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 d0aa47b6f..ec6757c9f 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 d0d6a9695..f980689d1 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 d3dd2543a..4a80cc8ae 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 5c68d055c..afa7c936b 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 6fcbe53a1..faef09e61 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 85170994d..278b9a7d7 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 2a8b1ae46..a08f89fa0 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 264171c26..40de4f8c7 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 be52fd4c0..8fa04bb71 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 d18dbd76c..3c8a7f124 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 b77ffe9e8..2a9906636 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 3ce9f37ab..ae2e1fc86 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 296cc16ea..546449090 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 f0ebb8c5f..211978f1e 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 4b98b6230..1c62e011e 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 07b1aa08d..2639bf8a7 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 8ddd38e85..1b5a4cfd6 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 0c5646513..745d7c38d 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 1073429bf..e6ba0d092 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 1411129de..f66e3913b 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 80f3284ef..7bf027964 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 8ff893646..af6061cf2 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 fcf67f052..593b2e83f 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 8da839c08..a78cecc3e 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 f39829b4e..d1a9ae60b 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 5b296387d..f22103f41 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 b516abfd9..82ccfed58 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 cbcdebc62..cb9b90fe4 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 ff31ff6c1..b5adbf29f 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 5145bf7ac..c11c01324 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 6bfb179f4..461fdecca 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 bf46c24a6..9ec7a0053 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 429880534..15b5e31d6 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 a62f5e97d..f63ff891d 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 1935aa11c..e68e3a200 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 98d86d245..5f7a42c30 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 50c7fd52f..8abb9c925 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 9b7d10afd..215394f0f 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 2ccbf6681..6c09c38e0 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 136a1b404..601b6965c 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 40154fef4..0ccf8dc6f 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 e7aeb8899..8cd0b35ad 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 ee07cbd2b..f9e5ec3ed 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 aef73b3a4..e741a66a3 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 203815bb3..fb6839a25 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 cb88b0128..a631712b0 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 b204d771f..7a10fc57d 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 3de05ddb4..1624a31e6 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 fac3c36f4..7e6b85cc3 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 a408b73d2..64d756dd3 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 0dccaa416..d6c049531 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 0c4c16ea4..dea5c11da 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 59fc449cc..b302b3746 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 6140ac9b8..4282d1aa6 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 2542baf3a..42646eb48 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,