File 6334-snmp-Add-copyright-notice-for-test-mibs.patch of Package erlang
From 9bed1421ca4222ef426a3a950f7d318173930ca0 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Thu, 3 Apr 2025 14:54:51 +0200
Subject: [PATCH 4/9] [snmp] Add copyright notice for test mibs
Add copyright notice for mibs used in testing,
some of these mibs are standard mibs.
---
lib/snmp/test/snmp_test_data/RFC1213-MIB.mib | 6 ++++++
lib/snmp/test/snmp_test_data/SNMPv2-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/ALARM-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/Bitsindex-error.mib | 18 ++++++++++++++++++
lib/snmp/test/test-mibs/ENTITY-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/INTERNAL-MIB.mib | 18 ++++++++++++++++++
lib/snmp/test/test-mibs/RFC1213-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/RFC1271-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/RMON-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/RMON2-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/SNMPv2-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/SNMPv2-TC.mib | 6 ++++++
lib/snmp/test/test-mibs/SNMPv2-USEC-MIB.mib | 6 ++++++
lib/snmp/test/test-mibs/SNMPv2-test.mib | 6 ++++++
14 files changed, 108 insertions(+)
diff --git a/lib/snmp/test/snmp_test_data/RFC1213-MIB.mib b/lib/snmp/test/snmp_test_data/RFC1213-MIB.mib
index eeb2535d7d..462a0b6815 100644
--- a/lib/snmp/test/snmp_test_data/RFC1213-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/RFC1213-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1991). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
RFC1213-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/SNMPv2-MIB.mib b/lib/snmp/test/snmp_test_data/SNMPv2-MIB.mib
index 995be37f80..e35b9c20f2 100644
--- a/lib/snmp/test/snmp_test_data/SNMPv2-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/SNMPv2-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (2002). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
SNMPv2-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/ALARM-MIB.mib b/lib/snmp/test/test-mibs/ALARM-MIB.mib
index 10d2adbff9..41ef4c06e9 100644
--- a/lib/snmp/test/test-mibs/ALARM-MIB.mib
+++ b/lib/snmp/test/test-mibs/ALARM-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (2004). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
ALARM-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/Bitsindex-error.mib b/lib/snmp/test/test-mibs/Bitsindex-error.mib
index 0ba7467996..0a9a54b152 100644
--- a/lib/snmp/test/test-mibs/Bitsindex-error.mib
+++ b/lib/snmp/test/test-mibs/Bitsindex-error.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+--
+-- Copyright Ericsson AB 1996-2025. All Rights Reserved.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- %CopyrightEnd%
+
Bitsindex-error DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/ENTITY-MIB.mib b/lib/snmp/test/test-mibs/ENTITY-MIB.mib
index a70c26ed3a..2adc00c64f 100644
--- a/lib/snmp/test/test-mibs/ENTITY-MIB.mib
+++ b/lib/snmp/test/test-mibs/ENTITY-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
ENTITY-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/INTERNAL-MIB.mib b/lib/snmp/test/test-mibs/INTERNAL-MIB.mib
index 62d3777fc2..f6797d2bfd 100644
--- a/lib/snmp/test/test-mibs/INTERNAL-MIB.mib
+++ b/lib/snmp/test/test-mibs/INTERNAL-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+--
+-- Copyright Ericsson AB 1996-2025. All Rights Reserved.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- %CopyrightEnd%
+
INTERNAL-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/RFC1213-MIB.mib b/lib/snmp/test/test-mibs/RFC1213-MIB.mib
index eeb2535d7d..462a0b6815 100644
--- a/lib/snmp/test/test-mibs/RFC1213-MIB.mib
+++ b/lib/snmp/test/test-mibs/RFC1213-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1991). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
RFC1213-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/RFC1271-MIB.mib b/lib/snmp/test/test-mibs/RFC1271-MIB.mib
index b1b3367667..22fa68b391 100644
--- a/lib/snmp/test/test-mibs/RFC1271-MIB.mib
+++ b/lib/snmp/test/test-mibs/RFC1271-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1991). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
RFC1271-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/RMON-MIB.mib b/lib/snmp/test/test-mibs/RMON-MIB.mib
index fa5bc82f4a..90f71b8800 100644
--- a/lib/snmp/test/test-mibs/RMON-MIB.mib
+++ b/lib/snmp/test/test-mibs/RMON-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (2000). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
RMON-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/RMON2-MIB.mib b/lib/snmp/test/test-mibs/RMON2-MIB.mib
index 50c7e6657a..a33834fd10 100644
--- a/lib/snmp/test/test-mibs/RMON2-MIB.mib
+++ b/lib/snmp/test/test-mibs/RMON2-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
RMON2-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32,
diff --git a/lib/snmp/test/test-mibs/SNMPv2-MIB.mib b/lib/snmp/test/test-mibs/SNMPv2-MIB.mib
index e07e5ae16b..6986709041 100644
--- a/lib/snmp/test/test-mibs/SNMPv2-MIB.mib
+++ b/lib/snmp/test/test-mibs/SNMPv2-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (2002). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
SNMPv2-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/SNMPv2-TC.mib b/lib/snmp/test/test-mibs/SNMPv2-TC.mib
index f6051f7a71..861d19e58b 100644
--- a/lib/snmp/test/test-mibs/SNMPv2-TC.mib
+++ b/lib/snmp/test/test-mibs/SNMPv2-TC.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1999). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
SNMPv2-TC DEFINITIONS ::= BEGIN
snmpMIB MODULE-IDENTITY
diff --git a/lib/snmp/test/test-mibs/SNMPv2-USEC-MIB.mib b/lib/snmp/test/test-mibs/SNMPv2-USEC-MIB.mib
index c6dd7750c2..f0a98a8fdd 100644
--- a/lib/snmp/test/test-mibs/SNMPv2-USEC-MIB.mib
+++ b/lib/snmp/test/test-mibs/SNMPv2-USEC-MIB.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
SNMPv2-USEC-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/SNMPv2-test.mib b/lib/snmp/test/test-mibs/SNMPv2-test.mib
index f435660b2c..3c5f92e798 100644
--- a/lib/snmp/test/test-mibs/SNMPv2-test.mib
+++ b/lib/snmp/test/test-mibs/SNMPv2-test.mib
@@ -1,3 +1,9 @@
+-- %CopyrightBegin%
+--
+-- Copyright (C) The Internet Society (1995). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
SNMPv2-test DEFINITIONS ::= BEGIN
IMPORTS
--
2.43.0