[PATCH] libosmo-sccp[master]: Add SPDX-License-Identifier + missing copyright statements

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Nov 12 16:26:07 UTC 2017


Review at  https://gerrit.osmocom.org/4809

Add SPDX-License-Identifier + missing copyright statements

Change-Id: I113232bbeaa7a835871df7f9b883ba573d8a2534
---
M debian/copyright
M src/ipa.c
M src/m3ua.c
M src/mtp_pcap.c
M src/osmo_ss7.c
M src/osmo_ss7_hmrt.c
M src/osmo_ss7_vty.c
M src/sccp.c
M src/sccp2sua.c
M src/sccp_helpers.c
M src/sccp_sap.c
M src/sccp_sclc.c
M src/sccp_scoc.c
M src/sccp_scrc.c
M src/sccp_user.c
M src/sccp_vty.c
M src/sua.c
M src/xua_as_fsm.c
M src/xua_asp_fsm.c
M src/xua_default_lm_fsm.c
M src/xua_msg.c
M src/xua_rkm.c
22 files changed, 61 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/09/4809/1

diff --git a/debian/copyright b/debian/copyright
index ecf19e8..b33ae7d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,7 +5,7 @@
 Files: *
 Copyright: 2009-2010,2013  On-Waves
            2009-2011,2013  Holger Hans Peter Freyther <zecke at selfish.org>
-           2010            Harald Welte <laforge at gnumonks.org>
+           2010,2016-2017  Harald Welte <laforge at gnumonks.org>
 License: GPL-2+
 
 Files: tests/m2ua/m2ua_test.c
diff --git a/src/ipa.c b/src/ipa.c
index 2671896..9f04746 100644
--- a/src/ipa.c
+++ b/src/ipa.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/m3ua.c b/src/m3ua.c
index c43dfa4..f1fe3f1 100644
--- a/src/m3ua.c
+++ b/src/m3ua.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/mtp_pcap.c b/src/mtp_pcap.c
index 052813f..e83e6f7 100644
--- a/src/mtp_pcap.c
+++ b/src/mtp_pcap.c
@@ -4,6 +4,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/osmo_ss7.c b/src/osmo_ss7.c
index 7b0b0e4..86fb45c 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/osmo_ss7_hmrt.c b/src/osmo_ss7_hmrt.c
index 8165a36..51875b1 100644
--- a/src/osmo_ss7_hmrt.c
+++ b/src/osmo_ss7_hmrt.c
@@ -2,6 +2,26 @@
  * MTP Level 3 - Signalling message handling (SMH) Figure 23/Q.704
  ***********************************************************************/
 
+/* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
+ * 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 <http://www.gnu.org/licenses/>.
+ *
+ */
+
 #include <stdbool.h>
 #include <string.h>
 #include <errno.h>
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 61f9747..4c67508 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sccp.c b/src/sccp.c
index 6c77cc4..a15a84b 100644
--- a/src/sccp.c
+++ b/src/sccp.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/sccp2sua.c b/src/sccp2sua.c
index d97906e..afc38c7 100644
--- a/src/sccp2sua.c
+++ b/src/sccp2sua.c
@@ -3,6 +3,8 @@
 /* (C) 2017 by Harald Welte <laforge at gnumonks.org>
  * All Rights Reserved
  *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
  * based on my 2011 Erlang implementation osmo_ss7/src/sua_sccp_conv.erl
  *
  * References: ITU-T Q.713 and IETF RFC 3868
diff --git a/src/sccp_helpers.c b/src/sccp_helpers.c
index f752e2a..078ca2b 100644
--- a/src/sccp_helpers.c
+++ b/src/sccp_helpers.c
@@ -4,6 +4,8 @@
  * (C) 2016 by sysmocom s.m.f.c. GmbH <info at sysmocom.de>
  * 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/sccp_sap.c b/src/sccp_sap.c
index 3646685..526179e 100644
--- a/src/sccp_sap.c
+++ b/src/sccp_sap.c
@@ -3,6 +3,8 @@
 /* (C) 2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sccp_sclc.c b/src/sccp_sclc.c
index 8f9e577..e4dbae6 100644
--- a/src/sccp_sclc.c
+++ b/src/sccp_sclc.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sccp_scoc.c b/src/sccp_scoc.c
index 74fb0e7..e0742f9 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sccp_scrc.c b/src/sccp_scrc.c
index 2afd696..dca5645 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sccp_user.c b/src/sccp_user.c
index 21b2eed..d9de8d7 100644
--- a/src/sccp_user.c
+++ b/src/sccp_user.c
@@ -3,6 +3,8 @@
 /* (C) 2017 by Harald Welte <laforge at gnumonks.org>
  * All Rights Reserved
  *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
  * based on my 2011 Erlang implementation osmo_ss7/src/sua_sccp_conv.erl
  *
  * References: ITU-T Q.713 and IETF RFC 3868
diff --git a/src/sccp_vty.c b/src/sccp_vty.c
index 7f0a0de..bcedbb6 100644
--- a/src/sccp_vty.c
+++ b/src/sccp_vty.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/sua.c b/src/sua.c
index 7575021..4835665 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -3,6 +3,8 @@
 /* (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>
  * 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/xua_as_fsm.c b/src/xua_as_fsm.c
index 8f764f1..59a71ba 100644
--- a/src/xua_as_fsm.c
+++ b/src/xua_as_fsm.c
@@ -3,6 +3,8 @@
  * 
  * All Rights reserved.
  *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
  * Based on Erlang implementation xua_as_fsm.erl in osmo-ss7.git
  */
 
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 823402e..1b802ce 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -3,6 +3,8 @@
  * 
  * All Rights reserved.
  *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
  * Based on my earlier Erlang implementation xua_asp_fsm.erl in
  * osmo-ss7.git
  */
diff --git a/src/xua_default_lm_fsm.c b/src/xua_default_lm_fsm.c
index 64f26c3..eba89c2 100644
--- a/src/xua_default_lm_fsm.c
+++ b/src/xua_default_lm_fsm.c
@@ -2,6 +2,8 @@
 /* (C) 2017 by Harald Welte <laforge at gnumonks.org>
  * 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/xua_msg.c b/src/xua_msg.c
index 05430a4..d56009f 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -2,6 +2,8 @@
 /* (C) 2011 by Holger Hans Peter Freyther <zecke at selfish.org>
  * (C) 2016-2017 by Harald Welte <laforge at gnumonks.org>
  *
+ * 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/xua_rkm.c b/src/xua_rkm.c
index d2971bc..b3c5be7 100644
--- a/src/xua_rkm.c
+++ b/src/xua_rkm.c
@@ -2,6 +2,8 @@
 /* (C) 2017 by Harald Welte <laforge at gnumonks.org>
  * 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

-- 
To view, visit https://gerrit.osmocom.org/4809
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I113232bbeaa7a835871df7f9b883ba573d8a2534
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list