Page MenuHomeFreeBSD

wlanstat: Add SPDX-License-Identifier tags
Needs ReviewPublic

Authored by tuukka.pasanen_ilmi.fi on May 5 2026, 7:21 AM.
Tags
None
Referenced Files
F175643802: D56820.diff
Mon, Oct 12, 6:13 AM
Unknown Object (File)
Mon, Oct 5, 9:17 AM
Unknown Object (File)
Fri, Oct 2, 12:37 AM
Unknown Object (File)
Thu, Oct 1, 8:39 PM
Unknown Object (File)
Tue, Sep 29, 8:42 PM
Unknown Object (File)
Mon, Sep 28, 8:07 AM
Unknown Object (File)
Sat, Sep 26, 6:19 AM
Unknown Object (File)
Sep 5 2026, 7:01 AM
Subscribers

Details

Reviewers
emaste
imp
Group Reviewers
srcmgr
Summary

Wlanstat has a uncommon version of BSD-2-Clause. This one is more familiar under /sys and has many different SPDX-License-Identifier-tag.

Some random file from grep for examples under /sys/:
sys/crypto/openssl/ossl_arm.h: * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
sys/dev/mwl/if_mwlioctl.h: * SPDX-License-Identifier: BSD-2-Clause
sys/dev/wtap/wtap_hal/hal.h: * SPDX-License-Identifier: BSD-2-Clause
sys/dev/wtap/wtap_hal/hal.c: * SPDX-License-Identifier: BSD-2-Clause

I've used this grep to find files: grep -rl 'similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any' * | xargs grep "SPDX"

There is similar BSD-3-Clause license available: BSD-3-Clause-acpica

Most common SPDX tag for this one under /sys is BSD-2-Clause but I for example scancode-toolkit has LicenseRef-scancode-intel-bsd-2-clause which has same wording as this license.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72809
Build 69692: arc lint + arc unit