File 7231-snmp-Add-copyright-header-to-files-missing-it.patch of Package erlang

From eefdd26f19ce3f32f1044189950e9fb415ef5b05 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Thu, 3 Apr 2025 10:35:23 +0200
Subject: [PATCH 1/9] [snmp] Add copyright header to files missing it

Add copyright notice to file in the snmp app still missing
such a notice.

OTP-19572
---
 lib/snmp/bin/snmp-v2tov1.pl                   | 18 ++++++++++++++++
 lib/snmp/bin/snmp-v2tov1.sed                  | 18 ++++++++++++++++
 lib/snmp/bin/snmp-v2tov1.src                  | 19 +++++++++++++++++
 lib/snmp/doc/assets/MIB_mechanism.gif.license |  2 ++
 lib/snmp/doc/assets/getnext1.gif.license      |  2 ++
 lib/snmp/doc/assets/getnext2.gif.license      |  2 ++
 lib/snmp/doc/assets/getnext3.gif.license      |  2 ++
 lib/snmp/doc/assets/getnext4.gif.license      |  2 ++
 .../doc/assets/snmp-um-1-image-1.gif.license  |  2 ++
 .../doc/assets/snmp-um-1-image-2.gif.license  |  2 ++
 .../doc/assets/snmp-um-1-image-3.gif.license  |  2 ++
 .../doc/assets/snmp_agent_netif_1.gif.license |  2 ++
 .../assets/snmp_manager_netif_1.gif.license   |  2 ++
 lib/snmp/doc/docs.exs                         |  1 +
 lib/snmp/doc/src/MIB_mechanism.fig.license    |  2 ++
 .../doc/src/snmp-um-1-image-8.gif.license     |  2 ++
 lib/snmp/doc/src/structure.fig.license        |  2 ++
 lib/snmp/doc/src/structure.gif.license        |  2 ++
 lib/snmp/examples/ex1/EX1-MIB.funcs           | 19 +++++++++++++++++
 lib/snmp/examples/ex1/EX1-MIB.mib             | 19 +++++++++++++++++
 lib/snmp/examples/ex1/EX1-MIBv2.funcs         | 20 ++++++++++++++++++
 lib/snmp/examples/ex1/EX1-MIBv2.mib           | 18 ++++++++++++++++
 lib/snmp/examples/ex1/ex1.erl                 | 14 ++++++-------
 lib/snmp/mibs/OTP-SNMPEA-MIB.mib              | 18 ++++++++++++++++
 lib/snmp/mibs/SNMP-COMMUNITY-MIB.funcs        | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-FRAMEWORK-MIB.funcs        | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-MPD-MIB.funcs              | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-NOTIFICATION-MIB.funcs     | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-TARGET-MIB.funcs           | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-USER-BASED-SM-MIB.funcs    | 19 +++++++++++++++++
 lib/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.funcs   | 19 +++++++++++++++++
 lib/snmp/mibs/SNMPv2-MIB.funcs                | 20 ++++++++++++++++++
 lib/snmp/mibs/STANDARD-MIB.funcs              | 19 +++++++++++++++++
 lib/snmp/priv/conf/agent/agent.conf           | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/community.conf       | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/context.conf         | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/notify.conf          | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/standard.conf        | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/target_addr.conf     | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/target_params.conf   | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/usm.conf             | 20 ++++++++++++++++++
 lib/snmp/priv/conf/agent/vacm.conf            | 20 ++++++++++++++++++
 lib/snmp/priv/conf/manager/agents.conf        | 20 ++++++++++++++++++
 lib/snmp/priv/conf/manager/manager.conf       | 20 ++++++++++++++++++
 lib/snmp/priv/conf/manager/users.conf         | 20 ++++++++++++++++++
 lib/snmp/priv/conf/manager/usm.conf           | 20 ++++++++++++++++++
 lib/snmp/test/snmp.cover                      | 21 +++++++++++++++++++
 lib/snmp/test/snmp.spec                       | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/AC-TEST-MIB.mib  | 18 ++++++++++++++++
 .../test/snmp_test_data/ERICSSON-TOP-MIB.mib  | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/EX1-MIB.mib      | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas1-v2.mib     | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas1.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas2.funcs      | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas2.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas3.funcs      | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas3.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas4.funcs      | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Klas4.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/MC-TEST-MIB.mib  | 18 ++++++++++++++++
 .../test/snmp_test_data/OLD-SNMPEA-MIB-v2.mib | 18 ++++++++++++++++
 .../test/snmp_test_data/OLD-SNMPEA-MIB.mib    | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP10799-MIB.mib | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP10808-MIB.mib | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP14145-MIB.mib | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP14196-MIB.mib | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP8574-MIB.mib  | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/OTP8595-MIB.mib  | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/PROXY.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/SA-MIB.funcs     | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/SA-MIB.mib       | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/SNMPv2-MIB.funcs | 20 ++++++++++++++++++
 .../test/snmp_test_data/STANDARD-MIB.funcs    | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Test1.funcs      | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Test1.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Test2.funcs      | 20 ++++++++++++++++++
 lib/snmp/test/snmp_test_data/Test2.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/Test3.mib        | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/TestTrap.mib     | 18 ++++++++++++++++
 lib/snmp/test/snmp_test_data/TestTrapv2.mib   | 18 ++++++++++++++++
 .../TestTrapv2.bin.license                    |  2 ++
 .../snmp_to_snmpnet_SUITE_data/TestTrapv2.mib | 18 ++++++++++++++++
 .../snmp_to_snmpnet_SUITE_data/snmpd.conf     | 18 ++++++++++++++++
 lib/snmp/test/test-mibs/Klas1.mib             | 18 ++++++++++++++++
 lib/snmp/test/test-mibs/Oid1-error.mib        | 18 ++++++++++++++++
 lib/snmp/test/test-mibs/README                | 19 +++++++++++++++++
 lib/snmp/test/test-mibs/Table1-error.mib      | 18 ++++++++++++++++
 lib/snmp/test/test-mibs/Type-error.mib        | 18 ++++++++++++++++
 .../test/test_config/agent/agent.conf.src     | 20 ++++++++++++++++++
 .../test/test_config/agent/community.conf.src | 20 ++++++++++++++++++
 .../test/test_config/agent/context.conf.src   | 20 ++++++++++++++++++
 .../test/test_config/agent/notify.conf.src    | 20 ++++++++++++++++++
 .../test/test_config/agent/standard.conf.src  | 20 ++++++++++++++++++
 .../test_config/agent/target_addr.conf.src    | 20 ++++++++++++++++++
 .../test_config/agent/target_params.conf.src  | 20 ++++++++++++++++++
 lib/snmp/test/test_config/agent/usm.conf.src  | 20 ++++++++++++++++++
 lib/snmp/test/test_config/agent/vacm.conf.src | 20 ++++++++++++++++++
 .../test/test_config/manager/manager.conf.src | 20 ++++++++++++++++++
 .../test/test_config/manager/usm.conf.src     | 20 ++++++++++++++++++
 .../test/test_config/sys-agent.config.src     | 20 ++++++++++++++++++
 .../test/test_config/sys-manager.config.src   | 20 ++++++++++++++++++
 lib/snmp/test/test_config/sys.config.src      | 20 ++++++++++++++++++
 102 files changed, 1659 insertions(+), 7 deletions(-)
 create mode 100644 lib/snmp/doc/assets/MIB_mechanism.gif.license
 create mode 100644 lib/snmp/doc/assets/getnext1.gif.license
 create mode 100644 lib/snmp/doc/assets/getnext2.gif.license
 create mode 100644 lib/snmp/doc/assets/getnext3.gif.license
 create mode 100644 lib/snmp/doc/assets/getnext4.gif.license
 create mode 100644 lib/snmp/doc/assets/snmp-um-1-image-1.gif.license
 create mode 100644 lib/snmp/doc/assets/snmp-um-1-image-2.gif.license
 create mode 100644 lib/snmp/doc/assets/snmp-um-1-image-3.gif.license
 create mode 100644 lib/snmp/doc/assets/snmp_agent_netif_1.gif.license
 create mode 100644 lib/snmp/doc/assets/snmp_manager_netif_1.gif.license
 create mode 100644 lib/snmp/doc/src/MIB_mechanism.fig.license
 create mode 100644 lib/snmp/doc/src/snmp-um-1-image-8.gif.license
 create mode 100644 lib/snmp/doc/src/structure.fig.license
 create mode 100644 lib/snmp/doc/src/structure.gif.license
 create mode 100644 lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.bin.license

diff --git a/lib/snmp/bin/snmp-v2tov1.pl b/lib/snmp/bin/snmp-v2tov1.pl
index 6f1e73087d..a7fdcd32d2 100644
--- a/lib/snmp/bin/snmp-v2tov1.pl
+++ b/lib/snmp/bin/snmp-v2tov1.pl
@@ -1,3 +1,21 @@
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 1997-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%
+
 # snmp-v2tov1.awk
 # nawk script - pass 1 of translation from SNMP v2 SMI to v1 SMI
 # mbj@erlang.ericsson.se 971114
diff --git a/lib/snmp/bin/snmp-v2tov1.sed b/lib/snmp/bin/snmp-v2tov1.sed
index f940295d69..1525e69030 100644
--- a/lib/snmp/bin/snmp-v2tov1.sed
+++ b/lib/snmp/bin/snmp-v2tov1.sed
@@ -1,3 +1,21 @@
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-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%
+
 s/Integer32/INTEGER/g
 s/Counter32/Counter/g
 s/Gauge32/Gauge/g
diff --git a/lib/snmp/bin/snmp-v2tov1.src b/lib/snmp/bin/snmp-v2tov1.src
index 891487af2a..8f6542bbfe 100644
--- a/lib/snmp/bin/snmp-v2tov1.src
+++ b/lib/snmp/bin/snmp-v2tov1.src
@@ -1,5 +1,24 @@
 #!/bin/sh
 #
+
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-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%
+
 # Converts a SNMPv2 MIB to a SNMPv1 MIB
 # Some kind of ad hoc algorithm is used - the
 # v2 MIBs must be well-formatted.
diff --git a/lib/snmp/doc/assets/MIB_mechanism.gif.license b/lib/snmp/doc/assets/MIB_mechanism.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/MIB_mechanism.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/getnext1.gif.license b/lib/snmp/doc/assets/getnext1.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/getnext1.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/getnext2.gif.license b/lib/snmp/doc/assets/getnext2.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/getnext2.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/getnext3.gif.license b/lib/snmp/doc/assets/getnext3.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/getnext3.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/getnext4.gif.license b/lib/snmp/doc/assets/getnext4.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/getnext4.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/snmp-um-1-image-1.gif.license b/lib/snmp/doc/assets/snmp-um-1-image-1.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/snmp-um-1-image-1.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/snmp-um-1-image-2.gif.license b/lib/snmp/doc/assets/snmp-um-1-image-2.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/snmp-um-1-image-2.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/snmp-um-1-image-3.gif.license b/lib/snmp/doc/assets/snmp-um-1-image-3.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/snmp-um-1-image-3.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/snmp_agent_netif_1.gif.license b/lib/snmp/doc/assets/snmp_agent_netif_1.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/snmp_agent_netif_1.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/assets/snmp_manager_netif_1.gif.license b/lib/snmp/doc/assets/snmp_manager_netif_1.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/assets/snmp_manager_netif_1.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/src/MIB_mechanism.fig.license b/lib/snmp/doc/src/MIB_mechanism.fig.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/src/MIB_mechanism.fig.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/src/snmp-um-1-image-8.gif.license b/lib/snmp/doc/src/snmp-um-1-image-8.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/src/snmp-um-1-image-8.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/src/structure.fig.license b/lib/snmp/doc/src/structure.fig.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/src/structure.fig.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/doc/src/structure.gif.license b/lib/snmp/doc/src/structure.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/snmp/doc/src/structure.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/examples/ex1/EX1-MIB.funcs b/lib/snmp/examples/ex1/EX1-MIB.funcs
index 0ae1db6541..7d8b43b2f5 100644
--- a/lib/snmp/examples/ex1/EX1-MIB.funcs
+++ b/lib/snmp/examples/ex1/EX1-MIB.funcs
@@ -1,2 +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%
+%%
 {myName, {ex1, my_name, []}}.
 {friendsTable, {ex1, friends_table, []}}.
diff --git a/lib/snmp/examples/ex1/EX1-MIB.mib b/lib/snmp/examples/ex1/EX1-MIB.mib
index 5d9979d0b4..59ca9e6e48 100644
--- a/lib/snmp/examples/ex1/EX1-MIB.mib
+++ b/lib/snmp/examples/ex1/EX1-MIB.mib
@@ -1,3 +1,22 @@
+-- %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%
+
+
           EX1-MIB DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/examples/ex1/EX1-MIBv2.funcs b/lib/snmp/examples/ex1/EX1-MIBv2.funcs
index 0ae1db6541..0655ab9491 100644
--- a/lib/snmp/examples/ex1/EX1-MIBv2.funcs
+++ b/lib/snmp/examples/ex1/EX1-MIBv2.funcs
@@ -1,2 +1,22 @@
+%%
+%% %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%
+%%
+
 {myName, {ex1, my_name, []}}.
 {friendsTable, {ex1, friends_table, []}}.
diff --git a/lib/snmp/examples/ex1/EX1-MIBv2.mib b/lib/snmp/examples/ex1/EX1-MIBv2.mib
index e7250c4a63..0a6bd3ee20 100644
--- a/lib/snmp/examples/ex1/EX1-MIBv2.mib
+++ b/lib/snmp/examples/ex1/EX1-MIBv2.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%
+
 EX1-MIBv2 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/examples/ex1/ex1.erl b/lib/snmp/examples/ex1/ex1.erl
index c525ae4d6a..483189b528 100644
--- a/lib/snmp/examples/ex1/ex1.erl
+++ b/lib/snmp/examples/ex1/ex1.erl
@@ -1,8 +1,8 @@
-%%<copyright>
-%% <year>1996-2007</year>
-%% <holder>Ericsson AB, All Rights Reserved</holder>
-%%</copyright>
-%%<legalnotice>
+%%
+%% %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
@@ -15,9 +15,9 @@
 %% See the License for the specific language governing permissions and
 %% limitations under the License.
 %%
-%% The Initial Developer of the Original Code is Ericsson AB.
-%%</legalnotice>
+%% %CopyrightEnd%
 %%
+
 -module(ex1).
 
 %% External exports
diff --git a/lib/snmp/mibs/OTP-SNMPEA-MIB.mib b/lib/snmp/mibs/OTP-SNMPEA-MIB.mib
index b0b598c6b8..4327811b66 100644
--- a/lib/snmp/mibs/OTP-SNMPEA-MIB.mib
+++ b/lib/snmp/mibs/OTP-SNMPEA-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%
+
 OTP-SNMPEA-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/mibs/SNMP-COMMUNITY-MIB.funcs b/lib/snmp/mibs/SNMP-COMMUNITY-MIB.funcs
index 58e09b9421..da62109290 100644
--- a/lib/snmp/mibs/SNMP-COMMUNITY-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-COMMUNITY-MIB.funcs
@@ -1,2 +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%
+%%
 {snmpCommunityTable, {snmp_community_mib, snmpCommunityTable, []}}.
 {snmpTargetAddrExtTable, {snmp_community_mib, snmpTargetAddrExtTable, []}}.
diff --git a/lib/snmp/mibs/SNMP-FRAMEWORK-MIB.funcs b/lib/snmp/mibs/SNMP-FRAMEWORK-MIB.funcs
index 22cc24d44e..825873d030 100644
--- a/lib/snmp/mibs/SNMP-FRAMEWORK-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-FRAMEWORK-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {snmpEngineID, {snmp_framework_mib, snmpEngineID, []}}.
 {snmpEngineBoots, {snmp_framework_mib, snmpEngineBoots, []}}.
 {snmpEngineTime, {snmp_framework_mib, snmpEngineTime, []}}.
diff --git a/lib/snmp/mibs/SNMP-MPD-MIB.funcs b/lib/snmp/mibs/SNMP-MPD-MIB.funcs
index a5939123ea..0fd848bed9 100644
--- a/lib/snmp/mibs/SNMP-MPD-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-MPD-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {snmpUnknownSecurityModels,
 	 {snmp_standard_mib, variable_func, [snmpUnknownSecurityModels]}}.
 {snmpInvalidMsgs,
diff --git a/lib/snmp/mibs/SNMP-NOTIFICATION-MIB.funcs b/lib/snmp/mibs/SNMP-NOTIFICATION-MIB.funcs
index 9e0f533f57..16f716a793 100644
--- a/lib/snmp/mibs/SNMP-NOTIFICATION-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-NOTIFICATION-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {snmpNotifyTable, {snmp_notification_mib, snmpNotifyTable, []}}.
 {snmpNotifyFilterProfileTable, {snmp_notification_mib, snmpNotifyFilterProfileTable, []}}.
 {snmpNotifyFilterTable, {snmp_notification_mib, snmpNotifyFilterTable, []}}.
diff --git a/lib/snmp/mibs/SNMP-TARGET-MIB.funcs b/lib/snmp/mibs/SNMP-TARGET-MIB.funcs
index a4aca711fb..cca0151632 100644
--- a/lib/snmp/mibs/SNMP-TARGET-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-TARGET-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {snmpTargetAddrTable, {snmp_target_mib, snmpTargetAddrTable, []}}.
 {snmpTargetParamsTable, {snmp_target_mib, snmpTargetParamsTable, []}}.
 {snmpTargetSpinLock, {snmp_target_mib, snmpTargetSpinLock, []}}.
diff --git a/lib/snmp/mibs/SNMP-USER-BASED-SM-MIB.funcs b/lib/snmp/mibs/SNMP-USER-BASED-SM-MIB.funcs
index 76344ec70c..142f372606 100644
--- a/lib/snmp/mibs/SNMP-USER-BASED-SM-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-USER-BASED-SM-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {usmStatsUnsupportedSecLevels,
 	 {snmp_standard_mib, variable_func, [usmStatsUnsupportedSecLevels]}}.
 {usmStatsNotInTimeWindows,
diff --git a/lib/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.funcs b/lib/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.funcs
index ec6301f4ac..faed432a2c 100644
--- a/lib/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.funcs
+++ b/lib/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {vacmAccessTable, {snmp_view_based_acm_mib, vacmAccessTable, []}}.
 {vacmContextTable, {snmp_view_based_acm_mib, vacmContextTable, []}}.
 {vacmSecurityToGroupTable,
diff --git a/lib/snmp/mibs/SNMPv2-MIB.funcs b/lib/snmp/mibs/SNMPv2-MIB.funcs
index 8fe25bb477..5a33a3e5a4 100644
--- a/lib/snmp/mibs/SNMPv2-MIB.funcs
+++ b/lib/snmp/mibs/SNMPv2-MIB.funcs
@@ -1,3 +1,23 @@
+%%
+%% %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%
+%%
+
 %% The system group
 {sysUpTime, {snmp_standard_mib, sys_up_time, []}}.
 {sysDescr, {snmp_generic, variable_func, [{sysDescr, permanent}]}}.
diff --git a/lib/snmp/mibs/STANDARD-MIB.funcs b/lib/snmp/mibs/STANDARD-MIB.funcs
index 908497b4f8..b13b5409b8 100644
--- a/lib/snmp/mibs/STANDARD-MIB.funcs
+++ b/lib/snmp/mibs/STANDARD-MIB.funcs
@@ -1,3 +1,22 @@
+%%
+%% %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%
+%%
 {sysUpTime, {snmp_standard_mib, sys_up_time, []}}.
 {sysDescr, {snmp_generic, variable_func, [{sysDescr, persistent}]}}.
 {sysObjectID, {snmp_generic, variable_func, [{sysObjectID, persistent}]}}.
diff --git a/lib/snmp/priv/conf/agent/agent.conf b/lib/snmp/priv/conf/agent/agent.conf
index 582be65fdc..00b3cf6f06 100644
--- a/lib/snmp/priv/conf/agent/agent.conf
+++ b/lib/snmp/priv/conf/agent/agent.conf
@@ -1,3 +1,23 @@
+%%
+%% %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%
+%%
+
 %% This file was generated by snmp_config (v1.1)   1996-5-29 15:38:48
 %% This files defines the Agent address info
 %% The data is inserted into the intAgent* variables defined
diff --git a/lib/snmp/priv/conf/agent/community.conf b/lib/snmp/priv/conf/agent/community.conf
index a7457191a4..310633cb2c 100644
--- a/lib/snmp/priv/conf/agent/community.conf
+++ b/lib/snmp/priv/conf/agent/community.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the community info which maps to VACM parameters.
 %% The data is inserted into the snmpCommunityTable defined
diff --git a/lib/snmp/priv/conf/agent/context.conf b/lib/snmp/priv/conf/agent/context.conf
index 1dcba35643..2aa45caf6e 100644
--- a/lib/snmp/priv/conf/agent/context.conf
+++ b/lib/snmp/priv/conf/agent/context.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the contexts known to the agent.
 %% The data is inserted into the vacmContextTable defined
diff --git a/lib/snmp/priv/conf/agent/notify.conf b/lib/snmp/priv/conf/agent/notify.conf
index 96155f5963..5e7e2af332 100644
--- a/lib/snmp/priv/conf/agent/notify.conf
+++ b/lib/snmp/priv/conf/agent/notify.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the notification parameters.
 %% The data is inserted into the snmpNotifyTable defined
diff --git a/lib/snmp/priv/conf/agent/standard.conf b/lib/snmp/priv/conf/agent/standard.conf
index c0070508e6..470f3c6466 100644
--- a/lib/snmp/priv/conf/agent/standard.conf
+++ b/lib/snmp/priv/conf/agent/standard.conf
@@ -1,3 +1,23 @@
+%%
+%% %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%
+%%
+
 %% This file was generated by snmp_config (v1.1)   1996-5-29 15:38:48
 %% This files defines the STANDARD-MIB info.
 %% Each row is a 2-tuple:
diff --git a/lib/snmp/priv/conf/agent/target_addr.conf b/lib/snmp/priv/conf/agent/target_addr.conf
index f48a6645a3..dc8eb9e3cf 100644
--- a/lib/snmp/priv/conf/agent/target_addr.conf
+++ b/lib/snmp/priv/conf/agent/target_addr.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the target address parameters.
 %% The data is inserted into the snmpTargetAddrTable defined
diff --git a/lib/snmp/priv/conf/agent/target_params.conf b/lib/snmp/priv/conf/agent/target_params.conf
index 5ad3363f6d..17ed65e33e 100644
--- a/lib/snmp/priv/conf/agent/target_params.conf
+++ b/lib/snmp/priv/conf/agent/target_params.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the target parameters.
 %% The data is inserted into the snmpTargetParamsTable defined
diff --git a/lib/snmp/priv/conf/agent/usm.conf b/lib/snmp/priv/conf/agent/usm.conf
index f379f47264..a24bf4bd45 100644
--- a/lib/snmp/priv/conf/agent/usm.conf
+++ b/lib/snmp/priv/conf/agent/usm.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the security parameters for the user-based
 %% security model.
diff --git a/lib/snmp/priv/conf/agent/vacm.conf b/lib/snmp/priv/conf/agent/vacm.conf
index 31499ee811..895bbb9297 100644
--- a/lib/snmp/priv/conf/agent/vacm.conf
+++ b/lib/snmp/priv/conf/agent/vacm.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2001-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%
+%%
+
 %% This file was generated by snmp_config (v3.0) 2001-04-04 14:29:04
 %% This files defines the Mib Views.
 %% The data is inserted into the vacm* tables defined
diff --git a/lib/snmp/priv/conf/manager/agents.conf b/lib/snmp/priv/conf/manager/agents.conf
index 7f9b3d60ab..45e5f39de7 100644
--- a/lib/snmp/priv/conf/manager/agents.conf
+++ b/lib/snmp/priv/conf/manager/agents.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% agents.conf
 %% 
 %% Configuration for each agent the manager shall handle.
diff --git a/lib/snmp/priv/conf/manager/manager.conf b/lib/snmp/priv/conf/manager/manager.conf
index 624ad4310e..087a75ae2b 100644
--- a/lib/snmp/priv/conf/manager/manager.conf
+++ b/lib/snmp/priv/conf/manager/manager.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% manager.conf
 %% 
 %% General SNMP-related configuration parameters for the SNMP manager
diff --git a/lib/snmp/priv/conf/manager/users.conf b/lib/snmp/priv/conf/manager/users.conf
index 8f3abe74d2..5e5ac6c6df 100644
--- a/lib/snmp/priv/conf/manager/users.conf
+++ b/lib/snmp/priv/conf/manager/users.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% users.conf
 %%
 %% Configuration for each user the manager shall handle.
diff --git a/lib/snmp/priv/conf/manager/usm.conf b/lib/snmp/priv/conf/manager/usm.conf
index 5eb78791ca..a50fdd8e48 100644
--- a/lib/snmp/priv/conf/manager/usm.conf
+++ b/lib/snmp/priv/conf/manager/usm.conf
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% usm.conf
 %% The data corresponds to the relevant parts of the usmUserTable 
 %% defined in SNMP-USER-BASED-SM-MIB.
diff --git a/lib/snmp/test/snmp.cover b/lib/snmp/test/snmp.cover
index a2e7dd978f..e0cbe79356 100644
--- a/lib/snmp/test/snmp.cover
+++ b/lib/snmp/test/snmp.cover
@@ -1,4 +1,25 @@
 %% -*- erlang -*-
+
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 {incl_app,snmp,details}.
 
 {excl_mods,snmp,
diff --git a/lib/snmp/test/snmp.spec b/lib/snmp/test/snmp.spec
index 88ae0145f0..ed2271adb8 100644
--- a/lib/snmp/test/snmp.spec
+++ b/lib/snmp/test/snmp.spec
@@ -1 +1,21 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 {suites,"../snmp_test",all}.
diff --git a/lib/snmp/test/snmp_test_data/AC-TEST-MIB.mib b/lib/snmp/test/snmp_test_data/AC-TEST-MIB.mib
index 58defbe1cf..532d223825 100644
--- a/lib/snmp/test/snmp_test_data/AC-TEST-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/AC-TEST-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2010-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%
+
 --
 -- AC-TEST-MIB.mib
 -- MIB generated by MG-SOFT Visual MIB Builder Version 5.0  Build 250
diff --git a/lib/snmp/test/snmp_test_data/ERICSSON-TOP-MIB.mib b/lib/snmp/test/snmp_test_data/ERICSSON-TOP-MIB.mib
index 8b5f594426..84c84983cc 100644
--- a/lib/snmp/test/snmp_test_data/ERICSSON-TOP-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/ERICSSON-TOP-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2002-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%
+
 -- ERICSSON-TOP-MIB:  Top-level MIB for Ericsson AB's 
 -- 193 branch of the enterprise MIB tree.
 --
diff --git a/lib/snmp/test/snmp_test_data/EX1-MIB.mib b/lib/snmp/test/snmp_test_data/EX1-MIB.mib
index 5d9979d0b4..3e891aecc4 100644
--- a/lib/snmp/test/snmp_test_data/EX1-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/EX1-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%
+
           EX1-MIB DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/Klas1-v2.mib b/lib/snmp/test/snmp_test_data/Klas1-v2.mib
index ebbd157841..270c485b00 100644
--- a/lib/snmp/test/snmp_test_data/Klas1-v2.mib
+++ b/lib/snmp/test/snmp_test_data/Klas1-v2.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%
+
           Klas1-V2 DEFINITIONS ::= BEGIN
  
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/Klas1.mib b/lib/snmp/test/snmp_test_data/Klas1.mib
index b07dc4d241..949c8a6216 100644
--- a/lib/snmp/test/snmp_test_data/Klas1.mib
+++ b/lib/snmp/test/snmp_test_data/Klas1.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%
+
           Klas1 DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/Klas2.funcs b/lib/snmp/test/snmp_test_data/Klas2.funcs
index 5dca2ef651..289ff00249 100644
--- a/lib/snmp/test/snmp_test_data/Klas2.funcs
+++ b/lib/snmp/test/snmp_test_data/Klas2.funcs
@@ -1,3 +1,23 @@
+%%
+%% %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%
+%%
+
 {friendsTable2, {snmp_generic, table_func, [{friendsTable2, mnesia}]}}.
 {kompissTable2, {snmp_generic, table_func, [{kompissTable2, mnesia}]}}.
 {fname2, {snmp_generic, variable_func, [{fname2, mnesia}]}}.
diff --git a/lib/snmp/test/snmp_test_data/Klas2.mib b/lib/snmp/test/snmp_test_data/Klas2.mib
index 38ebf4ece7..ed9193316b 100644
--- a/lib/snmp/test/snmp_test_data/Klas2.mib
+++ b/lib/snmp/test/snmp_test_data/Klas2.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%
+
           Klas2 DEFINITIONS ::= BEGIN
  
 -- This MIB is used for testing the Mnesia implementation
diff --git a/lib/snmp/test/snmp_test_data/Klas3.funcs b/lib/snmp/test/snmp_test_data/Klas3.funcs
index 8ed45cc4ca..72bea02e40 100644
--- a/lib/snmp/test/snmp_test_data/Klas3.funcs
+++ b/lib/snmp/test/snmp_test_data/Klas3.funcs
@@ -1,2 +1,22 @@
+%%
+%% %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%
+%%
+
 {fname3, {klas3, fname, []}}.
 {fname4, {klas3, fname4, []}}.
diff --git a/lib/snmp/test/snmp_test_data/Klas3.mib b/lib/snmp/test/snmp_test_data/Klas3.mib
index fc74e69ddd..8b1aa96995 100644
--- a/lib/snmp/test/snmp_test_data/Klas3.mib
+++ b/lib/snmp/test/snmp_test_data/Klas3.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%
+
           Klas3 DEFINITIONS ::= BEGIN
  
 -- This MIB is used for testing the undo phase
diff --git a/lib/snmp/test/snmp_test_data/Klas4.funcs b/lib/snmp/test/snmp_test_data/Klas4.funcs
index ef36f225a6..58a8c069aa 100644
--- a/lib/snmp/test/snmp_test_data/Klas4.funcs
+++ b/lib/snmp/test/snmp_test_data/Klas4.funcs
@@ -1,3 +1,23 @@
+%%
+%% %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%
+%%
+
 {friendsTable3, {klas3, ftab, []}}.
 {friendsTable4, {klas3, ftab2, []}}.
 
diff --git a/lib/snmp/test/snmp_test_data/Klas4.mib b/lib/snmp/test/snmp_test_data/Klas4.mib
index 36b82d7d08..b61864f6c5 100644
--- a/lib/snmp/test/snmp_test_data/Klas4.mib
+++ b/lib/snmp/test/snmp_test_data/Klas4.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%
+
           Klas4 DEFINITIONS ::= BEGIN
  
 -- This MIB is used for testing the undo phase
diff --git a/lib/snmp/test/snmp_test_data/MC-TEST-MIB.mib b/lib/snmp/test/snmp_test_data/MC-TEST-MIB.mib
index cadaa6f891..0dc614e9c1 100644
--- a/lib/snmp/test/snmp_test_data/MC-TEST-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/MC-TEST-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%
+
 MC-TEST-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB-v2.mib b/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB-v2.mib
index 4f8ce94792..3384b6b228 100644
--- a/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB-v2.mib
+++ b/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB-v2.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1995-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%
+
 OLD-SNMPEA-MIB-v2 DEFINITIONS ::= BEGIN
  
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB.mib b/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB.mib
index 2ba1a6fd67..cb223b516e 100644
--- a/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1997-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%
+
 OLD-SNMPEA-MIB DEFINITIONS ::= BEGIN
 
 	IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib b/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
index f47bcfd7da..b0386c1f00 100644
--- a/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP10799-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP10808-MIB.mib b/lib/snmp/test/snmp_test_data/OTP10808-MIB.mib
index 99c099e316..78b533540a 100644
--- a/lib/snmp/test/snmp_test_data/OTP10808-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP10808-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP10808-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib b/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib
index f29c65c4c2..ddaa010c1f 100644
--- a/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP14145-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib b/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib
index 0b3c718a02..e6b5f7475b 100644
--- a/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP14196-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP8574-MIB.mib b/lib/snmp/test/snmp_test_data/OTP8574-MIB.mib
index b5e5ed1848..9d096ee3df 100644
--- a/lib/snmp/test/snmp_test_data/OTP8574-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP8574-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP8574-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/OTP8595-MIB.mib b/lib/snmp/test/snmp_test_data/OTP8595-MIB.mib
index 23245bce37..bca0b82e87 100644
--- a/lib/snmp/test/snmp_test_data/OTP8595-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/OTP8595-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 OTP8595-MIB DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/PROXY.mib b/lib/snmp/test/snmp_test_data/PROXY.mib
index 5eb31429e7..01c9c294fe 100644
--- a/lib/snmp/test/snmp_test_data/PROXY.mib
+++ b/lib/snmp/test/snmp_test_data/PROXY.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 PROXY DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/SA-MIB.funcs b/lib/snmp/test/snmp_test_data/SA-MIB.funcs
index 71757beb6f..62a820867f 100644
--- a/lib/snmp/test/snmp_test_data/SA-MIB.funcs
+++ b/lib/snmp/test/snmp_test_data/SA-MIB.funcs
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 {saBadValue, {sa, sa_bad_value, []}}.
 {saGenErr, {sa, sa_gen_err, []}}.
 {saTooBig, {sa, sa_too_big, []}}.
diff --git a/lib/snmp/test/snmp_test_data/SA-MIB.mib b/lib/snmp/test/snmp_test_data/SA-MIB.mib
index c5953ee17c..94a07a06ea 100644
--- a/lib/snmp/test/snmp_test_data/SA-MIB.mib
+++ b/lib/snmp/test/snmp_test_data/SA-MIB.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 2000-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%
+
 SA-MIB DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/SNMPv2-MIB.funcs b/lib/snmp/test/snmp_test_data/SNMPv2-MIB.funcs
index 8fe25bb477..aa6e1cf933 100644
--- a/lib/snmp/test/snmp_test_data/SNMPv2-MIB.funcs
+++ b/lib/snmp/test/snmp_test_data/SNMPv2-MIB.funcs
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% The system group
 {sysUpTime, {snmp_standard_mib, sys_up_time, []}}.
 {sysDescr, {snmp_generic, variable_func, [{sysDescr, permanent}]}}.
diff --git a/lib/snmp/test/snmp_test_data/STANDARD-MIB.funcs b/lib/snmp/test/snmp_test_data/STANDARD-MIB.funcs
index a0b105c2fd..42db855a51 100644
--- a/lib/snmp/test/snmp_test_data/STANDARD-MIB.funcs
+++ b/lib/snmp/test/snmp_test_data/STANDARD-MIB.funcs
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 {sysUpTime, {snmp_standard_mib, sys_up_time, []}}.
 {sysDescr, {snmp_generic, variable_func, [{sysDescr, permanent}]}}.
 {sysObjectID, {snmp_generic, variable_func, [{sysObjectID, permanent}]}}.
diff --git a/lib/snmp/test/snmp_test_data/Test1.funcs b/lib/snmp/test/snmp_test_data/Test1.funcs
index a9ef7a34fe..b1b351d539 100644
--- a/lib/snmp/test/snmp_test_data/Test1.funcs
+++ b/lib/snmp/test/snmp_test_data/Test1.funcs
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 1995-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%
+%%
+
 {bits1, {test1, bits1, []}}.
 {bits2, {test1, bits2, []}}.
 {bits3, {test1, bits3, []}}.
diff --git a/lib/snmp/test/snmp_test_data/Test1.mib b/lib/snmp/test/snmp_test_data/Test1.mib
index d324b1f1e7..5450fa9f92 100644
--- a/lib/snmp/test/snmp_test_data/Test1.mib
+++ b/lib/snmp/test/snmp_test_data/Test1.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1995-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%
+
 Test1 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/Test2.funcs b/lib/snmp/test/snmp_test_data/Test2.funcs
index 326ba8405c..f0ddad1e0b 100644
--- a/lib/snmp/test/snmp_test_data/Test2.funcs
+++ b/lib/snmp/test/snmp_test_data/Test2.funcs
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 1995-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%
+%%
+
 {tDescr2, {test2, tDescr, [2]}}.
 {tDescr3, {test2, tDescr, [3]}}.
 {tDescr4, {test2, tDescr, [4]}}.
diff --git a/lib/snmp/test/snmp_test_data/Test2.mib b/lib/snmp/test/snmp_test_data/Test2.mib
index 81f36175c0..d2d222e2d2 100644
--- a/lib/snmp/test/snmp_test_data/Test2.mib
+++ b/lib/snmp/test/snmp_test_data/Test2.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1995-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%
+
 Test2 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/Test3.mib b/lib/snmp/test/snmp_test_data/Test3.mib
index 7f76e4dba4..ef1085ddfb 100644
--- a/lib/snmp/test/snmp_test_data/Test3.mib
+++ b/lib/snmp/test/snmp_test_data/Test3.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%
+
 Test3 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/TestTrap.mib b/lib/snmp/test/snmp_test_data/TestTrap.mib
index afa97f1188..9b6cbb3d34 100644
--- a/lib/snmp/test/snmp_test_data/TestTrap.mib
+++ b/lib/snmp/test/snmp_test_data/TestTrap.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%
+
 TestTrap DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/snmp_test_data/TestTrapv2.mib b/lib/snmp/test/snmp_test_data/TestTrapv2.mib
index 2ba59451f5..e6fe103694 100644
--- a/lib/snmp/test/snmp_test_data/TestTrapv2.mib
+++ b/lib/snmp/test/snmp_test_data/TestTrapv2.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1995-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%
+
 TestTrapv2 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.bin.license b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.bin.license
new file mode 100644
index 0000000000..6773800300
--- /dev/null
+++ b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.bin.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 1995-2025 Ericsson AB. All rights reserved.
diff --git a/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.mib b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.mib
index 2ba59451f5..e6fe103694 100644
--- a/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.mib
+++ b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/TestTrapv2.mib
@@ -1,3 +1,21 @@
+-- %CopyrightBegin%
+-- 
+-- Copyright Ericsson AB 1995-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%
+
 TestTrapv2 DEFINITIONS ::= BEGIN
 
 IMPORTS
diff --git a/lib/snmp/test/snmp_to_snmpnet_SUITE_data/snmpd.conf b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/snmpd.conf
index 2a5f31680f..0294fe5bb6 100644
--- a/lib/snmp/test/snmp_to_snmpnet_SUITE_data/snmpd.conf
+++ b/lib/snmp/test/snmp_to_snmpnet_SUITE_data/snmpd.conf
@@ -1,3 +1,21 @@
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2010-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%
+
 sysLocation On the lab network
 sysContact otptest <otptest@erix.ericsson.se>
 
diff --git a/lib/snmp/test/test-mibs/Klas1.mib b/lib/snmp/test/test-mibs/Klas1.mib
index 987c7a6d95..f5438f51c7 100644
--- a/lib/snmp/test/test-mibs/Klas1.mib
+++ b/lib/snmp/test/test-mibs/Klas1.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%
+
           Klas1 DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/test-mibs/Oid1-error.mib b/lib/snmp/test/test-mibs/Oid1-error.mib
index ee9c649f9d..78d9aa475c 100644
--- a/lib/snmp/test/test-mibs/Oid1-error.mib
+++ b/lib/snmp/test/test-mibs/Oid1-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%
+
           Oid1-error DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/test-mibs/README b/lib/snmp/test/test-mibs/README
index f23d3151c2..c4011d93b3 100644
--- a/lib/snmp/test/test-mibs/README
+++ b/lib/snmp/test/test-mibs/README
@@ -1,3 +1,22 @@
+# %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%
+
+
 MIBs ending with *-error.mib should give compilation error. No others.
 
 All standards MIBs should be original, without modifications.
diff --git a/lib/snmp/test/test-mibs/Table1-error.mib b/lib/snmp/test/test-mibs/Table1-error.mib
index d2d38c14ef..1e7c96c3b0 100644
--- a/lib/snmp/test/test-mibs/Table1-error.mib
+++ b/lib/snmp/test/test-mibs/Table1-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%
+
 	Table1-error DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/test-mibs/Type-error.mib b/lib/snmp/test/test-mibs/Type-error.mib
index 6361679d47..7fd315a604 100644
--- a/lib/snmp/test/test-mibs/Type-error.mib
+++ b/lib/snmp/test/test-mibs/Type-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%
+
 Type-error DEFINITIONS ::= BEGIN
  
           IMPORTS
diff --git a/lib/snmp/test/test_config/agent/agent.conf.src b/lib/snmp/test/test_config/agent/agent.conf.src
index 1fe95cc72d..9657c38148 100644
--- a/lib/snmp/test/test_config/agent/agent.conf.src
+++ b/lib/snmp/test/test_config/agent/agent.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the Agent local configuration info
 %% The data is inserted into the snmpEngine* variables defined
 %% in SNMP-FRAMEWORK-MIB, and the intAgent* variables defined
diff --git a/lib/snmp/test/test_config/agent/community.conf.src b/lib/snmp/test/test_config/agent/community.conf.src
index 8dccb929c9..d817498b62 100644
--- a/lib/snmp/test/test_config/agent/community.conf.src
+++ b/lib/snmp/test/test_config/agent/community.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the community info which maps to VACM parameters.
 %% The data is inserted into the snmpCommunityTable defined
 %% in SNMP-COMMUNITY-MIB.
diff --git a/lib/snmp/test/test_config/agent/context.conf.src b/lib/snmp/test/test_config/agent/context.conf.src
index ea8b5a97eb..79db4ef337 100644
--- a/lib/snmp/test/test_config/agent/context.conf.src
+++ b/lib/snmp/test/test_config/agent/context.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the contexts known to the agent.
 %% The data is inserted into the vacmContextTable defined
 %% in SNMP-VIEW-BASED-ACM-MIB.
diff --git a/lib/snmp/test/test_config/agent/notify.conf.src b/lib/snmp/test/test_config/agent/notify.conf.src
index 164fd25b95..355a870617 100644
--- a/lib/snmp/test/test_config/agent/notify.conf.src
+++ b/lib/snmp/test/test_config/agent/notify.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the notification parameters.
 %% The data is inserted into the snmpNotifyTable defined
 %% in SNMP-NOTIFICATION-MIB.
diff --git a/lib/snmp/test/test_config/agent/standard.conf.src b/lib/snmp/test/test_config/agent/standard.conf.src
index 31e04e7695..2ed5abaeb2 100644
--- a/lib/snmp/test/test_config/agent/standard.conf.src
+++ b/lib/snmp/test/test_config/agent/standard.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the STANDARD-MIB info.
 %% Each row is a 2-tuple:
 %% {StandardVariable, Value}.
diff --git a/lib/snmp/test/test_config/agent/target_addr.conf.src b/lib/snmp/test/test_config/agent/target_addr.conf.src
index 740df74ecf..4c7609dda7 100644
--- a/lib/snmp/test/test_config/agent/target_addr.conf.src
+++ b/lib/snmp/test/test_config/agent/target_addr.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the target address parameters.
 %% The data is inserted into the snmpTargetAddrTable defined
 %% in SNMP-TARGET-MIB, and in the snmpTargetAddrExtTable defined
diff --git a/lib/snmp/test/test_config/agent/target_params.conf.src b/lib/snmp/test/test_config/agent/target_params.conf.src
index a4a535baa2..79ed41eac3 100644
--- a/lib/snmp/test/test_config/agent/target_params.conf.src
+++ b/lib/snmp/test/test_config/agent/target_params.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the target parameters.
 %% The data is inserted into the snmpTargetParamsTable defined
 %% in SNMP-TARGET-MIB.
diff --git a/lib/snmp/test/test_config/agent/usm.conf.src b/lib/snmp/test/test_config/agent/usm.conf.src
index 0409084048..abd569861d 100644
--- a/lib/snmp/test/test_config/agent/usm.conf.src
+++ b/lib/snmp/test/test_config/agent/usm.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the security parameters for the user-based
 %% security model.
 %% The data is inserted into the usmUserTable defined
diff --git a/lib/snmp/test/test_config/agent/vacm.conf.src b/lib/snmp/test/test_config/agent/vacm.conf.src
index 86271443ad..284228b21d 100644
--- a/lib/snmp/test/test_config/agent/vacm.conf.src
+++ b/lib/snmp/test/test_config/agent/vacm.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This file defines the Mib Views.
 %% The data is inserted into the vacm* tables defined
 %% in SNMP-VIEW-BASED-ACM-MIB.
diff --git a/lib/snmp/test/test_config/manager/manager.conf.src b/lib/snmp/test/test_config/manager/manager.conf.src
index c38a61b13c..fa5d8bd374 100644
--- a/lib/snmp/test/test_config/manager/manager.conf.src
+++ b/lib/snmp/test/test_config/manager/manager.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2007-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%
+%%
+
 %% This file was generated by snmp_config (version-4.9.3) 2007-06-29 13:35:05
 %% This file defines the Manager local configuration info
 %% Each row is a 2-tuple:
diff --git a/lib/snmp/test/test_config/manager/usm.conf.src b/lib/snmp/test/test_config/manager/usm.conf.src
index a558c86710..8d12dfcd80 100644
--- a/lib/snmp/test/test_config/manager/usm.conf.src
+++ b/lib/snmp/test/test_config/manager/usm.conf.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2007-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%
+%%
+
 %% This file was generated by snmp_config (version-4.9.3) 2007-06-29 13:35:05
 %% This file defines the usm users the manager handles
 %% Each row is a 6 or 7-tuple:
diff --git a/lib/snmp/test/test_config/sys-agent.config.src b/lib/snmp/test/test_config/sys-agent.config.src
index 46a458203d..a549f7e02e 100644
--- a/lib/snmp/test/test_config/sys-agent.config.src
+++ b/lib/snmp/test/test_config/sys-agent.config.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This is an example sys config file for starting the snmp application
 %% with only a agent running.
 [{snmp, 
diff --git a/lib/snmp/test/test_config/sys-manager.config.src b/lib/snmp/test/test_config/sys-manager.config.src
index 4366263084..cd89033903 100644
--- a/lib/snmp/test/test_config/sys-manager.config.src
+++ b/lib/snmp/test/test_config/sys-manager.config.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This is an example sys config file for starting the snmp application
 %% with only a manager running.
 [{snmp, 
diff --git a/lib/snmp/test/test_config/sys.config.src b/lib/snmp/test/test_config/sys.config.src
index b2cd399883..9ff07c8d7f 100644
--- a/lib/snmp/test/test_config/sys.config.src
+++ b/lib/snmp/test/test_config/sys.config.src
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2000-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%
+%%
+
 %% This is an example sys config file for starting the snmp application
 %% with both an agent and a manager running.
 [{snmp, 
-- 
2.43.0

openSUSE Build Service is sponsored by