Skip to content

Change xz module due to licensing concerns #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: remove-lzo-v1.0.6
Choose a base branch
from

Conversation

mikelolasagasti
Copy link

@mikelolasagasti mikelolasagasti commented Jun 12, 2025

The original module github.com/xi2/xz/ is in the Public Domain but does not explicitly specify a license. The module has not been updated since 2017.

The fork at github.com/therootcompany/xz simply adds a Creative Commons CC0 1.0 Universal (CC0-1.0) license declaration for Public Domain use. However, this license has been disallowed by Fedora since 2022, as announced in the Fedora Legal thread, and the restriction also applies to RHEL and related distributions.

The module at github.com/mikelolasagasti/xz is a fork of xi2/xz, but declares the BSD Zero Clause License (0BSD) instead. This aligns with the licensing of the upstream source from which xi2/xz originally derives, which has moved from Public Domain to 0BSD for recent updates.

The original module `github.com/xi2/xz/` is in the Public Domain but
does not explicitly specify a license. The module has not been updated
since 2017.

The fork at `github.com/therootcompany/xz` simply adds a Creative
Commons CC0 1.0 Universal (CC0-1.0) license declaration for Public
Domain use. However, this license has been disallowed by Fedora since
2022, as announced in the [Fedora Legal
thread](https://lists.fedoraproject.org/archives/list/[email protected]/thread/RRYM3CLYJYW64VSQIXY6IF3TCDZGS6LM/#EO4JUQRG4GDLRHJHJBUZDR2RHMXNU5HT), and the restriction also applies to RHEL and related distributions.

The module at `github.com/mikelolasagasti/xz` is a fork of `xi2/xz`, but
declares the BSD Zero Clause License (0BSD) instead. This aligns with
the licensing of the upstream source from which `xi2/xz` originally
derives, which has moved from [Public Domain to 0BSD for recent
updates](https://tukaani.org/xz/embedded.html#_licensing).

Signed-off-by: Mikel Olasagasti Uranga <[email protected]>
@mikelolasagasti
Copy link
Author

This change has already landed in CalebQ42/squashfs and I understand it will be part of next release from sylabs.

I'm sending this PR against remove-lzo-v1.0.6 branch as if accepted, no tag/release required, it will help packaging k9s in Fedora. More context: https://bugzilla.redhat.com/show_bug.cgi?id=2368453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant