Alpine License information
Please provide license information about how Alpine is distributed. What are the allowed licenses for the base OS (kernel and default packages) and what licenses are used when distributing applications developed by the Alpine Linux team.
If possible please also provide information about packages distributed through Alpine's package manager in the official repositories.
A public statement would be nice (similar to https://www.debian.org/legal/licenses/) but an official comment or LICENSE file in the source code repositories should suffice.
#1 Updated by Shiz ... over 1 year ago
- Status changed from New to Assigned
As per distribution policy, we only ship software licensed under OSI-approved licenses that conform to the open source definition: https://opensource.org/osd in the main, community and testing repositories: software that is freely redistributable and modifiable, among others. This includes software that is written for Alpine Linux, which is generally licensed either under the GPL2 or MIT licenses. The nonfree repository contains software under other licenses, but this repository is not activated by default and requires a user to build the packages themselves: we do not distribute binary packages for this repository. All of the licenses for software we package and ship can be looked up on https://pkgs.alpinelinux.org.
Some licensing highlights for the Alpine base system (packages installed by the alpine-base metapackage, plus the kernel):
- Linux: GPL2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
- musl: MIT (http://git.musl-libc.org/cgit/musl/tree/COPYRIGHT)
- busybox: GPL2 (https://git.busybox.net/busybox/tree/LICENSE)
- OpenRC: BSD 2-clause (https://github.com/OpenRC/openrc/blob/master/LICENSE)
- apk-tools: GPL2 (https://git.alpinelinux.org/cgit/apk-tools/tree/src/apk.c)
- alpine-baselayout: GPL2 (https://git.alpinelinux.org/cgit/alpine-baselayout/tree/src/mkmntdirs.c, https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout/APKBUILD#n9)
- alpine-conf: MIT (https://git.alpinelinux.org/cgit/alpine-conf/tree/uniso.c, https://git.alpinelinux.org/cgit/aports/tree/main/alpine-conf/APKBUILD#n9)
- busybox-initscripts: GPL2 (https://git.alpinelinux.org/cgit/aports/tree/main/busybox-initscripts/APKBUILD#n9)
#3 Updated by Jakub Jirutka about 1 year ago
- Priority changed from Normal to High
I agree with TrashMacNugget; APKBUILDs, included runscripts and other files we or our contributors wrote are all subject of copyright law and we must clearly declare under which license we publish them. We should schedule this topic to some meeting. There are more and more people asking about this.