SERIES · Open source in the public sector
Open-source licences and the obligations of the institution acquiring the software
The obligations that permissive and copyleft licences place on the institution, the software bill of materials (SBOM), the licence inventory, delivery of the source code, and the institution's ability to share software it has had developed.
- Open source
- Licensing
- SBOM
IN SHORT
- 01Permissive licences such as MIT, BSD and Apache 2.0 grant broad permission to use the software; copyleft licences such as GPL, LGPL and AGPL impose a condition to share the source code when the software is distributed or offered over a network.
- 02Together with the software it purchases or has developed, the institution should receive a software bill of materials in SPDX or CycloneDX format and a licence inventory.
- 03When the delivery of the source code and the scope of the usage rights are set out in writing in the contract, the institution can share the software with other institutions as open source.
Using open-source software does not mean using software without licence conditions. Every piece of open-source software is distributed under a licence, and that licence determines the conditions under which the software may be used, modified and given to others. A single piece of software delivered to the institution may also contain numerous open-source components, each with its own licence.
This article is the second in the "Open source in the public sector" series. The first article covered the definition of open source and Circular No. 2023/13. This article examines the types of licences, the points the institution must pay attention to when purchasing and having software developed, and the documents that should be received on delivery. The transition analysis guide provided to institutions by the Digital Transformation Office also gives, in list form, the licences that can be considered open source for public institutions.
Licence types and obligations
Open-source licences fall into two main groups. Permissive licences give broad permission for the code to be incorporated into other software, including closed software, and generally require only that copyright and licence notices be preserved. Copyleft licences, on the other hand, require that when a modified version of the software is given to others, it must be given under the same licence and together with the source code. The main conditions that the leading licences place on the institution are as follows:
METHOD NOTE
- MIT
- Permissive. Allows use, modification and distribution, provided that the copyright notice and permission notice are included in all copies or substantial portions of the software.
- BSD (3 maddeli)
- Permissive. Requires that the copyright notice and conditions be preserved in both source and compiled distributions; prohibits the names of the copyright holder and contributors from being used to endorse derived products without permission.
- Apache 2.0
- Permissive. Requires that a copy of the licence be included in distribution, that modified files carry a notice of change, and that any attributions in a NOTICE file, if present, be preserved. It includes an explicit patent licence from contributors; if the licensee brings a claim alleging that the software infringes a patent, the patent licence granted to it terminates as of the date that claim is filed.
- GNU GPL
- Copyleft. Requires that, if a modified version is distributed to others, its source code also be made available under the GPL. Under GPL version 3, merely interacting with a user over a network, without conveying a copy, does not fall within the licence's definition of "convey."
- GNU LGPL
- Limited copyleft. An application that uses the library may be distributed under terms of its own choosing, provided that it does not restrict modification of the library's parts or reverse engineering of those modifications for debugging purposes, and that it meets the other conditions listed in the licence.
- GNU AGPL
- Network-conditioned copyleft. When the program is modified, it requires that all users who interact with the modified version over a computer network be explicitly offered the opportunity to obtain its source code.
Usage scenarios relevant to the institution
Most licence obligations arise from the distribution of the software. For this reason, how the institution uses the software determines which obligation arises. According to the Free Software Foundation's GPL frequently asked questions document, the GPL does not require the publication of a modified version; an institution may use the modified version purely internally. According to the same document, an institution making copies within itself is not considered distribution; giving copies to other institutions or persons, however, is distribution, and this also covers giving contractors copies for use outside the institution.
The AGPL takes on particular importance for systems that provide services to citizens over the web. An organisation that runs a modified version of a GPL-licensed program on a website is not required to publish the modified source code. If the program is AGPL-licensed, the source code of the modified version must be made available to users who interact with it over the network. Sharing software that the institution has developed itself, or has had developed, with other institutions constitutes distribution, and the licence conditions of the components it contains must be satisfied at that stage.
Software bill of materials and licence inventory
For the institution to be able to meet its licence obligations, it must first know which components the software is made up of. A software bill of materials (SBOM) is an inventory that shows the components making up a piece of software, their versions, their origin and their licence. This list is used to audit licence compliance, and it also allows the institution to quickly determine which of its systems are affected when a vulnerability is announced in a component.
There are two widely used open standards for SBOMs. SPDX is an open-source project run under the Linux Foundation and has become an international standard as ISO/IEC 5962:2021. CycloneDX, meanwhile, is a bill-of-materials standard developed by the OWASP Foundation and Ecma International's TC54 technical committee, published as ECMA-424. Requiring one of these two standards in the technical specification ensures that the delivered list can be read and audited with different tools.
“An institution cannot fulfil the licence and security obligations of software whose components it does not know.”
What to put in the specification when purchasing and having software developed
Whether purchasing ready-made software or having software developed specifically for the institution, having the following items explicitly set out in the technical specification and the contract determines from the outset who holds which obligations:
- An up-to-date software bill of materials in SPDX or CycloneDX format is supplied with every delivered version.
- A licence inventory showing the licences of all open-source components used in the software is received, together with a declaration from the contractor that these licences are compatible with the institution's intended manner of use.
- Whether the software contains any copyleft-licensed component is stated separately, particularly whether it contains an AGPL-licensed component in systems that will be offered over a network.
- For custom development, the source code is delivered in a compilable form, together with build and installation documentation; it is specified that this delivery will be renewed with every version.
- The institution's rights to use, modify, have developed further by other contractors, and share with other public institutions, together with the duration and scope of these rights, are defined in the contract.
- The institution's right to publish software it has had developed under an open-source licence, and the licence to be used if it does so, are agreed from the outset where needed.
The institution sharing software it has had developed
Software that a public institution has had developed for its own needs may also be of value to other institutions carrying out similar work. Sharing this software as open source can prevent the same work being purchased repeatedly by different institutions. The precondition for this is that the institution's rights over the software are set out in the contract in a way that allows publication. The GPL frequently asked questions document notes that, in the case of US public institutions, a contract may require the contractor to publish the software under the GNU GPL, or may provide for the copyright to be transferred to the institution.
On 8 December 2021, the European Commission adopted rules on sharing its own software under open-source licences. Under these rules, Commission departments can publish the source code of software they own more quickly and with fewer steps, and a separate Commission decision is no longer required for distribution under an open-source licence. The European Union Public Licence (EUPL), which appears on the list of acceptable licences in Türkiye's transition guide, is one of the options that can be considered for software to be shared by public institutions.
This is not legal advice
This article is intended for general information purposes and does not constitute legal advice. On matters such as licence compatibility, the transfer of intellectual property rights and the sharing of software, an assessment should be carried out together with the institution's legal department, based on the specific contract and licence texts.
Sources
- Transition Analysis Guide to Open-Source Software, Version 1.0, Section 4: Open-Source Code Licences (TÜBİTAK ULAKBİM, July 2023)
- The MIT License (Open Source Initiative)
- Apache License, Version 2.0 (Apache Software Foundation, January 2004)
- Frequently Asked Questions about the GNU Licenses (Free Software Foundation)
- GNU Lesser General Public License, Version 3 (Free Software Foundation, 29 June 2007)
- GNU Affero General Public License, Version 3 (Free Software Foundation, 19 November 2007)
- SPDX Overview (Linux Foundation)
- CycloneDX: The International Standard for Bill of Materials (ECMA-424)
- Commission adopts new rules on open source software distribution (European Commission, 08.12.2021)
Open source in the public sector
2 / 2
- 1Open source software in the public sector: why it should be prioritised, what the legislation requiresOctober 20, 2026
- 2Open-source licences and the obligations of the institution acquiring the softwareYOU ARE READING
This article has been prepared for general information purposes only and does not constitute legal, financial, technical or other professional advice. Legislative and technical information reflects the position as at the date of publication. Short extracts may be quoted provided that the source is cited and a link to the article is given; publication of the article in full or of a substantial part of it is subject to written permission. Terms of use
