File 2146-snmp-Add-copyright-notice-for-the-standard-mib-s.patch of Package erlang
From cd93308267db400ccb09214faad744911672abf5 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 9 Apr 2025 09:59:45 +0200
Subject: [PATCH 6/9] [snmp] Add copyright notice for the "standard" mib(s)
OTP-19572
---
lib/snmp/mibs/STANDARD-MIB.mib | 17 +++++++++++++++++
lib/snmp/test/snmp_test_data/STANDARD-MIB.mib | 17 +++++++++++++++++
lib/snmp/test/test-mibs/STANDARD-MIB.mib | 17 +++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/lib/snmp/mibs/STANDARD-MIB.mib b/lib/snmp/mibs/STANDARD-MIB.mib
index 552b8a3e48..99e09c3d9b 100644
--- a/lib/snmp/mibs/STANDARD-MIB.mib
+++ b/lib/snmp/mibs/STANDARD-MIB.mib
@@ -1,3 +1,20 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
+--
+-- All the definitions in this MIB comes from the SNMPv2 mib (rfc1903).
+-- Two possible reasons for this MIB:
+-- 1) Put here befare SNMPv2 was folly baked.
+-- (The traps are defined differently, which points in that direction).
+-- 2) Its a subset of SNMPv2,
+-- maybe a (useful) subset of SNMPv2 was selected and put here.
+--
+
STANDARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/STANDARD-MIB.mib b/lib/snmp/test/snmp_test_data/STANDARD-MIB.mib
index 552b8a3e48..99e09c3d9b 100644
--- a/lib/snmp/test/snmp_test_data/STANDARD-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/STANDARD-MIB.mib
@@ -1,3 +1,20 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
+--
+-- All the definitions in this MIB comes from the SNMPv2 mib (rfc1903).
+-- Two possible reasons for this MIB:
+-- 1) Put here befare SNMPv2 was folly baked.
+-- (The traps are defined differently, which points in that direction).
+-- 2) Its a subset of SNMPv2,
+-- maybe a (useful) subset of SNMPv2 was selected and put here.
+--
+
STANDARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
diff --git a/lib/snmp/test/test-mibs/STANDARD-MIB.mib b/lib/snmp/test/test-mibs/STANDARD-MIB.mib
index 3b444ce8aa..c41a51c509 100644
--- a/lib/snmp/test/test-mibs/STANDARD-MIB.mib
+++ b/lib/snmp/test/test-mibs/STANDARD-MIB.mib
@@ -1,3 +1,20 @@
+-- %CopyrightBegin%
+--
+-- SPDX-License-Identifier: NOASSERTION
+--
+-- Copyright (C) The Internet Society (1996). All Rights Reserved.
+--
+-- %CopyrightEnd%
+
+--
+-- All the definitions in this MIB comes from the SNMPv2 mib (rfc1903).
+-- Two possible reasons for this MIB:
+-- 1) Put here befare SNMPv2 was folly baked.
+-- (The traps are defined differently, which points in that direction).
+-- 2) Its a subset of SNMPv2,
+-- maybe a (useful) subset of SNMPv2 was selected and put here.
+--
+
STANDARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
--
2.43.0