Skip to content

Varnish license #3980

Open
Open
@uhliarik

Description

@uhliarik

Expected Behavior

Files should have correct license text.

Current Behavior

As a part of https://docs.fedoraproject.org/en-US/legal/update-existing-packages/ , I'm reviewing license texts in source files in varnish.

In LICENCE file from varnish source file tarball, I can read that varnish is distributed under BSD-2-Clause license. When I tried to verify it, I ran licensecheck on those source files and I found some discontinuities:

These files have BSD-2-Clause-FreeBSD instead of BSD-2-Clause:

./bin/varnishtest/teken.c: BSD 2-clause FreeBSD License BSD 2-Clause License
./bin/varnishtest/teken.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./bin/varnishtest/teken_scs.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./bin/varnishtest/teken_subr.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./bin/varnishtest/teken_subr_compat.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./include/vsb.h: BSD 2-clause FreeBSD License
./include/vtree.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./include/vend.h: BSD 2-clause FreeBSD License BSD 2-Clause License
./lib/libvarnish/vpf.c: BSD 2-clause FreeBSD License BSD 2-Clause License
./lib/libvarnish/vsb.c: BSD 2-clause FreeBSD License

Files in /lib/libvgz/ should have ZLib license according to /lib/libvgz/README

These files are looking like BSD-3-Clause clause:

./include/vpf.h: BSD 3-Clause License BSD 2-Clause License --- It has BSD-3-Clause identifier, but the text looks like BSD-2-Clause
./include/vqueue.h: BSD 3-Clause License - it is indeed BSD-3-Clause clause
./lib/libvarnishapi/daemon.c: BSD 3-Clause License --- It has BSD-3-Clause identifier, but after points 1. and 2., point 3. is missing and then there is point 4. (typo???)

Following files have Public domain license text in the header of file:

./bin/varnishncsa/b64.c: No copyright Public domain
./include/tbl/vhp_huffman.h: No copyright Public domain
./include/tbl/vhp_static.h: No copyright Public domain
./include/miniobj.h: No copyright Public domain
./vmod/vmod_blob_tbl_encodings.h: No copyright Public domain

Possible Solution

No response

Steps to Reproduce (for bugs)

No response

Context

https://docs.fedoraproject.org/en-US/legal/update-existing-packages/

Varnish Cache version

varnish 7.3.0

Operating system

Fedora

Source of binary packages used (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions