Skip to content
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

[backport release-24.05] sftpgo: mark as unfreeRedistributable #315671

Merged

Conversation

vikanezrimaya
Copy link
Member

Description of changes

Manual backport of #315159 to release-24.05.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@vikanezrimaya vikanezrimaya self-assigned this May 29, 2024
@vikanezrimaya
Copy link
Member Author

cherry-pick check most likely failed due to having to resolve a conflict, which changed the commit hash. (Is this something new or was this always? I don't have much experience with backports, so I can't really tell.)

@vikanezrimaya
Copy link
Member Author

Actually, no, the commit hash that was merged is different, even though diff is the same. Perhaps @yayayayaka rebased the branch before merging the original PR? That would explain the different commit hash.

@eclairevoyant
Copy link
Contributor

Can you try cherry-picking bd887df instead?

@risicle
Copy link
Contributor

risicle commented May 30, 2024

Yes it was a rebase-merge by the looks of it and bd887df should be referenced instead.

Resolves NixOS#315154.

New Web UI uses an unfree web theme, and as a result it...

> is allowed for use only within the SFTPGo product and therefore
> cannot be used in derivative works/products without an explicit
> grant from the SFTPGo Team ([email protected]).

This makes the entire package unfree, which the [SFTPGo license
compliance page][1] supports:

> If you modify SFTPGo's source code and are therefore creating a
> derivative work:
>
> 1. ...
> 2. ...
> 3. You cannot use the UI theme based on KeenThemes because it is
> based on a proprietary theme that we purchased and the WebAdmin and
> WebClient components created using this theme can only be used only
> within SFTPGo and not in derivative works. You must develop and
> maintain your own UI components or adapt the WebAdmin/WebClient
> included in SFTPGo up to version 2.5.6.

@JohnRTitor noted that building from source might not be derivative
work, therefore marking as `unfreeRedistributable`.

[1]: https://sftpgo.com/compliance.html

Co-authored-by: Masum Reza <[email protected]>
(cherry picked from commit bd887df)
@vikanezrimaya vikanezrimaya force-pushed the backport-315159-to-release-24.05 branch from 185a8e3 to c4f4312 Compare June 14, 2024 16:42
@vikanezrimaya
Copy link
Member Author

I apologize for the delay. The cherry-pick check should be appeased now.

@yayayayaka yayayayaka merged commit c029a87 into NixOS:release-24.05 Jun 17, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants