Bug 276293 - archivers/bzip3: Licensing information may be missing
Summary: archivers/bzip3: Licensing information may be missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-13 09:47 UTC by dearblue
Modified: 2024-01-13 11:10 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dearblue 2024-01-13 09:47:14 UTC
If this is too much of a concern of mine, I would appreciate it if this topic could be closed.


The bzip3 incorporates the libsais artifacts and uses them internally.

used from: https://github.com/kspalaiologos/bzip3/blob/1.4.0/src/libbz3.c#L25
file is: https://github.com/kspalaiologos/bzip3/blob/1.4.0/include/libsais.h
licensing file is: https://github.com/kspalaiologos/bzip3/blob/1.4.0/libsais-LICENSE

original libsais is: https://github.com/IlyaGrebnov/libsais.git

Since it is not dependent as an external package, may need "APACHE20" in license information.


Also, `bz3grep` is a file under the "2-clause BSD License" license.

file is: https://github.com/kspalaiologos/bzip3/blob/1.4.0/bz3grep
licensing file is: NOT AVAILABLE; the license terms are written in the bz3grep file


There is other code with different authorship/licenses, but I don't think they are affected when running on FreeBSD.

ref. https://changelogs.ubuntu.com/changelogs/pool/universe/b/bzip3/bzip3_1.4.0-1/copyright
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2024-01-13 11:10:32 UTC
Thank you for your submission. I have reviewed the license declarations for bzip3 across various package repositories as listed on https://repology.org/project/bzip3/packages and observed several variations and instances of confusion.

I have clarified the licensing in the FreeBSD port by specifying LICENSE_FILE_[license] for the available license files in the distribution file, changing LICENSE_COMB to 'multi', and setting LICENSE to 'APACHE20 BSD2CLAUSE LGPL3+'.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-13 11:10:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0556a10e1ce7bfec805d54da4d6968c8e897f0c

commit a0556a10e1ce7bfec805d54da4d6968c8e897f0c
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-13 11:10:15 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-13 11:10:15 +0000

    archivers/bzip3: Clarify licensing

    PR:             276293
    Reported by:    dearblue@users.osdn.me

 archivers/bzip3/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)