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
F166404026: D56820.diff
Thu, Aug 13, 10:28 AM
Unknown Object (File)
Wed, Aug 12, 6:01 PM
Unknown Object (File)
Wed, Aug 12, 5:41 PM
Unknown Object (File)
Wed, Aug 12, 11:44 AM
Unknown Object (File)
Mon, Aug 10, 12:55 PM
Unknown Object (File)
Mon, Aug 10, 7:14 AM
Unknown Object (File)
Sat, Aug 8, 11:35 AM
Unknown Object (File)
Sat, Aug 8, 9:31 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