From 62492792d9d0d8da6ec2472b17ea7610fdd11395 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:44:31 +0700 Subject: [PATCH 01/10] docs(legal): clarify GPL-only current release --- docs/LICENSING.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/LICENSING.md b/docs/LICENSING.md index 97463a1c..eee7553f 100644 --- a/docs/LICENSING.md +++ b/docs/LICENSING.md @@ -1,16 +1,22 @@ # Licensing Model -## Community edition +## Current community edition -The current public source is licensed under **GNU GPL v3.0 or later** (`GPL-3.0-or-later`). Anyone may run, inspect, modify, and redistribute it subject to the GPL. Distribution of object code must satisfy corresponding-source obligations. +The current `main` branch and current public release packages are licensed **only** under **GNU GPL v3.0 or later** (`GPL-3.0-or-later`). Anyone may run, inspect, modify, and redistribute the current community edition subject to the GPL. Distribution of object code must satisfy the GPL corresponding-source obligations. + +The presence of historical repository records does not give recipients a choice to apply an earlier license to current revisions or current release binaries. ## Commercial licensing and services A separately negotiated commercial license is available for proprietary integration, OEM/white-label distribution, private product branches, and contractual support. See [COMMERCIAL-LICENSE.md](../COMMERCIAL-LICENSE.md). -## Historical Apache boundary +This commercial path is separate from the public GPL community license. It does not make the current public source dual-licensed under GPL and Apache-2.0. + +## Historical release boundary + +Revision `0df1007d9538b978edba67218136bc5c4f8019ad` and earlier public revisions were released under Apache-2.0 and remain available on branch `archive/apache-2.0-final`. Existing rights previously granted for those historical revisions are not withdrawn. -Revision `0df1007d9538b978edba67218136bc5c4f8019ad` and earlier public revisions remain available under Apache-2.0 on branch `archive/apache-2.0-final`. Existing Apache rights are not withdrawn. The historical text is in [LICENSE-APACHE-2.0](../LICENSE-APACHE-2.0). +The historical Apache license text is retained on that archive branch, not in the current `main` branch or current release package. Apache-2.0 does **not** apply to changes made after the historical boundary. ## Engine dependency From 971d4649eb423f9d87c84ed0171bccfdd14f4187 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:44:43 +0700 Subject: [PATCH 02/10] docs(legal): make current package license unambiguous --- NOTICE | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/NOTICE b/NOTICE index a7931d18..4d207247 100644 --- a/NOTICE +++ b/NOTICE @@ -1,12 +1,15 @@ ArIED 61850 Copyright (C) 2026 Mas Ari / masarray -Current public license: GNU General Public License v3.0 or later. +Current main branch and current public release packages: +GNU General Public License v3.0 or later only. + Commercial licensing may be obtained separately from the copyright holder. -License transition effective 2026-07-14: -- Last Apache-2.0 revision: 0df1007d9538b978edba67218136bc5c4f8019ad -- Historical branch: archive/apache-2.0-final -- Historical license copy: LICENSE-APACHE-2.0 +Historical license transition effective 2026-07-14: +- Last historical Apache-2.0 revision: 0df1007d9538b978edba67218136bc5c4f8019ad +- Historical source branch: archive/apache-2.0-final +- The historical license text is retained on that archive branch only. +- Historical Apache-2.0 rights do not apply to later revisions or current release binaries. The ARIEC61850 engine and third-party components remain governed by their own applicable licenses. See THIRD_PARTY_NOTICES.md. From 6316f8d684d7791296ddf72fef28cb618e96b11d Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:45:04 +0700 Subject: [PATCH 03/10] build(legal): package only the current GPL license --- scripts/publish-windows-portable.ps1 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/publish-windows-portable.ps1 b/scripts/publish-windows-portable.ps1 index dde7f4eb..e19dde57 100644 --- a/scripts/publish-windows-portable.ps1 +++ b/scripts/publish-windows-portable.ps1 @@ -57,14 +57,23 @@ if (-not (Test-Path $exe)) { } Copy-Item (Join-Path $root "README.md") (Join-Path $publishDir "README.txt") -Force -# ARIED_LEGAL_FILES: include licensing and attribution documents in every distributed package. -$legalFiles = @("LICENSE", "LICENSE-APACHE-2.0", "COMMERCIAL-LICENSE.md", "TRADEMARK.md", "COPYRIGHT.md", "THIRD_PARTY_NOTICES.md", "NOTICE") + +# Current release packages carry one public software license: GPL-3.0-or-later. +$legalFiles = @("LICENSE", "COMMERCIAL-LICENSE.md", "TRADEMARK.md", "COPYRIGHT.md", "THIRD_PARTY_NOTICES.md", "NOTICE") foreach ($legalFile in $legalFiles) { $sourceLegalFile = Join-Path $root $legalFile - if (Test-Path $sourceLegalFile) { - Copy-Item $sourceLegalFile (Join-Path $publishDir $legalFile) -Force + if (-not (Test-Path $sourceLegalFile)) { + throw "Required legal file was not found: $sourceLegalFile" } + + Copy-Item $sourceLegalFile (Join-Path $publishDir $legalFile) -Force +} + +$licensingGuide = Join-Path $root "docs\LICENSING.md" +if (-not (Test-Path $licensingGuide)) { + throw "Required licensing guide was not found: $licensingGuide" } +Copy-Item $licensingGuide (Join-Path $publishDir "LICENSING.md") -Force Compress-Archive -Path (Join-Path $publishDir "*") -DestinationPath $zipPath -CompressionLevel Optimal From 794e368aa9295a89a084d361774f33d108744599 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:45:34 +0700 Subject: [PATCH 04/10] docs(legal): distinguish current GPL release from historical Apache revisions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f373ade8..4ae5bd1f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ArIED 61850 is a Windows desktop engineering tool for IEC 61850 MMS discovery, multi-IED monitoring, reporting diagnostics, sequence-of-events viewing, project caching, and native IEC 61850 control through the ARIEC61850 Smart Control service. -> **Licensing:** the public community edition is `GPL-3.0-or-later`. A separate commercial license is available for proprietary integration, OEM/white-label distribution, and contractual engineering support. See [docs/LICENSING.md](docs/LICENSING.md). +> **Licensing:** the current public community edition and current release packages are licensed **only** under `GPL-3.0-or-later`. A separate commercial license is available for proprietary integration, OEM/white-label distribution, and contractual engineering support. See [docs/LICENSING.md](docs/LICENSING.md). ## Core workflow @@ -170,13 +170,13 @@ Static source validation was completed in the packaging environment. A full Wind ## License -The public community edition is licensed under the **GNU General Public License v3.0 or later** (`GPL-3.0-or-later`). See [LICENSE](LICENSE). +The current `main` branch and current public release packages are licensed **only** under the **GNU General Public License v3.0 or later** (`GPL-3.0-or-later`). See [LICENSE](LICENSE). A separate negotiated commercial license is available for proprietary integration, OEM/white-label distribution, closed-source redistribution, warranty, maintenance, priority support, training, and engineering services. See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md). Names, logos, icons, and official-release branding are not granted under the software license. See [TRADEMARK.md](TRADEMARK.md). -Revisions through `0df1007d9538b978edba67218136bc5c4f8019ad` remain available under Apache-2.0 on branch `archive/apache-2.0-final`. The former license is preserved in [LICENSE-APACHE-2.0](LICENSE-APACHE-2.0). +Revisions through `0df1007d9538b978edba67218136bc5c4f8019ad` were previously released under Apache-2.0 and remain available on branch `archive/apache-2.0-final`. Those historical grants apply only to those earlier revisions; they do not apply to later changes or current release binaries. See [docs/LICENSING.md](docs/LICENSING.md). ## Copy Diagnostic From 55c3639d3600c0d6f51528d545654a1673d7b187 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:46:18 +0700 Subject: [PATCH 05/10] ci(legal): reject historical license file on current branch --- scripts/verify-source-clean.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/verify-source-clean.ps1 b/scripts/verify-source-clean.ps1 index 42d54de5..8263cdd1 100644 --- a/scripts/verify-source-clean.ps1 +++ b/scripts/verify-source-clean.ps1 @@ -3,7 +3,8 @@ <# .SYNOPSIS Verifies that every Git-tracked ArIED path is free from prohibited binaries, - captures, confidential evidence, external-product identifiers, and proprietary assets. + captures, confidential evidence, external-product identifiers, proprietary assets, + and obsolete license files that could make the current release ambiguous. .DESCRIPTION The gate scans every Git-tracked file. Disallowed external identifiers are @@ -17,6 +18,7 @@ $ErrorActionPreference = "Stop" $RepoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path $ForbiddenFilePatterns = @( + "LICENSE-APACHE-2.0", "*.dll", "*.exe", "*.pdb", "*.deps.json", "*.runtimeconfig.json", "*.nupkg", "*.snupkg", "*.pcap", "*.pcapng", "*.etl", "*.binlog", "*.log", "*.tmp", "*.cache", "*.suo", "*.user", "*.rsuser", @@ -143,4 +145,4 @@ if ($Problems.Count -gt 0) { throw "ArIED source tree failed clean-room validation with $($Problems.Count) problem(s)." } -Write-Host "All Git-tracked ArIED content passed clean-room and external-IP checks." -ForegroundColor Green +Write-Host "All Git-tracked ArIED content passed clean-room, external-IP, and current-license checks." -ForegroundColor Green From f29fea4dfd8be6a142a26dce7bcd97a3ed3ca9e3 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:46:53 +0700 Subject: [PATCH 06/10] noop --- noop.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 noop.txt diff --git a/noop.txt b/noop.txt new file mode 100644 index 00000000..c1b0730e --- /dev/null +++ b/noop.txt @@ -0,0 +1 @@ +x \ No newline at end of file From e32344353eb2428ca655f5f6b67abd4ce744edb3 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:47:21 +0700 Subject: [PATCH 07/10] temp --- DELETE-ME | 1 + 1 file changed, 1 insertion(+) create mode 100644 DELETE-ME diff --git a/DELETE-ME b/DELETE-ME new file mode 100644 index 00000000..ca4a8f83 --- /dev/null +++ b/DELETE-ME @@ -0,0 +1 @@ +temporary \ No newline at end of file From b984d853551b6bb1fb131a46b5592d170fb8da92 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:47:40 +0700 Subject: [PATCH 08/10] legal: remove historical Apache license from current branch --- LICENSE-APACHE-2.0 | 201 --------------------------------------------- 1 file changed, 201 deletions(-) delete mode 100644 LICENSE-APACHE-2.0 diff --git a/LICENSE-APACHE-2.0 b/LICENSE-APACHE-2.0 deleted file mode 100644 index 20e4bd85..00000000 --- a/LICENSE-APACHE-2.0 +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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 - - https://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. From c0a45d52684c9316f06f1028d6a876d41e86588e Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:47:52 +0700 Subject: [PATCH 09/10] chore: remove temporary file --- noop.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 noop.txt diff --git a/noop.txt b/noop.txt deleted file mode 100644 index c1b0730e..00000000 --- a/noop.txt +++ /dev/null @@ -1 +0,0 @@ -x \ No newline at end of file From 94a7ef51360c1f4f252fbe184733b8972b68e252 Mon Sep 17 00:00:00 2001 From: masarray Date: Tue, 14 Jul 2026 09:48:00 +0700 Subject: [PATCH 10/10] chore: remove temporary file --- DELETE-ME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 DELETE-ME diff --git a/DELETE-ME b/DELETE-ME deleted file mode 100644 index ca4a8f83..00000000 --- a/DELETE-ME +++ /dev/null @@ -1 +0,0 @@ -temporary \ No newline at end of file